joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439a00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f22e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4da064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor ebx, ebx
mov dword [ebp - 0x10], 0
movzx eax, word [ebp + 0xc]
mov esi, dword [0x4db390]
push 0xa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x439a75
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x439a75
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x439a75
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
jmp 0x439a77
xor esi, esi
call fcn.004039e0
mov ecx, eax
test ecx, ecx
je 0x439afd
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
call fcn.004039e0
push eax
push esi
push ebx
lea ecx, [ebp + 0xc]
call fcn.0041b510
mov dword [ebp - 4], 3
mov edx, edi
mov esi, dword [ebp + 0xc]
mov ecx, esi
push 0xfde9
call fcn.0040bef0
add esp, 4
mov dword [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x439ae7
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00402150
int3
Function at 0x43e4b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0375
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4da064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
call fcn.004039e0
mov ecx, eax
test ecx, ecx
je 0x43e5f3
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 1
mov ebx, pe_nt_image_headers32
push 0x200
call fcn.0047662f
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
mov eax, dword [ebp + 0xc]
push ebx
push edi
push esi
push dword [eax]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, 0xff
jne 0x43e58e
add ebx, ebx
mov byte [ebp - 4], 1
push edi
call fcn.0047662a
xor ecx, ecx
mov dword [ebp - 0x10], 0
mov eax, ebx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047662f
mov edi, eax
add esp, 8
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
mov eax, dword [ebp + 0xc]
push ebx
push edi
push esi
push dword [eax]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebx - 1]
cmp eax, ecx
je 0x43e537
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43e593
mov ecx, dword [ebp + 0x10]
sub eax, edx
sar eax, 1
push eax
push edi
call fcn.00407090
mov byte [ebp - 4], 1
push edi
call fcn.0047662a
add esp, 4
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43e5df
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.00402150
int3
Function at 0x44d730
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2bb6
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4da064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea edi, [esi + 0xc]
mov byte [esi], 1
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 0x14], edi
call fcn.004039e0
test eax, eax
je 0x44d804
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 1
lea edi, [esi + 0x18]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [ebp - 0x14], edi
call fcn.004039e0
test eax, eax
je 0x44d804
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 3
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402150
int3

Function at 0x44d960
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [esi + 0x14]
add eax, 4
push eax
push 0
push esi
push 0x44df30
push 0
push 0
call edi
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x20], eax
mov ecx, dword [ecx + 4]
mov dword [esi + 0x24], ecx
test eax, eax
je 0x44d9be
nop
mov esi, dword [esi + 4]
test esi, esi
je 0x44d9c6
mov eax, dword [esi + 0x14]
add eax, 4
push eax
push 0
push esi
push 0x44df30
push 0
push 0
call edi
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 4]
mov dword [esi + 0x24], eax
cmp dword [esi + 0x20], 0
jne 0x44d990
pop edi
pop esi
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
xor eax, eax
pop esi
ret
Function at 0x453e70
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a44fd
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
mov eax, dword [0x4da064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
push SysReAllocString
call fcn.004073a0
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
push 0
push 0
push 0
push 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x14]
mov dword [ebp + 8], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x453ef6
cmp dword [ebp + 8], eax
jne 0x453ef2
push dword [ebp - 0x10]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
sete bl
jmp 0x453ef8
mov bl, 1
jmp 0x453ef8
xor bl, bl
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x453f0d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x453f3c
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x460ac0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7130
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [0x4da064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ebx, [esi + 0x18]
lea edi, [esi + 0x14]
push edi
lea ecx, [ebx + 0x18]
call fcn.00407fe0
mov ecx, ebx
call fcn.0044da50
push edi
lea ecx, [esi + 0x64]
call fcn.00407fe0
mov edi, esi
lea ecx, [esi + 0x4c]
mov dword [edi + 0x50], ebx
call fcn.0044dd50
test al, al
jne 0x460b58
movzx eax, byte [edi + 0x11d]
mov ecx, dword [edi + 0x60]
push eax
push 1
push dword [ecx]
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
test eax, eax
jne 0x460b3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0xe0000027
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov esi, dword [ebp + 8]
mov dword [ebp - 0x24], esi
mov byte [ebp - 0x20], 0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x30]
push eax
push esi
lea eax, [edi + 8]
push eax
lea ecx, [ebp - 0x8c]
call fcn.00471f70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
push 0
push 0
call fcn.00472070
lea eax, [ebp - 0x30]
mov dword [ebp - 0x48], 0x4bcca4
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x4bf85c
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x48], 0x4bccb4
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xffffffff
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
push esi
call fcn.00461370
mov eax, dword [ebp - 0x44]
mov edi, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x460c2e
lea ecx, [ebp + 8]
mov dword [ebp + 8], 0
push ecx
push eax
call edi
test eax, eax
je 0x460c24
mov esi, dword [ebp + 8]
jmp 0x460c30
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x460c30
xor esi, esi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], 0x4bccb4
test eax, eax
je 0x460c83
push dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp - 0x40], 0xffffffff
je 0x460c7a
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push dword [ebp - 0x44]
call edi
test eax, eax
je 0x460c7a
cmp dword [ebp + 8], 0x103
jne 0x460c7a
push 0
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
call fcn.00460cc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00431e30
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x46cb20
Capabilities:
Create directory
Hash data with md5

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x94
push 0xffffffffffffffff
push 0x4a97fd
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x4da064]
xor eax, ebp
mov dword [ebp + 0x90], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
lea ecx, [ebp - 0x10]
call fcn.0040cb00
mov dword [ebp - 4], 0
mov ecx, edi
push eax
call fcn.00407fe0
mov dword [ebp - 4], 0xffffffff
or ebx, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46cb98
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jne 0x46cba7
xor al, al
jmp 0x46cc82
call fcn.004039e0
mov ecx, eax
test ecx, ecx
je 0x46cca5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 3
lea edx, [ebp - 0x10]
mov ecx, dword [esi]
push 0
call fcn.0040be40
mov esi, dword [ebp - 0x10]
add esp, 4
cmp dword [esi - 4], 1
jle 0x46cbee
push dword [esi - 0xc]
lea ecx, [ebp - 0x10]
call fcn.00403e40
mov esi, dword [ebp - 0x10]
xor eax, eax
mov byte [ebp + 0x68], 0
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], 0
mov dword [ebp], 0x67452301
mov dword [ebp + 4], 0xefcdab89
mov dword [ebp + 8], 0x98badcfe
mov dword [ebp + 0xc], 0x10325476
cmp byte [esi], al
je 0x46cc29
inc eax
cmp byte [eax + esi], 0
jne 0x46cc22
push eax
push esi
lea ecx, [ebp]
call fcn.0040de00
lea ecx, [ebp]
call fcn.0040ded0
lea ecx, [ebp]
call fcn.0040ded0
lea eax, [ebp + 0x6c]
push eax
lea ecx, [ebp]
call fcn.0040dfa0
lea eax, [ebp + 0x6c]
mov ecx, edi
push eax
call fcn.0040b8a0
push 0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x46cc80
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x90]
xor ecx, ebp
call fcn.0047615e
lea esp, [ebp + 0x94]
pop ebp
ret
push 0x80004005
call fcn.00402150
int3
Function at 0x46d3c0
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_EnumWindows]
mov ebx, ecx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ebx
push eax
push 0x46e790
mov dword [esp + 0x1c], 0
call ebp
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x46d409
push 0x64
call edi
inc esi
cmp esi, 0x14
jl 0x46d3d7
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x46e000
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9c75
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4da064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], edx
push 0x22
push 0
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x20], 0x4bb744
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x46e109
push 0xa
push 1
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x46e109
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
call fcn.004039e0
mov ecx, eax
test ecx, ecx
je 0x46e13b
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x46e0ed
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x46e0ed
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x46e0ed
push eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
call fcn.0042e200
mov byte [ebp - 4], 3
lea eax, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x14]
push eax
call fcn.0041be80
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46e0ed
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or ebx, 0xffffffff
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x46e109
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x20], 0x4bb744
test edi, edi
je 0x46e129
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402150
int3
Function at 0x472f80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa66d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4da064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push dword [ebp + 8]
mov dword [ebp - 0x20], 0x4bf644
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], 0x4bf65c
call fcn.00402250
mov dword [ebp - 4], 1
lea eax, [ebp - 0x20]
cmp byte [ebx + 0x10], 0
mov dword [ebp - 0x2c], 0x4c0240
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0
je 0x47309e
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push dword [ebp - 0x1c]
mov dword [ebp - 0x10], 0xfeff
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x18], 0x4b9bec
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 2
cmp esi, 0xffffffff
jne 0x473035
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0x4b9bec
push esi
jmp 0x47306b
push 0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push 2
lea eax, [ebp - 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x473081
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0x4b9bec
test esi, esi
je 0x473078
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], 0
test edi, edi
je 0x47309e
jmp 0x473127
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0x4b9bec
test esi, esi
je 0x47309e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], 0
mov edx, dword [ebx + 4]
xor esi, esi
mov dword [ebp + 8], 0
test edx, edx
jle 0x473113
xor edi, edi
test edi, edi
js 0x47316c
cmp esi, edx
jge 0x47316c
mov ecx, dword [ebx]
mov eax, edx
add ecx, edi
cmp byte [ecx + 0x15c], 0
je 0x4730f3
cmp byte [ebp + 0xc], 0
je 0x4730de
test byte [ecx + 0x94], 1
je 0x4730f3
lea eax, [ebp - 0x2c]
push eax
call fcn.00457760
mov ecx, dword [ebp + 8]
mov eax, dword [ebx + 4]
inc ecx
mov dword [ebp + 8], ecx
jmp 0x4730f6
mov ecx, dword [ebp + 8]
inc esi
add edi, 0x16c
mov edx, eax
cmp esi, eax
jl 0x4730b0
test ecx, ecx
jle 0x473113
mov ecx, dword [ebx + 0xc]
lea eax, [ebp - 0x2c]
push eax
call fcn.0043fd70
mov ecx, dword [ebx + 0xc]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ecx + 0xec]
call fcn.004390d0
xor edi, edi
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1c]
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov esi, dword [ebp - 0x1c]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x473156
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 1
push 0xc000008c
call fcn.00408180
int3
Function at 0x487ad2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00487783

Function at 0x487add
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0048790d
Function at 0x1005a2a7
Capabilities:
Encode data using xor

Disassembly:
call 0x1005a220
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x1005a250
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x1005a26c
xor edx, 0
jmp 0x1005a277
xor edx, edx
jmp 0x1005a28e
jmp 0x1005a29a
xor eax, eax
push 0x8427d7c0
call 0x1005a2a7
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1005a2e3
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x1005a2bc
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1005a2fa
add eax, 0
jno 0x1005a2ff
add esi, 0
ret 0x10

Function at 0x1005b068
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x1005b08a
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x1005b22c
cmp edi, dword [ebp + 0x10]
jb 0x1005b22c
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.1005ab54
inc edi
jmp 0x1005b113
jmp 0x1005b120
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1005ab54
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1005ab54
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x1005b174
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x1005b158
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1005b1a2
add dword [eax], 0x39
jle 0x1005b17e
sub al, 0xf5
mov ch, al
call fcn.1005b1b7
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x1005ce8f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x1005cea5
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x1005ceb6
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1005cef7
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x1005f263
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x1005f1ac
add ebx, 0
push ecx
call 0x1005f1c1
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x7347b1ac
sub ebx, dword [0x7349a9eb]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x7349a9db
call fcn.1005ac8b
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1005a199
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x1005f31f
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1005f31f
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x1005f2d6
mov eax, 1
lock xchg dword [0x7349a9e7], eax
push 0x3dd1fc71
call 0x1005f263
push esi
add esp, 8
cmp eax, 0
jne 0x1005f24c
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1005f272
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x1005f287
cmp ecx, edx
cmp eax, 0
je 0x1005f2ac
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x1005f296
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1005f2c5
dec eax
loope 0x1005f2c8
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x7349a9e7], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x1005f2fc
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x1005f311
jmp 0x1005f31c
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x1005f20a