joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2c33b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
xor eax, edx
push ebx
push esi
lea esi, [ecx + 4]
mov dword [esp + 8], edx
lea ebx, [eax + 1]
mov dword [esp + 0x10], eax
add esi, 4
push edi
test bl, 3
je 0x2c33d9
and ebx, 0xfffffffc
add ebx, 4
mov eax, dword [0x2cdddc]
test eax, eax
jne 0x2c33fd
mov ecx, 0x802173e5
call fcn.002c3df0
mov edx, 0x51a2922a
mov ecx, eax
call fcn.002c3d50
mov dword [0x2cdddc], eax
call eax
mov edi, eax
mov eax, dword [0x2ce1fc]
test eax, eax
jne 0x2c3425
mov ecx, 0x802173e5
call fcn.002c3df0
mov edx, 0xb1fe2c86
mov ecx, eax
call fcn.002c3d50
mov dword [0x2ce1fc], eax
lea ecx, [ebx + ebx]
push ecx
push 8
push edi
call eax
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
je 0x2c34a5
shr ebx, 2
xor eax, eax
push ebp
xor ebp, ebp
mov edx, edi
lea ecx, [esi + ebx*4]
mov ebx, ecx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, ecx
cmova ebx, eax
test ebx, ebx
je 0x2c349a
mov edi, dword [esp + 0x10]
lea esp, [esp]
mov ecx, dword [esi]
lea edx, [edx + 8]
xor ecx, edi
lea esi, [esi + 4]
movzx eax, cl
inc ebp
mov word [edx - 8], ax
mov eax, ecx
shr eax, 8
movzx eax, al
mov word [edx - 6], ax
shr ecx, 0x10
movzx eax, cl
mov word [edx - 4], ax
shr ecx, 8
movzx eax, cl
mov word [edx - 2], ax
cmp ebp, ebx
jb 0x2c3460
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
xor ecx, ecx
pop ebp
mov word [edi + eax*2], cx
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0xc
ret

Function at 0x2c34b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
xor eax, edx
push ebx
push ebp
push esi
lea esi, [ecx + 4]
mov dword [esp + 0xc], edx
lea ebx, [eax + 1]
mov dword [esp + 0x14], eax
add esi, 4
push edi
test bl, 3
je 0x2c34da
and ebx, 0xfffffffc
add ebx, 4
mov eax, dword [0x2cdddc]
test eax, eax
jne 0x2c34fe
mov ecx, 0x802173e5
call fcn.002c3df0
mov edx, 0x51a2922a
mov ecx, eax
call fcn.002c3d50
mov dword [0x2cdddc], eax
call eax
mov edi, eax
mov eax, dword [0x2ce1fc]
test eax, eax
jne 0x2c3526
mov ecx, 0x802173e5
call fcn.002c3df0
mov edx, 0xb1fe2c86
mov ecx, eax
call fcn.002c3d50
mov dword [0x2ce1fc], eax
push ebx
push 8
push edi
call eax
mov ebp, eax
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x2c3592
shr ebx, 2
xor eax, eax
xor edi, edi
mov ecx, ebp
lea edx, [esi + ebx*4]
mov ebx, edx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, edx
cmova ebx, eax
test ebx, ebx
je 0x2c358a
mov ebp, dword [esp + 0x10]
lea esp, [esp]
mov edx, dword [esi]
lea ecx, [ecx + 4]
xor edx, ebp
lea esi, [esi + 4]
mov byte [ecx - 4], dl
mov eax, edx
shr eax, 8
inc edi
shr edx, 0x10
mov byte [ecx - 3], al
mov byte [ecx - 2], dl
shr edx, 8
mov byte [ecx - 1], dl
cmp edi, ebx
jb 0x2c3560
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov byte [eax + ebp], 0
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x2c3af0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov dword [esp], 0x21c3
mov eax, 0xbacf914d
shl dword [esp], 0xd
add dword [esp], 0xffffee0d
xor dword [esp], 0xc6d3a95b
or dword [esp], 0xe006cb71
push ebx
push esi
mov esi, dword [esp + 8]
mov ebx, ecx
mul esi
mov eax, 0xaaaaaaab
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 5
mov dword [esp + 8], esi
add dword [esp + 8], 0x86d
xor dword [esp + 8], 0x2a29b567
xor dword [esp + 8], 0x2c0b8419
mov dword [esp + 0xc], 0x6024
mov ecx, dword [esp + 0xc]
mul ecx
shr edx, 5
mov dword [esp + 0xc], edx
xor dword [esp + 0xc], 0x206
mov dword [esp + 0xc], 0x7624
shl dword [esp + 0xc], 5
add dword [esp + 0xc], 0xcdd4
xor dword [esp + 0xc], 0xf9244
cmp byte [ebx], 0
je 0x2c3c06
push edi
lea esp, [esp]
mov edi, dword [esp + 0xc]
lea ebx, [ebx + 1]
mov dword [esp + 0x10], 0x6024
mov eax, 0xaaaaaaab
mov ecx, dword [esp + 0x10]
mul ecx
shr edx, 5
mov dword [esp + 0x10], edx
xor dword [esp + 0x10], 0x206
movzx ecx, byte [esp + 0x10]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x10], 0x7624
shl dword [esp + 0x10], 5
add dword [esp + 0x10], 0xcdd4
xor dword [esp + 0x10], 0xf9244
shl esi, cl
movzx ecx, byte [esp + 0x10]
mov edx, dword [esp + 0xc]
movsx eax, byte [ebx - 1]
mov dword [esp + 0xc], eax
add dword [esp + 0xc], esi
shl edx, cl
add dword [esp + 0xc], edx
sub dword [esp + 0xc], edi
cmp byte [ebx], 0
jne 0x2c3b90
pop edi
mov eax, dword [esp + 8]
pop esi
pop ebx
add esp, 8
ret
Function at 0x2c3d50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
mov ebx, ecx
mov dword [esp + 4], edx
push ebp
push esi
push edi
mov eax, dword [ebx + 0x3c]
xor esi, esi
add eax, 0x78
add eax, ebx
mov dword [esp + 0x1c], eax
mov edi, dword [eax]
mov eax, dword [edi + ebx + 0x1c]
add edi, ebx
add eax, ebx
mov dword [esp + 0x18], eax
mov ebp, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
add ebp, ebx
add eax, ebx
mov dword [esp + 0x14], eax
cmp dword [edi + 0x18], esi
jbe 0x2c3dac
lea esp, [esp]
mov ecx, dword [ebp + esi*4]
add ecx, ebx
call fcn.002c3af0
xor eax, 0x15977d8f
cmp eax, dword [esp + 0x10]
je 0x2c3db6
inc esi
cmp esi, dword [edi + 0x18]
jb 0x2c3d90
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
movzx eax, word [eax + esi*2]
mov ecx, dword [ecx + eax*4]
add ecx, ebx
cmp ecx, edi
jb 0x2c3de4
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
add eax, edi
cmp ecx, eax
jae 0x2c3de4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
jmp 0x2c3f80
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x10
ret
sub esp, 0x104
lea edx, [esp]
push esi
mov esi, ecx
push edi
mov al, byte [esi]
test al, al
je 0x2c3fa6
cmp al, 0x2e
je 0x2c3fa3
inc esi
mov byte [edx], al
inc edx
mov al, byte [esi]
test al, al
jne 0x2c3f93
jmp 0x2c3fa6
mov byte [edx], 0
mov eax, dword [0x2cdd94]
test eax, eax
jne 0x2c3fca
mov ecx, 0x802173e5
call fcn.002c3df0
mov edx, 0xe2afc2b8
mov ecx, eax
call fcn.002c3d50
mov dword [0x2cdd94], eax
lea ecx, [esp + 8]
push ecx
call eax
mov edi, eax
test edi, edi
jne 0x2c4011
mov eax, dword [0x2cdf8c]
test eax, eax
jne 0x2c3ffb
mov ecx, 0x802173e5
call fcn.002c3df0
mov edx, 0xcabcc663
mov ecx, eax
call fcn.002c3d50
mov dword [0x2cdf8c], eax
lea ecx, [esp + 8]
push ecx
call eax
mov edi, eax
test edi, edi
jne 0x2c4011
pop edi
pop esi
add esp, 0x104
ret
lea ecx, [esi + 1]
call fcn.002c3af0
xor eax, 0x15977d8f
mov ecx, edi
mov edx, eax
call fcn.002c3d50
pop edi
pop esi
add esp, 0x104
ret
Function at 0x2c3df0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
sub esp, 0x10
mov eax, dword fs:[0x30]
push ebx
push ebp
push esi
mov ebx, dword [eax + 0xc]
add ebx, 0xc
mov dword [esp + 0x18], ecx
push edi
mov dword [esp + 0x18], ebx
mov ebp, dword [ebx]
cmp ebp, ebx
je 0x2c3f65
jmp 0x2c3e20
mov esi, dword [ebp + 0x30]
mov eax, 0xbacf914d
mov dword [esp + 0x10], 0x21c3
shl dword [esp + 0x10], 0xd
add dword [esp + 0x10], 0xffffee0d
xor dword [esp + 0x10], 0xc6d3a95b
or dword [esp + 0x10], 0xe006cb71
mov ecx, dword [esp + 0x10]
mul ecx
mov eax, 0xaaaaaaab
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 5
mov dword [esp + 0x10], ecx
add dword [esp + 0x10], 0x86d
xor dword [esp + 0x10], 0x2a29b567
xor dword [esp + 0x10], 0x2c0b8419
mov dword [esp + 0x14], 0x6024
mov ecx, dword [esp + 0x14]
mul ecx
shr edx, 5
mov dword [esp + 0x14], edx
xor dword [esp + 0x14], 0x206
mov dword [esp + 0x14], 0x7624
shl dword [esp + 0x14], 5
add dword [esp + 0x14], 0xcdd4
xor dword [esp + 0x14], 0xf9244
cmp word [esi], 0
je 0x2c3f4b
mov ebx, dword [esp + 0x10]
mov eax, 0xaaaaaaab
mov dword [esp + 0x14], 0x6024
mov ecx, dword [esp + 0x14]
mul ecx
shr edx, 5
mov dword [esp + 0x14], edx
xor dword [esp + 0x14], 0x206
movzx ecx, byte [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], 0x7624
shl dword [esp + 0x14], 5
add dword [esp + 0x14], 0xcdd4
xor dword [esp + 0x14], 0xf9244
shl edx, cl
movzx ecx, byte [esp + 0x14]
mov edi, dword [esp + 0x10]
movzx eax, word [esi]
shl edi, cl
cmp eax, 0x41
jb 0x2c3f2a
cmp eax, 0x5a
ja 0x2c3f2a
add eax, 0x20
mov dword [esp + 0x10], eax
add esi, 2
add dword [esp + 0x10], edx
add dword [esp + 0x10], edi
sub dword [esp + 0x10], ebx
cmp word [esi], 0
jne 0x2c3ec1
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
xor eax, 0xf5f9597
cmp eax, dword [esp + 0x1c]
je 0x2c3f6f
mov ebp, dword [ebp]
cmp ebp, ebx
jne 0x2c3e20
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x2c4240
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub esp, 0x14
push ebp
mov ebp, ecx
mov dword [esp + 0x10], ebp
push edi
cmp edx, 0x40
jb 0x2c43de
mov eax, 0x5a4d
cmp word [ebp], ax
jne 0x2c43de
mov edi, dword [ebp + 0x3c]
add edi, ebp
mov dword [esp + 0x18], edi
cmp dword [edi], 0x4550
jne 0x2c43de
mov eax, 0x10b
cmp word [edi + 0x18], ax
jne 0x2c43de
mov eax, dword [0x2cdda8]
test eax, eax
jne 0x2c42ab
mov ecx, 0x802173e5
call fcn.002c3df0
mov edx, 0x2c46dbc5
mov ecx, eax
call fcn.002c3d50
mov dword [0x2cdda8], eax
push ebx
push 0x40
push 0x3000
push dword [edi + 0x50]
push 0
call eax
mov ebx, eax
test ebx, ebx
je 0x2c43d5
movzx ecx, word [edi + 0x14]
push esi
lea esi, [edi + 0x18]
add esi, ecx
movzx ecx, word [edi + 6]
mov dword [esp + 0x18], esi
lea ecx, [ecx + ecx*4]
lea eax, [esi + ecx*8]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [0x2ce03c]
test eax, eax
jne 0x2c430b
mov ecx, 0xdd71b583
call fcn.002c3df0
mov edx, 0x282aa2f8
mov ecx, eax
call fcn.002c3d50
mov dword [0x2ce03c], eax
push dword [esp + 0x10]
push ebp
push ebx
call eax
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp esi, ecx
jae 0x2c438e
sub ecx, dword [esp + 0x18]
mov eax, 0xcccccccd
dec ecx
add esi, 0x10
mul ecx
mov ecx, edx
shr ecx, 5
inc ecx
mov edi, ecx
mov ebp, dword [esi]
cmp dword [esi - 8], ebp
mov eax, dword [esi + 4]
cmovb ebp, dword [esi - 8]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [esi - 4]
add eax, ebx
mov dword [esp + 0x14], eax
mov eax, dword [0x2ce03c]
test eax, eax
jne 0x2c4376
mov ecx, 0xdd71b583
call fcn.002c3df0
mov edx, 0x282aa2f8
mov ecx, eax
call fcn.002c3d50
mov dword [0x2ce03c], eax
push ebp
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call eax
add esp, 0xc
add esi, 0x28
dec edi
jne 0x2c4335
mov edi, dword [esp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.002c4510
mov edx, edi
mov ecx, ebx
call fcn.002c4420
pop esi
test eax, eax
jne 0x2c43d5
mov eax, dword [0x2ce024]
test eax, eax
jne 0x2c43c9
mov ecx, 0x802173e5
call fcn.002c3df0
mov edx, 0xef65a2d8
mov ecx, eax
call fcn.002c3d50
mov dword [0x2ce024], eax
push 0x8000
push 0
push ebx
call eax
xor ebx, ebx
mov eax, ebx
pop ebx
pop edi
pop ebp
add esp, 0x14
ret
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
Function at 0x407180
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x4072b6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4072d1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
je 0x42e072
nop
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x5d841cc9
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x42e0d2
nop
nop
mov ebx, 0x42cd70
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
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
mov esi, 0x43ad1c0f
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x401700
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push 0
push eax
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push str.Best_Application
push str.Clariot
push 0
mov dword [0x405100], eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
jne 0x401747
pop esi
pop ebp
ret
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
pop esi
pop ebp
ret

Function at 0x401f98
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x405364]
test eax, eax
je 0x401fb1
call eax
test eax, eax
jne 0x401fb1
push 0xfffffffffffffffe
jmp 0x401fcb
push 1
push 0x405010
push 0x405008
call fcn.00401b61
add esp, 0xc
test eax, eax
je 0x401fd1
push 0xfffffffffffffffd
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
push 0
push 0x405004
push section..data
call fcn.00401b61
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
test esi, esi
jne 0x401ff7
mov esi, 0x404a06
mov cl, 0x20
jmp 0x402000
cmp al, 0x20
ja 0x40200a
inc esi
mov al, byte [esi]
test al, al
jne 0x401ffb
cmp al, 0x20
jbe 0x402021
mov al, byte [esi]
cmp al, 0x22
jne 0x402013
xor cl, 0x20
inc esi
mov al, byte [esi]
cmp al, cl
ja 0x40200c
jmp 0x402021
cmp al, cl
ja 0x402027
inc esi
mov al, byte [esi]
test al, al
jne 0x40201c
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test eax, 0xa0d0a0d
sub eax, 0x54524357
sub eax, 0xa0d0a0d
test byte [ebp - 0x18], 1
je 0x402050
movzx eax, word [ebp - 0x14]
jmp 0x402053
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push eax
call fcn.00402088
pop ecx
pop esi
leave
ret

Function at 0x402088
Capabilities:
Terminate process

Disassembly:
call fcn.004020d2
push 0
push 0x405018
push 0x405014
call fcn.00401b61
push 0
push 0x405020
push 0x40501c
call fcn.00401b61
add esp, 0x18
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x407d9c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407dd4
mov eax, dword [ebp - 4]
call fcn.004071d0
jmp 0x407ddc
mov eax, dword [ebp - 4]
call fcn.00407bd4
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407e28
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407e12
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.004071d0
jmp 0x407e24
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407bd4
inc ebx
dec esi
jne 0x407dec
push 1
push dword [ebp - 4]
push 0x407e8c
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f34
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407e7c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

Function at 0x401929
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401968
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401968
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401968
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401968
cmp dword [ecx + 0x74], 0xe
jbe 0x401968
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x6294f5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6303a0
cmp edx, dword [eax]
je 0x629517
add eax, 8
inc ecx
cmp eax, 0x630430
jl 0x629508
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6303a0]
jne 0x629645
mov eax, dword [0x635d30]
cmp eax, 1
je 0x62961f
test eax, eax
jne 0x629548
cmp dword [0x6302cc], 1
je 0x62961f
cmp edx, 0xfc
je 0x629645
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x62957f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00629ee0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0062a370
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x6295c2
lea eax, [ebp - 0x1a4]
push eax
call fcn.0062a370
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62e6d4
push edi
call fcn.0062c240
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00629ee0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00629ef0
lea eax, [ebp - 0xa0]
push 0x62e6b4
push eax
call fcn.00629ef0
push dword [esi + 0x6303a4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00629ef0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062c1b4
add esp, 0x2c
pop edi
jmp 0x629645
lea eax, [ebp + 8]
lea esi, [esi + 0x6303a4]
push 0
push eax
push dword [esi]
call fcn.0062a370
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x41aac0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration
Start tcp server

Disassembly:
sub esp, 0x30
push ebx
push esi
mov esi, dword [sym.imp.WS2_32.dll_socket]
push 6
push 1
push 2
mov dword [esp + 0x18], 0x10
mov dword [esp + 0x14], 1
call esi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x41aaf2
pop esi
or eax, eax
pop ebx
add esp, 0x30
ret
xor eax, eax
push ebp
mov dword [esp + 0x14], eax
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov eax, 2
push 0x7f000001
mov word [esp + 0x1c], ax
call dword [sym.imp.WS2_32.dll_htonl]
mov edi, dword [esp + 0x50]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push 0xffff
xor ecx, ecx
push ebx
mov dword [esp + 0x30], eax
mov word [esp + 0x2e], cx
mov dword [edi + 4], 0xffffffff
mov dword [edi], 0xffffffff
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x41ac7a
push 0x10
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x41ac7a
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
push ebx
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x41ac7a
push 1
push ebx
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x41ac7a
push 0
push 1
push 2
call esi
mov dword [edi], eax
cmp eax, 0xffffffff
je 0x41ac7a
push 0x10
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x41ac7a
push 0
push 0
push ebx
call dword [sym.imp.WS2_32.dll_accept]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
je 0x41ac7a
push edi
push 0x5754c0
lea edx, [esp + 0x30]
push 0xc
push edx
call fcn.004199d0
lea eax, [esp + 0x38]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41abf5
mov ecx, dword [edi]
sub eax, edx
push 0
mov esi, eax
push esi
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, esi
jne 0x41ac7a
mov eax, dword [edi + 4]
push 0
push 0xc
lea edx, [esp + 0x3c]
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, esi
jne 0x41ac7a
mov eax, esi
lea ecx, [esp + 0x34]
lea ebp, [esp + 0x28]
cmp esi, 4
jb 0x41ac55
jmp 0x41ac40
mov edx, dword [ebp]
cmp edx, dword [ecx]
jne 0x41ac7a
sub eax, 4
add ecx, 4
add ebp, 4
cmp eax, 4
jae 0x41ac40
test eax, eax
je 0x41ac99
mov dl, byte [ecx]
cmp dl, byte [ebp]
jne 0x41ac7a
cmp eax, 1
jbe 0x41ac99
mov dl, byte [ecx + 1]
cmp dl, byte [ebp + 1]
jne 0x41ac7a
cmp eax, 2
jbe 0x41ac99
mov al, byte [ecx + 2]
cmp al, byte [ebp + 2]
je 0x41ac99
mov esi, dword [sym.imp.WS2_32.dll_closesocket]
push ebx
call esi
mov ecx, dword [edi]
push ecx
call esi
mov edx, dword [edi + 4]
push edx
call esi
pop edi
pop ebp
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x30
ret
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
pop ebp
pop esi
xor eax, eax
pop ebx
add esp, 0x30
ret
Function at 0x457358
Capabilities:
Encode data using base64

Disassembly:
push 0xffffffffffffffff
push 0x52f366
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x591700]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x2c], ebp
xor ebx, ebx
mov dword [esp + 0x28], ebx
cmp dword [edx + 0x14], 0x10
jb 0x457399
mov eax, dword [edx]
mov dword [esp + 0x20], eax
jmp 0x45739f
mov eax, edx
mov dword [esp + 0x20], edx
mov ecx, dword [edx + 0x10]
mov dword [ebp + 0x14], 0xf
mov dword [ebp + 0x10], ebx
mov byte [ebp], bl
mov dword [esp + 0x38], ebx
mov edi, ebx
mov dword [esp + 0x28], 1
test ecx, ecx
je 0x457508
push 3
pop esi
jmp 0x4573ce
mov ecx, dword [esp + 0x24]
mov al, byte [eax]
dec ecx
mov byte [esp + edi + 0x18], al
inc edi
mov eax, dword [esp + 0x20]
mov dl, byte [esp + 0x19]
inc eax
mov dword [esp + 0x24], ecx
mov ch, byte [esp + 0x1a]
mov cl, byte [esp + 0x18]
mov dword [esp + 0x20], eax
mov byte [esp + 0x17], ch
mov byte [esp + 0x15], dl
mov byte [esp + 0x16], cl
cmp edi, esi
jne 0x457464
mov al, cl
mov edi, ebx
shr al, 2
and cl, 3
mov byte [esp + 0x1c], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, ch
mov byte [esp + 0x1d], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
and al, 0x3f
mov byte [esp + 0x1e], cl
mov byte [esp + 0x1f], al
movzx eax, byte [esp + edi + 0x1c]
mov ecx, ebp
movzx eax, byte [eax + 0x5661d0]
push eax
push 1
call fcn.0045a784
inc edi
cmp edi, 4
jl 0x457436
mov dl, byte [esp + 0x15]
mov edi, ebx
mov cl, byte [esp + 0x16]
mov eax, dword [esp + 0x20]
mov ch, byte [esp + 0x17]
cmp dword [esp + 0x24], 0
ja 0x4573ca
test edi, edi
je 0x457508
mov eax, edi
cmp edi, esi
jge 0x45749a
cmp eax, esi
jae 0x45751e
mov byte [esp + eax + 0x18], bl
inc eax
cmp eax, esi
jl 0x45747f
mov ch, byte [esp + 0x1a]
mov dl, byte [esp + 0x19]
mov cl, byte [esp + 0x18]
mov al, cl
and cl, 3
shr al, 2
mov byte [esp + 0x1c], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [esp + 0x1d], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [esp + 0x1f], ch
lea eax, [edi + 1]
mov byte [esp + 0x1e], dl
test eax, eax
jle 0x4574f4
lea esi, [edi + 1]
movzx eax, byte [esp + ebx + 0x1c]
mov ecx, ebp
movzx eax, byte [eax + 0x5661d0]
push eax
push 1
call fcn.0045a784
inc ebx
cmp ebx, esi
jl 0x4574d6
push 3
pop esi
cmp edi, esi
jge 0x457508
sub esi, edi
push 0x3d
push 1
mov ecx, ebp
call fcn.0045a784
dec esi
jne 0x4574fa
mov eax, ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
call fcn.00506333
int3