joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46bdd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bc780
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0046b980
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0046ba00
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0046ba00
lea ecx, [esi + 0xc]
call fcn.004aca7f
lea ecx, [esi + 0x10]
call fcn.004aca7f
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0046e230
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0046e230
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0046e230
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004acaf4
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004acaf4
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x46ca78
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4bc9a8
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x46ca88
call fcn.0046cfa0
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x46cb6b
cmp byte [edi], 0
je 0x46cb6b
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x46caad
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.0046b7a0
test eax, eax
jne 0x46cacd
push 0x4ff684
lea ecx, [esi + 0x38]
call fcn.004acc31
jmp 0x46cb6b
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.0046b7f0
test eax, eax
jne 0x46cafc
mov ecx, esi
call fcn.0046b8f0
push edi
add esi, 0x38
push 0x4ff660
push esi
call fcn.004aa2bf
add esp, 0xc
jmp 0x46cb6b
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.0046d820
test eax, eax
je 0x46cb64
lea ecx, [esp + 8]
push 0x64
push ecx
call sub.WS2_32.dll_gethostname
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], 1
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0046cc40
test eax, eax
jne 0x46cb80
push edi
lea eax, [esi + 0x38]
push 0x4ff63c
push eax
call fcn.004aa2bf
add esp, 0xc
mov ecx, esi
call fcn.0046cfa0
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x46cc28
mov ecx, dword [0x5062cc]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 8]
lea eax, [esp + 0x7c]
push edx
push str.HELO__s_r_n
push eax
mov dword [esp + 0x80], 0
call fcn.004aa2bf
mov edx, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.0046b8a0
test eax, eax
jne 0x46cbea
push 0x4ff620
lea ecx, [esi + 0x38]
call fcn.004acc31
jmp 0x46cbfa
push 0xfa
mov ecx, esi
call fcn.0046d820
test eax, eax
jne 0x46cc17
mov ecx, esi
call fcn.0046cfa0
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.004acaf4
jmp 0x46cb6b
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.004acaf4
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x46f2e0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x46f383
test eax, eax
jbe 0x46f383
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x46f383
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x46f32e
xor esi, esi
jmp 0x46f334
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x46f35f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00413d00
add esi, eax
push esi
mov ebx, esi
call fcn.00413d00
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x46f340
pop ebp
test edi, edi
pop edi
jne 0x46f383
test ebx, ebx
je 0x46f383
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0048a3f0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x46f4c5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x46f5dd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46f5dd
mov eax, dword [esi + 0x3c]
push eax
call fcn.004ae4f4
mov esi, eax
test esi, esi
je 0x46f5dd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x46f5dd
mov ecx, esi
call fcn.0046f430
cmp edi, eax
jge 0x46f5dd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x46f563
mov dword [esp + 0x34], 1
jmp 0x46f5be
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x46f5dd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0046e950
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x476960
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4bd108
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.00476d50
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0x53c024
call fcn.0048b486
mov ecx, dword [0x4e1d88]
mov al, byte [esi]
push ecx
push ebx
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
mov byte [esp + 0x30], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.00474080
mov esi, 0x4e1de0
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x476a07
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4769fe
cmp al, 0xff
je 0x4769fe
dec al
mov byte [ecx], al
jmp 0x476a07
push ecx
call fcn.004ac85e
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.004a8410
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0x18], esi
je 0x476a4d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x476a44
cmp al, 0xff
je 0x476a44
dec al
mov byte [ecx], al
jmp 0x476a4d
push ecx
call fcn.004ac85e
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.0048b50d
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x47d7bd
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4bd508
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x28]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edx, dword [esi + 0x40]
test edx, edx
setne bl
inc ebx
test eax, eax
je 0x47d7d3
or bh, 0x80
lea ecx, [esp + 0xc]
call fcn.00482b80
mov edx, dword [esp + 0x30]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x28], 0
push ecx
push edx
lea ecx, [esp + 0x14]
call fcn.00482ef0
lea eax, [esp + 0xc]
push ebx
push eax
mov ecx, esi
call fcn.0047d840
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x4e21f8
call fcn.00482d80
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x4826b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x4826fc
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x4826fc
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x4826e6
push eax
call ebp
test ax, ax
jl 0x4826f4
inc esi
add edi, 4
cmp esi, 6
jb 0x4826d8
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.004823b0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4864f0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x486550
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x486550
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x486550
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x486550
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x486560
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x4a2a50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4be940
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.00497b1b
mov eax, dword [0x4e6418]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.00497a4d
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.004a3560
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x4a2af7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4a2aee
cmp al, 0xff
je 0x4a2aee
dec al
mov byte [ecx], al
jmp 0x4a2af7
push ecx
call fcn.004ac85e
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x4a2b28
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4a2b1f
cmp al, 0xff
je 0x4a2b1f
dec al
mov byte [ecx], al
jmp 0x4a2b28
push ecx
call fcn.004ac85e
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x4aee98
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4aeed0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004acf4f
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004acf27
jmp 0x4aeedc
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4b0589
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4b05cb
call fcn.004b656f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4b05cb
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4b05c2
xor eax, eax
jmp 0x4b05d3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004b05d9
pop edi
pop esi
pop ebx
ret 4

Function at 0x4b6a9f
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4b6acd
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b6aeb
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004b6a05
jmp 0x4b6aeb
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b6aeb
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004b6a05
test edi, edi
mov eax, edi
jne 0x4b6ad5
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x408df0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x408015
lea edi, [esi - 0x7015]
push edi
jmp 0x408e0a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x408e11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x408e00
mov eax, 1
add ebx, ebx
jne 0x408e23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x408e18
jne 0x408e34
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x408e18
xor ecx, ecx
sub eax, 3
jb 0x408e48
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408eba
mov ebp, eax
add ebx, ebx
jne 0x408e53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x408e60
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x408e84
inc ecx
add ebx, ebx
jne 0x408e70
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x408e65
jne 0x408e81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x408e65
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x408ea4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x408e95
jmp 0x408e06
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x408ea4
add edi, ecx
jmp 0x408e06
pop esi
mov edi, esi
mov ecx, 0x73
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x408ec2
cmp byte [edi], 1
jne 0x408ec2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x408ec7
lea edi, [esi + 0x6000]
mov eax, dword [edi]
or eax, eax
je 0x408f36
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8080]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x408ef4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8088]
or eax, eax
je 0x408f30
mov dword [ebx], eax
add ebx, 4
jmp 0x408f11
call dword [esi + 0x8084]
mov ebp, dword [esi + 0x808c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x408f6a
sub esp, 0xffffff80
jmp 0x401240

Function at 0x401100
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x405044], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push 0x405228
push 0x405290
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40114b
xor eax, eax
jmp 0x401166
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x667e5729
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x4b4d5845
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x403da6
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00403f56
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x403ea4
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x403e47
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x403e8a
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x403e5e
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x403e79
test al, 0x40
je 0x403e70
mov ecx, dword [edi + 0x20]
jmp 0x403e77
test al, 0x80
je 0x403e8a
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x403e8a
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x403e16
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x435fb0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x50774b
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.004fb09f
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x436032
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004f859d
mov eax, dword [eax]
push 0x5b32a0
push eax
call fcn.004d76a4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004fb32a
test bl, bl
je 0x436032
push 0x5b32a0
lea ecx, [esp + 0xc]
call fcn.004fb6ba
push 0x5b6f64
lea ecx, [esp + 0xc]
call fcn.004fb6ba
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [fcn.0050e3a4]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x43606e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004fb32a
jmp 0x436139
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [fcn.0050e6b8]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4360f2
lea edx, [esp + 0x7c]
push 0x5b6f60
push edx
call fcn.004d76a4
add esp, 8
test eax, eax
je 0x4360f2
lea eax, [esp + 0x7c]
push 0x5b6f5c
push eax
call fcn.004d76a4
add esp, 8
test eax, eax
je 0x4360f2
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 [0x50e350]
test eax, eax
jne 0x436082
mov eax, dword [esp + 0x14]
push eax
call dword [fcn.0050e3a8]
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.004fb32a
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 0x437390
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 [fcn.0050e00c]
mov esi, eax
test esi, esi
jne 0x4373f2
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 [fcn.0050e004]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [fcn.0050e34c]
mov edx, dword [esp + 4]
push edx
call dword [fcn.0050e010]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x437400
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5078ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5ccd08]
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 0x437538
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x437466
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004fb32a
xor eax, eax
jmp 0x4375af
push 0x5b6fa4
lea ecx, [esp + 0xc]
call fcn.004fb467
push esi
lea ecx, [esp + 0xc]
call fcn.004fb6f6
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x5b6f9c
push 0
call dword [0x50e478]
mov esi, eax
cmp esi, 0x20
ja 0x43758d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x5b6f94
push closesocket
call fcn.00437390
test eax, eax
jne 0x43758d
mov ebx, dword [fcn.0050e344]
lea eax, [esp + 0x14]
push 0x5b6f80
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00437390
test eax, eax
jne 0x43758d
lea eax, [esp + 0x14]
push 0x5b6f78
push eax
call fcn.004d8880
mov esi, eax
add esp, 8
test esi, esi
jne 0x43756c
lea ecx, [esp + 0x14]
push 0x5b6f74
push ecx
call fcn.004d8800
mov esi, eax
add esp, 8
test esi, esi
jne 0x43756c
lea edx, [esp + 0x14]
push edx
call dword [fcn.0050e378]
lea esi, [esp + eax + 0x13]
jmp 0x43756f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004fb417
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x43747e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004fb32a
xor eax, eax
jmp 0x4375af
mov byte [esi], 0
push 0x5b6f70
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 [0x50e348]
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.004fb32a
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