joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43eba0
Capabilities:
Access peb ldr_data
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x48bee9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x4bcb20]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 0
call fcn.0041afa0
push 0x4a18f0
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0
call fcn.00422770
mov ecx, dword [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.0043e760
lea ecx, [esp + 0x14]
push ecx
push eax
mov byte [esp + 0x30], 1
mov dword [esp + 0x20], 1
call fcn.0041a120
add esp, 0x10
or esi, 0xffffffff
test al, al
jne 0x43ec37
mov edx, dword [esp + 0xc]
push edx
call fcn.0043d510
add esp, 4
cmp eax, esi
je 0x43ec37
xor bl, bl
jmp 0x43ec39
mov bl, 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43ec60
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x43ed2f
mov ecx, dword [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.0043e760
mov eax, dword [eax]
push eax
mov byte [esp + 0x2c], 2
call fcn.0043eba0
add esp, 0xc
test al, al
mov eax, dword [esp + 0x14]
sete bl
add eax, 0xfffffff0
mov byte [esp + 0x20], 0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43ecb0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x43ece9
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x20], esi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x43ecd5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret
mov ecx, dword [esp + 0xc]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x43ed2f
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x20], esi
lea edx, [eax + 0xc]
lock xadd dword [edx], esi
dec esi
test esi, esi
jg 0x43ecd5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov dword [esp + 0x20], esi
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x43ed50
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x43f8d0
Capabilities:
Get disk information

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push eax
lea ecx, [esp + 8]
push ecx
call fcn.0043f4f0
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
mov eax, dword [esp + 4]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43f913
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
pop ebx
pop ecx
ret

Function at 0x43fcf0
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x48c188
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bcb20]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
push 0
push 0x2e
lea ecx, [esp + 0x20]
call fcn.00441ac0
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x34]
push 1
push 0x2e
push eax
mov ecx, edi
mov dword [esp + 0x38], 0
call fcn.004418c0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov dword [esi + 4], ecx
movzx edx, word [eax + 4]
mov word [esi + 8], dx
movzx ecx, word [eax + 6]
mov word [esi + 0xa], cx
movzx edx, word [eax + 8]
mov word [esi + 0xc], dx
movzx ecx, word [eax + 0xa]
mov word [esi + 0xe], cx
movzx edx, word [eax + 0xc]
mov word [esi + 0x10], dx
movzx ecx, word [eax + 0xe]
mov word [esi + 0x12], cx
mov edx, dword [eax + 0x10]
mov dword [esi + 0x14], edx
mov ecx, dword [eax + 0x14]
mov dword [esi + 0x18], ecx
mov edx, dword [eax + 0x18]
mov dword [esi + 0x1c], edx
movzx ecx, word [eax + 0x20]
movzx edx, word [eax + 0x22]
movzx ebx, word [eax + 0x1c]
movzx ebp, word [eax + 0x1e]
mov word [esi + 0x20], dx
mov dword [esp + 0x34], ecx
movzx ecx, word [eax + 0x24]
mov word [esi + 0x22], cx
mov edx, dword [eax + 0x26]
mov dword [esi + 0x24], edx
mov eax, dword [eax + 0x2a]
lea ecx, [esp + 0x18]
mov dword [esi + 0x28], eax
call fcn.004419a0
mov ecx, dword [esi + 4]
cmp ecx, dword [0x4bb310]
jne 0x43fe64
mov ecx, edi
call fcn.004408f0
movzx ebx, bx
push 0
push ebx
lea ecx, [esi + 0x38]
mov dword [esp + 0x1c], eax
call fcn.004419d0
mov eax, dword [esi + 0x3c]
mov ecx, dword [edi + 0x1c]
mov edx, dword [ecx]
push ebx
push eax
mov eax, dword [edx + 0x34]
call eax
test bp, bp
je 0x43fe1b
movzx ebx, bp
push 0
push ebx
lea ecx, [esi + 0x2c]
call fcn.004419d0
mov eax, dword [esi + 0x30]
mov ecx, dword [edi + 0x1c]
mov edx, dword [ecx]
push ebx
push eax
mov eax, dword [edx + 0x34]
call eax
mov eax, dword [esp + 0x34]
test ax, ax
je 0x43fe41
movzx ebx, ax
push 0
push ebx
lea ecx, [esi + 0x44]
call fcn.004419d0
mov ecx, dword [edi + 0x1c]
mov esi, dword [esi + 0x48]
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
push ebx
push esi
call eax
mov ecx, edi
call fcn.004408f0
cmp eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
sete bl
mov dword [esp + 0x2c], 0xffffffff
call fcn.00441af0
mov al, bl
jmp 0x43fe77
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00441af0
xor al, al
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4
Function at 0x43fec0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x48c1b8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bcb20]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x34]
mov ebp, dword [esi + 0x40]
mov dword [esp + 0x14], eax
movzx eax, ax
movzx edi, bp
lea ebx, [edi + eax + 0x1e]
push 0
push ebx
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], eax
call fcn.00441ac0
mov eax, dword [esp + 0x20]
mov ecx, dword [0x4bb314]
mov dword [eax], ecx
movzx edx, word [esi + 0xa]
mov eax, dword [esp + 0x20]
mov word [eax + 4], dx
movzx ecx, word [esi + 0xc]
mov edx, dword [esp + 0x20]
mov word [edx + 6], cx
mov ax, word [esi + 0xe]
mov ecx, dword [esp + 0x20]
mov word [ecx + 8], ax
movzx edx, word [esi + 0x10]
mov eax, dword [esp + 0x20]
mov word [eax + 0xa], dx
movzx ecx, word [esi + 0x12]
mov edx, dword [esp + 0x20]
mov word [edx + 0xc], cx
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x20]
mov dword [ecx + 0xe], eax
mov edx, dword [esi + 0x18]
mov eax, dword [esp + 0x20]
mov dword [eax + 0x12], edx
mov ecx, dword [esi + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [edx + 0x16], ecx
mov eax, dword [esp + 0x20]
movzx edx, word [esp + 0x14]
mov word [eax + 0x1a], bp
mov ecx, dword [esp + 0x20]
mov word [ecx + 0x1c], dx
mov eax, dword [esi + 0x3c]
push edi
push eax
mov eax, dword [esp + 0x28]
add eax, 0x1e
push eax
mov dword [esp + 0x3c], 0
call fcn.00465f40
mov ecx, dword [esp + 0x24]
mov eax, dword [esi + 0x30]
mov edx, dword [esp + 0x2c]
push ecx
push eax
lea eax, [edi + edx + 0x1e]
push eax
call fcn.00465f40
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x50]
add esp, 0x18
push 1
push ebx
push ecx
mov ecx, edi
call fcn.00441440
lea ecx, [esi + 0x2c]
call fcn.004419a0
mov ecx, edi
call fcn.004408f0
mov ecx, edi
mov word [esi + 0x20], ax
call fcn.00440920
sub eax, ebx
lea ecx, [esp + 0x1c]
mov dword [esi + 0x28], eax
mov dword [esp + 0x30], 0xffffffff
call fcn.00441af0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x440b10
Capabilities:
Access peb ldr_data
Get disk size
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x48c2e8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
mov eax, dword [0x4bcb20]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ecx, dword [ecx + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
lea edx, [esp + 0xc]
push edx
call eax
mov eax, dword [eax]
push eax
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x30], 0
call fcn.0043f4f0
mov eax, dword [eax]
add esp, 8
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
mov eax, dword [esp + 8]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x440b9d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440bc5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x440bdc
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x24
ret
mov eax, dword [esp + 0x10]
imul eax, dword [esp + 0x14]
imul eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x24
ret
Function at 0x4441e2
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
push dword [ebp + 8]
xor esi, esi
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x444214
push dword [ebp + 8]
call edi
push eax
call fcn.0045598f
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx + 0x20]
cmp eax, dword [ebp - 4]
je 0x44423f
test byte [ebp - 4], 1
je 0x44423f
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x44423f
push dword [ebp + 8]
call edi
push eax
call fcn.0045598f
lea eax, [ebx + 8]
mov ecx, dword [eax]
or ecx, dword [eax + 4]
je 0x4442f9
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.00444144
pop ecx
lea eax, [ebx + 0x10]
pop ecx
mov ecx, dword [eax]
or ecx, dword [eax + 4]
je 0x444275
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.00444144
pop ecx
lea eax, [ebp - 0x10]
pop ecx
mov dword [ebp - 8], eax
mov eax, dword [ebx]
or eax, dword [ebx + 4]
je 0x44428b
lea eax, [ebp - 0x18]
push eax
push ebx
call fcn.00444144
pop ecx
pop ecx
lea esi, [ebp - 0x18]
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4442b8
push dword [ebp + 8]
call edi
push eax
call fcn.0045598f
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 8]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4442e4
call edi
push ebx
mov dword [ebp - 8], eax
call esi
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.0045598f
push ebx
call esi
test eax, eax
jne 0x4442f6
push dword [ebp + 8]
call edi
push eax
call fcn.0045598f
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx + 0x20]
cmp eax, dword [ebp - 4]
je 0x444321
test byte [ebp - 4], 1
jne 0x444321
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x444321
push dword [ebp + 8]
call edi
push eax
call fcn.0045598f
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x44a16c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x44a1b3
call fcn.0044e5cf
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x44a1b3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x44a1cf
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00449ce4
mov esi, eax
test edi, edi
je 0x44a1cd
test ebx, ebx
je 0x44a1cd
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x44b8f0
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x48d2e3
call fcn.0046b08d
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x44b915
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x44b95b
lea ecx, [ebp - 0x10]
call fcn.0041a240
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004432f2
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004199d0
mov eax, esi
call fcn.0046b165
ret 8

Function at 0x44da9c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x44dac0
cmp dword [edi + 0x54], 0
jne 0x44dac0
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0044e5cf
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0044da5d
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x452510
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x4bcb20]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x4525a8
push 0x49bca4
push 4
push eax
call fcn.0046aed5
push eax
call fcn.00419870
add esp, 0x10
push ebx
push edi
call fcn.0046b210
mov edi, dword [eax]
call fcn.0046b210
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.004693c1
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.0046b210
cmp dword [eax], ebx
je 0x4525bf
call fcn.0046b210
push dword [eax]
call fcn.00444622
pop ecx
jmp 0x4525c6
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x452553
jmp 0x45264d
call fcn.0046b210
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
je 0x452649
cmp dword [ebp - 0x234], esi
jae 0x452649
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x270]
push ebx
push eax
mov dword [ebp - 0x274], 0x40
call fcn.00465ec0
add esp, 0xc
push 0x49afdc
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x452638
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x452638
lea ecx, [ebp - 0x274]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x452638
push ebx
push ebx
push esi
jmp 0x452641
push ebx
push ebx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x45264b
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00466b40
leave
ret

Function at 0x453761
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x4537a9
call fcn.0044e5cf
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4537a9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4537ec
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x4537d5
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4537d5
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4537e9
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x463873
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4bcb20]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x4638a8
xor eax, eax
jmp 0x4638fb
lea eax, [ebp - 0x210]
push eax
call fcn.0046b017
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x4638d9
push 0x4a18f0
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0046a578
add esp, 0xc
test eax, eax
jne 0x4638a4
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0046a578
add esp, 0xc
test eax, eax
jne 0x4638a4
lea eax, [ebp - 0x210]
push eax
call fcn.0044339d
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00466b40
leave
ret

Function at 0x466b40
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4bcb20]
jne 0x466b4a
repz ret
jmp fcn.004720ec

Function at 0x4791d8
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.0046dfed
and dword [ebp - 4], 0
cmp dword [0x4c5f7c], 0
mov ebx, eax
jne 0x479289
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x47933a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x47933a
push eax
call fcn.0046df7b
mov dword [esp], 0x49e710
push edi
mov dword [0x4c5f7c], eax
call esi
push eax
call fcn.0046df7b
mov dword [esp], 0x49e6fc
push edi
mov dword [0x4c5f80], eax
call esi
push eax
call fcn.0046df7b
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4c5f84], eax
call esi
push eax
call fcn.0046df7b
pop ecx
mov dword [0x4c5f8c], eax
test eax, eax
je 0x479289
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0046df7b
pop ecx
mov dword [0x4c5f88], eax
mov eax, dword [0x4c5f88]
cmp eax, ebx
je 0x4792e1
cmp dword [0x4c5f8c], ebx
je 0x4792e1
push eax
call fcn.0046dff6
push dword [0x4c5f8c]
mov esi, eax
call fcn.0046dff6
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4792e1
test edi, edi
je 0x4792e1
call esi
test eax, eax
je 0x4792d8
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4792d8
test byte [ebp - 0xc], 1
jne 0x4792e1
or dword [ebp + 0x10], 0x200000
jmp 0x47931a
mov eax, dword [0x4c5f80]
cmp eax, ebx
je 0x47931a
push eax
call fcn.0046dff6
pop ecx
test eax, eax
je 0x47931a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x47931a
mov eax, dword [0x4c5f84]
cmp eax, ebx
je 0x47931a
push eax
call fcn.0046dff6
pop ecx
test eax, eax
je 0x47931a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4c5f7c]
call fcn.0046dff6
pop ecx
test eax, eax
je 0x47933a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x47933c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x482200
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x48220f
xor eax, eax
pop esi
ret 0xc
mov eax, dword [0x4bdf98]
test eax, eax
je 0x48221d
call fcn.004821a0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
cmp edx, 8
push ebx
not eax
jb 0x48231f
push edi
mov edi, edx
shr edi, 3
mov ecx, eax
xor ebx, ebx
mov bl, byte [esi]
and ecx, 0xff
xor ecx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [ecx*4 + 0x4c5fe8]
sub edx, 8
xor eax, ebx
inc esi
mov ecx, eax
xor ebx, ebx
mov bl, byte [esi]
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov ecx, dword [ecx*4 + 0x4c5fe8]
shr eax, 8
xor ecx, eax
inc esi
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov eax, dword [eax*4 + 0x4c5fe8]
shr ecx, 8
xor eax, ecx
inc esi
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov ecx, dword [ecx*4 + 0x4c5fe8]
shr eax, 8
xor ecx, eax
inc esi
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov eax, dword [eax*4 + 0x4c5fe8]
shr ecx, 8
xor eax, ecx
inc esi
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov ecx, dword [ecx*4 + 0x4c5fe8]
shr eax, 8
xor ecx, eax
inc esi
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov eax, dword [eax*4 + 0x4c5fe8]
shr ecx, 8
xor eax, ecx
inc esi
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
shr eax, 8
mov ecx, dword [ecx*4 + 0x4c5fe8]
xor eax, ecx
inc esi
dec edi
jne 0x482237
pop edi
test edx, edx
je 0x482341
mov ecx, eax
xor ebx, ebx
mov bl, byte [esi]
and ecx, 0xff
xor ecx, ebx
shr eax, 8
mov ecx, dword [ecx*4 + 0x4c5fe8]
xor eax, ecx
inc esi
dec edx
jne 0x482323
pop ebx
pop esi
not eax
ret 0xc
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x2b0a389a
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x2b964d61
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219