joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10027a13
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10027b32
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x10027a8b
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0xfffffffd
jg 0x10027a76
mov dword [ebp - 0x10], 1
jmp 0x10027a7a
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x10]
je 0x10027a8b
push 0xfffffffffffffff8
pop eax
test eax, eax
je 0x10027a9c
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x10027a9c
mov dword [ebp - 0x14], 1
jmp 0x10027aa0
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
neg eax
mov ecx, dword [ebp - 8]
cmp eax, dword [ecx]
jg 0x10027ab5
mov dword [ebp - 0x34], 1
jmp 0x10027ab9
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
cmp dword [eax], ecx
je 0x10027ad6
mov dword [ebp - 0x18], 1
jmp 0x10027ada
and dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0x13e19f23
jge 0x10027aec
mov dword [ebp - 0xc], 1
jmp 0x10027af0
and dword [ebp - 0xc], 0
push 2
mov ecx, dword [ebp - 0x3c]
call fcn.1001587a
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
cmp dword [ebp - 0xc], 0xffffffff
jge 0x10027b0e
mov dword [ebp - 0x1c], 1
jmp 0x10027b12
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 0x716b5b38
jge 0x10027b24
mov dword [ebp - 0x20], 1
jmp 0x10027b28
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
jmp 0x10027b46
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10027b46
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov esp, ebp
pop ebp
ret
Function at 0x1002b8eb
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp + 8]
push eax
push 0x6400
call fcn.1002ac8c
add esp, 0x10
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1002b920
xor eax, eax
jmp 0x1002ba6c
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1002b93e
xor eax, eax
jmp 0x1002ba6c
lea eax, [ebp - 0xc]
push eax
push 0x1499
push 0x728b
push 1
lea eax, [ebp - 8]
push eax
push 0x4b5d
push 0x3417
call fcn.1002acd4
add esp, 0x1c
cmp dword [ebp - 0xc], 0
jne 0x1002b971
xor eax, eax
jmp 0x1002ba6c
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x68db
lea eax, [ebp - 4]
push eax
push 1
push 0x452
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x766a
call fcn.1002b442
add esp, 0x24
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
push 1
push 0x1bad
call fcn.1002b794
add esp, 0x14
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x1c], ecx
push 1
push 0x6396
lea eax, [ebp - 4]
push eax
push 0x3709
lea eax, [ebp - 0x1c]
push eax
call fcn.1002b7fa
add esp, 0x14
push dword [ebp - 4]
call fcn.10029f32
pop ecx
test eax, eax
jne 0x1002b9f2
xor eax, eax
jmp 0x1002ba6c
push 0x6327
push 0
push dword [ebp - 4]
call fcn.10024e06
add esp, 0xc
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1002ba54
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x14], ecx
jne 0x1002ba23
xor eax, eax
jmp 0x1002ba6c
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1002ba3c
xor eax, eax
jmp 0x1002ba6c
lea eax, [ebp - 4]
push eax
push 0x757c
push 0x35c7
push 1
call fcn.1002b874
add esp, 0x10
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1002ba65
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
jmp 0x1002ba69
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x10046fb4
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, 0xbb743d83
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
push ebx
mov dword [ebp - 0x28], eax
xor ebx, ebx
push esi
mov dword [ebp - 0x24], eax
mov esi, ecx
mov dword [ebp - 8], ebx
jmp 0x10046fe4
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x40], 1
inc dword [ebp - 8]
cmp dword [ebp - 8], 4
jl 0x10046fd6
push edi
push 3
pop edi
mov dword [ebp - 0x28], edi
cmp dword [ebp - 0x28], ebx
jl 0x10047062
mov dword [ebp - 0xc], 0xffffffff
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x10047014
push ebx
push ebx
push 0x9bc
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xc], ebx
jmp 0x10047058
mov dword [ebp - 8], 0x79c4185a
mov dword [ebp - 8], ebx
jmp 0x10047050
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x1004703e
push 0x179
push 0x10e4
push ebx
call dword [sym.imp.USER32.dll_RemoveMenu]
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x1004704d
push ebx
call dword [sym.imp.USER32.dll_DestroyAcceleratorTable]
inc dword [ebp - 8]
cmp dword [ebp - 8], edi
jle 0x10047025
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], edi
jle 0x10047019
dec dword [ebp - 0x28]
jns 0x10046ff6
mov eax, dword [ebp - 0x28]
push 1
push 0x4f88
push 0x6635
push 0x5722
mov dword [ebp - 0x28], eax
push esi
call fcn.10040fc3
xor ecx, ecx
add esp, 0x14
inc ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0xd3f46721
mov dword [ebp - 0xc], ebx
jmp 0x100470a9
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x14], 0x91e29ea4
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], ecx
jl 0x1004709b
inc dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x100470d2
push 0x1991
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push esi
call fcn.1002b8eb
mov dword [ebp - 8], 0x1ad386cc
mov esi, eax
mov dword [ebp - 0x10], 0xc5416513
mov dword [ebp - 0x10], 0xa0d72276
pop ecx
mov dword [ebp - 0xc], ebx
jmp 0x100470ff
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x20], edi
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], edi
jl 0x100470f5
dec dword [ebp - 8]
pop edi
je 0x10047113
mov dword [ebp - 0x10], 1
jmp 0x10047130
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x10047130
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetBkColor]
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1004f510
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 5]
and ecx, 0xf
movzx edx, byte [0x10664d6e]
or ecx, edx
mov byte [ebp - 1], cl
movzx ax, byte [ebp - 1]
movzx ecx, ax
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 4]
push ecx
push 0x10664df0
call fcn.1004cc50
add esp, 8
mov esp, ebp
pop ebp
ret 4

Function at 0x10055310
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10079330]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x20], ax
xor ecx, ecx
mov word [ebp - 0x1e], cx
cmp dword [ebp + 8], 0xffffffff
jne 0x10055334
jmp 0x100553a3
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x10055348
jmp 0x100553a3
movsx ecx, word [ebp - 0x1c]
movsx edx, word [ebp - 0x1a]
imul ecx, edx
mov dword [ebp - 0x24], ecx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
push 0x20
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
test eax, eax
jne 0x10055374
jmp 0x100553a3
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
movzx ecx, word [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputAttribute]
test eax, eax
jne 0x10055395
jmp 0x100553a3
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call main
mov esp, ebp
pop ebp
ret
Function at 0x100703a0
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10079330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1005fd35
mov dword [ebp - 0x14], eax
cmp dword [0x10665e88], esi
jne 0x10070493
push 0x800
push esi
push 0x10009038
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10070420
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10070573
push esi
push esi
push 0x10009038
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10070573
push 0x10009050
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10070573
push eax
call ebx
push 0x1000905c
push edi
mov dword [0x10665e88], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x1000906c
push edi
mov dword [0x10665e8c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10009080
push edi
mov dword [0x10665e90], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10665e98], eax
test eax, eax
je 0x10070490
push 0x1000909c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10665e94], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x100704b8
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100704ab
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x100704cd
push 4
pop eax
jmp 0x10070575
cmp dword [ebp - 0x14], esi
je 0x100704cd
push dword [0x10665e88]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x100704b2
mov eax, dword [0x10665e94]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1007052b
cmp dword [0x10665e98], edi
je 0x1007052b
push eax
call ebx
push dword [0x10665e98]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1007052b
test eax, eax
je 0x1007052b
call ecx
test eax, eax
je 0x10070520
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x10070520
test byte [ebp - 8], 1
jne 0x1007052b
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1007055b
mov eax, dword [0x10665e8c]
cmp eax, edi
je 0x10070558
push eax
call ebx
test eax, eax
je 0x10070558
call eax
mov esi, eax
test esi, esi
je 0x10070558
mov eax, dword [0x10665e90]
cmp eax, edi
je 0x10070558
push eax
call ebx
test eax, eax
je 0x10070558
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x10665e88]
call ebx
test eax, eax
je 0x10070573
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x10070575
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..rsrc
mov ebx, 0x40915c
nop
mov ecx, 0x38b96a6e
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x431024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
mov ecx, 0x1c58024f
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x430002
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x652586f1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add esp, 0xc
mov dword [ebp - 0x730], eax
and dword [ebp - 0x6fc], 0
push 1
pop eax
test eax, eax
je 0x65258e05
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
invalid
invalid

Function at 0x6525eb88
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
mov dword [esp + 0xc], 0
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dbg.lseek64
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
xor eax, 0xffffffff
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xc]
xor eax, 0xffffffff
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov eax, ecx
or eax, edx
test eax, eax
jne 0x6525ebea
mov eax, 0xffffffff
jmp 0x6525ec54
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._read
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x6525ec13
mov eax, 0xffffffff
jmp 0x6525ec54
mov dword [esp + 0xc], 0
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dbg.lseek64
mov ecx, eax
xor ecx, 0xffffffff
mov esi, ecx
mov eax, edx
xor eax, 0xffffffff
mov edi, eax
mov eax, edi
or eax, esi
test eax, eax
jne 0x6525ec51
mov eax, 0xffffffff
jmp 0x6525ec54
mov eax, dword [ebp - 0x14]
add esp, 0x30
pop esi
pop edi
pop ebp
ret

Function at 0x6525f790
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call dbg.__acrt_iob_func
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov dword [esp], 2
call dbg.__acrt_iob_func
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._vfprintf
call sym._abort
lea esi, [esi]
Function at 0x6525f7f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x6526e398]
test esi, esi
jle 0x6525f8f0
mov eax, dword [0x6526e39c]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x6525f820
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x6525f89f
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x6525f810
mov dword [esp], ebx
call dbg.__mingw_GetSectionForAddress
mov edi, eax
test eax, eax
je 0x6525f917
mov eax, dword [0x6526e39c]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call dbg._GetPEImageBase
mov edx, dword [0x6526e39c]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x6525f8f7
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x6525f898
sub eax, 4
and eax, 0xfffffffb
jne 0x6525f8a6
add dword [0x6526e398], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
add ebx, dword [0x6526e39c]
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x40
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x6525f898
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call dbg.__report_error
xor esi, esi
jmp 0x6525f82a
mov eax, dword [0x6526e39c]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call dbg.__report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call dbg.__report_error
lea esi, [esi]
nop
Function at 0x419ef0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x6f70ab
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.006ebe8a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x419f72
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.006e9d9c
mov eax, dword [eax]
push 0x7f4c58
push eax
call fcn.006dbfe4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.006ec115
test bl, bl
je 0x419f72
push 0x7f4c58
lea ecx, [esp + 0xc]
call fcn.006ec4a5
push 0x7f4c64
lea ecx, [esp + 0xc]
call fcn.006ec4a5
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 0x419fae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.006ec115
jmp 0x41a079
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA_1]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x41a032
lea edx, [esp + 0x7c]
push 0x7f4c60
push edx
call fcn.006dbfe4
add esp, 8
test eax, eax
je 0x41a032
lea eax, [esp + 0x7c]
push 0x7f4c5c
push eax
call fcn.006dbfe4
add esp, 8
test eax, eax
je 0x41a032
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 0x419fc2
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.006ec115
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 0x41a870
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 0x41a8d2
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 0x41a8e0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x6f712b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x851038]
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 0x41aa18
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41a946
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.006ec115
xor eax, eax
jmp 0x41aa8f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.006ec252
push esi
lea ecx, [esp + 0xc]
call fcn.006ec4e1
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x7f4c98
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA_1]
mov esi, eax
cmp esi, 0x20
ja 0x41aa6d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.0041a870
test eax, eax
jne 0x41aa6d
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 SysReAllocString
mov ecx, edi
call fcn.0041a870
test eax, eax
jne 0x41aa6d
lea eax, [esp + 0x14]
push 0x7f4c74
push eax
call fcn.006dd130
mov esi, eax
add esp, 8
test esi, esi
jne 0x41aa4c
lea ecx, [esp + 0x14]
push 0x7f4c70
push ecx
call fcn.006dd0b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41aa4c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41aa4f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.006ec202
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41a95e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.006ec115
xor eax, eax
jmp 0x41aa8f
mov byte [esi], 0
push 0x7f4c6c
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.006ec115
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