joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4264b0
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.0042bad0
movzx ecx, al
test ecx, ecx
jne 0x4264da
xor al, al
jmp 0x42666e
mov ecx, dword [ebp - 0x14]
add ecx, 0x78
call fcn.00429d80
cmp eax, 1
jne 0x4264f1
xor al, al
jmp 0x42666e
mov edx, dword [ebp - 0x14]
movsx eax, byte [edx + 0xe4]
test eax, eax
je 0x426506
xor al, al
jmp 0x42666e
mov ecx, dword [ebp - 0x14]
add ecx, 0x20
call fcn.0042af10
movzx ecx, word [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xe8
call fcn.0042bb00
mov ecx, dword [ebp - 0x14]
call fcn.00426740
mov ecx, eax
call fcn.0042e400
movzx edx, al
test edx, edx
je 0x426573
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
jne 0x426550
xor al, al
jmp 0x42666e
mov ecx, dword [ebp - 0x14]
call fcn.00428910
mov ecx, dword [ebp - 0x14]
call fcn.00428a00
movzx edx, al
test edx, edx
jne 0x426571
push 0xffffffffffffff94
mov ecx, dword [ebp - 0x14]
call fcn.004261c0
jmp 0x42657c
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x14]
call fcn.00426740
mov dx, word [eax + 0xe]
mov word [ebp - 4], dx
movzx eax, word [ebp - 4]
test eax, eax
je 0x4265a7
movzx ecx, word [ebp - 4]
cmp ecx, 8
je 0x4265a7
push 0xffffffffffffff9b
mov ecx, dword [ebp - 0x14]
call fcn.004261c0
movzx edx, word [ebp - 4]
cmp edx, 8
jne 0x4265fd
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 4]
test ecx, ecx
je 0x4265c9
mov edx, dword [ebp - 0x14]
add edx, 0xc8
mov dword [ebp - 0x18], edx
jmp 0x4265d0
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x50], ecx
push 0x38
push 0x47e4e8
push 0xfffffffffffffff1
mov edx, dword [ebp - 0x14]
add edx, 0x28
push edx
call fcn.00469cc0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00426710
mov ecx, dword [ebp - 0x14]
call fcn.00426740
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + 0x18]
mov dword [ecx + 0x64], edx
mov ecx, dword [ebp - 0x14]
call fcn.00426740
mov ecx, eax
call fcn.0042e400
movzx eax, al
test eax, eax
je 0x426633
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.00426740
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 0x426b70
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472040
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x270
mov eax, dword [0x49ab20]
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 0x426bc1
xor eax, eax
jmp 0x426def
mov dword [ebp - 0x14], 1
movzx edx, byte [ebp + 0xc]
test edx, edx
jne 0x426da4
mov eax, dword [ebp - 0x274]
cmp dword [eax + 0x60], 0
jne 0x426c08
mov ecx, dword [ebp - 0x274]
call fcn.00426740
mov ecx, dword [ebp - 0x274]
mov edx, dword [ecx + 0x68]
cmp edx, dword [eax + 0x14]
je 0x426c06
push 0xffffffffffffff9a
mov ecx, dword [ebp - 0x274]
call fcn.004261c0
jmp 0x426c0f
mov dword [ebp - 0x14], 0xffffffff
mov ecx, dword [ebp - 0x274]
call fcn.00426740
movzx eax, word [eax + 0xe]
cmp eax, 8
jne 0x426c32
mov ecx, dword [ebp - 0x274]
add ecx, 0x28
push ecx
call fcn.00469c70
cmp dword [ebp + 8], 0
je 0x426da4
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.00453838
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.00426740
mov dword [ebp - 0x278], eax
lea eax, [ebp - 0x25c]
push eax
mov ecx, dword [ebp - 0x278]
call fcn.0042d910
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.0042fa83
mov ecx, dword [ebp - 0x274]
call fcn.00426740
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 0x426d7a
mov dword [ebp - 0x14], 0xfffffffe
jmp 0x426da4
mov dword [ebp - 4], 0xffffffff
jmp 0x426db5
mov ecx, dword [ebp - 0x274]
add ecx, 0xe8
call fcn.0042bc30
mov eax, dword [ebp - 0x274]
mov byte [eax + 0xe4], 0
mov ecx, dword [ebp - 0x274]
add ecx, 0x6c
call fcn.0042aff0
mov ecx, dword [ebp - 0x274]
call fcn.00429020
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.004522e0
mov esp, ebp
pop ebp
ret 8
Function at 0x427700
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472199
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x49ab20]
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.00405330
mov dword [ebp - 4], 0
push 0x485864
lea ecx, [ebp - 0x10]
call fcn.0040c610
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.00427330
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.00404250
neg eax
sbb eax, eax
add eax, 1
movzx edx, al
test edx, edx
jne 0x4277b8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.004278d0
add esp, 4
cmp eax, 0xffffffff
je 0x4277b8
mov dword [ebp - 0x80], 0
jmp 0x4277bf
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 0x4277e0
and dword [ebp - 0x28], 0xfffffffe
lea ecx, [ebp - 0x18]
call fcn.0040ab90
movzx ecx, byte [ebp - 0x11]
test ecx, ecx
je 0x427803
mov byte [ebp - 0x19], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040ab90
mov al, byte [ebp - 0x19]
jmp 0x4278bd
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.00427330
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.00427700
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.0040ab90
movzx ecx, byte [ebp - 0x1a]
test ecx, ecx
je 0x427879
mov byte [ebp - 0x21], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040ab90
mov al, byte [ebp - 0x21]
jmp 0x4278bd
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 0x4278a7
mov byte [ebp - 0x22], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040ab90
mov al, byte [ebp - 0x22]
jmp 0x4278bd
mov byte [ebp - 0x23], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040ab90
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 0x428420
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.00428470
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.0040ab90
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x42aa00
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472698
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x49ab20]
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.00428470
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.0040ab90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040ab90
movzx ecx, byte [ebp - 0x25]
test ecx, ecx
je 0x42aab9
xor eax, eax
jmp 0x42aacf
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 0x42fa83
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 0x42fab5
push dword [ebp + 8]
call edi
push eax
call fcn.00441129
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx + 0x20]
cmp eax, dword [ebp - 4]
je 0x42fae0
test byte [ebp - 4], 1
je 0x42fae0
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x42fae0
push dword [ebp + 8]
call edi
push eax
call fcn.00441129
lea eax, [ebx + 8]
mov ecx, dword [eax]
or ecx, dword [eax + 4]
je 0x42fb9a
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.0042f9e5
pop ecx
lea eax, [ebx + 0x10]
pop ecx
mov ecx, dword [eax]
or ecx, dword [eax + 4]
je 0x42fb16
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.0042f9e5
pop ecx
lea eax, [ebp - 0x10]
pop ecx
mov dword [ebp - 8], eax
mov eax, dword [ebx]
or eax, dword [ebx + 4]
je 0x42fb2c
lea eax, [ebp - 0x18]
push eax
push ebx
call fcn.0042f9e5
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 0x42fb59
push dword [ebp + 8]
call edi
push eax
call fcn.00441129
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 0x42fb85
call edi
push ebx
mov dword [ebp - 8], eax
call esi
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.00441129
push ebx
call esi
test eax, eax
jne 0x42fb97
push dword [ebp + 8]
call edi
push eax
call fcn.00441129
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx + 0x20]
cmp eax, dword [ebp - 4]
je 0x42fbc2
test byte [ebp - 4], 1
jne 0x42fbc2
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x42fbc2
push dword [ebp + 8]
call edi
push eax
call fcn.00441129
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x435a48
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 0x435a8f
call fcn.00439e94
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x435a8f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x435aab
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004355c0
mov esi, eax
test edi, edi
je 0x435aa9
test ebx, ebx
je 0x435aa9
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4371c8
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x472f78
call fcn.00457531
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4371ed
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x437233
lea ecx, [ebp - 0x10]
call fcn.004045d0
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.0042eb82
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.00403d70
mov eax, esi
call fcn.00457609
ret 8

Function at 0x439361
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 0x439385
cmp dword [edi + 0x54], 0
jne 0x439385
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00439e94
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.00439322
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 0x43e80d
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 0x43e855
call fcn.00439e94
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x43e855
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x43e898
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 0x43e881
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 0x43e881
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x43e895
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 0x4522e0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x49ab20]
jne 0x4522ea
repz ret
jmp fcn.0045ceec
Function at 0x4629ed
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.00458f65
and dword [ebp - 4], 0
cmp dword [0x4a25d4], 0
mov ebx, eax
jne 0x462a9e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x462b4f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x462b4f
push eax
call fcn.00458ef3
mov dword [esp], 0x483278
push edi
mov dword [0x4a25d4], eax
call esi
push eax
call fcn.00458ef3
mov dword [esp], 0x483264
push edi
mov dword [0x4a25d8], eax
call esi
push eax
call fcn.00458ef3
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4a25dc], eax
call esi
push eax
call fcn.00458ef3
pop ecx
mov dword [0x4a25e4], eax
test eax, eax
je 0x462a9e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00458ef3
pop ecx
mov dword [0x4a25e0], eax
mov eax, dword [0x4a25e0]
cmp eax, ebx
je 0x462af6
cmp dword [0x4a25e4], ebx
je 0x462af6
push eax
call fcn.00458f6e
push dword [0x4a25e4]
mov esi, eax
call fcn.00458f6e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x462af6
test edi, edi
je 0x462af6
call esi
test eax, eax
je 0x462aed
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x462aed
test byte [ebp - 0xc], 1
jne 0x462af6
or dword [ebp + 0x10], 0x200000
jmp 0x462b2f
mov eax, dword [0x4a25d8]
cmp eax, ebx
je 0x462b2f
push eax
call fcn.00458f6e
pop ecx
test eax, eax
je 0x462b2f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x462b2f
mov eax, dword [0x4a25dc]
cmp eax, ebx
je 0x462b2f
push eax
call fcn.00458f6e
pop ecx
test eax, eax
je 0x462b2f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4a25d4]
call fcn.00458f6e
pop ecx
test eax, eax
je 0x462b4f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x462b51
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x46a2c0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x46a2cf
xor eax, eax
pop esi
ret 0xc
mov eax, dword [0x49bedc]
test eax, eax
je 0x46a2dd
call fcn.0046a260
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
cmp edx, 8
push ebx
not eax
jb 0x46a3df
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 + 0x4a2640]
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 + 0x4a2640]
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 + 0x4a2640]
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 + 0x4a2640]
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 + 0x4a2640]
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 + 0x4a2640]
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 + 0x4a2640]
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 + 0x4a2640]
xor eax, ecx
inc esi
dec edi
jne 0x46a2f7
pop edi
test edx, edx
je 0x46a401
mov ecx, eax
xor ebx, ebx
mov bl, byte [esi]
and ecx, 0xff
xor ecx, ebx
shr eax, 8
mov ecx, dword [ecx*4 + 0x4a2640]
xor eax, ecx
inc esi
dec edx
jne 0x46a3e3
pop ebx
pop esi
not eax
ret 0xc
Function at 0x407140
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40717f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40717f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40717f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40717f
cmp dword [ecx + 0x74], 0xe
jbe 0x40717f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40cce3
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40cd80
push ebx
push esi
call fcn.0040ccac
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040cc40
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40cd2d
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40cd7f
push edi
push eax
call fcn.0040d900
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40cd4d
call fcn.0040b7a1
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40cd7e
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040cc40
add esp, 0x20
test eax, eax
jne 0x40cd6c
push edi
call fcn.0040b7a1
jmp 0x40cd74
push ebx
call fcn.0040b7a1
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x40e07d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43a028
push 0x43a020
push str.FlsAlloc
push 0x1f
call fcn.0040df3c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40e0b1
push dword [ebp + 8]
mov ecx, esi
call dword [0x417174]
call esi
jmp 0x40e0b7
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40e0fb
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43a038
push 0x43a030
push str.FlsGetValue
push 0x21
call fcn.0040df3c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40e132
push dword [ebp + 8]
mov ecx, esi
call dword [0x417174]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40e13a
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43a040
push 0x43a038
push str.FlsSetValue
push 0x22
call fcn.0040df3c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40e174
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x417174]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4135d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4135fd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4135fd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

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