joyce8/EMBER2024-capa huggingface dataset:
Function at 0x11a3bdf0
Capabilities:
Check if file exists
Create directory
Delete file
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x104
push ebx
mov ebx, dword [esp + 0x10c]
test ebx, ebx
jne 0x11a3be0c
xor eax, eax
pop ebx
add esp, 0x104
ret
push ebp
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
push 0x103
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x14]
push ebx
push eax
mov ebp, 1
call fcn.119de980
lea ecx, [esp + 0x1c]
push 0x5c
push ecx
call fcn.119dea90
mov esi, eax
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 2
jbe 0x11a3be90
cmp byte [esp + 0x10], 0x5c
jne 0x11a3be90
cmp byte [esp + 0x11], 0x5c
jne 0x11a3be90
lea edx, [esp + 0x12]
push 0x5c
push edx
call fcn.119dea90
add esp, 8
test eax, eax
je 0x11a3bf0e
inc eax
push 0x5c
push eax
call fcn.119dea90
add esp, 8
mov esi, eax
test esi, esi
je 0x11a3bf0e
lea eax, [esp + 0x10]
mov byte [esi], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
mov edi, ebx
and edi, 0x10
jne 0x11a3bed2
test bl, 1
je 0x11a3bec1
mov ecx, ebx
lea edx, [esp + 0x10]
and ecx, 0xfffffffe
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebp, eax
test ebp, ebp
je 0x11a3bf44
cmp ebx, 0xffffffff
je 0x11a3bedb
test edi, edi
jne 0x11a3beea
lea ecx, [esp + 0x10]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ebp, eax
test ebp, ebp
je 0x11a3bf44
mov byte [esi], 0x5c
inc esi
push 0x5c
push esi
call fcn.119dea90
mov esi, eax
add esp, 8
test esi, esi
jne 0x11a3be94
test ebp, ebp
je 0x11a3bf44
mov ebx, dword [esp + 0x118]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x11a3bf39
test al, 0x10
jne 0x11a3bf44
test al, 1
je 0x11a3bf2c
and al, 0xfe
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebp, eax
test ebp, ebp
je 0x11a3bf44
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ebp, eax
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
Function at 0x11a3bf60
Capabilities:
Check if file exists
Create directory
Delete file
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x208
push ebx
mov ebx, dword [esp + 0x210]
test ebx, ebx
jne 0x11a3bf7c
xor eax, eax
pop ebx
add esp, 0x208
ret
push ebp
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
push 0x103
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x14]
push ebx
push eax
mov ebp, 1
call fcn.119de4c6
mov edi, 0x5c
lea ecx, [esp + 0x1c]
push edi
push ecx
call fcn.119def4d
lea edx, [esp + 0x24]
mov esi, eax
push edx
call fcn.119deca7
add esp, 0x18
cmp eax, 2
jbe 0x11a3c001
cmp word [esp + 0x10], di
jne 0x11a3c001
cmp word [esp + 0x12], di
jne 0x11a3c001
lea eax, [esp + 0x14]
push edi
push eax
call fcn.119def4d
add esp, 8
test eax, eax
je 0x11a3c089
add eax, 2
push edi
push eax
call fcn.119def4d
add esp, 8
mov esi, eax
test esi, esi
je 0x11a3c089
lea ecx, [esp + 0x10]
mov word [esi], 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
mov edi, ebx
and edi, 0x10
jne 0x11a3c049
test bl, 1
je 0x11a3c038
mov edx, ebx
lea eax, [esp + 0x10]
and edx, 0xfffffffe
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebp, eax
test ebp, ebp
je 0x11a3c0bf
cmp ebx, 0xffffffff
je 0x11a3c052
test edi, edi
jne 0x11a3c061
lea edx, [esp + 0x10]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebp, eax
test ebp, ebp
je 0x11a3c0bf
mov word [esi], 0x5c
add esi, 2
push 0x5c
push esi
call fcn.119def4d
mov esi, eax
add esp, 8
test esi, esi
jne 0x11a3c009
test ebp, ebp
je 0x11a3c0bf
mov ebx, dword [esp + 0x21c]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x11a3c0b4
test al, 0x10
jne 0x11a3c0bf
test al, 1
je 0x11a3c0a7
and al, 0xfe
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebp, eax
test ebp, ebp
je 0x11a3c0bf
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebp, eax
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
Function at 0x11a40f20
Capabilities:
Get disk information

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x11a46370
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
push edi
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.119cedf0
mov edi, dword [esp + 0x3c]
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.119cedf0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebp, eax
mov eax, dword [0x11aa3658]
test eax, eax
je 0x11a40fd8
cmp ebp, eax
jne 0x11a40fd8
mov eax, dword [0x11aa365c]
test eax, eax
je 0x11a40fd8
cmp ebx, eax
jb 0x11a40fd8
add eax, 0x493e0
cmp eax, ebx
jb 0x11a40fd8
mov ebp, dword [0x11aa3660]
push 1
inc ebp
push 0x11aa3578
lea ecx, [esp + 0x18]
mov dword [0x11aa3660], ebp
call fcn.119d7610
push 0x11aa35a8
mov ecx, esi
mov dword [esp + 0x34], 0
call fcn.119cefd0
push 0x11aa3598
mov ecx, edi
call fcn.119cefd0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x10]
jmp 0x11a4104e
push edi
push esi
mov dword [0x11aa3660], 0
call fcn.11a41350
add esp, 8
lea ecx, [esp + 0x1c]
push 1
push 0x11aa3578
call fcn.119d7610
push 0xffffffffffffffff
push 0
mov ecx, 0x11aa35a8
mov dword [esp + 0x38], 1
mov dword [0x11aa3658], ebp
mov dword [0x11aa365c], ebx
call fcn.119cedf0
push esi
mov ecx, 0x11aa35a8
call fcn.119cefd0
push 0xffffffffffffffff
push 0
mov ecx, 0x11aa3598
call fcn.119cedf0
push edi
mov ecx, 0x11aa3598
call fcn.119cefd0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.119d7670
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x11a41350
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x11a463d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
push ebx
push ebp
push esi
mov esi, dword [esp + 0x240]
push edi
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.119cedf0
mov ebp, dword [esp + 0x248]
push 0xffffffffffffffff
push ebx
mov ecx, ebp
call fcn.119cedf0
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
test ecx, edx
je 0x11a41489
mov edx, dword [0x11a90f58]
mov cx, word [0x11a90f5c]
mov dword [esp + 0x18], edx
add word [esp + 0x18], ax
lea edx, [esp + 0x18]
mov word [esp + 0x1c], cx
push edx
lea ecx, [esp + 0x28]
mov word [esp + 0x22], bx
call fcn.119c8c60
mov eax, dword [esi + 4]
lea ecx, [esp + 0x24]
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x244], ebx
call fcn.119cf390
mov edx, dword [0x11a480b4]
mov dword [esp + 0x14], edx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x2e]
mov word [esp + 0x2c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x2c]
push 0x104
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x248], 1
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x14]
push edx
mov word [esp + 0x236], bx
call fcn.119c9680
mov eax, dword [ebp + 4]
lea ecx, [esp + 0x14]
push ecx
push eax
mov ecx, ebp
call fcn.119cf390
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], bl
call fcn.119c9400
lea ecx, [esp + 0x24]
mov dword [esp + 0x23c], 0xffffffff
call fcn.119c9400
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
inc eax
shl edx, 1
cmp eax, 0x1a
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], edx
jb 0x11a413ab
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x230
ret
Function at 0x40dfbc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040903e
and dword [ebp - 4], 0
cmp dword [0x417a20], 0
mov ebx, eax
jne 0x40e06d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40e11e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40e11e
push eax
call fcn.00408fcc
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x417a20], eax
call esi
push eax
call fcn.00408fcc
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x417a24], eax
call esi
push eax
call fcn.00408fcc
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x417a28], eax
call esi
push eax
call fcn.00408fcc
pop ecx
mov dword [0x417a30], eax
test eax, eax
je 0x40e06d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00408fcc
pop ecx
mov dword [0x417a2c], eax
mov eax, dword [0x417a2c]
cmp eax, ebx
je 0x40e0c5
cmp dword [0x417a30], ebx
je 0x40e0c5
push eax
call fcn.00409047
push dword [0x417a30]
mov esi, eax
call fcn.00409047
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40e0c5
test edi, edi
je 0x40e0c5
call esi
test eax, eax
je 0x40e0bc
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40e0bc
test byte [ebp - 0xc], 1
jne 0x40e0c5
or dword [ebp + 0x10], 0x200000
jmp 0x40e0fe
mov eax, dword [0x417a24]
cmp eax, ebx
je 0x40e0fe
push eax
call fcn.00409047
pop ecx
test eax, eax
je 0x40e0fe
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40e0fe
mov eax, dword [0x417a28]
cmp eax, ebx
je 0x40e0fe
push eax
call fcn.00409047
pop ecx
test eax, eax
je 0x40e0fe
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x417a20]
call fcn.00409047
pop ecx
test eax, eax
je 0x40e11e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40e120
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10175542
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x102b5d08]
jne 0x1017554c
repz ret
jmp fcn.101820fb

Function at 0x1018671f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10172991
and dword [ebp - 4], 0
cmp dword [0x102b7618], 0
mov ebx, eax
jne 0x101867d0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10186881
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10186881
push eax
call fcn.1017291f
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x102b7618], eax
call esi
push eax
call fcn.1017291f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x102b761c], eax
call esi
push eax
call fcn.1017291f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x102b7620], eax
call esi
push eax
call fcn.1017291f
pop ecx
mov dword [0x102b7628], eax
test eax, eax
je 0x101867d0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1017291f
pop ecx
mov dword [0x102b7624], eax
mov eax, dword [0x102b7624]
cmp eax, ebx
je 0x10186828
cmp dword [0x102b7628], ebx
je 0x10186828
push eax
call fcn.1017299a
push dword [0x102b7628]
mov esi, eax
call fcn.1017299a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10186828
test edi, edi
je 0x10186828
call esi
test eax, eax
je 0x1018681f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1018681f
test byte [ebp - 0xc], 1
jne 0x10186828
or dword [ebp + 0x10], 0x200000
jmp 0x10186861
mov eax, dword [0x102b761c]
cmp eax, ebx
je 0x10186861
push eax
call fcn.1017299a
pop ecx
test eax, eax
je 0x10186861
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10186861
mov eax, dword [0x102b7620]
cmp eax, ebx
je 0x10186861
push eax
call fcn.1017299a
pop ecx
test eax, eax
je 0x10186861
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x102b7618]
call fcn.1017299a
pop ecx
test eax, eax
je 0x10186881
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10186883
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10189ab7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov ecx, dword [0x102b516c]
add ecx, 0x205c
mov dword [0x102b5168], ecx
mov dword [0x102b516c], 0x879
mov dword [ebp - 0x10], eax
call fcn.1018ae78
xor ecx, ecx
mov edx, eax
mov dword [0x102b5168], 0xfffff7a8
mov esi, dword [eax + 0x3c]
mov dword [0x102b516c], 0x2416
mov dword [0x102b5168], 0x1348
mov esi, dword [eax + esi + 0x78]
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov ebx, dword [eax + esi + 0x24]
mov dword [0x102b5168], 0x254a
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ecx
je 0x10189c2a
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov esi, dword [ebp - 0x24]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x45], bh
mov byte [ebp - 0x46], cl
je 0x10189bc0
mov eax, dword [ebp - 0x44]
add eax, 1
mov cl, byte [ebp - 0x45]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x46]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x40], eax
jne 0x10189b6f
mov al, byte [ebp - 0x46]
test al, 1
jne 0x10189bfd
jmp 0x10189bc9
xor eax, eax
mov dword [0x102b5168], 0x150d
mov ecx, dword [ebp - 0x38]
add ecx, 2
mov edx, dword [ebp - 0x34]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], eax
jb 0x10189b55
jmp 0x10189c2a
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
mov dword [0x102b516c], 0x2552
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x102b5168], 0xfffff15b
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x28]
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10189cd2
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x102b5168], 0x204b
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x10189d48
lea eax, [ebp - 0x24]
mov dword [0x102b516c], 0x1bbe
mov dword [0x102b5168], 0x14
mov dword [ebp - 0x34], eax
call fcn.1018a443
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1018a0ca
mov dword [0x102b5168], 0xeeb
mov dword [0x102b516c], 0xfffffe15
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x10189e26
jmp 0x10189d70
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x102a26c2]
mov dl, byte [eax + 0x102a2693]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
je 0x10189cf6
jmp 0x10189d48
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov dword [0x102b5168], 0x2578
mov eax, esp
mov dword [eax + 0xc], 0x40
mov dword [eax + 8], 0x1000
mov dword [eax + 4], 0x6000
mov dword [eax], 0
mov eax, dword [ebp - 0x3c]
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x40], eax
call fcn.10189e2e
xor eax, eax
mov dword [0x102b516c], 0x145b
mov ecx, dword [ebp - 0x40]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x34], ecx
mov ecx, dword [ebp - 0x40]
mov dword [edx + 0x14], ecx
mov esi, dword [0x102b516c]
add esi, 0xffffec67
mov dword [0x102b5168], esi
add ecx, 0x1b13
mov esi, dword [ebp - 0x40]
cmp esi, 0
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], eax
je 0x10189e1d
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
add esp, 0x54
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x54
pop esi
pop ebp
ret
Function at 0x10189f44
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x102b5174], 0
mov byte [0x102b5178], 0
mov dword [0x102b516c], 0x2449
mov dword [0x102b5168], 0x109e
mov dword [0x102b5170], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10189fb2
xor eax, eax
mov dword [0x102b5170], 0
mov ecx, dword [ebp - 0x20]
add ecx, 0x1d78
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x10189ffe
mov eax, dword [ebp - 0x1c]
mov dword [0x102b516c], 0x206
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x102b5168]
mov esi, eax
add esi, 0xfffff9d0
mov dword [0x102b5168], esi
mov esi, dword [0x102b5170]
add esi, 1
mov dword [0x102b5170], esi
cmp esi, 0x100
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
jl 0x10189fb2
jmp 0x10189f95
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, 0x3a46
mov esi, 0x100
mov dword [0x102b517c], 0
mov edi, dword [0x102b5174]
mov ebx, dword [ebp - 0x18]
movzx ebx, byte [ebx + eax]
add ebx, edi
mov dword [ebp - 0x2c], eax
xor edi, edi
mov dword [ebp - 0x30], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add ebx, edx
mov dword [0x102b517c], ebx
mov dword [0x102b516c], ecx
mov dword [0x102b5168], 0xe04
mov eax, ebx
cdq
idiv esi
mov dword [0x102b5174], edx
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
mov cl, byte [ecx + esi]
mov byte [0x102b5178], cl
mov dword [0x102b516c], 0x18fd
mov ebx, dword [ebp - 0x18]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x102b5178]
mov edx, dword [0x102b5174]
mov byte [ebx + edx], cl
mov dword [0x102b5168], 0x169e
mov edx, dword [0x102b5170]
add edx, 1
mov dword [0x102b5170], edx
cmp edx, 0x100
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
jl 0x10189ffe
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1018aaff
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [0x102b516c], 0x2455
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x102b516c], 0x15ac
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
je 0x1018ab6a
mov eax, dword [ebp - 0x14]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], eax
jl 0x1018ab3d
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov edx, dword [0x102b5168]
add edx, 0xffffed2c
mov dword [0x102b5168], edx
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
jne 0x1018ac5b
xor eax, eax
mov dword [0x102b5168], 0x2d1a
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x20], eax
jne 0x1018ac5b
xor eax, eax
mov dword [0x102b5168], 0x6a7
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x20], eax
jne 0x1018ac5b
xor eax, eax
mov dword [0x102b5168], 0x468
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x20], eax
jne 0x1018ac5b
xor eax, eax
mov dword [0x102b5168], 0xffffe829
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x20], eax
jne 0x1018ac5b
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x20], eax
jne 0x1018ac5b
xor eax, eax
mov dword [0x102b516c], 0x401
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x20], eax
jne 0x1018ac5b
mov eax, 1
mov dword [0x102b5168], 0x2389
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
add esp, 0x20
pop ebp
ret
Function at 0x1018afef
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, 0xffffff79
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov eax, 0xfffff00e
mov dword [0x102b5170], 0
mov dword [0x102b5174], 0
mov dword [0x102b5180], 0
mov dword [ebp - 0x14], eax
mov eax, dword [0x102b5168]
add eax, 0xffffda0d
mov dword [0x102b516c], eax
mov dword [0x102b5168], 0x4ad
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
cmp eax, 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, ebx
mov dword [ebp - 0x20], eax
mov eax, ebx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], edi
je 0x1018b1cf
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
mov ebx, 0x6b6
mov dword [ebp - 0x40], eax
mov eax, 0x100
mov dword [0x102b5168], ecx
add edx, 1
mov dword [ebp - 0x44], eax
mov eax, edx
cdq
mov ecx, dword [ebp - 0x44]
idiv ecx
mov dword [0x102b5170], edx
mov ecx, dword [ebp - 0x34]
movzx ecx, byte [ecx + edx]
add ecx, esi
mov eax, ecx
mov dword [ebp - 0x48], edx
cdq
mov ecx, dword [ebp - 0x44]
idiv ecx
mov dword [0x102b5174], edx
mov esi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x48]
mov cl, byte [esi + ecx]
mov byte [0x102b5178], cl
add edi, 0x1ab1
mov dword [0x102b5168], edi
mov cl, byte [esi + edx]
mov edx, dword [ebp - 0x48]
mov byte [esi + edx], cl
mov edi, dword [0x102b516c]
add edi, 0xffffe8ac
mov dword [0x102b516c], edi
mov cl, byte [0x102b5178]
mov edi, dword [0x102b5174]
mov byte [esi + edi], cl
mov edi, dword [0x102b5170]
movzx edi, byte [esi + edi]
mov ecx, dword [0x102b5174]
movzx ecx, byte [esi + ecx]
add ecx, edi
and ecx, 0xff
mov dword [0x102b5180], ecx
mov dword [0x102b516c], 0x3cd
mov dword [0x102b5168], 0x2296
mov cl, byte [esi + ecx]
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x40]
mov ch, byte [edi + edx]
mov dword [0x102b516c], 0x31f
mov byte [0x102b5185], ch
mov byte [0x102b5186], cl
xor ch, cl
mov byte [0x102b5184], ch
mov edx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x40]
mov byte [edx + esi], ch
mov dword [0x102b5168], 0xbea
add esi, 1
mov edx, dword [ebp - 0x10]
cmp esi, edx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x3c], ebx
je 0x1018b1cf
mov eax, 0xfffff74b
mov ecx, dword [0x102b5174]
mov edx, dword [0x102b5170]
mov esi, dword [0x102b516c]
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], edi
jmp 0x1018b083
mov eax, dword [ebp - 0x3c]
mov dword [0x102b5168], eax
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret