joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b250
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.004407c0
movzx ecx, al
test ecx, ecx
jne 0x43b27a
xor al, al
jmp 0x43b40e
mov ecx, dword [ebp - 0x14]
add ecx, 0x78
call fcn.0043ea70
cmp eax, 1
jne 0x43b291
xor al, al
jmp 0x43b40e
mov edx, dword [ebp - 0x14]
movsx eax, byte [edx + 0xe4]
test eax, eax
je 0x43b2a6
xor al, al
jmp 0x43b40e
mov ecx, dword [ebp - 0x14]
add ecx, 0x20
call fcn.0043fc00
movzx ecx, word [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xe8
call fcn.004407f0
mov ecx, dword [ebp - 0x14]
call fcn.0043b4e0
mov ecx, eax
call fcn.004430f0
movzx edx, al
test edx, edx
je 0x43b313
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
jne 0x43b2f0
xor al, al
jmp 0x43b40e
mov ecx, dword [ebp - 0x14]
call fcn.0043d6b0
mov ecx, dword [ebp - 0x14]
call fcn.0043d7a0
movzx edx, al
test edx, edx
jne 0x43b311
push 0xffffffffffffff94
mov ecx, dword [ebp - 0x14]
call fcn.0043af60
jmp 0x43b31c
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x14]
call fcn.0043b4e0
mov dx, word [eax + 0xe]
mov word [ebp - 4], dx
movzx eax, word [ebp - 4]
test eax, eax
je 0x43b347
movzx ecx, word [ebp - 4]
cmp ecx, 8
je 0x43b347
push 0xffffffffffffff9b
mov ecx, dword [ebp - 0x14]
call fcn.0043af60
movzx edx, word [ebp - 4]
cmp edx, 8
jne 0x43b39d
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 4]
test ecx, ecx
je 0x43b369
mov edx, dword [ebp - 0x14]
add edx, 0xc8
mov dword [ebp - 0x18], edx
jmp 0x43b370
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x50], ecx
push 0x38
push 0x497994
push 0xfffffffffffffff1
mov edx, dword [ebp - 0x14]
add edx, 0x28
push edx
call fcn.004815c0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0043b4b0
mov ecx, dword [ebp - 0x14]
call fcn.0043b4e0
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + 0x18]
mov dword [ecx + 0x64], edx
mov ecx, dword [ebp - 0x14]
call fcn.0043b4e0
mov ecx, eax
call fcn.004430f0
movzx eax, al
test eax, eax
je 0x43b3d3
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.0043b4e0
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 0x43b910
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48adb0
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x270
mov eax, dword [0x4b9b30]
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 0x43b961
xor eax, eax
jmp 0x43bb8f
mov dword [ebp - 0x14], 1
movzx edx, byte [ebp + 0xc]
test edx, edx
jne 0x43bb44
mov eax, dword [ebp - 0x274]
cmp dword [eax + 0x60], 0
jne 0x43b9a8
mov ecx, dword [ebp - 0x274]
call fcn.0043b4e0
mov ecx, dword [ebp - 0x274]
mov edx, dword [ecx + 0x68]
cmp edx, dword [eax + 0x14]
je 0x43b9a6
push 0xffffffffffffff9a
mov ecx, dword [ebp - 0x274]
call fcn.0043af60
jmp 0x43b9af
mov dword [ebp - 0x14], 0xffffffff
mov ecx, dword [ebp - 0x274]
call fcn.0043b4e0
movzx eax, word [eax + 0xe]
cmp eax, 8
jne 0x43b9d2
mov ecx, dword [ebp - 0x274]
add ecx, 0x28
push ecx
call fcn.00481570
cmp dword [ebp + 8], 0
je 0x43bb44
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.00468ca8
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.0043b4e0
mov dword [ebp - 0x278], eax
lea eax, [ebp - 0x25c]
push eax
mov ecx, dword [ebp - 0x278]
call fcn.00442600
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.00444773
mov ecx, dword [ebp - 0x274]
call fcn.0043b4e0
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 0x43bb1a
mov dword [ebp - 0x14], 0xfffffffe
jmp 0x43bb44
mov dword [ebp - 4], 0xffffffff
jmp 0x43bb55
mov ecx, dword [ebp - 0x274]
add ecx, 0xe8
call fcn.00440920
mov eax, dword [ebp - 0x274]
mov byte [eax + 0xe4], 0
mov ecx, dword [ebp - 0x274]
add ecx, 0x6c
call fcn.0043fce0
mov ecx, dword [ebp - 0x274]
call fcn.0043dd10
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.00466fd0
mov esp, ebp
pop ebp
ret 8
Function at 0x43c4a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48af09
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4b9b30]
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.0041a8b0
mov dword [ebp - 4], 0
push 0x49f910
lea ecx, [ebp - 0x10]
call fcn.004227c0
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.0043c0d0
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.004197b0
neg eax
sbb eax, eax
add eax, 1
movzx edx, al
test edx, edx
jne 0x43c558
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.0043c670
add esp, 4
cmp eax, 0xffffffff
je 0x43c558
mov dword [ebp - 0x80], 0
jmp 0x43c55f
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 0x43c580
and dword [ebp - 0x28], 0xfffffffe
lea ecx, [ebp - 0x18]
call fcn.00419b60
movzx ecx, byte [ebp - 0x11]
test ecx, ecx
je 0x43c5a3
mov byte [ebp - 0x19], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00419b60
mov al, byte [ebp - 0x19]
jmp 0x43c65d
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.0043c0d0
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.0043c4a0
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.00419b60
movzx ecx, byte [ebp - 0x1a]
test ecx, ecx
je 0x43c619
mov byte [ebp - 0x21], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00419b60
mov al, byte [ebp - 0x21]
jmp 0x43c65d
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 0x43c647
mov byte [ebp - 0x22], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00419b60
mov al, byte [ebp - 0x22]
jmp 0x43c65d
mov byte [ebp - 0x23], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00419b60
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 0x43d1c0
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.0043d210
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.00419b60
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x43f6f0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48b408
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4b9b30]
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.0043d210
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.00419b60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00419b60
movzx ecx, byte [ebp - 0x25]
test ecx, ecx
je 0x43f7a9
xor eax, eax
jmp 0x43f7bf
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 0x444773
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 0x4447a5
push dword [ebp + 8]
call edi
push eax
call fcn.00455ef2
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx + 0x20]
cmp eax, dword [ebp - 4]
je 0x4447d0
test byte [ebp - 4], 1
je 0x4447d0
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x4447d0
push dword [ebp + 8]
call edi
push eax
call fcn.00455ef2
lea eax, [ebx + 8]
mov ecx, dword [eax]
or ecx, dword [eax + 4]
je 0x44488a
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.004446d5
pop ecx
lea eax, [ebx + 0x10]
pop ecx
mov ecx, dword [eax]
or ecx, dword [eax + 4]
je 0x444806
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.004446d5
pop ecx
lea eax, [ebp - 0x10]
pop ecx
mov dword [ebp - 8], eax
mov eax, dword [ebx]
or eax, dword [ebx + 4]
je 0x44481c
lea eax, [ebp - 0x18]
push eax
push ebx
call fcn.004446d5
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 0x444849
push dword [ebp + 8]
call edi
push eax
call fcn.00455ef2
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 0x444875
call edi
push ebx
mov dword [ebp - 8], eax
call esi
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.00455ef2
push ebx
call esi
test eax, eax
jne 0x444887
push dword [ebp + 8]
call edi
push eax
call fcn.00455ef2
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx + 0x20]
cmp eax, dword [ebp - 4]
je 0x4448b2
test byte [ebp - 4], 1
jne 0x4448b2
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x4448b2
push dword [ebp + 8]
call edi
push eax
call fcn.00455ef2
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x44a721
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 0x44a768
call fcn.0044eb84
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x44a768
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x44a784
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0044a299
mov esi, eax
test edi, edi
je 0x44a782
test ebx, ebx
je 0x44a782
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x44bea5
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x48bc95
call fcn.0046c621
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x44beca
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x44bf10
lea ecx, [ebp - 0x10]
call fcn.00419b30
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.00443872
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.004192d0
mov eax, esi
call fcn.0046c6f9
ret 8

Function at 0x44e051
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 0x44e075
cmp dword [edi + 0x54], 0
jne 0x44e075
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0044eb84
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.0044e012
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 0x453be4
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 0x453c2c
call fcn.0044eb84
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x453c2c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x453c6f
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 0x453c58
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 0x453c58
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x453c6c
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 0x466fd0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4b9b30]
jne 0x466fda
repz ret
jmp fcn.004720ec
Function at 0x478e03
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.0046dfe5
and dword [ebp - 4], 0
cmp dword [0x4c26a0], 0
mov ebx, eax
jne 0x478eb4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x478f65
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x478f65
push eax
call fcn.0046df73
mov dword [esp], 0x49c7c8
push edi
mov dword [0x4c26a0], eax
call esi
push eax
call fcn.0046df73
mov dword [esp], 0x49c7b4
push edi
mov dword [0x4c26a4], eax
call esi
push eax
call fcn.0046df73
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4c26a8], eax
call esi
push eax
call fcn.0046df73
pop ecx
mov dword [0x4c26b0], eax
test eax, eax
je 0x478eb4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0046df73
pop ecx
mov dword [0x4c26ac], eax
mov eax, dword [0x4c26ac]
cmp eax, ebx
je 0x478f0c
cmp dword [0x4c26b0], ebx
je 0x478f0c
push eax
call fcn.0046dfee
push dword [0x4c26b0]
mov esi, eax
call fcn.0046dfee
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x478f0c
test edi, edi
je 0x478f0c
call esi
test eax, eax
je 0x478f03
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x478f03
test byte [ebp - 0xc], 1
jne 0x478f0c
or dword [ebp + 0x10], 0x200000
jmp 0x478f45
mov eax, dword [0x4c26a4]
cmp eax, ebx
je 0x478f45
push eax
call fcn.0046dfee
pop ecx
test eax, eax
je 0x478f45
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x478f45
mov eax, dword [0x4c26a8]
cmp eax, ebx
je 0x478f45
push eax
call fcn.0046dfee
pop ecx
test eax, eax
je 0x478f45
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4c26a0]
call fcn.0046dfee
pop ecx
test eax, eax
je 0x478f65
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x478f67
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x481bc0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x481bcf
xor eax, eax
pop esi
ret 0xc
mov eax, dword [0x4baef4]
test eax, eax
je 0x481bdd
call fcn.00481b60
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
cmp edx, 8
push ebx
not eax
jb 0x481cdf
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 + 0x4c270c]
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 + 0x4c270c]
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 + 0x4c270c]
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 + 0x4c270c]
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 + 0x4c270c]
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 + 0x4c270c]
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 + 0x4c270c]
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 + 0x4c270c]
xor eax, ecx
inc esi
dec edi
jne 0x481bf7
pop edi
test edx, edx
je 0x481d01
mov ecx, eax
xor ebx, ebx
mov bl, byte [esi]
and ecx, 0xff
xor ecx, ebx
shr eax, 8
mov ecx, dword [ecx*4 + 0x4c270c]
xor eax, ecx
inc esi
dec edx
jne 0x481ce3
pop ebx
pop esi
not eax
ret 0xc
Function at 0x401000
Capabilities:
Encode data using xor
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40b3f8
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x410084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
test byte [0x423c9c], 1
mov edi, ecx
mov dword [ebp - 0x288], edi
mov dword [ebp - 0x284], ebx
jne 0x401073
or dword [0x423c9c], 1
xor eax, eax
push 0x40b5c0
mov dword [0x423c94], 7
mov dword [0x423c90], ebx
mov word [0x423c80], ax
call fcn.0040520e
add esp, 4
cmp dword [0x423c90], ebx
jne 0x4011cc
mov esi, 1
call fcn.00402c30
push ebx
xor ecx, ecx
push 0x423c80
or eax, 0xffffffff
lea edi, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
call fcn.00403510
push 4
mov eax, 0x40e118
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.00402290
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4010c6
mov eax, edi
lea edx, [ebp - 0x280]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x284], eax
lea ebx, [ebx]
mov ax, word [ebp - 0x254]
xor esi, esi
lea edi, [ebp - 0x254]
cmp ax, bx
je 0x401147
movzx eax, ax
movzx eax, ax
push eax
call fcn.0040593d
mov ecx, eax
shl ecx, 9
or ecx, eax
add ecx, ecx
mov edx, esi
add ecx, ecx
shr edx, 8
add edx, eax
movzx eax, word [edi + 2]
add edi, 2
add ecx, ecx
xor ecx, edx
add esp, 4
add esi, ecx
cmp ax, bx
jne 0x4010f7
cmp esi, 0x5cf1a1
je 0x401161
cmp esi, 0x47619c
je 0x401161
cmp esi, 0x5315e8
je 0x401161
cmp esi, 0x47ec50
je 0x401161
mov ecx, dword [ebp - 0x284]
lea eax, [ebp - 0x280]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4010e0
jmp 0x4011a0
push 1
mov eax, 0x40e124
mov ecx, 0x423c80
call fcn.00402290
lea eax, [ebp - 0x254]
lea edx, [eax + 2]
jmp 0x401180
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x401180
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x254]
mov ecx, 0x423c80
call fcn.00402290
mov edx, dword [ebp - 0x284]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
jb 0x4011c6
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00405225
add esp, 4
mov edi, dword [ebp - 0x288]
push ebx
xor ecx, ecx
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], ebx
push 0x423c80
or eax, 0xffffffff
mov word [edi], cx
call fcn.00403510
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004050dc
mov esp, ebp
pop ebp
ret
Function at 0x401210
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push 0x20206
push 0
push str.SoftwareValveSteam
push 0x80000001
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x401272
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push 0
push 0x20206
push 0
push 0
push 0
push str.SoftwareValveSteam
push 0x80000001
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x401272
xor al, al
mov esp, ebp
pop ebp
ret
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401277
sub eax, edx
inc eax
push eax
mov eax, dword [ebp - 4]
push esi
push 1
push 0
push str.Language
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x40126c
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
sete al
mov esp, ebp
pop ebp
ret