joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404180
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4958d8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x4c81d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0x4d34d8
mov byte [ebp - 0x10], bl
call fcn.00404690
mov dword [ebp - 4], ebx
mov eax, dword [0x4d33c0]
cmp eax, ebx
jne 0x404212
push 0x18
call fcn.0046dc84
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x40420b
push ebx
push ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
push 1
push ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push esi
push 0x404070
push ebx
push ebx
mov dword [esi + 4], eax
call fcn.0046e932
mov dword [esi], eax
add esp, 0x18
mov eax, esi
jmp 0x40420d
xor eax, eax
mov dword [0x4d33c0], eax
mov dword [ebp - 4], 0xffffffff
mov esi, eax
cmp byte [ebp - 0x10], bl
je 0x404253
mov eax, dword [ebp - 0x14]
mov ecx, 0x80000000
mov edx, eax
lock xadd dword [edx], ecx
test ecx, 0x40000000
jne 0x404253
cmp ecx, 0x80000000
jle 0x404253
mov ecx, eax
lock bts dword [ecx], 0x1e
jb 0x404253
call fcn.004062e0
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x404a00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48f150
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4c81d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.0046e2e4
mov dword [ebp - 4], 0
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push 0
lea edx, [edi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edx
mov byte [ecx], 0
call fcn.004063e0
mov dword [esi], vtable.boost::lock_error.0
mov dword [ebp - 4], 1
mov dword [esi + 0x30], vtable.boost::exception.0
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
test ecx, ecx
je 0x404a92
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov edx, dword [edi + 0x40]
mov dword [esi + 0x40], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.1.0
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 4
Function at 0x404fe0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48f888
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4c81d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
push edi
mov ecx, esi
call fcn.0046e2e4
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push ebx
add edi, 0x14
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edi
mov byte [ecx], bl
call fcn.004063e0
mov dword [esi + 0x30], vtable.boost::exception.0
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], 0xffffffff
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.1.0
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 0x4054a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48f0e8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4c81d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.0046e2e4
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push ebx
add edi, 0x14
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edi
mov byte [ecx], bl
call fcn.004063e0
mov dword [esi + 0x30], vtable.boost::exception.0
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], 0xffffffff
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.1.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.0
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 0x405ac0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48f030
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4c81d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.0046e2e4
mov dword [ebp - 4], 0
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push 0
lea edx, [edi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edx
mov byte [ecx], 0
call fcn.004063e0
mov dword [esi], vtable.boost::thread_resource_error.0
mov dword [ebp - 4], 1
mov dword [esi + 0x30], vtable.boost::exception.0
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
test ecx, ecx
je 0x405b52
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov edx, dword [edi + 0x40]
mov dword [esi + 0x40], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.1.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.0
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 4
Function at 0x407830
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x492122
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x4c81d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
mov edi, dword [edx]
push 0x258
mov dword [ebp - 0x270], eax
push eax
lea eax, [ebp - 0x26a]
xor edx, edx
push eax
mov dword [ebp - 0x278], esi
mov dword [ebp - 0x274], ecx
mov word [ebp - 0x26c], dx
call fcn.00471430
mov ecx, dword [ebp - 0x274]
mov eax, dword [ecx]
mov ebx, dword [ebx]
add esp, 0xc
push edi
push 0x12c
lea edx, [ebp - 0x26c]
push edx
push 0x4a3aec
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x26c]
push eax
mov ecx, esi
call fcn.00401e90
mov dword [ebp - 4], 0
mov eax, esi
mov dword [ebp - 0x270], 1
call fcn.004079b0
mov ebx, eax
call fcn.00407a00
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046d96b
mov esp, ebp
pop ebp
ret 4

Function at 0x408160
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4920cb
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4c81d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push 0x206
lea ecx, [ebp - 0x216]
xor eax, eax
push ebx
mov dword [ebp - 0x21c], ebx
push ecx
mov word [ebp - 0x218], ax
call fcn.00471430
add esp, 0xc
cmp esi, 0x25
je 0x408248
cmp esi, 0x28
je 0x408248
lea ecx, [ebp - 0x21c]
call fcn.00410020
push eax
lea edx, [ebp - 0x220]
mov dword [ebp - 4], ebx
push edx
mov ebx, str._funshion.ini
call fcn.0040ac70
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0046fb8c
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40821d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408275
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x408275
push ebx
push esi
lea ecx, [ebp - 0x218]
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x408275
push str._funshion.ini
lea edx, [ebp - 0x218]
push 0x104
push edx
call fcn.0046fb17
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
mov ecx, edi
call fcn.00401e90
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046d96b
mov esp, ebp
pop ebp
ret
Function at 0x4082a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x4c81d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 2
mov dword [ebp - 0x234], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x4082f2
lea eax, [ebp - 0x230]
push eax
push esi
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x408303
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d96b
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call fcn.0046fcf2
add esp, 8
test eax, eax
je 0x408340
lea edx, [ebp - 0x230]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x408303
mov eax, dword [ebp - 0x234]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d96b
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x40835a
mov eax, dword [ebp - 0x228]
push eax
push 0
push 0x100411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebx], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
pop esi
call fcn.0046d96b
mov esp, ebp
pop ebp
ret

Function at 0x408370
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4c81d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
push edi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x4083ba
lea eax, [ebp - 0x230]
push eax
push esi
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x4083d0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d96b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
cmp dword [ebp - 0x228], ecx
je 0x4083ff
lea edx, [ebp - 0x230]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4083d0
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d96b
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push eax
mov ecx, ebx
call fcn.00401e40
mov ecx, dword [ebp - 4]
mov edi, 1
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0046d96b
mov esp, ebp
pop ebp
ret
Function at 0x408430
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x4c81d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
push ebx
push 2
mov dword [ebp - 0x234], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x408483
lea ecx, [ebp - 0x230]
push ecx
push esi
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x408495
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d96b
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
push eax
lea edx, [ebp - 0x20c]
push edx
call fcn.0046fcf2
add esp, 8
test eax, eax
je 0x4084bf
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x408495
jmp 0x4084d2
mov ecx, dword [ebp - 0x218]
mov edx, dword [ebp - 0x234]
mov dword [edx], ecx
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0046d96b
mov esp, ebp
pop ebp
ret

Function at 0x4084f0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x4c81d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push 0
push 2
mov dword [ebp - 0x234], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x408541
lea ecx, [ebp - 0x230]
push ecx
push ebx
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x408552
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d96b
mov esp, ebp
pop ebp
ret
push edi
mov edx, dword [ebp - 0x234]
mov eax, dword [edx]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0046fcf2
add esp, 8
test eax, eax
jne 0x4085ca
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x228]
cmp ecx, eax
jae 0x4085ab
mov ecx, dword [esi]
lea edx, [ebp - 0x228]
cmp ecx, edx
ja 0x4085ab
mov edi, edx
sub edi, ecx
sar edi, 2
cmp eax, dword [esi + 8]
jne 0x40859b
mov eax, esi
call fcn.00442590
mov eax, dword [esi + 4]
test eax, eax
je 0x4085c6
mov ecx, dword [esi]
mov edx, dword [ecx + edi*4]
mov dword [eax], edx
jmp 0x4085c6
cmp eax, dword [esi + 8]
jne 0x4085b7
mov eax, esi
call fcn.00442590
mov eax, dword [esi + 4]
test eax, eax
je 0x4085c6
mov ecx, dword [ebp - 0x228]
mov dword [eax], ecx
add dword [esi + 4], 4
lea edx, [ebp - 0x230]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x408553
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0046d96b
mov esp, ebp
pop ebp
ret
Function at 0x408670
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x4c81d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0x238], esi
test esi, esi
jne 0x4086a1
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d96b
mov esp, ebp
pop ebp
ret
push edi
push 0
push 2
mov dword [ebp - 0x234], 1
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x23c], edi
cmp edi, 0xffffffff
je 0x4087a2
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.00471430
add esp, 0xc
lea ecx, [ebp - 0x230]
push ecx
push edi
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x408709
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d96b
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x408718
mov esi, dword [ebp - 0x238]
push esi
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x40878b
mov eax, dword [ebp - 0x228]
push eax
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x40878b
push 0
push esi
call ebx
push 0x64
push esi
mov dword [ebp - 0x234], eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x40877e
mov edi, edi
inc edi
cmp edi, 0xa
jg 0x40877e
push 0
push esi
call ebx
push 0x64
push esi
mov dword [ebp - 0x234], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x408760
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x23c]
lea ecx, [ebp - 0x230]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x408712
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x234]
pop edi
xor ecx, ebp
pop esi
call fcn.0046d96b
mov esp, ebp
pop ebp
ret
Function at 0x4087c0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x4c81d0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x144]
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x11c
lea ecx, [ebp - 0x120]
push esi
push ecx
call fcn.00471430
add esp, 0xc
lea edx, [ebp - 0x120]
push edx
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x40885a
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d96b
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x110], 2
jne 0x408927
mov eax, dword [ebp - 0x11c]
sub eax, 5
je 0x4088e7
mov ecx, 1
sub eax, ecx
jne 0x408927
mov eax, dword [ebp - 0x118]
cmp eax, 2
jne 0x4088a9
cmp byte [ebp - 6], cl
jne 0x408927
mov esi, 5
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d96b
mov esp, ebp
pop ebp
ret
cmp eax, ecx
jne 0x4088c8
cmp byte [ebp - 6], cl
jne 0x408927
mov esi, 4
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d96b
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x408927
cmp byte [ebp - 6], cl
jne 0x408927
mov esi, 3
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d96b
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x118]
cmp eax, 2
jne 0x408918
cmp byte [ebp - 6], 1
jne 0x408927
cmp word [ebp - 0x144], 9
jne 0x408927
mov esi, 2
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d96b
mov esp, ebp
pop ebp
ret
mov ecx, 1
cmp eax, ecx
je 0x408902
test eax, eax
jne 0x408927
mov esi, ecx
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0046d96b
mov esp, ebp
pop ebp
ret

Function at 0x4089b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4c81d0]
xor eax, ebp
mov dword [ebp - 4], eax
test edi, edi
jne 0x4089d4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d96b
mov esp, ebp
pop ebp
ret
xor ecx, ecx
lea eax, [esi + esi + 2]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046ce27
add esp, 4
xor ecx, ecx
test esi, esi
je 0x408a56
mov dword [ebp - 0x14], 0x33323130
mov dword [ebp - 0x10], 0x37363534
mov dword [ebp - 0xc], 0x62613938
mov dword [ebp - 8], 0x66656463
mov dword [ebp - 0x24], 0x33323130
mov dword [ebp - 0x20], 0x37363534
mov dword [ebp - 0x1c], 0x62613938
mov dword [ebp - 0x18], 0x66656463
nop
movzx edx, byte [ecx + edi]
shr edx, 4
movzx edx, byte [ebp + edx - 0x14]
mov word [eax + ecx*4], dx
movzx edx, byte [ecx + edi]
and edx, 0xf
movzx edx, byte [ebp + edx - 0x24]
mov word [eax + ecx*4 + 2], dx
inc ecx
cmp ecx, esi
jb 0x408a30
xor ecx, ecx
mov dword [eax + esi*4], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d96b
mov esp, ebp
pop ebp
ret
Function at 0x409350
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x48
mov eax, dword [0x4c81d0]
xor eax, esp
mov dword [esp + 0x44], eax
lea eax, [esp]
push eax
mov dword [esp + 4], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
jne 0x409389
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0046d96b
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esi], ecx
mov ecx, dword [esp + 0x44]
xor ecx, esp
mov dword [esi + 4], edx
mov eax, 1
call fcn.0046d96b
mov esp, ebp
pop ebp
ret
Function at 0x409f50
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x4c81d0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push eax
push 8
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x409f9d
lea eax, [ebp - 0x434]
push eax
push esi
mov dword [ebp - 0x434], 0x428
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
jne 0x409fb0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0046d96b
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
push eax
lea ecx, [ebp - 0x414]
push ecx
call fcn.0046fcf2
add esp, 8
test eax, eax
je 0x409fda
lea edx, [ebp - 0x434]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x409fb0
jmp 0x409fdf
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0046d96b
mov esp, ebp
pop ebp
ret
Function at 0x40a2e0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x491f10
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4c81d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push ebx
push eax
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
cmp esi, ebx
je 0x40a34a
push esi
call fcn.0046ce27
mov ecx, dword [ebp + 0xc]
add esp, 4
mov edi, eax
mov eax, dword [ecx]
push edi
push esi
push ebx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x40a36d
push edi
call fcn.0046fd7d
add esp, 4
mov esi, dword [ebp + 8]
push 0x4a3aec
mov ecx, esi
call fcn.00401e90
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
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x10]
push eax
push str.VarFileInfoTranslation
push edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
mov eax, dword [ebp - 0x10]
movzx esi, word [eax]
movzx ecx, word [eax + 2]
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
shl esi, 0x10
or esi, ecx
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 4], ebx
mov edx, dword [ecx]
push edx
push esi
lea eax, [ebp + 0xc]
push str.StringFileInfo_08lx_s
push eax
call fcn.00401760
mov esi, dword [ebp + 0xc]
add esp, 0x10
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x20]
push edx
push esi
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x40a3f8
push edi
call fcn.0046fd7d
mov edi, dword [ebp + 8]
add esp, 4
push 0x4a3aec
mov ecx, edi
call fcn.00401e90
jmp 0x40a441
mov ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00401e90
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.00401820
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40a441
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [ebp - 4], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a460
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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