joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002099
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
xor edi, edi
cmp eax, dword [0x100515c]
mov dword [ebp - 4], edi
jne 0x10020bc
pop edi
pop esi
pop ebx
leave
ret 0xc
mov esi, dword [ebp + 8]
cmp eax, edi
mov dword [ebp - 0x8c], 0x8064
mov dword [ebp - 0x9c], 0x98
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x94], 0xdf
mov dword [ebp - 0x90], 7
je 0x1002f2b
mov eax, dword [0x1005158]
cmp eax, edi
je 0x10020b5
mov ebx, dword [eax]
push edi
push edi
call dword [0x10010b0]
cmp eax, ebx
jne 0x1002f5d
mov dword [ebp + 8], edi
cmp ebx, edi
mov edi, dword [0x10011d4]
jle 0x1002f82
push dword [ebp + 8]
push dword [0x1005158]
call edi
mov esi, eax
mov eax, dword [ebp + 0xc]
cmp dword [esi], eax
jne 0x1002f71
mov dword [ebp - 4], 1
xor ebx, ebx
cmp dword [ebp - 4], ebx
je 0x1002f8a
cmp esi, ebx
je 0x10020b5
push ebx
push dword [esi + 4]
push dword [0x1005188]
call dword [0x10011d0]
mov dword [ebp - 0x88], eax
lea eax, [esi + 0x14]
push 0x40
push eax
lea eax, [ebp - 0x84]
push eax
call dword [0x100103c]
mov eax, dword [esi]
mov dword [0x100515c], eax
lea eax, [ebp - 0x9c]
push eax
push dword [ebp + 0x10]
call dword [0x1001244]
push dword [ebp - 0x88]
call dword [0x10010b4]
jmp 0x10020b5
cmp dword [ebp + 0x10], 2
jne 0x10020f5
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x88], edi
push eax
push 2
mov word [ebp - 0x84], di
call dword [0x1001244]
sub dword [0x100515c], 4
jmp 0x10020b5
push 2
push esi
call fcn.010021d8
mov eax, dword [0x1005158]
mov ebx, dword [eax]
jmp 0x1002110
inc dword [ebp + 8]
cmp dword [ebp + 8], ebx
jl 0x1002121
jmp 0x1002140
mov esi, dword [ebp + 0xc]
jmp 0x1002140
push ebx
push dword [0x1005158]
call edi
mov esi, eax
jmp 0x100214b
Function at 0x1002680
Capabilities:
Get keyboard layout

Disassembly:
push esi
xor esi, esi
cmp dword [0x10051c0], esi
jne 0x1002f9a
cmp dword [esp + 0xc], esi
je 0x1002fc5
pop esi
ret 8
cmp dword [esp + 0xc], 2
jne 0x1002fb3
push 2
push esi
push dword [esp + 0x10]
call fcn.01002099
mov dword [0x10051c0], esi
cmp dword [0x10051c0], 2
jne 0x1002699
jmp 0x100268f
push esi
call dword [0x10010ac]
push esi
push eax
push dword [esp + 0x10]
lea ecx, [eax - 4]
mov dword [0x100515c], ecx
call fcn.01002099
mov dword [0x10051c0], 1
jmp 0x1002699

Function at 0x100333d
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
cmp dword [esi + 4], edi
jne 0x10033a6
push edi
push edi
call dword [0x10010b0]
mov eax, dword [esi + 8]
sub eax, 0x12c
push eax
push dword [0x1005158]
call dword [0x10011d4]
mov esi, eax
cmp esi, edi
je 0x10033a6
lea ecx, [ebp - 0x208]
mov eax, 0x1f4
push edi
push ecx
push eax
push 0x29
mov dword [ebp - 0x208], eax
call dword [0x10010dc]
lea eax, [ebp - 0x128]
push eax
call dword [0x10011a8]
cmp eax, edi
mov dword [ebp - 8], eax
jne 0x10033af
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
push dword [ebp + 8]
call dword [0x10010d8]
push dword [ebp - 8]
mov edi, dword [0x100118c]
mov dword [ebp - 4], eax
push eax
call edi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
add esi, 0x14
push eax
push esi
call dword [section..text]
push eax
push esi
push dword [ebp - 4]
call dword [0x10011a0]
mov esi, dword [0x10010d4]
push 0x47
call esi
push 0x32
lea ebx, [eax + eax*2]
call esi
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0xc]
add ecx, ebx
mov ebx, dword [ebp + 0xc]
push dword [ebp - 4]
add eax, ecx
mov dword [ebx + 0xc], eax
call edi
push dword [ebp - 4]
push dword [ebp + 8]
call dword [0x10010c8]
push dword [ebp - 8]
call dword [0x1001174]
push 0x32
call esi
cmp dword [ebp - 0x10], eax
jle 0x1003438
mov eax, dword [ebp - 0x10]
add eax, 2
push 1
mov dword [ebx + 0x10], eax
pop eax
jmp 0x10033a8
push 0x32
call esi
jmp 0x100342a
Function at 0x1003630
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
push ebx
push esi
lea eax, [ebp - 0x18]
push edi
xor ebx, ebx
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], 0x12c
mov dword [ebp - 0x14], ebx
call dword [0x1001120]
mov dword [0x100527c], 1
call dword [fcn.01001124]
mov dword [ebp - 4], eax
mov eax, dword [0x1005158]
push ebx
push ebx
mov esi, dword [eax]
call dword [0x10010b0]
cmp eax, esi
je 0x100368c
push 2
push dword [ebp + 8]
call fcn.010021d8
mov eax, dword [0x1005158]
mov esi, dword [eax]
cmp esi, 0xffffffff
jne 0x100369e
mov dword [0x100527c], ebx
pop edi
pop esi
pop ebx
leave
ret 8
cmp esi, ebx
jle 0x1003711
mov dword [ebp - 8], ebx
mov eax, dword [0x1005158]
mov ecx, dword [ebp - 8]
push 0x40
mov eax, dword [eax + 4]
mov edi, dword [eax + ecx]
lea eax, [edi + 0x14]
push eax
lea eax, [ebp - 0xcc]
push eax
call dword [0x100103c]
mov eax, dword [edi]
cmp eax, dword [0x100515c]
jne 0x10036d7
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0xcc]
push eax
push dword [ebp - 0xc]
push 0x500
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [fcn.01001128]
cmp dword [ebp - 0x10], ebx
je 0x1003707
push 8
push dword [ebp - 0xc]
push dword [ebp - 4]
call dword [0x100112c]
mov dword [ebp - 0x10], ebx
inc dword [ebp - 0xc]
add dword [ebp - 8], 4
dec esi
jne 0x10036a5
push dword [ebp + 8]
call dword [fcn.0100114c]
lea eax, [ebp - 0x28]
push eax
push dword [0x100506c]
call dword [fcn.01001164]
lea eax, [ebp - 0x28]
push 2
push eax
push ebx
push dword [0x100506c]
call dword [fcn.01001088]
mov eax, dword [0x10051dc]
cmp eax, ebx
je 0x1003754
test byte [ebp - 0x18], 1
mov ecx, dword [ebp - 0x28]
je 0x1003757
cmp eax, 2
je 0x1003757
mov ecx, dword [ebp - 0x20]
push ebx
push dword [ebp + 8]
push dword [ebp - 0x24]
push ecx
push 0x140
push dword [ebp - 4]
call dword [fcn.0100108c]
mov esi, eax
mov dword [0x100527c], ebx
call fcn.01001e8f
test esi, esi
mov ebx, eax
je 0x1003697
cmp esi, 0xffffffff
je 0x1003697
mov eax, dword [0x1005158]
test ebx, ebx
mov eax, dword [eax + 4]
mov edi, dword [eax + esi*4 - 0x4b0]
jne 0x10037ad
push 0x30
call dword [0x10010c0]
jmp 0x1003697
push ebx
call fcn.0100426e
mov esi, dword [fcn.010010b8]
push 0
push eax
mov dword [ebp - 4], eax
call esi
push 0
push ebx
mov dword [ebp - 8], eax
call esi
cmp dword [ebp - 8], eax
je 0x10037d1
mov dword [ebp - 4], ebx
push dword [ebp - 4]
call dword [fcn.01001090]
mov esi, eax
lea eax, [ebp - 0x4c]
push 0x22
push eax
movzx eax, word [edi]
push 0x58
push eax
call dword [0x1001040]
test eax, eax
je 0x1003803
mov eax, dword [0x1005064]
test dword [ebp - 0x34], eax
je 0x1003803
mov dword [ebp - 0x14], 1
push esi
call dword [fcn.0100114c]
push dword [edi]
push dword [ebp - 0x14]
push 0x50
push ebx
call dword [0x1001114]
push dword [ebp + 8]
call fcn.010017bf
jmp 0x1003697
Function at 0x1003b04
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
lea eax, [ebp - 4]
push eax
call fcn.01001e75
test eax, eax
je 0x1003cba
cmp dword [ebp - 4], 0
je 0x1003cba
push edi
push esi
push ebx
push 0
push dword [ebp - 4]
call dword [fcn.010010b8]
push eax
call dword [0x10010ac]
push 1
mov edi, eax
pop esi
push esi
push dword [ebp - 4]
call fcn.0100412c
call dword [fcn.01001124]
push esi
push edi
mov ebx, eax
call fcn.01003aa6
mov edi, eax
push edi
push esi
push ebx
call fcn.010040ea
test edi, edi
jne 0x1003bf1
mov edi, dword [0x10010fc]
lea eax, [ebp - 0x98]
push 0x40
push eax
push 0x132
push dword [0x1005018]
call edi
push 0
mov esi, 0x400
push dword [ebp - 4]
call fcn.010041e5
test eax, eax
jne 0x1003b9c
inc esi
lea eax, [ebp - 0x98]
push eax
push 0xfe
push esi
mov esi, dword [fcn.01001128]
push 0xffffffffffffffff
push ebx
call esi
push 0
push 0
push 0xc00
push 0xffffffffffffffff
push ebx
call esi
lea eax, [ebp - 0x98]
push 0x40
push eax
push 0x131
push dword [0x1005018]
call edi
lea eax, [ebp - 0x98]
push eax
push 0xfc
push 0x400
push 0xffffffffffffffff
push ebx
call esi
push 1
pop esi
lea eax, [ebp - 0x14]
push eax
push dword [0x100506c]
call dword [fcn.01001164]
lea eax, [ebp - 0x14]
push 2
push eax
push 0
push dword [0x100506c]
call dword [fcn.01001088]
push dword [ebp + 8]
mov dword [ebp - 0x18], 0x14
mov dword [0x100527c], esi
call dword [0x1001158]
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0x160
push ebx
call dword [fcn.0100108c]
push ebx
mov edi, eax
call dword [0x100107c]
and dword [0x100527c], 0
test edi, edi
je 0x1003cb2
cmp edi, 0xffffffff
je 0x1003cb2
mov eax, edi
sub eax, 0xfc
je 0x1003cc9
dec eax
dec eax
je 0x1003cbe
cmp edi, 0x3e8
jl 0x1003cb2
push edi
call fcn.0100413d
push dword [ebp - 4]
mov edi, eax
call fcn.010042cd
push dword [ebp - 4]
mov esi, eax
push dword [ebp + 8]
call fcn.01003a83
push edi
call dword [0x1005054]
push esi
call dword [fcn.01001150]
test eax, eax
je 0x1003cb2
push dword [ebp - 4]
push 0x1d
push 0x287
push esi
call dword [fcn.01001154]
call fcn.01004120
pop ebx
pop esi
pop edi
leave
ret 4
push esi
push dword [ebp - 4]
call fcn.010041e5
jmp 0x1003cb2
push dword [ebp - 4]
call fcn.010021a4
mov ecx, eax
shr ecx, 0x10
and cx, 0xf000
cmp cx, 0xe000
jne 0x1003cb2
push eax
push dword [ebp - 4]
call fcn.01004233
jmp 0x1003cb2

Function at 0x1003fcc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push 1
pop ebx
lea eax, [ebp - 4]
push eax
push 0x1002780
push 0x80000001
call dword [fcn.0100121c]
test eax, eax
jne 0x1004035
push edi
push 8
pop ecx
lea edi, [ebp - 0x28]
rep stosd dword es:[edi], eax
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x20
push eax
lea eax, [ebp - 0x28]
push eax
push 0
push 0
push 0x10027b8
push dword [ebp - 4]
call dword [fcn.01001230]
test eax, eax
jne 0x100402b
cmp word [ebp - 0x28], 0x30
jne 0x100402b
cmp word [ebp - 0x26], ax
jne 0x100402b
xor ebx, ebx
push dword [ebp - 4]
call dword [fcn.01001228]
pop edi
mov eax, ebx
pop ebx
leave
ret
Function at 0x100403a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
xor esi, esi
xor eax, eax
cmp dword [ebp + 0xc], esi
mov word [ebp - 0x22], si
setne al
add eax, 0x30
mov word [ebp - 0x24], ax
lea eax, [ebp - 4]
push eax
push str.Control_PanelInput_Method
push 0x80000001
call dword [fcn.0100121c]
test eax, eax
jne 0x10040cd
lea eax, [ebp - 0x24]
push eax
call dword [section..text]
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x24]
push eax
push 1
push esi
push str.show_status
push dword [ebp - 4]
call dword [fcn.0100122c]
test eax, eax
jne 0x10040bc
push dword [ebp + 8]
call fcn.010042cd
mov esi, eax
push esi
call dword [fcn.01001150]
test eax, eax
je 0x10040bc
push dword [ebp + 0xc]
push 5
push 0x287
push esi
call dword [fcn.01001154]
push dword [ebp - 4]
call dword [fcn.01001228]
push 1
pop eax
pop esi
leave
ret 8
xor eax, eax
jmp 0x10040c8

Function at 0x1004233
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, dword [fcn.01001150]
push edi
push dword [esp + 0xc]
call esi
test eax, eax
je 0x1004269
push dword [esp + 0xc]
call fcn.010042cd
mov edi, eax
push edi
call esi
test eax, eax
je 0x1004269
push dword [esp + 0x10]
push 0xd
push 0x287
push edi
call dword [fcn.01001154]
pop edi
pop esi
ret 8
Function at 0x401e40
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ae98
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x40]
call fcn.004012f0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
cmp ecx, 0xb
ja 0x401fd6
lea edx, [ebp - 0x40]
call fcn.00401c20
test eax, eax
je 0x401fd6
lea ecx, [ebp - 0x40]
call fcn.00401cf0
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x1c]
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x2c], eax
mov dword [ebp + 0x14], 0
mov word [ebp + 0x11], 0xff00
mov byte [ebp + 0x10], 0
mov dword [ebp + 0xc], ebx
lea esp, [esp]
push dword [esi + 0x2c]
push dword [esi + 0x28]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push dword [ebp + 8]
mov edi, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
push eax
mov dword [ebx], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0xcc0020
push dword [esi + 0x18]
push dword [esi + 0x14]
push dword [ebp + 8]
push dword [esi + 0x2c]
push dword [esi + 0x28]
push 0
push 0
push dword [ebx]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x2c]
lea ecx, [ebp - 0x40]
mov ebx, dword [ebx]
mov dword [ebp + 0x18], eax
mov eax, dword [esi + 0x28]
mov edi, eax
imul edi, dword [ebp + 0x14]
cmp byte [ebp - 0x23], 0
mov dword [ebp + 0x1c], eax
setne byte [ebp + 0x13]
call fcn.00401520
push dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x1c]
push ecx
push eax
push 0
push edi
push dword [ebp - 0x18]
push ecx
push eax
push 0
push 0
push ebx
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
lea ecx, [ebp - 0x40]
call fcn.00401a30
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
inc eax
add ebx, 4
mov dword [ebp + 0x14], eax
mov dword [ebp + 0xc], ebx
cmp eax, 3
jl 0x401ed0
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x401fb6
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
push eax
movdqu xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x1c], 0xffffffff
mov word [ebp - 0x24], 0
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x28]
mov edx, dword [esi + 0x18]
add eax, ecx
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x2c]
add eax, edx
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov dword [esi + 0x10], eax
xor esi, esi
jmp 0x401fdb
mov esi, 1
lea ecx, [ebp - 0x40]
call fcn.004013a0
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 0x20
Function at 0x403940
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, ecx
push 0x10a8
push 0
lea ebx, [edi + 0x1560]
push ebx
call fcn.004164f0
push dword [ebp + 8]
push 0x800
push ebx
call fcn.00412f97
push dword [ebp + 0xc]
lea eax, [ebx + 0x880]
push 0x400
push eax
call fcn.00412f97
push dword [ebp + 0xc]
lea eax, [ebx + 0xc80]
push 0x400
push eax
call fcn.00412f97
mov dword [ebx + 0x1080], 2
mov dword [ebx + 0x1088], 1
mov dword [ebx + 0x1090], ebx
mov byte [ebx + 0x1094], 0
mov dword [ebx + 0x108c], ebx
mov eax, dword [edi]
mov dword [ebx + 0x1098], eax
mov eax, dword [edi + 0x155c]
mov dword [ebx + 0x10a0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x109c], eax
lea eax, [edi + 0x2608]
mov dword [ebx + 0x10a4], eax
lea eax, [edi + 4]
push 0x1558
push dword [edi]
push eax
call fcn.004171f0
push ebx
push 0
push 0x402740
call fcn.0041434b
add esp, 0x48
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x4047d0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x288
mov dword [ebp - 4], 0x288
call fcn.00412a56
add esp, 4
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x40480e
push esi
call fcn.00412ae8
push dword [ebp - 4]
call fcn.00412a56
add esp, 8
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x40485f
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push str._02x__02x__02x__02x__02x__02x
push 0x12
push dword [ebp + 8]
call fcn.00414607
add esp, 0x24
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x405930
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xfe78
call fcn.00417020
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 0xfe74], eax
mov eax, dword [ebp + 0x10]
push 0x3ff
mov dword [ebp - 0xfe70], eax
lea eax, [ebp - 0x413]
push 0
push eax
mov byte [ebp - 0x414], 0
call fcn.004164f0
xor eax, eax
mov byte [ebp - 0x10], 0
push 0xfa00
push eax
mov dword [ebp - 0xf], eax
mov word [ebp - 0xb], ax
lea eax, [ebp - 0xfe14]
push eax
call fcn.004164f0
add esp, 0x18
lea eax, [ebp - 0xfe14]
mov ecx, ebx
push esi
push eax
call fcn.004057d0
push 0x405910
push 0xc80
push dword [ebx]
lea eax, [ebp - 0xfe14]
push eax
call fcn.00414630
xor edi, edi
add esp, 0x10
cmp dword [ebx], edi
jle 0x405a1f
lea esi, [ebp - 0xfe14]
lea eax, [esi + 0x480]
push eax
lea eax, [ebp - 0x414]
push 0x400
push eax
call fcn.00413090
push str.in_disk
push esi
call fcn.00412ebb
add esp, 0x14
test eax, eax
jne 0x405a14
push 6
lea eax, [esi + 0x80]
push eax
lea eax, [ebp - 0x10]
push 7
push eax
call fcn.00412fec
add esp, 0x10
inc edi
add esi, 0xc80
cmp edi, dword [ebx]
jl 0x4059d3
mov eax, dword [ebp - 0xfe70]
cmp byte [eax], 0
je 0x405a3f
push eax
lea eax, [ebp - 0x414]
push 0x400
push eax
call fcn.00413090
add esp, 0xc
cmp byte [ebp - 0x10], 0
je 0x405a5d
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x414]
push 0x400
push eax
call fcn.00413090
add esp, 0xc
lea edx, [ebp - 0xfe70]
lea ecx, [ebp - 0x414]
call fcn.00405350
mov edi, dword [ebp - 0xfe70]
mov esi, edi
lea ecx, [esi + 1]
lea esp, [esp]
mov al, byte [esi]
inc esi
test al, al
jne 0x405a80
push 0x58
lea eax, [ebp - 0xfe6c]
sub esi, ecx
push 0
push eax
call fcn.004164f0
add esp, 0xc
mov dword [ebp - 0xfe58], 0
lea ecx, [ebp - 0xfe6c]
mov dword [ebp - 0xfe5c], 0
mov dword [ebp - 0xfe6c], 0x67452301
mov dword [ebp - 0xfe68], 0xefcdab89
push esi
push edi
mov dword [ebp - 0xfe64], 0x98badcfe
mov dword [ebp - 0xfe60], 0x10325476
call fcn.00405b60
push dword [ebp - 0xfe74]
lea ecx, [ebp - 0xfe6c]
call fcn.00405c30
push edi
call fcn.00412a42
mov ecx, dword [ebp - 8]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00412a47
mov esp, ebp
pop ebp
ret 0xc
Function at 0x406740
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
mov esi, ecx
test esi, esi
je 0x4067f3
push 0x40
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.004164f0
xor eax, eax
mov dword [ebp - 0x58], 0x44
mov word [ebp - 0x28], ax
add esp, 0xc
mov eax, dword [esi + 0x1554]
mov dword [ebp - 0x2c], 0x101
test eax, eax
jle 0x406786
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [esi + 0x400]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4067d6
inc dword [0x48b0c8]
push 0x2710
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
pop esi
mov esp, ebp
pop ebp
ret
inc dword [esi + 0x1434]
cmp dword [esi + 0x1434], 5
mov byte [esi + 0x142f], 0
jle 0x4067f3
mov byte [esi + 0x142f], 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x409040
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x78
mov esi, ecx
call fcn.00413332
mov edi, eax
add esp, 4
test edi, edi
je 0x4090a0
mov edx, dword [esi + 0x414]
mov dword [edi + 0x14], edx
mov dword [edi + 0x2c], 0x432820
mov byte [edi + 0x5c], 1
push 0
push dword [esi]
mov dword [0x48b13c], edi
mov byte [esi + 0x60d], 0
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esi + 0x610]
mov ecx, edi
push eax
push eax
lea eax, [esi + 0x60f]
push eax
push dword [esi]
call fcn.0040e0f0
jmp 0x4090a2
xor edi, edi
push esi
push 0
push 0x406cc0
call fcn.0041434b
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0x1c]
add esp, 0xc
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x18], xmm0
push 0
push 0
push 0
push eax
movq qword [ebp - 8], xmm0
call esi
test eax, eax
je 0x409102
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1c]
push eax
call ebx
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call esi
test eax, eax
jne 0x4090e2
test edi, edi
je 0x40913e
push dword [edi + 0x20]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push dword [edi + 0x24]
call esi
push dword [edi + 0x28]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [edi + 0x2c], 0x432820
push dword [edi + 0x48]
call esi
push dword [edi + 0x4c]
call esi
push dword [edi + 0x50]
call esi
push edi
call fcn.00412a42
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x409150
Capabilities:
Contain obfuscated stackstrings
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push eax
mov esi, ecx
call fcn.00407b80
test eax, eax
je 0x409186
or eax, 0xffffffff
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00412a47
mov esp, ebp
pop ebp
ret 4
mov ecx, 0x65
mov dword [ebp - 0x28], 0x68005a
push ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 0x24], 0x440075
push eax
mov dword [ebp - 0x20], 0x6e006f
mov dword [ebp - 0x1c], 0x460067
mov dword [ebp - 0x18], 0x6e0061
mov dword [ebp - 0x14], 0x590067
mov dword [ebp - 0x10], 0x2e0075
mov dword [ebp - 0xc], 0x780065
mov dword [ebp - 8], 0x220065
call fcn.0040c8e0
test eax, eax
push esi
setne al
push 0
push 0x409020
mov byte [esi + 0x60e], al
call fcn.0041434b
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
xor eax, eax
pop edi
pop esi
call fcn.00412a47
mov esp, ebp
pop ebp
ret 4