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

Disassembly:
test edx, 0xf0000000
je 0x4053a6
and edx, 0x3fff
jmp fcn.0040530a

Function at 0x4053ab
Capabilities:
Delete directory

Disassembly:
mov eax, 0x48dba4
call fcn.0048cc90
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.00407be3
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebx, eax
cmp ebx, 1
je 0x4053da
push edi
call esi
test eax, eax
je 0x4053da
mov al, 1
jmp 0x40541e
test ebx, ebx
je 0x40541c
lea ecx, [ebp - 0x18]
call fcn.00402b6d
and dword [ebp - 4], 0
cmp ebx, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.00407cec
test al, al
push dword [ebp - 0x18]
je 0x405416
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.00401c9a
test esi, esi
pop ecx
setne al
jmp 0x40541e
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 0x40542d
Capabilities:
Move file

Disassembly:
mov eax, 0x48dbc0
call fcn.0048cc90
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], ecx
call fcn.00407be3
mov ecx, dword [ebp - 0x10]
mov esi, eax
call fcn.00407be3
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileW]
mov dword [ebp - 0x14], eax
push 1
pop ebx
cmp esi, ebx
je 0x405476
cmp eax, ebx
je 0x405476
push dword [ebp - 0x10]
push dword [ebp - 0x18]
call edi
test eax, eax
je 0x405476
mov al, bl
jmp 0x4054ed
test esi, esi
jne 0x40547f
cmp dword [ebp - 0x14], esi
je 0x4054eb
lea ecx, [ebp - 0x30]
call fcn.00402b6d
and dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00402b6d
cmp esi, ebx
mov byte [ebp - 4], bl
je 0x40549f
cmp dword [ebp - 0x14], ebx
jne 0x4054a1
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.00408258
test al, al
push dword [ebp - 0x24]
je 0x4054dc
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 0x4054ed
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 0x4055f8
Capabilities:
Create directory

Disassembly:
mov eax, 0x48dbf0
call fcn.0048cc90
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.00407be3
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, eax
cmp ebx, 1
je 0x405636
push 0
push edi
call esi
test eax, eax
je 0x405629
mov al, 1
jmp 0x40567f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40567d
test ebx, ebx
je 0x40567d
lea ecx, [ebp - 0x18]
call fcn.00402b6d
and dword [ebp - 4], 0
cmp ebx, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.00407cec
test al, al
je 0x405674
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 0x40567f
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 0x4057cf
Capabilities:
Create directory

Disassembly:
mov eax, 0x48dc33
call fcn.0048cc90
sub esp, 0x7c
push ebx
push esi
push edi
mov esi, ecx
call fcn.00407be3
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 1
je 0x405814
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x405807
mov al, 1
jmp 0x4058f7
call ebx
cmp eax, 0xb7
je 0x4058a8
test edi, edi
je 0x4058a8
lea ecx, [ebp - 0x18]
call fcn.00402b6d
and dword [ebp - 4], 0
cmp edi, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, esi
call fcn.00407cec
test al, al
je 0x40589b
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x405850
mov bl, 1
jmp 0x405896
call ebx
cmp eax, 0xb7
je 0x40585d
xor bl, bl
jmp 0x405896
lea ecx, [ebp - 0x50]
call fcn.0040630e
lea ecx, [ebp - 0x28]
call fcn.00402b6d
push dword [ebp - 0x18]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.004063ae
test al, al
jne 0x405884
xor bl, bl
jmp 0x40588d
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 0x4058ef
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call fcn.00401c9a
pop ecx
call ebx
cmp eax, 0xb7
je 0x4058b5
xor al, al
jmp 0x4058f7
lea ecx, [ebp - 0x88]
call fcn.0040630e
lea ecx, [ebp - 0x60]
call fcn.00402b6d
push esi
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 2
call fcn.004063ae
test al, al
jne 0x4058e3
xor bl, bl
jmp 0x4058ec
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 0x405906
Capabilities:
Delete file

Disassembly:
mov eax, 0x48dc48
call fcn.0048cc90
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.00406331
cmp eax, 0xffffffff
je 0x40593a
test al, 0x10
jne 0x40593a
test al, 1
je 0x40593a
mov edx, eax
mov ecx, edi
and edx, 0xfffffffe
call fcn.0040530a
test al, al
je 0x40599b
mov ecx, edi
call fcn.00407be3
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
cmp ebx, 1
je 0x405959
push edi
call esi
test eax, eax
je 0x405959
mov al, 1
jmp 0x40599d
test ebx, ebx
je 0x40599b
lea ecx, [ebp - 0x18]
call fcn.00402b6d
and dword [ebp - 4], 0
cmp ebx, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.00407cec
test al, al
push dword [ebp - 0x18]
je 0x405995
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.00401c9a
test esi, esi
pop ecx
setne al
jmp 0x40599d
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 0x406331
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x48dd1c
call fcn.0048cc90
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.00407be3
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 1
je 0x40635d
push edi
call esi
cmp eax, 0xffffffff
jne 0x40639f
test ebx, ebx
je 0x40639c
lea ecx, [ebp - 0x18]
call fcn.00402b6d
and dword [ebp - 4], 0
cmp ebx, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.00407cec
test al, al
push dword [ebp - 0x18]
je 0x406396
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.00401c9a
pop ecx
mov eax, esi
jmp 0x40639f
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 0x406996
Capabilities:
Get disk information

Disassembly:
mov eax, 0x48ddc0
call fcn.0048cc90
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 0x406a64
mov eax, SysReAllocString
cmp ebx, eax
ja 0x4069d2
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 0x406a5d
cmp ebx, dword [ebp - 0x14]
ja 0x406a5d
lea ecx, [ebp - 0x2c]
call fcn.00402b6d
test ebx, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], edi
jbe 0x406a45
push 2
xor eax, eax
pop ebx
cmp word [esi + ebx - 2], 0
jne 0x406a3a
add eax, esi
lea ecx, [ebp - 0x2c]
push eax
call fcn.00402cac
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 0x406a10
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 0x406a66
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 0x406b47
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [ecx + 4], 0
push esi
je 0x406b68
cmp byte [ecx + 5], 0
je 0x406b68
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 0x406ba7
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x406b89
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x406b89
xor al, al
jmp 0x406ba9
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.0048cfd0
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 0x419698
Capabilities:
Access peb ldr_data
Get process heap flags

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

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

Disassembly:
mov eax, 0x48f1f7
call fcn.0048cc90
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00402c40
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.00402c40
lea eax, [edi + 0x18]
lea ecx, [esi + 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.00402c40
lea eax, [edi + 0x24]
lea ecx, [esi + 0x24]
push eax
mov byte [ebp - 4], 2
call fcn.00402c40
lea eax, [edi + 0x30]
lea ecx, [esi + 0x30]
push eax
mov byte [ebp - 4], 3
call fcn.00402c40
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.00402c40
add edi, 0x4c
lea ecx, [esi + 0x4c]
push edi
mov byte [ebp - 4], 5
call fcn.00402c40
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x41f5d6
Capabilities:
Encode data using xor

Disassembly:
push esi
or eax, 0xffffffff
xor esi, esi
test edx, edx
jbe 0x41f603
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 + 0x4af2a0]
xor eax, edi
inc esi
cmp esi, edx
jb 0x41f5e2
pop edi
pop ebx
not eax
pop esi
ret
Function at 0x42226f
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
mov eax, ecx
jbe 0x422386
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 0x42227f
ret 4
Function at 0x422e60
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 0x422e85
cmp eax, 0x40
jb 0x422e75
xor edi, edi
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 0xc], ebx
jb 0x422f16
ja 0x422e9a
cmp dword [ebp + 8], ebx
jbe 0x422f16
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
cmp edx, ebx
je 0x422ebc
mov eax, edi
xor ecx, ecx
and eax, 0xff
or eax, ecx
jne 0x422ebc
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 8]
cmp eax, ebx
jne 0x422f18
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 0x422f1f
xor ecx, ecx
xor edx, edx
cmp eax, ebx
jbe 0x422ef6
xor ecx, dword [ebp + edx - 0x50]
add edx, 4
cmp edx, eax
jb 0x422eeb
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x422f01
cmp ecx, dword [eax]
jne 0x422f1f
add edi, 1
adc dword [ebp - 0xc], ebx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
jb 0x422e9d
ja 0x422f16
cmp edi, dword [ebp + 8]
jb 0x422e9d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x14
push 1
pop eax
jmp 0x422f18

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

Disassembly:
mov eax, 0x48fca6
call fcn.0048cc90
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.004236c4
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.0041a03a
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 0x42551d
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x48ff3a
call fcn.0048cc90
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.00402b6d
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.00425577
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4255c9
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x48ff85
call fcn.0048cc90
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 3
call fcn.0042c7fd
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0042561f
push dword [esi + 0x24]
call fcn.00401c9a
and byte [ebp - 4], 0
pop ecx
lea ecx, [esi + 0xc]
call fcn.0043ac64
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00425b5c
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x427266
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x49022e
call fcn.0048cc90
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 1
call fcn.0043ac64
and byte [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.0042748f
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 0x42754c
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x4902a6
call fcn.0048cc90
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.00402c40
and dword [ebp - 4], 0
lea eax, [edi + 0x18]
push eax
lea ecx, [esi + 0x18]
call fcn.004275c7
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.00427680
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x42da3d
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4909c1
call fcn.0048cc90
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.00402c40
and dword [ebp - 4], 0
lea eax, [edi + 0x1c]
push eax
lea ecx, [esi + 0x1c]
call fcn.00402c40
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.00402c40
lea eax, [edi + 0x3c]
lea ecx, [esi + 0x3c]
push eax
mov byte [ebp - 4], 2
call fcn.00402c40
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 0x4323a2
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x490fa7
call fcn.0048cc90
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x498110
mov dword [esi + 4], 0x4980fc
mov dword [esi + 8], 0x49699c
mov dword [esi + 0xc], 0x4980e0
mov dword [esi + 0x10], 0x4980cc
mov dword [esi + 0x14], 0x4980bc
mov dword [esi + 0x18], 0x49698c
mov dword [esi + 0x1c], 0x49697c
mov dword [esi + 0x20], 0x4980b4
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.00402b6d
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 5
call fcn.00402b6d
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], 0x498088
mov dword [esi + 4], 0x498074
mov dword [esi + 8], 0x49805c
mov dword [esi + 0xc], 0x498040
mov dword [esi + 0x10], 0x49802c
mov dword [esi + 0x14], 0x49801c
mov dword [esi + 0x18], 0x49800c
mov dword [esi + 0x1c], 0x497ffc
mov dword [esi + 0x20], 0x497ff4
call fcn.0041a03a
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 0x442d5c
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x49257c
call fcn.0048cc90
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0044f2bf
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.0043220d
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.0043220d
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.0043220d
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.0043220d
lea ebx, [esi + 0xc0]
mov byte [ebp - 4], 0xc
mov ecx, ebx
mov dword [ebp - 0x14], ebx
call fcn.0043220d
lea ecx, [ebx + 0xc]
mov byte [ebp - 4], 0xd
call fcn.0043220d
lea ebx, [esi + 0xd8]
mov byte [ebp - 4], 0xe
mov ecx, ebx
mov dword [ebp - 0x14], ebx
call fcn.0043220d
lea ecx, [ebx + 0xc]
mov byte [ebp - 4], 0xf
call fcn.0043220d
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 0x44794f
Capabilities:
Parse pe header

Disassembly:
cmp edx, 0x200
jb 0x4479ab
cmp word [ecx], 0x5a4d
jne 0x4479ab
mov eax, dword [ecx + 0x3c]
cmp eax, 0x1000
jae 0x4479ab
push esi
lea esi, [eax + 0x200]
cmp esi, edx
pop esi
ja 0x4479ab
test al, 7
jne 0x4479ab
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4479ab
movzx ecx, word [eax + 4]
add eax, 4
sub ecx, 0x14c
je 0x4479c5
sub ecx, 0x74
je 0x4479be
dec ecx
dec ecx
je 0x4479be
dec ecx
dec ecx
je 0x4479b7
sub ecx, 0x3c
je 0x4479b0
sub ecx, 0x8464
je 0x4479c5
xor eax, eax
ret 4
mov ecx, 0x3030401
jmp 0x4479ca
mov ecx, 0x3030701
jmp 0x4479ca
mov ecx, 0x3030501
jmp 0x4479ca
mov ecx, 0x3030103
cmp word [eax + 0x10], 0x400
ja 0x4479ab
movzx eax, word [eax + 0x14]
cmp eax, 0x10b
je 0x4479e4
cmp eax, 0x20b
jne 0x4479ab
mov eax, dword [esp + 4]
push 1
mov dword [eax], ecx
pop eax
jmp 0x4479ad