joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4058f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55bea8
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x5c41c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x21c], 0
xor eax, eax
mov dword [ebp - 4], 2
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.0052f810
add esi, 4
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x40595c
mov esi, dword [esi]
cmp dword [ebp + 0x50], 8
lea edx, [ebp + 0x3c]
push esi
cmovae edx, dword [ebp + 0x3c]
lea ecx, [ebp + 0x24]
cmp dword [ebp + 0x38], 8
lea esi, [ebp - 0x218]
push 0x104
cmovae ecx, dword [ebp + 0x24]
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x20], 8
push esi
cmovae eax, dword [ebp + 0xc]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp word [ebp - 0x218], ax
jne 0x4059b3
xor ecx, ecx
jmp 0x4059cf
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4059c0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
call fcn.004036c0
cmp dword [ebp + 0x20], 8
jb 0x4059ef
push dword [ebp + 0xc]
call fcn.00407eec
add esp, 4
xor eax, eax
mov dword [ebp + 0x20], 7
cmp dword [ebp + 0x38], 8
mov dword [ebp + 0x1c], 0
mov word [ebp + 0xc], ax
jb 0x405a14
push dword [ebp + 0x24]
call fcn.00407eec
add esp, 4
xor eax, eax
mov dword [ebp + 0x38], 7
cmp dword [ebp + 0x50], 8
mov dword [ebp + 0x34], 0
mov word [ebp + 0x24], ax
jb 0x405a39
push dword [ebp + 0x3c]
call fcn.00407eec
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052d978
mov esp, ebp
pop ebp
ret 0x4c

Function at 0x405f20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
call fcn.0040b4d2
push dword [edi + 0x98]
push 1
push 0x80
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [edi + 0x98]
push 0
push 0x80
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x3e8
push 1
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
push 4
mov dword [edi + 0x110], eax
mov dword [edi + 0x114], 1
mov dword [ebp - 4], 0
mov dword [edi + 0x118], 0
call fcn.00407ebf
add esp, 4
test eax, eax
je 0x405fa0
mov ecx, dword [edi + 0x20]
mov dword [eax], ecx
jmp 0x405fa2
xor eax, eax
lea ecx, [ebp - 4]
mov dword [edi + 0x11c], eax
push ecx
push 0
push eax
push 0x4062c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push str.test_n
mov dword [edi + 0x118], eax
call fcn.00406e60
add esp, 4
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x406230
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
movzx eax, ax
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0040ade1
Function at 0x4069d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4069e5
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x406a24
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x406a20
lea ebx, [ebx]
cmp esi, edx
jae 0x406a24
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x406a10
cmp esi, edx
jb 0x406a29
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret

Function at 0x406e60
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
lea eax, [ebp + 0xc]
push ebx
push esi
push edi
push eax
push dword [ebp + 8]
call fcn.0052de4a
xor ecx, ecx
mov edx, 2
lea esi, [eax + 1]
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00407ef1
add esp, 0xc
lea ecx, [esi + esi]
mov ebx, eax
push ecx
push 0
push ebx
call fcn.0052f810
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
push 0xffffffffffffffff
push esi
push ebx
call fcn.0052db1c
add esp, 0x14
lea ecx, [esp + 0x10]
call fcn.00407070
mov eax, dword [eax]
cmp byte [eax], 0
je 0x406ed1
push ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov esi, dword [esp + 0x14]
test esi, esi
je 0x406efe
or edi, 0xffffffff
lea ecx, [esi + 4]
mov eax, edi
lock xadd dword [ecx], eax
jne 0x406efe
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x406efe
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push ebx
call fcn.00407eec
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406f10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55c090
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x5c41c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
push eax
mov dword [ebp - 4], eax
push eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.00405b40
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.00404ea0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x68]
push 3
xor eax, eax
mov dword [ebp - 0x54], 7
push 0x5a2180
mov dword [ebp - 0x58], 0
mov word [ebp - 0x68], ax
call fcn.004036c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x50]
push 0xc
xor eax, eax
mov dword [ebp - 0x3c], 7
push str.BaseSettings
mov dword [ebp - 0x40], 0
mov word [ebp - 0x50], ax
call fcn.004036c0
cmp dword [ebp - 0x1c], 8
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x68]
cmovae edx, dword [ebp - 0x30]
lea eax, [ebp - 0x50]
cmp dword [ebp - 0x54], 8
push edx
cmovae ecx, dword [ebp - 0x68]
cmp dword [ebp - 0x3c], 8
push 0
cmovae eax, dword [ebp - 0x50]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp dword [ebp - 0x3c], 8
mov edi, eax
jb 0x406fff
push dword [ebp - 0x50]
call fcn.00407eec
add esp, 4
xor eax, eax
mov dword [ebp - 0x3c], 7
cmp dword [ebp - 0x54], 8
mov dword [ebp - 0x40], 0
mov word [ebp - 0x50], ax
jb 0x407024
push dword [ebp - 0x68]
call fcn.00407eec
add esp, 4
test edi, edi
lea ecx, [ebp - 0x18]
setne al
mov byte [esi], al
call fcn.00405ad0
push dword [ebp - 0x18]
call fcn.00407eec
add esp, 4
cmp dword [ebp - 0x1c], 8
jb 0x40704f
push dword [ebp - 0x30]
call fcn.00407eec
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052d978
mov esp, ebp
pop ebp
ret

Function at 0x407580
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5c41c0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x214], 0x104
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0052f810
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionSetupState
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40760c
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push str.ImageState
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0052ed7f
lea eax, [ebp - 0x20c]
push str.COMPLETE
push eax
call fcn.0052e970
mov ecx, dword [ebp - 4]
add esp, 0x10
test eax, eax
sete al
xor ecx, ebp
call fcn.0052d978
mov esp, ebp
pop ebp
ret
Function at 0x407650
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55c169
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
mov eax, dword [0x5c41c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x3c]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push eax
movdqu xmmword [ebp - 0x3c], xmm0
movdqu xmmword [ebp - 0x2c], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [ebp - 0x3c], 9
sete byte [ebp - 0xd]
call fcn.00407800
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], cx
dec eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], 1
cmp eax, 4
ja case.default.0x4076d5
jmp dword [eax*4 + 0x4077e0]
cmp byte [ebp - 0xd], 0
mov ecx, str.32WINXP
mov eax, str.64WINXP
cmove eax, ecx
mov ecx, esi
push eax
call fcn.00405a60
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [ebp - 0xd], 0
mov ecx, str.VISTA32
mov eax, str.VISTA64
cmove eax, ecx
mov ecx, esi
push eax
call fcn.00405a60
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [ebp - 0xd], 0
mov ecx, str.32WIN7
mov eax, str.64WIN7
cmove eax, ecx
mov ecx, esi
push eax
call fcn.00405a60
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [ebp - 0xd], 0
mov ecx, str.32WIN8
mov eax, str.64WIN8
cmove eax, ecx
mov ecx, esi
push eax
call fcn.00405a60
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [ebp - 0xd], 0
mov ecx, str.32WIN10
mov eax, str.64WIN10
cmove eax, ecx
mov ecx, esi
push eax
call fcn.00405a60
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push str._inst.exe__ERROR_:_Unknown_OS_version._n
call fcn.00406e60
add esp, 4
mov ecx, esi
push 0
push 0x5a1cc0
call fcn.004036c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40ae3d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.004151f5
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40ae74
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.0040ae95
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x40fdad
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x40fdf2
call fcn.004151f5
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40fdf2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x40fe0e
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041538e
mov ebx, eax
test edi, edi
je 0x40fe0c
test esi, esi
je 0x40fe0c
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x427f37
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.0041464d
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x427f73
call fcn.00428156
mov dword [esi + 0xc], 1
jmp 0x427f78
call fcn.00428156
cmp dword [esi], 0
je 0x427fc1
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x427f9b
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.0040dda1
jmp 0x427fac
push 0xff
mov ecx, esi
call fcn.00404c90
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0040cea3
jmp 0x427fe5
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x427fe5
push dword [esi]
push dword [ebp - 4]
call fcn.0041a386
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4280ab
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.00428156
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4280f3
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040dda1
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040cea3
jmp 0x4280fe
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0041a386
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x431bfc
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.0044642d
call fcn.00415249
cmp dword [eax + 0x14], 0
jne 0x431c17
mov ecx, esi
pop esi
jmp fcn.00430fda
pop esi
ret

Function at 0x44642d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
retf
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.004460d3
push eax
push esi
push dword [ebp + 8]
call fcn.00446088
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.004460d3
push eax
push esi
push dword [ebp + 8]
call fcn.00446088
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
aam 0x50
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.004460d3
push eax
push esi
push dword [ebp + 8]
call fcn.00446088
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.004460c3
or eax, 0x88413e29
popfd
jl 0x446548
invalid
invalid

Function at 0x446771
Capabilities:
Inspect section memory permissions

Disassembly:
rol dword [ebx], 0x40
add al, 0xeb
test eax, 0xeb0c5d89
push es
Function at 0x446800
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x44679a
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4467b8
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x446816
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x4467fd
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x446806
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x446810
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4467f2
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x44677c
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x446863
dec eax
je 0x44685a
sub eax, 3
je 0x446851
mov dword [ebp - 4], 0x40
jmp 0x446880
mov dword [ebp - 4], 4
jmp 0x446866
mov dword [ebp - 4], 0x20
jmp 0x446866
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x4468b2
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
invalid
invalid

Function at 0x4468fe
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax - 0x3a]
test dword [edx + 0x51fffffc], esi
mov byte [ebp - 0x34d], 0x75
invalid

Function at 0x44690f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [esp + edi*8 - 0x39a80001], esi
test dword [ebp + 0x4afffffc], esi
Function at 0x4d2f7f
Capabilities:
Get file system object information

Disassembly:
push 0x4c8
mov eax, 0x5667ae
call fcn.0052f034
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.004068f0
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x56ebc0
call fcn.004094e7
cmp eax, 0xffffffff
jne 0x4d3033
push 0
push 0x5777f4
lea ecx, [ebp - 0x4d0]
call fcn.004094e7
cmp eax, 0xffffffff
jne 0x4d3033
push 0
push 0x56e514
lea ecx, [ebp - 0x4d0]
call fcn.004094e7
cmp eax, 0xffffffff
jne 0x4d3033
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.004068f0
pop ecx
lea edi, [eax + 0x10]
mov dword [ebp - 0x4d4], edi
xor ecx, ecx
mov byte [ebp - 4], 1
push ecx
lea eax, [ebp - 0x218]
push eax
push 0x104
push ecx
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x4d300f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
lea ecx, [edi - 0x10]
mov ebx, eax
call fcn.00404e10
jmp 0x4d3062
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.00406d60
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 0
call fcn.00404e10
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4d3059
mov ebx, dword [ebp - 0x4cc]
jmp 0x4d3062
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov ebx, eax
lea ecx, [esi - 0x10]
call fcn.00404e10
mov eax, ebx
call fcn.0052efe3
ret
Function at 0x5407e8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5c41c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0053566c
mov dword [ebp - 0x14], eax
cmp dword [0x5d0d38], esi
jne 0x5408db
push 0x800
push esi
push 0x59b8b0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x540868
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x5409bb
push esi
push esi
push 0x59b8b0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x5409bb
push 0x59b8c8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x5409bb
push eax
call ebx
push 0x59b8d4
push edi
mov dword [0x5d0d38], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x59b8e4
push edi
mov dword [0x5d0d3c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x5d0d40], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5d0d48], eax
test eax, eax
je 0x5408d8
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5d0d44], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x540900
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5408f3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x540915
push 4
pop eax
jmp 0x5409bd
cmp dword [ebp - 0x14], esi
je 0x540915
push dword [0x5d0d38]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x5408fa
mov eax, dword [0x5d0d44]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x540973
cmp dword [0x5d0d48], edi
je 0x540973
push eax
call ebx
push dword [0x5d0d48]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x540973
test eax, eax
je 0x540973
call ecx
test eax, eax
je 0x540968
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x540968
test byte [ebp - 8], 1
jne 0x540973
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x5409a3
mov eax, dword [0x5d0d3c]
cmp eax, edi
je 0x5409a0
push eax
call ebx
test eax, eax
je 0x5409a0
call eax
mov esi, eax
test esi, esi
je 0x5409a0
mov eax, dword [0x5d0d40]
cmp eax, edi
je 0x5409a0
push eax
call ebx
test eax, eax
je 0x5409a0
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x5d0d38]
call ebx
test eax, eax
je 0x5409bb
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x5409bd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052d978
mov esp, ebp
pop ebp
ret
Function at 0x547eb9
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40729f
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219