joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d408490
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x6d408654
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x6d4084ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6d4084c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6d4084b0
mov eax, 1
add ebx, ebx
jne 0x6d4084d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6d4084c8
jne 0x6d4084e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6d4084c8
xor ecx, ecx
sub eax, 3
jb 0x6d4084f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6d40856a
mov ebp, eax
add ebx, ebx
jne 0x6d408503
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x6d408510
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x6d408534
inc ecx
add ebx, ebx
jne 0x6d408520
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6d408515
jne 0x6d408531
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6d408515
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6d408554
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6d408545
jmp 0x6d4084b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6d408554
add edi, ecx
jmp 0x6d4084b6
pop esi
mov edi, esi
mov ecx, 0x44
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6d408572
cmp byte [edi], 1
jne 0x6d408572
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 0x6d408577
lea edi, [esi + 0x6000]
mov eax, dword [edi]
or eax, eax
je 0x6d4085e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8cbc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8d48]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6d4085a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8d4c]
or eax, eax
je 0x6d4085e0
mov dword [ebx], eax
add ebx, 4
jmp 0x6d4085c1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x6d408617
cmp al, 0xef
ja 0x6d40860a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x6d4085ec
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x6d4085f9
mov ebp, dword [esi + 0x8d50]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x6d40864b
sub esp, 0xffffff80
jmp 0x6d4021ce
Function at 0x402927
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 0x40295b
push 6
call fcn.00453899
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x4029cf
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40297d
mov eax, 0x47f2f1
push eax
push 1
mov ebx, 0x25c
call fcn.0045a6e0
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.0045a6f0
add esp, 0x1c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
mov eax, 0
setne al
jmp 0x4029d9
mov eax, 0
jmp 0x4029d9
mov esp, ebp
pop ebp
ret 4

Function at 0x402a26
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.00459e00
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 0x402a8e
push 6
call fcn.00453899
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp + 0x18], 0
jne 0x402acc
cmp dword [ebp - 4], 0
je 0x402ac7
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 0x402ac7
push 6
call fcn.00453899
add esp, 4
jmp 0x402ad4
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 0x402ae5
mov esp, ebp
pop ebp
ret 0x14
Function at 0x402aeb
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 0x402b28
mov eax, 0x47f2f1
push eax
push 3
mov ebx, 0x270
call fcn.0045a710
add esp, 0x28
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x402c0e
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x278
call fcn.0045a7f0
add esp, 0x10
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402b79
mov eax, 0x47f2f1
push eax
push 1
mov ebx, 0x244
call fcn.0045a4e0
add esp, 0x10
call fcn.00401959
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 0x402ba9
mov eax, 0x47f2f1
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x402bbd
mov eax, 0x47f2f1
push eax
push 2
mov ebx, 0x23c
call fcn.0045a4f0
add esp, 0x1c
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402be0
push ebx
call fcn.00453893
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 0x402c09
push 6
call fcn.00453899
add esp, 4
jmp 0x402ca1
push dword [ebp + 8]
call fcn.00402927
and eax, 1
xor eax, 1
test eax, eax
je 0x402c78
call fcn.00401959
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 0x402c41
mov eax, 0x47f2f1
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x402c55
mov eax, 0x47f2f1
push eax
push 2
mov ebx, 0x23c
call fcn.0045a4f0
add esp, 0x1c
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402c78
push ebx
call fcn.00453893
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 0x402ca1
push 6
call fcn.00453899
add esp, 4
push 0x71a073
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 0x406d25
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
push 8
call fcn.0045388d
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0045388d
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.0045388d
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 0x406dd4
push 6
call fcn.00453899
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.00459f10
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 0x406e2d
push 6
call fcn.00453899
add esp, 4
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00459f70
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 0x406e78
push 6
call fcn.00453899
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x406e88
push ebx
call fcn.00453893
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 0x406f1c
push 6
call fcn.00453899
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 0x406f41
push 6
call fcn.00453899
add esp, 4
mov eax, dword [ebp - 0x10]
jmp 0x406f49
push eax
mov ebx, dword [ebp - 8]
push ebx
call fcn.00453893
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.00453893
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.00453893
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x407bba
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.00459f30
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x407bff
push ebx
call fcn.00453893
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 0x407c2a
push 6
call fcn.00453899
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 0x407c49
mov eax, 0x47f2f1
push eax
push 2
mov ebx, 0x138
call fcn.0045a460
add esp, 0x1c
mov dword [ebp - 8], eax
push 0x80000101
push 0
push 0x5c
push 1
mov ebx, 0x140
call fcn.00459f70
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
push dword [ebp - 8]
call fcn.004020e5
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 0x407cad
push ebx
call fcn.00453893
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x407cbd
push ebx
call fcn.00453893
add esp, 4
push 0x80000101
push 0
push 0x5c
push 1
mov ebx, 0x140
call fcn.00459f70
add esp, 0x10
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push dword [ebp - 4]
mov ecx, 2
call fcn.004010e6
add esp, 8
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x407d04
push ebx
call fcn.00453893
add esp, 4
cmp dword [ebp - 0x10], 0
je 0x407d2f
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x407d2a
push eax
mov ebx, eax
call fcn.0040107b
inc eax
push eax
call fcn.0045388d
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x407d4b
mov eax, dword [ebp - 4]
test eax, eax
je 0x407d4b
push eax
mov ebx, eax
call fcn.0040107b
inc eax
push eax
call fcn.0045388d
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 0x407d5e
push ebx
call fcn.00453893
add esp, 4
mov eax, dword [ebp - 0x1c]
jmp 0x407d66
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x407d77
push ebx
call fcn.00453893
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x40b9c1
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
cmp dword [ebp + 8], 1
jne 0x40ba17
fild dword [ebp + 0x10]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fmul qword [0x4acd34]
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.00401142
push eax
push 0x71a08f
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x190]
jmp 0x40bb33
cmp dword [ebp + 8], 0
je 0x40ba2f
cmp dword [ebp + 8], 0xffffffff
je 0x40ba2f
xor eax, eax
jmp 0x40ba34
mov eax, 1
test eax, eax
je 0x40bb33
mov eax, dword [0x71a0f3]
cmp dword [ebp + 0x14], eax
jne 0x40bb29
push 0x71a0bb
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [0x71a0ef]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [0x71a0ef]
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 0x40ba83
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 0x40ba99
mov eax, 0x47f2f1
push eax
push 2
mov ebx, 0x23c
call fcn.0045a4f0
add esp, 0x1c
mov ebx, dword [0x71a0ef]
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 0x40bacd
mov eax, 0x47f2f1
push eax
push 1
mov ebx, 0x244
call fcn.0045a4e0
add esp, 0x10
mov ebx, dword [0x71a0ef]
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 0x40bb12
push 6
call fcn.00453899
add esp, 4
push 0x71a073
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x90]
jmp 0x40bb33
mov dword [0x71a0d7], 1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40e5d9
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 [0x71a097]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x40e626
push 6
call fcn.00453899
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40e63d
mov eax, 0x47f3ce
jmp 0x40e73b
mov dword [ebp - 0x14], esp
push dword [ebp + 8]
push dword [0x71a097]
call dword [sym.imp.KERNEL32.dll_LoadResource]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x40e665
push 6
call fcn.00453899
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40e67c
mov eax, 0x47f3ce
jmp 0x40e73b
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 0x40e69e
push 6
call fcn.00453899
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40e6b5
mov eax, 0x47f3ce
jmp 0x40e73b
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x1bc
call fcn.0045a820
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40e6e8
push ebx
call fcn.00453893
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 0x40e6ff
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x40e71c
push 6
call fcn.00453899
add esp, 4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40e736
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0045388d
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40e73b
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40e74c
push ebx
call fcn.00453893
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x40f241
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ebx, dword [0x71a077]
mov dword [ebp - 4], ebx
push 0x47f2f1
mov ebx, dword [ebp - 4]
push dword [ebx]
call fcn.004020e5
add esp, 8
cmp eax, 0
je 0x40f312
mov ebx, dword [0x71a077]
mov dword [ebp - 4], ebx
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00459f70
add esp, 0x10
mov dword [ebp - 8], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00459f70
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 0x40f2f2
push 6
call fcn.00453899
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40f302
push ebx
call fcn.00453893
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40f312
push ebx
call fcn.00453893
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x41e6ff
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 0x41e72f
push 6
call fcn.00453899
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
mov eax, 0
setne al
jmp 0x41e743
mov esp, ebp
pop ebp
ret 4
Function at 0x41ef8b
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 [0x71a11f], 0
je 0x41f1ce
push dword [ebp + 8]
call fcn.0041f1f0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41efe3
push ebx
call fcn.00453893
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [0x71a0e3]
call fcn.00402e6c
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 0x41f0b3
mov ebx, dword [0x71a0e3]
call fcn.00402e85
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x41f029
push 4
call fcn.00453899
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41f03c
push 1
call fcn.00453899
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 0x41f06b
mov eax, 0x47f2f1
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x41f07f
mov eax, 0x47f2f1
push eax
push 4
mov ebx, 0x148
call fcn.0045dfb0
add esp, 0x34
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x41f0ab
mov dword [ebp - 4], 1
jmp 0x41f0b3
pop eax
pop ebx
pop ecx
jmp 0x41effb
add esp, 0xc
cmp dword [ebp - 4], 1
jne 0x41f1ce
cmp dword [0x71a11f], 0
je 0x41f1ce
push 0x71a127
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00401b27
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 0x14]
push dword [0x71a11f]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x41f110
push 6
call fcn.00453899
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x41f1bf
mov dword [ebp - 0x14], esp
push dword [0x71a11f]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x41f142
push 6
call fcn.00453899
add esp, 4
mov dword [0x71a11f], 0
mov dword [0x71a12b], 0
push 0x716d6f
push dword [ebp - 8]
push 0x716d8a
mov ecx, 3
call fcn.004010e6
add esp, 0xc
mov dword [ebp - 0x14], eax
push 0x30
mov eax, 0x716d54
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 1
push dword [0x71a0fb]
push 0x71a0b7
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 0x41f1af
push ebx
call fcn.00453893
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41f1bf
push ebx
call fcn.00453893
add esp, 4
push 0x71a127
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, 1
jmp 0x41f1d8
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41f1e9
push ebx
call fcn.00453893
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8
Function at 0x41f1f0
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.00459f30
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41f235
push ebx
call fcn.00453893
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.0040b41d
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 0x41f274
push 6
call fcn.00453899
add esp, 4
mov eax, dword [ebp - 4]
test eax, eax
je 0x41f290
push eax
mov ebx, eax
call fcn.0040107b
inc eax
push eax
call fcn.0045388d
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x41f295
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41f2a6
push ebx
call fcn.00453893
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x41f69f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov eax, str.D9E0ADE5DCBA765F365DDBF7A8E0AA9F03335306CAFBDF88A7A3093B437CAB9BC6FDD1C90C15267CB7FAAD84DFB60632315EB5EEA5F5CADC
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.0041f861
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41f6d3
push ebx
call fcn.00453893
add esp, 4
mov ebx, dword [0x71a077]
add ebx, 8
mov dword [ebp - 0x10], ebx
push 0x40
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
push eax
push 1
push dword [0x71a0fb]
push 0x71a0b7
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41f712
push ebx
call fcn.00453893
add esp, 4
mov eax, str.DA7DDF26A941AC35C57E853BEA0AEF339C6AC43BBC
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.0041fbe9
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41f736
push ebx
call fcn.00453893
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41f74a
push ebx
call fcn.00453893
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00459f70
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004020e5
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41f79c
push ebx
call fcn.00453893
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x41f83f
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00459f70
add esp, 0x10
mov dword [ebp - 8], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00459f70
add esp, 0x10
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 1
push dword [ebp - 0xc]
push dword [ebp - 8]
push dword [ebp - 4]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x41f81f
push 6
call fcn.00453899
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41f82f
push ebx
call fcn.00453893
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41f83f
push ebx
call fcn.00453893
add esp, 4
mov eax, 0
jmp 0x41f849
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41f85a
push ebx
call fcn.00453893
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc