joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48ad70
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [esp + 4]
add esp, 0x24
ret

Function at 0x48cea0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
sub esp, 0x43c
mov eax, dword [0xa0b130]
xor eax, esp
mov dword [esp + 0x438], eax
mov eax, dword [esp + 0x444]
push ebx
push esi
mov esi, dword [esp + 0x448]
mov dword [esp + 0x10], eax
test esi, esi
je 0x48d01f
mov ebx, dword [sym.imp.ADVAPI32.dll_RegGetValueW]
lea eax, [esp + 8]
push eax
push 0
push 0
push 2
push str.DumpFolder
push 0
push esi
mov dword [esp + 0x24], 0
call ebx
test eax, eax
jne 0x48d01f
push edi
mov edi, dword [esp + 0xc]
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], 0x104
mov dword [esp + 0x20], eax
cmp edi, 0x104
jbe 0x48cf33
push 2
mov eax, ecx
lea ecx, [esp + 0x20]
push edi
push eax
call fcn.00405e1b
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
mov dword [esp + 0x20], edi
push eax
lea eax, [ecx + edi*2]
push eax
push ecx
call fcn.00415672
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x20]
push 0
push 2
push str.DumpFolder
push 0
push esi
call ebx
test eax, eax
jne 0x48cfed
mov edi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push eax
push eax
push dword [esp + 0x24]
call edi
mov esi, eax
test esi, esi
je 0x48cfed
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push esi
lea ecx, [esp + 0x238]
call fcn.0040f817
push esi
push dword [esp + 0x234]
push dword [esp + 0x24]
call edi
cmp esi, eax
jne 0x48cfcd
push dword [esp + 0x14]
lea eax, [esi - 1]
push eax
push dword [esp + 0x238]
lea eax, [esp + 0x20]
push eax
call fcn.004020e5
add esp, 0x10
cmp dword [eax], 0
jne 0x48cfcd
mov bl, 1
jmp 0x48cfcf
xor bl, bl
mov eax, dword [esp + 0x230]
lea ecx, [esp + 0x23c]
cmp eax, ecx
je 0x48cfef
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp 0x48cfef
xor bl, bl
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
pop edi
cmp eax, ecx
je 0x48d006
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
pop esi
mov al, bl
pop ebx
mov ecx, dword [esp + 0x438]
xor ecx, esp
call fcn.004087b5
add esp, 0x43c
ret
mov ecx, dword [esp + 0x440]
xor al, al
pop esi
pop ebx
xor ecx, esp
call fcn.004087b5
add esp, 0x43c
ret
Function at 0x48d0a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
test esi, esi
je 0x48d146
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 4
push eax
lea eax, [esp + 0xc]
push eax
push 0
push 0x10
push str.DumpType
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x48d146
mov eax, dword [esp + 8]
sub eax, 0
je 0x48d10d
sub eax, 1
je 0x48d0fc
sub eax, 1
jne 0x48d146
mov eax, dword [esp + 0x14]
pop esi
mov dword [eax], 2
mov al, 1
add esp, 8
ret
mov eax, dword [esp + 0x14]
pop esi
mov dword [eax], 0
mov al, 1
add esp, 8
ret
lea eax, [esp + 0x10]
mov dword [esp + 4], 0
push eax
lea eax, [esp + 8]
push eax
push 0
push 0x10
push str.CustomDumpFlags
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x48d146
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 4]
pop esi
mov dword [ecx], eax
mov al, 1
add esp, 8
ret
xor al, al
pop esi
add esp, 8
ret
Function at 0x4b5e70
Capabilities:
Create thread

Disassembly:
push esi
push 0
push 0
push dword [esp + 0x14]
xor eax, eax
cmp byte [esp + 0x20], al
push dword [esp + 0x14]
cmovne eax, dword [esp + 0x20]
push eax
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov esi, eax
add esp, 0x18
test esi, esi
je 0x4b5ebc
cmp dword [esp + 0x18], 0
jne 0x4b5eaf
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x4b5ec6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4b5ed0
pop esi
ret
push str._beginthreadex_failed
call fcn.0040e32c
push str.WaitForSingleObject_failed
call fcn.0040e32c
push str.CloseHandle_failed
call fcn.0040e32c
int3
Function at 0x4ed800
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x98
mov eax, dword [0xa0b130]
xor eax, esp
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x64]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x58]
push ebx
push esi
mov esi, dword [esp + 0xa8]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push edi
push eax
mov eax, dword [esp + 0xb4]
push ecx
mov ecx, esp
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 2
mov dword [ecx], eax
call fcn.0040fce0
mov ecx, dword [esp + 0x70]
add esp, 8
mov edi, dword [esp + 0x64]
mov dword [esp + 0x34], 0
mov dword [esp + 0x44], 0
lea eax, [ecx + ecx*2]
mov dword [esp + 0x48], 0xf
lea ebx, [edi + eax*8]
cmp edi, ebx
je 0x4ed917
mov ecx, ebx
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
mov eax, edi
sar edx, 2
mov ecx, edx
dec edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [edi + 0x10]
nop dword [eax + eax]
add eax, 0x18
add ecx, edx
cmp eax, ebx
jne 0x4ed8b0
push ecx
lea ecx, [esp + 0x38]
call fcn.0040e09d
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x4ed8cd
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [esp + 0x38]
push eax
call fcn.004070e5
add edi, 0x18
cmp edi, ebx
je 0x4ed90f
push 1
push 0x92406c
lea ecx, [esp + 0x3c]
call fcn.004070e5
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x4ed8fb
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [esp + 0x38]
push eax
call fcn.004070e5
add edi, 0x18
cmp edi, ebx
jne 0x4ed8e1
mov ecx, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
movups xmm0, xmmword [esp + 0x34]
lea eax, [ecx + ecx*2]
lea eax, [edi + eax*8]
movups xmmword [esp + 0x4c], xmm0
push eax
movq xmm0, qword [esp + 0x48]
push edi
movq qword [esp + 0x64], xmm0
call fcn.0040c8b5
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x78]
add esp, 8
cmp eax, ecx
je 0x4ed953
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
lea eax, [esp + 0x4c]
mov word [esp + 0x28], 0x104
mov dword [esp + 0x20], eax
mov al, byte [esi + 8]
test al, al
je 0x4ed9a6
cmp al, 1
jne 0x4ed983
movq xmm0, qword [esp + 0x20]
mov eax, dword [esp + 0x28]
movq qword [esp + 0xc], xmm0
mov dword [esp + 0x14], eax
jmp 0x4ed9ad
cmp byte [esi + 9], 1
mov cl, 2
jne 0x4ed98f
mov esi, dword [esi]
mov cl, al
lea eax, [esp + 0x4c]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
mov byte [esp + 0x14], cl
mov byte [esp + 0x15], 4
jmp 0x4ed9ad
mov word [esp + 0x14], 0x100
lea eax, [esp + 0x2c]
push eax
call fcn.0040c414
mov esi, dword [esp + 0x20]
push eax
lea eax, [esp + 0x14]
push eax
push esi
call fcn.0040d28d
mov edx, dword [esp + 0x70]
add esp, 0x10
cmp edx, 0x10
jb 0x4eda02
mov ecx, dword [esp + 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4ed9f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4ed9f8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004036ca
add esp, 8
mov ecx, dword [esp + 0xa0]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004087b5
add esp, 0x98
ret
Function at 0x59b770
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x70
mov eax, dword [0xa0b130]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
xor eax, eax
xorps xmm0, xmm0
push esi
mov esi, dword [esp + 0x7c]
push edi
mov edi, dword [esp + 0x84]
mov word [esp + 0x52], ax
mov dword [esp + 0x56], eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x10]
movlpd qword [esp + 0x74], xmm0
push edi
push eax
movups xmmword [esp + 0x68], xmm0
call fcn.00403017
mov ecx, dword [esp + 0x18]
add esp, 0xc
test ecx, ecx
je 0x59b7da
or byte [esi + 0x40], 1
mov eax, esi
mov dword [esi], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.004087b5
add esp, 0x70
ret
push dword [edi + 4]
movzx ebx, word [esp + 0x58]
lea eax, [esp + 0x54]
push dword [edi]
push eax
call fcn.0059bc90
mov cl, bl
add esp, 0xc
shr cl, 7
mov edi, eax
test cl, 1
jne 0x59b80b
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], 0
jmp 0x59b837
shr ebx, 8
test bl, 1
je 0x59b81d
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
jmp 0x59b825
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
push ecx
push eax
call fcn.0040fcbd
add esp, 8
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
movups xmm0, xmmword [esp + 0x50]
and byte [esi + 0x40], 0xfe
mov eax, esi
mov ecx, dword [esp + 0x78]
movups xmmword [esp + 0x18], xmm0
mov byte [esp + 0x48], 2
movups xmm0, xmmword [esp + 0x60]
pop edi
movups xmmword [esp + 0x24], xmm0
movq xmm0, qword [esp + 0x6c]
movq qword [esp + 0x34], xmm0
movups xmm0, xmmword [esp + 0xc]
movups xmmword [esi], xmm0
movups xmm0, xmmword [esp + 0x1c]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [esp + 0x2c]
movups xmmword [esi + 0x20], xmm0
movups xmm0, xmmword [esp + 0x3c]
movups xmmword [esi + 0x30], xmm0
pop esi
pop ebx
xor ecx, esp
call fcn.004087b5
add esp, 0x70
ret
Function at 0x67fcc0
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, dword [esp + 4]
cmp eax, 0x44
ja case.0x67fccd.0
jmp dword [eax*4 + 0x67fe9c]
mov eax, 1
xor edx, edx
ret
mov eax, 2
xor edx, edx
ret
mov eax, 4
xor edx, edx
ret
mov eax, 8
xor edx, edx
ret
mov eax, 0x10
xor edx, edx
ret
mov eax, 0x20
xor edx, edx
ret
mov eax, 0x40
xor edx, edx
ret
mov eax, 0x80
xor edx, edx
ret
mov eax, 0x100
xor edx, edx
ret
mov eax, 0x200
xor edx, edx
ret
mov eax, 0x400
xor edx, edx
ret
mov eax, 0x800
xor edx, edx
ret
mov eax, 0x1000
xor edx, edx
ret
mov eax, 0x2000
xor edx, edx
ret
mov eax, 0x4000
xor edx, edx
ret
mov eax, 0x8000
xor edx, edx
ret
mov eax, 0x1f0000
xor edx, edx
ret
mov eax, 0x200000
xor edx, edx
ret
mov eax, 0x400000
xor edx, edx
ret
mov eax, 0x800000
xor edx, edx
ret
mov eax, 0x1000000
xor edx, edx
ret
mov eax, 0x2000000
xor edx, edx
ret
mov eax, 0x1c000000
xor edx, edx
ret
mov eax, 0x20000000
xor edx, edx
ret
mov eax, 0x40000000
xor edx, edx
ret
mov eax, SysReAllocString
xor edx, edx
ret
xor eax, eax
lea edx, [eax + 1]
ret
xor eax, eax
lea edx, [eax + 2]
ret
xor eax, eax
lea edx, [eax + 4]
ret
xor eax, eax
lea edx, [eax + 8]
ret
xor eax, eax
lea edx, [eax + 0x10]
ret
xor eax, eax
lea edx, [eax + 0x20]
ret
xor eax, eax
lea edx, [eax + 0x40]
ret
xor eax, eax
mov edx, 0x80
ret
xor eax, eax
mov edx, 0x100
ret
xor eax, eax
mov edx, 0x200
ret
xor eax, eax
mov edx, 0x400
ret
xor eax, eax
mov edx, 0x800
ret
xor eax, eax
mov edx, 0x1000
ret
xor eax, eax
mov edx, 0x2000
ret
xor eax, eax
mov edx, 0x4000
ret
xor eax, eax
mov edx, 0x8000
ret
xor eax, eax
mov edx, 0x10000
ret
xor eax, eax
mov edx, 0x20000
ret
xor eax, eax
mov edx, 0x40000
ret
xor eax, eax
mov edx, 0x80000
ret
xor eax, eax
mov edx, 0x100000
ret
xor eax, eax
mov edx, 0x200000
ret
xor eax, eax
mov edx, 0x400000
ret
xor eax, eax
mov edx, 0x800000
ret
xor eax, eax
mov edx, 0x1000000
ret
xor eax, eax
mov edx, 0x2000000
ret
xor eax, eax
mov edx, 0x4000000
ret
xor eax, eax
mov edx, 0x8000000
ret
xor eax, eax
mov edx, 0x10000000
ret
xor eax, eax
mov edx, 0x20000000
ret
xor eax, eax
mov edx, 0x40000000
ret
xor eax, eax
mov edx, SysReAllocString
ret
xor eax, eax
xor edx, edx
ret
Function at 0x6c1868
Capabilities:
Terminate process

Disassembly:
jmp 0x6c1860
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, ecx
mov eax, dword [ebx + 4]
cmp eax, 9
jl 0x6c1878
cmp eax, 0xe
jle 0x6c1880
add eax, 0xfffffff1
cmp eax, 2
ja 0x6c1895
test ebx, ebx
je 0x6c1895
call fcn.00409a1b
test eax, eax
je 0x6c1895
push ebx
mov ecx, eax
call fcn.00412ae4
mov eax, dword [esi]
cmp dword [eax + 0x30], 0
je 0x6c18c5
cmp byte [eax + 0x34], 0
je 0x6c18b0
push ebx
call fcn.006c20f0
add esp, 4
test al, al
je 0x6c18c5
mov eax, dword [esi]
push ebx
mov ecx, dword [eax + 0x30]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
test al, al
jne 0x6c19b4
push ebx
call fcn.006c20f0
add esp, 4
test al, al
je 0x6c19b4
push ebp
push edi
call fcn.0040e79b
mov dword [esp + 0x14], eax
movzx eax, byte [ebx + 8]
push eax
mov dword [esp + 0x14], 0x956ba4
call fcn.00404c14
add esp, 4
mov ebp, eax
call fcn.0040e79b
mov edi, eax
test ebp, ebp
je 0x6c1913
mov esi, ebp
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x6c1908
sub esi, ecx
jmp 0x6c1915
xor esi, esi
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
sub eax, ecx
cmp esi, eax
jbe 0x6c192e
push esi
push ebp
mov ecx, edi
call fcn.0041214d
mov edi, eax
jmp 0x6c1940
test esi, esi
je 0x6c1940
push esi
push ebp
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add dword [edi + 0xc], esi
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
sub eax, ecx
cmp eax, 2
jae 0x6c195d
push 2
push 0x924068
mov ecx, edi
call fcn.0041214d
jmp 0x6c196a
mov ax, word [0x924068]
mov word [ecx], ax
add dword [edi + 0xc], 2
mov eax, dword [ebx]
lea ecx, [esp + 0x10]
push ecx
mov ecx, ebx
call dword [eax + 8]
call fcn.0040e79b
mov edx, eax
pop edi
pop ebp
mov ecx, dword [edx + 8]
mov esi, dword [edx + 0xc]
sub ecx, esi
cmp ecx, 1
jae 0x6c199c
push 1
push 0x92406c
mov ecx, edx
call fcn.0041214d
jmp 0x6c19a6
mov al, byte [0x92406c]
mov byte [esi], al
inc dword [edx + 0xc]
cmp byte [ebx + 8], 0
jne 0x6c19b4
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
pop esi
pop ebx
add esp, 8
ret 4
Function at 0x846ef0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x7c
mov eax, dword [0xa0b130]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
xor ebx, ebx
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ebx
mov esi, ecx
push eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], 0xf
call fcn.00409c69
mov ecx, eax
call fcn.00407ad6
mov ecx, esi
mov word [esp + 0x1c], 0x103
mov dword [esp + 0x14], str.expected_string_in_.include_directive
call fcn.00409c69
mov ecx, esi
cmp dword [eax], 3
lea eax, [esp + 0x14]
push eax
setne byte [esp + 0x10]
push dword [esp + 0x10]
call fcn.0040afa6
test al, al
jne 0x84702c
mov eax, dword [esi]
lea ecx, [esp + 0x50]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x58]
call eax
test al, al
jne 0x84702c
mov ecx, esi
mov word [esp + 0x28], 0x103
mov dword [esp + 0x20], str.unexpected_token_in_.include_directive
call fcn.00409c69
mov ecx, esi
cmp dword [eax], 9
lea eax, [esp + 0x20]
push eax
setne byte [esp + 0x10]
push dword [esp + 0x10]
call fcn.0040afa6
test al, al
jne 0x84702c
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x6c]
push str.Could_not_find_include_file_
push eax
call fcn.00406933
add esp, 0xc
mov ecx, eax
push 1
push 0x924774
call fcn.004070e5
mov ecx, esi
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x38], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x48], xmm0
mov dword [eax + 0x10], ebx
mov byte [eax], bl
mov ebx, 3
mov dword [eax + 0x14], 0xf
lea eax, [esp + 0x38]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x58]
mov word [esp + 0x3c], 0x104
push eax
call fcn.0083b8a0
movzx eax, al
mov ecx, esi
push eax
call fcn.00415aaa
mov byte [esp + 0xb], 0
test al, al
je 0x847031
mov byte [esp + 0xb], 1
test bl, 2
je 0x847080
mov edx, dword [esp + 0x4c]
and ebx, 0xfffffffd
cmp edx, 0x10
jb 0x84706b
mov ecx, dword [esp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x847061
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x8470ad
push edx
push ecx
call fcn.004036ca
add esp, 8
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0xf
mov byte [esp + 0x38], 0
test bl, 1
je 0x8470bd
mov edx, dword [esp + 0x7c]
cmp edx, 0x10
jb 0x8470bd
mov ecx, dword [esp + 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x8470b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x8470b3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004036ca
add esp, 8
mov edx, dword [esp + 0x64]
cmp edx, 0x10
jb 0x8470f5
mov ecx, dword [esp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x8470eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x8470eb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004036ca
add esp, 8
mov ecx, dword [esp + 0x80]
mov al, byte [esp + 0xb]
pop esi
pop ebx
xor ecx, esp
call fcn.004087b5
add esp, 0x7c
ret
Function at 0x8b3170
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xac
mov eax, dword [0xa0b130]
xor eax, esp
mov dword [esp + 0xa8], eax
mov ecx, dword [esp + 0xb4]
xor eax, eax
mov edx, dword [esp + 0xb0]
xorps xmm0, xmm0
mov word [esp + 0xa], ax
mov dword [esp + 0xe], eax
movlpd qword [esp + 0x28], xmm0
push ebx
push esi
push edi
movups xmmword [esp + 0x20], xmm0
cmp ecx, 4
jb 0x8b31b7
movzx eax, word [edx + 2]
add ecx, 0xfffffffc
mov word [esp + 0x14], ax
push ecx
lea eax, [edx + 4]
push eax
lea ecx, [esp + 0x44]
call fcn.00407784
lea eax, [esp + 0xbc]
push eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x74]
call fcn.0040e55c
mov esi, dword [esp + 0xc]
test esi, esi
je 0x8b323f
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x88]
mov dword [esp + 0xc], 0
cmp eax, ecx
je 0x8b320c
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov edi, dword [esp + 0x54]
mov dword [esp + 0x4c], 0x937f60
test edi, edi
je 0x8b3291
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x8b3291
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x8b3291
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
jmp 0x8b3291
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x78]
call fcn.00404223
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x8b3280
lea eax, [esp + 0xbc]
push eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x74]
call fcn.00404bc9
mov esi, dword [esp + 0xc]
test esi, esi
je 0x8b32c6
lea ecx, [esp + 0x3c]
mov dword [esp + 0xc], 0
call fcn.004079e6
test esi, esi
je 0x8b32cf
lea eax, [esp + 0x13]
mov byte [esp + 0x13], 0
push eax
push ecx
mov eax, esp
mov dword [eax], esi
call fcn.0040fe9d
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.004087b5
add esp, 0xac
ret
lea ecx, [esp + 0x3c]
call fcn.004079e6
mov ecx, dword [esp + 0xb4]
mov ax, word [esp + 0x18]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004087b5
add esp, 0xac
ret
Function at 0x4bf030
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5800ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00574772
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4bf0b2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.005723fd
mov eax, dword [eax]
push 0x656250
push eax
call fcn.00563374
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.005749fd
test bl, bl
je 0x4bf0b2
push 0x656250
lea ecx, [esp + 0xc]
call fcn.00574d8d
push 0x659dc8
lea ecx, [esp + 0xc]
call fcn.00574d8d
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4bf0ee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.005749fd
jmp 0x4bf1b9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4bf172
lea edx, [esp + 0x7c]
push 0x659dc4
push edx
call fcn.00563374
add esp, 8
test eax, eax
je 0x4bf172
lea eax, [esp + 0x7c]
push 0x659dc0
push eax
call fcn.00563374
add esp, 8
test eax, eax
je 0x4bf172
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4bf102
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.005749fd
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x4bf9b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4bfa12
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x4bfa20
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x58012b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x667090]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x4bfb58
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4bfa86
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.005749fd
xor eax, eax
jmp 0x4bfbcf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00574b3a
push esi
lea ecx, [esp + 0xc]
call fcn.00574dc9
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x659e00
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4bfbad
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.004bf9b0
test eax, eax
jne 0x4bfbad
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.004bf9b0
test eax, eax
jne 0x4bfbad
lea eax, [esp + 0x14]
push 0x659ddc
push eax
call fcn.00564470
mov esi, eax
add esp, 8
test esi, esi
jne 0x4bfb8c
lea ecx, [esp + 0x14]
push 0x659dd8
push ecx
call fcn.005643f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4bfb8c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4bfb8f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00574aea
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4bfa9e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.005749fd
xor eax, eax
jmp 0x4bfbcf
mov byte [esi], 0
push 0x659dd4
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.005749fd
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4