joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405449
Capabilities:
Set file attributes

Disassembly:
test edx, 0xf0000000
je 0x405457
and edx, 0x3fff
jmp fcn.004053bb

Function at 0x40545c
Capabilities:
Delete directory

Disassembly:
mov eax, 0x491380
call fcn.00490450
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.00407c94
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebx, eax
cmp ebx, 1
je 0x40548b
push edi
call esi
test eax, eax
je 0x40548b
mov al, 1
jmp 0x4054cf
test ebx, ebx
je 0x4054cd
lea ecx, [ebp - 0x18]
call fcn.00402c48
and dword [ebp - 4], 0
cmp ebx, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.00407d9d
test al, al
push dword [ebp - 0x18]
je 0x4054c7
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.00401c9a
test esi, esi
pop ecx
setne al
jmp 0x4054cf
call fcn.00401c9a
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4054de
Capabilities:
Move file

Disassembly:
mov eax, 0x49139c
call fcn.00490450
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], ecx
call fcn.00407c94
mov ecx, dword [ebp - 0x10]
mov esi, eax
call fcn.00407c94
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileW]
mov dword [ebp - 0x14], eax
push 1
pop ebx
cmp esi, ebx
je 0x405527
cmp eax, ebx
je 0x405527
push dword [ebp - 0x10]
push dword [ebp - 0x18]
call edi
test eax, eax
je 0x405527
mov al, bl
jmp 0x40559e
test esi, esi
jne 0x405530
cmp dword [ebp - 0x14], esi
je 0x40559c
lea ecx, [ebp - 0x30]
call fcn.00402c48
and dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00402c48
cmp esi, ebx
mov byte [ebp - 4], bl
je 0x405550
cmp dword [ebp - 0x14], ebx
jne 0x405552
xor ebx, ebx
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x24]
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00408309
test al, al
push dword [ebp - 0x24]
je 0x40558d
push dword [ebp - 0x30]
call edi
mov esi, eax
push dword [ebp - 0x24]
call fcn.00401c9a
push dword [ebp - 0x30]
call fcn.00401c9a
pop ecx
test esi, esi
pop ecx
setne al
jmp 0x40559e
call fcn.00401c9a
push dword [ebp - 0x30]
call fcn.00401c9a
pop ecx
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4056a9
Capabilities:
Create directory

Disassembly:
mov eax, 0x4913cc
call fcn.00490450
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.00407c94
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, eax
cmp ebx, 1
je 0x4056e7
push 0
push edi
call esi
test eax, eax
je 0x4056da
mov al, 1
jmp 0x405730
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40572e
test ebx, ebx
je 0x40572e
lea ecx, [ebp - 0x18]
call fcn.00402c48
and dword [ebp - 4], 0
cmp ebx, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.00407d9d
test al, al
je 0x405725
push 0
push dword [ebp - 0x18]
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.00401c9a
test esi, esi
pop ecx
setne al
jmp 0x405730
push dword [ebp - 0x18]
call fcn.00401c9a
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x405880
Capabilities:
Create directory

Disassembly:
mov eax, 0x49140f
call fcn.00490450
sub esp, 0x7c
push ebx
push esi
push edi
mov esi, ecx
call fcn.00407c94
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 1
je 0x4058c5
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4058b8
mov al, 1
jmp 0x4059a8
call ebx
cmp eax, 0xb7
je 0x405959
test edi, edi
je 0x405959
lea ecx, [ebp - 0x18]
call fcn.00402c48
and dword [ebp - 4], 0
cmp edi, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, esi
call fcn.00407d9d
test al, al
je 0x40594c
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x405901
mov bl, 1
jmp 0x405947
call ebx
cmp eax, 0xb7
je 0x40590e
xor bl, bl
jmp 0x405947
lea ecx, [ebp - 0x50]
call fcn.004063c4
lea ecx, [ebp - 0x28]
call fcn.00402c48
push dword [ebp - 0x18]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.00406464
test al, al
jne 0x405935
xor bl, bl
jmp 0x40593e
mov ebx, dword [ebp - 0x30]
shr ebx, 4
and bl, 1
push dword [ebp - 0x28]
call fcn.00401c9a
pop ecx
push dword [ebp - 0x18]
jmp 0x4059a0
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call fcn.00401c9a
pop ecx
call ebx
cmp eax, 0xb7
je 0x405966
xor al, al
jmp 0x4059a8
lea ecx, [ebp - 0x88]
call fcn.004063c4
lea ecx, [ebp - 0x60]
call fcn.00402c48
push esi
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 2
call fcn.00406464
test al, al
jne 0x405994
xor bl, bl
jmp 0x40599d
mov ebx, dword [ebp - 0x68]
shr ebx, 4
and bl, 1
push dword [ebp - 0x60]
call fcn.00401c9a
pop ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4059b7
Capabilities:
Delete file

Disassembly:
mov eax, 0x491424
call fcn.00490450
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.004063e7
cmp eax, 0xffffffff
je 0x4059eb
test al, 0x10
jne 0x4059eb
test al, 1
je 0x4059eb
mov edx, eax
mov ecx, edi
and edx, 0xfffffffe
call fcn.004053bb
test al, al
je 0x405a4c
mov ecx, edi
call fcn.00407c94
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
cmp ebx, 1
je 0x405a0a
push edi
call esi
test eax, eax
je 0x405a0a
mov al, 1
jmp 0x405a4e
test ebx, ebx
je 0x405a4c
lea ecx, [ebp - 0x18]
call fcn.00402c48
and dword [ebp - 4], 0
cmp ebx, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.00407d9d
test al, al
push dword [ebp - 0x18]
je 0x405a46
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.00401c9a
test esi, esi
pop ecx
setne al
jmp 0x405a4e
call fcn.00401c9a
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4063e7
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x4914f8
call fcn.00490450
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.00407c94
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 1
je 0x406413
push edi
call esi
cmp eax, 0xffffffff
jne 0x406455
test ebx, ebx
je 0x406452
lea ecx, [ebp - 0x18]
call fcn.00402c48
and dword [ebp - 4], 0
cmp ebx, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.00407d9d
test al, al
push dword [ebp - 0x18]
je 0x40644c
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.00401c9a
pop ecx
mov eax, esi
jmp 0x406455
call fcn.00401c9a
pop ecx
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x406a47
Capabilities:
Get disk information

Disassembly:
mov eax, 0x49159c
call fcn.00490450
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
call fcn.00401553
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push 0
push 0
call edi
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x14], ebx
je 0x406b15
mov eax, SysReAllocString
cmp ebx, eax
ja 0x406a83
mov eax, ebx
add eax, eax
push eax
call fcn.00401c73
mov esi, eax
pop ecx
mov dword [ebp - 0x20], esi
and dword [ebp - 4], 0
push esi
push ebx
call edi
mov ebx, eax
xor edi, edi
cmp ebx, edi
mov dword [ebp - 0x10], ebx
je 0x406b0e
cmp ebx, dword [ebp - 0x14]
ja 0x406b0e
lea ecx, [ebp - 0x2c]
call fcn.00402c48
test ebx, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], edi
jbe 0x406af6
push 2
xor eax, eax
pop ebx
cmp word [esi + ebx - 2], 0
jne 0x406aeb
add eax, esi
lea ecx, [ebp - 0x2c]
push eax
call fcn.00402d87
mov ecx, dword [ebp - 0x18]
lea eax, [edi + 1]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x1c], ebx
call fcn.0040150c
mov eax, ebx
inc edi
inc ebx
inc ebx
cmp edi, dword [ebp - 0x10]
jb 0x406ac1
mov ebx, dword [ebp - 0x10]
push dword [ebp - 0x2c]
call fcn.00401c9a
push esi
call fcn.00401c9a
cmp dword [ebp - 0x14], ebx
pop ecx
pop ecx
sete al
jmp 0x406b17
push esi
call fcn.00401c9a
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x406bf8
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [ecx + 4], 0
push esi
je 0x406c19
cmp byte [ecx + 5], 0
je 0x406c19
mov eax, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov dword [eax], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 4], ecx
jmp 0x406c58
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x406c3a
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x406c3a
xor al, al
jmp 0x406c5a
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.00490790
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4
Function at 0x418edc
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x492743
call fcn.00490450
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00402c48
and dword [ebp - 4], 0
lea ecx, [esi + 0xc]
call fcn.00402c48
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.00402c48
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.00402c48
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.00402c48
and byte [esi + 0x3c], 0
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 4
call fcn.00402c48
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 5
call fcn.00402c48
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x419645
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x49286b
call fcn.00490450
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00402d1b
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.00402d1b
lea eax, [edi + 0x18]
lea ecx, [esi + 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.00402d1b
lea eax, [edi + 0x24]
lea ecx, [esi + 0x24]
push eax
mov byte [ebp - 4], 2
call fcn.00402d1b
lea eax, [edi + 0x30]
lea ecx, [esi + 0x30]
push eax
mov byte [ebp - 4], 3
call fcn.00402d1b
mov al, byte [edi + 0x3c]
lea ecx, [esi + 0x40]
mov byte [esi + 0x3c], al
lea eax, [edi + 0x40]
push eax
mov byte [ebp - 4], 4
call fcn.00402d1b
add edi, 0x4c
lea ecx, [esi + 0x4c]
push edi
mov byte [ebp - 4], 5
call fcn.00402d1b
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x41ecb2
Capabilities:
Encode data using xor

Disassembly:
push esi
or eax, 0xffffffff
xor esi, esi
test edx, edx
jbe 0x41ecdf
push ebx
push edi
movzx edi, byte [esi + ecx]
mov ebx, eax
and ebx, 0xff
xor edi, ebx
shr eax, 8
mov edi, dword [edi*4 + 0x4b32a0]
xor eax, edi
inc esi
cmp esi, edx
jb 0x41ecbe
pop edi
pop ebx
not eax
pop esi
ret
Function at 0x421a6a
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
mov eax, ecx
jbe 0x421b81
mov ecx, edx
mov edx, dword [esp + 4]
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
dec ecx
jne 0x421a7a
ret 4
Function at 0x42265b
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
mov dword [ebp - 8], ecx
push esi
xor ebx, ebx
xor eax, eax
push edi
mov dword [ebp - 4], edx
xor ecx, ecx
mov byte [ebp + eax - 0x50], bl
add eax, 1
adc ecx, ebx
jne 0x422680
cmp eax, 0x40
jb 0x422670
xor edi, edi
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 0xc], ebx
jb 0x422711
ja 0x422695
cmp dword [ebp + 8], ebx
jbe 0x422711
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
cmp edx, ebx
je 0x4226b7
mov eax, edi
xor ecx, ecx
and eax, 0xff
or eax, ecx
jne 0x4226b7
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 8]
cmp eax, ebx
jne 0x422713
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
mov eax, dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
push esi
call dword [eax + 0x10]
mov eax, dword [esi]
lea ecx, [ebp - 0x50]
push ecx
push esi
call dword [eax + 0x14]
mov eax, dword [esi]
push esi
call dword [eax + 0x18]
cmp eax, 0x40
ja 0x42271a
xor ecx, ecx
xor edx, edx
cmp eax, ebx
jbe 0x4226f1
xor ecx, dword [ebp + edx - 0x50]
add edx, 4
cmp edx, eax
jb 0x4226e6
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x4226fc
cmp ecx, dword [eax]
jne 0x42271a
add edi, 1
adc dword [ebp - 0xc], ebx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
jb 0x422698
ja 0x422711
cmp edi, dword [ebp + 8]
jb 0x422698
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x14
push 1
pop eax
jmp 0x422713

Function at 0x422e9c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x493322
call fcn.00490450
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], bl
mov byte [esi + 0x31], bl
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x60], ebx
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], ebx
call fcn.00422f42
lea eax, [esi + 0x8c]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov byte [ebp - 4], 5
mov byte [esi + 0x95], bl
mov dword [esi + 0x98], ebx
call fcn.0041975a
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x94], al
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4253f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x49368a
call fcn.00490450
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], al
mov byte [esi + 0x21], al
call fcn.00402c48
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0042544a
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x42549c
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4936d5
call fcn.00490450
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 3
call fcn.0042c72e
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.004254f2
push dword [esi + 0x24]
call fcn.00401c9a
and byte [ebp - 4], 0
pop ecx
lea ecx, [esi + 0xc]
call fcn.00461406
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00425a2f
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x427132
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x49397e
call fcn.00490450
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 1
call fcn.00461406
and byte [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.0042735b
push dword [esi + 0xc]
call fcn.00401c9a
pop ecx
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret

Function at 0x427434
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x4939f6
call fcn.00490450
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [edi]
lea ecx, [esi + 0xc]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
lea eax, [edi + 0xc]
push eax
call fcn.00402d1b
and dword [ebp - 4], 0
lea eax, [edi + 0x18]
push eax
lea ecx, [esi + 0x18]
call fcn.004274af
mov eax, dword [edi + 0x24]
add edi, 0x30
mov dword [esi + 0x24], eax
mov al, byte [edi - 8]
mov byte [esi + 0x28], al
mov al, byte [edi - 7]
mov byte [esi + 0x29], al
mov eax, dword [edi - 4]
push edi
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
mov dword [esi + 0x2c], eax
call fcn.00427568
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x42d963
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x494111
call fcn.00490450
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [edi]
lea ecx, [esi + 0x10]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
lea eax, [edi + 0x10]
push eax
call fcn.00402d1b
and dword [ebp - 4], 0
lea eax, [edi + 0x1c]
push eax
lea ecx, [esi + 0x1c]
call fcn.00402d1b
mov eax, dword [edi + 0x28]
lea ecx, [esi + 0x30]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
lea eax, [edi + 0x30]
push eax
mov byte [ebp - 4], 1
call fcn.00402d1b
lea eax, [edi + 0x3c]
lea ecx, [esi + 0x3c]
push eax
mov byte [ebp - 4], 2
call fcn.00402d1b
mov al, byte [edi + 0x48]
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x48], al
mov al, byte [edi + 0x49]
mov byte [esi + 0x49], al
mov al, byte [edi + 0x4a]
mov byte [esi + 0x4a], al
mov al, byte [edi + 0x4b]
mov byte [esi + 0x4b], al
mov al, byte [edi + 0x4c]
mov byte [esi + 0x4c], al
mov al, byte [edi + 0x4d]
mov byte [esi + 0x4d], al
mov eax, dword [edi + 0x50]
mov dword [esi + 0x50], eax
mov eax, dword [edi + 0x54]
mov dword [esi + 0x54], eax
mov eax, dword [edi + 0x58]
mov dword [esi + 0x58], eax
mov eax, dword [edi + 0x5c]
mov dword [esi + 0x5c], eax
mov eax, dword [edi + 0x60]
mov dword [esi + 0x60], eax
mov eax, dword [edi + 0x64]
mov dword [esi + 0x64], eax
mov eax, dword [edi + 0x68]
mov dword [esi + 0x68], eax
mov al, byte [edi + 0x6c]
mov byte [esi + 0x6c], al
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4323c2
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x4946f7
call fcn.00490450
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x49c198
mov dword [esi + 4], 0x49c184
mov dword [esi + 8], 0x49a9e0
mov dword [esi + 0xc], 0x49c168
mov dword [esi + 0x10], 0x49c154
mov dword [esi + 0x14], 0x49c144
mov dword [esi + 0x18], 0x49a9d0
mov dword [esi + 0x1c], 0x49a9c0
mov dword [esi + 0x20], 0x49c13c
mov dword [esi + 0x24], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
or dword [esi + 0x38], 0xffffffff
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 4
call fcn.00402c48
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 5
call fcn.00402c48
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
or dword [esi + 0x9c], 0xffffffff
mov byte [ebp - 4], 7
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0xa0], ebx
mov byte [esi + 0xa4], bl
mov byte [esi + 0xa5], bl
mov byte [esi + 0xa6], bl
mov byte [esi + 0xa7], bl
mov byte [esi + 0xa8], bl
mov byte [esi + 0xa9], bl
mov byte [esi + 0xaa], bl
mov dword [esi + 0xac], ebx
mov dword [esi], 0x49c110
mov dword [esi + 4], 0x49c0fc
mov dword [esi + 8], 0x49c0e4
mov dword [esi + 0xc], 0x49c0c8
mov dword [esi + 0x10], 0x49c0b4
mov dword [esi + 0x14], 0x49c0a4
mov dword [esi + 0x18], 0x49c094
mov dword [esi + 0x1c], 0x49c084
mov dword [esi + 0x20], 0x49c07c
call fcn.0041975a
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x28], al
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x443002
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x495d04
call fcn.00490450
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0044f518
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
lea eax, [esi + 0x3c]
mov dword [ebp - 0x14], eax
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 2
call fcn.00441fd5
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
lea eax, [esi + 0x78]
mov dword [ebp - 0x14], eax
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 7
call fcn.00441fd5
lea eax, [esi + 0x90]
mov dword [ebp - 0x14], eax
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 9
call fcn.00441fd5
lea eax, [esi + 0xa8]
mov dword [ebp - 0x14], eax
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 0xb
call fcn.00441fd5
lea ebx, [esi + 0xc0]
mov byte [ebp - 4], 0xc
mov ecx, ebx
mov dword [ebp - 0x14], ebx
call fcn.00441fd5
lea ecx, [ebx + 0xc]
mov byte [ebp - 4], 0xd
call fcn.00441fd5
lea ebx, [esi + 0xd8]
mov byte [ebp - 4], 0xe
mov ecx, ebx
mov dword [ebp - 0x14], ebx
call fcn.00441fd5
lea ecx, [ebx + 0xc]
mov byte [ebp - 4], 0xf
call fcn.00441fd5
mov ecx, dword [ebp - 0xc]
lea eax, [esi + 0xf0]
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x447c47
Capabilities:
Parse pe header

Disassembly:
cmp edx, 0x200
jb 0x447ca3
cmp word [ecx], 0x5a4d
jne 0x447ca3
mov eax, dword [ecx + 0x3c]
cmp eax, 0x1000
jae 0x447ca3
push esi
lea esi, [eax + 0x200]
cmp esi, edx
pop esi
ja 0x447ca3
test al, 7
jne 0x447ca3
add eax, ecx
cmp dword [eax], 0x4550
jne 0x447ca3
movzx ecx, word [eax + 4]
add eax, 4
sub ecx, 0x14c
je 0x447cbd
sub ecx, 0x74
je 0x447cb6
dec ecx
dec ecx
je 0x447cb6
dec ecx
dec ecx
je 0x447caf
sub ecx, 0x3c
je 0x447ca8
sub ecx, 0x8464
je 0x447cbd
xor eax, eax
ret 4
mov ecx, 0x3030401
jmp 0x447cc2
mov ecx, 0x3030701
jmp 0x447cc2
mov ecx, 0x3030501
jmp 0x447cc2
mov ecx, 0x3030103
cmp word [eax + 0x10], 0x400
ja 0x447ca3
movzx eax, word [eax + 0x14]
cmp eax, 0x10b
je 0x447cdc
cmp eax, 0x20b
jne 0x447ca3
mov eax, dword [esp + 4]
push 1
mov dword [eax], ecx
pop eax
jmp 0x447ca5