joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d460
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], ecx
movzx eax, word [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0xe8
call fcn.00442ca0
movzx ecx, al
test ecx, ecx
jne 0x43d48a
xor al, al
jmp 0x43d61e
mov ecx, dword [ebp - 0x14]
add ecx, 0x78
call fcn.00440f50
cmp eax, 1
jne 0x43d4a1
xor al, al
jmp 0x43d61e
mov edx, dword [ebp - 0x14]
movsx eax, byte [edx + 0xe4]
test eax, eax
je 0x43d4b6
xor al, al
jmp 0x43d61e
mov ecx, dword [ebp - 0x14]
add ecx, 0x20
call fcn.004420e0
movzx ecx, word [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xe8
call fcn.00442cd0
mov ecx, dword [ebp - 0x14]
call fcn.0043d6f0
mov ecx, eax
call fcn.004455d0
movzx edx, al
test edx, edx
je 0x43d523
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
jne 0x43d500
xor al, al
jmp 0x43d61e
mov ecx, dword [ebp - 0x14]
call fcn.0043fb90
mov ecx, dword [ebp - 0x14]
call fcn.0043fc80
movzx edx, al
test edx, edx
jne 0x43d521
push 0xffffffffffffff94
mov ecx, dword [ebp - 0x14]
call fcn.0043d170
jmp 0x43d52c
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x14]
call fcn.0043d6f0
mov dx, word [eax + 0xe]
mov word [ebp - 4], dx
movzx eax, word [ebp - 4]
test eax, eax
je 0x43d557
movzx ecx, word [ebp - 4]
cmp ecx, 8
je 0x43d557
push 0xffffffffffffff9b
mov ecx, dword [ebp - 0x14]
call fcn.0043d170
movzx edx, word [ebp - 4]
cmp edx, 8
jne 0x43d5ad
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 4]
test ecx, ecx
je 0x43d579
mov edx, dword [ebp - 0x14]
add edx, 0xc8
mov dword [ebp - 0x18], edx
jmp 0x43d580
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x50], ecx
push 0x38
push 0x49b6ec
push 0xfffffffffffffff1
mov edx, dword [ebp - 0x14]
add edx, 0x28
push edx
call fcn.00484b80
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0043d6c0
mov ecx, dword [ebp - 0x14]
call fcn.0043d6f0
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + 0x18]
mov dword [ecx + 0x64], edx
mov ecx, dword [ebp - 0x14]
call fcn.0043d6f0
mov ecx, eax
call fcn.004455d0
movzx eax, al
test eax, eax
je 0x43d5e3
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x64]
sub edx, 0xc
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x64], edx
mov ecx, dword [ebp - 0x14]
call fcn.0043d6f0
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + 0x1c]
mov dword [ecx + 0x60], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x68], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x3c], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x2c], 0
mov eax, dword [ebp - 0x14]
mov byte [eax + 0xe4], 0xff
mov al, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x43db20
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e690
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x270
mov eax, dword [0x4beb20]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x274], ecx
mov eax, dword [ebp - 0x274]
movsx ecx, byte [eax + 0xe4]
cmp ecx, 0xffffffff
je 0x43db71
xor eax, eax
jmp 0x43dd9f
mov dword [ebp - 0x14], 1
movzx edx, byte [ebp + 0xc]
test edx, edx
jne 0x43dd54
mov eax, dword [ebp - 0x274]
cmp dword [eax + 0x60], 0
jne 0x43dbb8
mov ecx, dword [ebp - 0x274]
call fcn.0043d6f0
mov ecx, dword [ebp - 0x274]
mov edx, dword [ecx + 0x68]
cmp edx, dword [eax + 0x14]
je 0x43dbb6
push 0xffffffffffffff9a
mov ecx, dword [ebp - 0x274]
call fcn.0043d170
jmp 0x43dbbf
mov dword [ebp - 0x14], 0xffffffff
mov ecx, dword [ebp - 0x274]
call fcn.0043d6f0
movzx eax, word [eax + 0xe]
cmp eax, 8
jne 0x43dbe2
mov ecx, dword [ebp - 0x274]
add ecx, 0x28
push ecx
call fcn.00484b30
cmp dword [ebp + 8], 0
je 0x43dd54
mov dword [ebp - 4], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
lea edx, [ebp - 0x240]
mov dword [ebp - 0x264], edx
mov eax, dword [ebp - 0x264]
mov dword [eax], 0
mov dword [eax + 4], 0
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x268], ecx
mov edx, dword [ebp - 0x268]
mov dword [edx], 0
mov dword [edx + 4], 0
push 0
call fcn.0046b0f8
add esp, 4
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x26c], edx
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x254], eax
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x250], ecx
mov edx, dword [ebp - 0x254]
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x234], eax
mov ecx, dword [ebp - 0x238]
mov dword [ebp - 0x248], ecx
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x244], edx
mov byte [ebp - 0x228], 0
mov ecx, dword [ebp - 0x274]
call fcn.0043d6f0
mov dword [ebp - 0x278], eax
lea eax, [ebp - 0x25c]
push eax
mov ecx, dword [ebp - 0x278]
call fcn.00444ae0
mov dword [ebp - 0x27c], eax
mov ecx, dword [ebp - 0x27c]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x240], edx
mov dword [ebp - 0x23c], eax
lea ecx, [ebp - 0x248]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00446c53
mov ecx, dword [ebp - 0x274]
call fcn.0043d6f0
mov dword [ebp - 0x280], eax
mov eax, dword [ebp - 0x280]
mov ecx, dword [eax + 0x24]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x43dd2a
mov dword [ebp - 0x14], 0xfffffffe
jmp 0x43dd54
mov dword [ebp - 4], 0xffffffff
jmp 0x43dd65
mov ecx, dword [ebp - 0x274]
add ecx, 0xe8
call fcn.00442e00
mov eax, dword [ebp - 0x274]
mov byte [eax + 0xe4], 0
mov ecx, dword [ebp - 0x274]
add ecx, 0x6c
call fcn.004421c0
mov ecx, dword [ebp - 0x274]
call fcn.004401f0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004694b0
mov esp, ebp
pop ebp
ret 8
Function at 0x43e6b0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e7e9
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4beb20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041afb0
mov dword [ebp - 4], 0
push 0x4a38a0
lea ecx, [ebp - 0x10]
call fcn.00422770
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x44]
push edx
lea eax, [ebp - 0x18]
push eax
call fcn.0043e2e0
add esp, 8
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x4c], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x28]
or edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.00419ed0
neg eax
sbb eax, eax
add eax, 1
movzx edx, al
test edx, edx
jne 0x43e768
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.0043e880
add esp, 4
cmp eax, 0xffffffff
je 0x43e768
mov dword [ebp - 0x80], 0
jmp 0x43e76f
mov dword [ebp - 0x80], 1
mov dl, byte [ebp - 0x80]
mov byte [ebp - 0x11], dl
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
and eax, 1
je 0x43e790
and dword [ebp - 0x28], 0xfffffffe
lea ecx, [ebp - 0x18]
call fcn.00420d50
movzx ecx, byte [ebp - 0x11]
test ecx, ecx
je 0x43e7b3
mov byte [ebp - 0x19], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00420d50
mov al, byte [ebp - 0x19]
jmp 0x43e86d
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.0043e2e0
add esp, 8
mov dword [ebp - 0x84], eax
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x60], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
push edx
call fcn.0043e6b0
add esp, 4
movzx eax, al
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x1a], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00420d50
movzx ecx, byte [ebp - 0x1a]
test ecx, ecx
je 0x43e829
mov byte [ebp - 0x21], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00420d50
mov al, byte [ebp - 0x21]
jmp 0x43e86d
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x70], edx
push 0
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x43e857
mov byte [ebp - 0x22], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00420d50
mov al, byte [ebp - 0x22]
jmp 0x43e86d
mov byte [ebp - 0x23], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00420d50
mov al, byte [ebp - 0x23]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x43f5e0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 8]
push ecx
call fcn.0043f630
add esp, 8
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
xor edx, edx
cmp eax, 2
sete dl
mov byte [ebp - 1], dl
lea ecx, [ebp - 8]
call fcn.00420d50
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x441bd0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ed08
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4beb20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 0x1c]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [edx]
mov eax, dword [edx + 0x18]
call eax
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
push ecx
lea edx, [ebp - 0x30]
push edx
call fcn.0043f630
add esp, 8
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
mov dword [ebp - 0x40], ecx
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x25], al
lea ecx, [ebp - 0x30]
call fcn.00420d50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00420d50
movzx ecx, byte [ebp - 0x25]
test ecx, ecx
je 0x441c89
xor eax, eax
jmp 0x441c9f
mov edx, dword [ebp - 0x24]
imul edx, dword [ebp - 0x14]
imul edx, dword [ebp - 0x10]
xor eax, eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x446c53
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 0x446c85
push dword [ebp + 8]
call edi
push eax
call fcn.00458464
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx + 0x20]
cmp eax, dword [ebp - 4]
je 0x446cb0
test byte [ebp - 4], 1
je 0x446cb0
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x446cb0
push dword [ebp + 8]
call edi
push eax
call fcn.00458464
lea eax, [ebx + 8]
mov ecx, dword [eax]
or ecx, dword [eax + 4]
je 0x446d6a
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.00446bb5
pop ecx
lea eax, [ebx + 0x10]
pop ecx
mov ecx, dword [eax]
or ecx, dword [eax + 4]
je 0x446ce6
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.00446bb5
pop ecx
lea eax, [ebp - 0x10]
pop ecx
mov dword [ebp - 8], eax
mov eax, dword [ebx]
or eax, dword [ebx + 4]
je 0x446cfc
lea eax, [ebp - 0x18]
push eax
push ebx
call fcn.00446bb5
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 0x446d29
push dword [ebp + 8]
call edi
push eax
call fcn.00458464
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 0x446d55
call edi
push ebx
mov dword [ebp - 8], eax
call esi
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.00458464
push ebx
call esi
test eax, eax
jne 0x446d67
push dword [ebp + 8]
call edi
push eax
call fcn.00458464
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx + 0x20]
cmp eax, dword [ebp - 4]
je 0x446d92
test byte [ebp - 4], 1
jne 0x446d92
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x446d92
push dword [ebp + 8]
call edi
push eax
call fcn.00458464
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x44cbfe
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 0x44cc45
call fcn.00451077
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x44cc45
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x44cc61
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0044c776
mov esi, eax
test edi, edi
je 0x44cc5f
test ebx, ebx
je 0x44cc5f
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x44e386
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x48f5a2
call fcn.0046f0b1
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x44e3ab
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x44e3f1
lea ecx, [ebp - 0x10]
call fcn.0041a250
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.00445d52
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.004199e0
mov eax, esi
call fcn.0046f189
ret 8

Function at 0x450544
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 0x450568
cmp dword [edi + 0x54], 0
jne 0x450568
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00451077
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.00450505
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 0x45622f
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 0x456277
call fcn.00451077
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x456277
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4562ba
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 0x4562a3
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 0x4562a3
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4562b7
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 0x4694b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4beb20]
jne 0x4694ba
repz ret
jmp fcn.00474a5c
Function at 0x47bb46
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.00470959
and dword [ebp - 4], 0
cmp dword [0x4c7f6c], 0
mov ebx, eax
jne 0x47bbf7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x47bca8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x47bca8
push eax
call fcn.004708e7
mov dword [esp], 0x4a06b0
push edi
mov dword [0x4c7f6c], eax
call esi
push eax
call fcn.004708e7
mov dword [esp], 0x4a069c
push edi
mov dword [0x4c7f70], eax
call esi
push eax
call fcn.004708e7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4c7f74], eax
call esi
push eax
call fcn.004708e7
pop ecx
mov dword [0x4c7f7c], eax
test eax, eax
je 0x47bbf7
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004708e7
pop ecx
mov dword [0x4c7f78], eax
mov eax, dword [0x4c7f78]
cmp eax, ebx
je 0x47bc4f
cmp dword [0x4c7f7c], ebx
je 0x47bc4f
push eax
call fcn.00470962
push dword [0x4c7f7c]
mov esi, eax
call fcn.00470962
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x47bc4f
test edi, edi
je 0x47bc4f
call esi
test eax, eax
je 0x47bc46
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x47bc46
test byte [ebp - 0xc], 1
jne 0x47bc4f
or dword [ebp + 0x10], 0x200000
jmp 0x47bc88
mov eax, dword [0x4c7f70]
cmp eax, ebx
je 0x47bc88
push eax
call fcn.00470962
pop ecx
test eax, eax
je 0x47bc88
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x47bc88
mov eax, dword [0x4c7f74]
cmp eax, ebx
je 0x47bc88
push eax
call fcn.00470962
pop ecx
test eax, eax
je 0x47bc88
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4c7f6c]
call fcn.00470962
pop ecx
test eax, eax
je 0x47bca8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x47bcaa
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x485180
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x48518f
xor eax, eax
pop esi
ret 0xc
mov eax, dword [0x4c0008]
test eax, eax
je 0x48519d
call fcn.00485120
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
cmp edx, 8
push ebx
not eax
jb 0x48529f
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 + 0x4c7fd8]
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 + 0x4c7fd8]
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 + 0x4c7fd8]
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 + 0x4c7fd8]
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 + 0x4c7fd8]
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 + 0x4c7fd8]
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 + 0x4c7fd8]
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 + 0x4c7fd8]
xor eax, ecx
inc esi
dec edi
jne 0x4851b7
pop edi
test edx, edx
je 0x4852c1
mov ecx, eax
xor ebx, ebx
mov bl, byte [esi]
and ecx, 0xff
xor ecx, ebx
shr eax, 8
mov ecx, dword [ecx*4 + 0x4c7fd8]
xor eax, ecx
inc esi
dec edx
jne 0x4852a3
pop ebx
pop esi
not eax
ret 0xc
Function at 0x40daf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
call fcn.0041cc30
add eax, 3
and eax, 0xfffffffc
call fcn.0041e3c0
mov esi, esp
push esi
call fcn.0041cc40
mov edx, dword [ebp + 0xc]
mov eax, edx
add esp, 4
lea edi, [eax + 1]
jmp 0x40db20
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40db20
sub eax, edi
push esi
push eax
push edx
call fcn.0041cc50
mov ecx, dword [ebp + 0x10]
mov eax, ecx
add esp, 0xc
lea edi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40db40
sub eax, edi
push esi
push eax
push ecx
call fcn.0041cc50
lea eax, [ebp - 0x18]
push eax
push esi
call fcn.0041cc60
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
xor eax, edi
mov edi, dword [ebp + 8]
xor ecx, edx
add esp, 0x14
test edi, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
jle 0x40dbbf
push esi
call fcn.0041cc40
push esi
lea ecx, [ebp - 8]
push 8
push ecx
call fcn.0041cc50
lea edx, [ebp - 0x18]
push edx
push esi
call fcn.0041cc60
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
xor eax, ecx
mov ecx, dword [ebp - 0x14]
xor ecx, edx
add esp, 0x18
dec edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
jne 0x40db81
lea ecx, [ebp - 8]
mov eax, 0x43f474
call fcn.0040d890
lea esp, [ebp - 0x20]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x417610
Capabilities:
Terminate process

Disassembly:
push esi
push 0x4323a4
call fcn.00420cd3
mov esi, eax
add esp, 4
test esi, esi
je 0x417660
cmp byte [esi], 0
je 0x417660
push esi
call fcn.00418cc0
add esp, 4
test al, al
push esi
jne 0x417656
mov eax, dword [0x446138]
push eax
push 0x432374
push 0x43c810
call fcn.00420340
add esp, 0x10
push 1
call fcn.0042153a
call fcn.0041bf20
add esp, 4
pop esi
ret
push edi
push 0x432354
call fcn.00420cd3
add esp, 4
test eax, eax
jne 0x41767b
call fcn.0041c410
test eax, eax
je 0x4176ba
push eax
call fcn.0041bf20
mov edi, eax
add esp, 4
test edi, edi
je 0x4176ba
push edi
push 0x432368
call fcn.00418a50
push edi
mov esi, eax
call fcn.0041bf50
add esp, 0xc
test esi, esi
je 0x4176ba
push esi
call fcn.00418cc0
add esp, 4
test al, al
jne 0x4176d3
push esi
call fcn.0041bf50
add esp, 4
call fcn.0041c410
test eax, eax
je 0x4176ed
push eax
push 0x43235c
call fcn.00418a50
add esp, 8
mov esi, eax
test esi, esi
je 0x4176ed
push esi
call fcn.00418cc0
add esp, 4
test al, al
jne 0x4176f2
push esi
call fcn.0041bf50
add esp, 4
pop edi
xor eax, eax
pop esi
ret
pop edi
mov eax, esi
pop esi
ret