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

Disassembly:
xor cx, word [eax*2 + 0x57b628]
inc eax
mov word [ebp + eax*2 - 0x20a], cx
cmp eax, 0xc
jl 0x50ed15
lea edx, [ebp - 0x208]
push edx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.msvcrt.dll_strstr]
add esp, 8
test eax, eax
je 0x489d78
push esi
lea ecx, [ebp - 0x108]
push 0x100
push ecx
call ebx
add esp, 0xc
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x5c2e
xor dx, word [eax*2 + 0x57b644]
jmp 0x489d4e
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
push ebx
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
push esi
lea edx, [ebp - 0x308]
mov dword [edi + 0x18], eax
push edx
mov eax, 0x72
push ecx
mov dword [edi + 0xc], 0xbb8
mov word [ebp - 0x308], ax
call dword [sym.imp.msvcrt.dll_fopen]
mov esi, eax
add esp, 8
jmp 0x50ece6
push ebp
mov ebp, esp
sub esp, 0x308
mov eax, dword [section..data]
jmp 0x4751c6
inc eax
mov word [ebp + eax*2 - 0x20a], dx
cmp eax, 2
jl 0x4117fd
push edi
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.msvcrt.dll_sscanf]
add esp, 0xc
xor eax, eax
lea esp, [esp]
jmp 0x4c88c0
xor eax, eax
lea esp, [esp]
lea edx, [eax + 1]
imul edx, edx, 0x23f4
xor dx, word [eax*2 + 0x57b664]
inc eax
mov word [ebp + eax*2 - 0x20a], dx
cmp eax, 7
jl 0x48e5c0
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.msvcrt.dll_strstr]
add esp, 8
test eax, eax
je 0x4c3ab2
push esi
lea edx, [ebp - 0x108]
push 0x100
jmp dword [0x48e616]
xor eax, eax
lea esp, [esp]
lea edx, [eax + 1]
imul edx, edx, 0x777d
xor dx, word [eax*2 + 0x57b67c]
inc eax
mov word [ebp + eax*2 - 0x20a], dx
cmp eax, 9
jl 0x4c3ab8
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.msvcrt.dll_strstr]
add esp, 8
jmp dword [0x4c3afa]
lea edx, [eax + 1]
imul edx, edx, 0xb19
xor dx, word [eax*2 + 0x57b64c]
inc eax
mov word [ebp + eax*2 - 0x20a], dx
cmp eax, 6
jl 0x4c88c0
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.msvcrt.dll_strstr]
add esp, 8
test eax, eax
je 0x48e5ba
jmp 0x523e10
test esi, esi
je 0x54623c
mov ebx, dword [sym.imp.msvcrt.dll_fgets]
push esi
lea eax, [ebp - 0x108]
push 0x100
push eax
call ebx
add esp, 0xc
test eax, eax
je 0x546232
jmp 0x50ed13
xor eax, eax
lea ecx, [eax + 1]
imul ecx, ecx, 0x10d3
jmp 0x4117b0
push esi
lea edx, [ebp - 0x108]
push 0x100
push edx
call ebx
add esp, 0xc
xor eax, eax
mov edi, edi
lea ecx, [eax + 1]
imul ecx, ecx, 0x4350
xor cx, word [eax*2 + 0x57b65c]
inc eax
mov word [ebp + eax*2 - 0x20a], cx
cmp eax, 2
jl 0x523e26
lea edx, [edi + 4]
push edx
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.msvcrt.dll_sscanf]
add esp, 0xc
jmp dword [0x523e6d]
push esi
call dword [sym.imp.msvcrt.dll_fclose]
add esp, 4
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004567c3
jmp dword [0x54624f]
Function at 0x4866a1
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
jl 0x4866d5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
lea edx, [ebp - 0x118]
push edx
push 0x63f3c8
call dword [sym.imp.msvcrt.dll_sprintf]
push 0x63f3c8
call fcn.0054c5da
add esp, 0x10
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004567c3
mov esp, ebp
pop ebp
ret
xor eax, eax
lea esp, [esp]
lea ecx, [eax + 1]
imul ecx, ecx, 0x973
xor cx, word [eax*2 + 0x57babc]
jmp 0x501ae0
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 1
push 2
mov esi, ecx
call dword [sym.imp.WS2_32.dll_socket]
mov dword [0x68453c], eax
cmp eax, 0xffffffff
jne 0x43a3ba
xor eax, eax
nop
lea ecx, [eax + 1]
imul ecx, ecx, 0x3295
xor cx, word [eax*2 + 0x57baa8]
inc eax
mov word [ebp + eax*2 - 0x11a], cx
cmp eax, 9
jmp 0x43a37c
inc eax
mov word [ebp + eax*2 - 0x11a], cx
cmp eax, 5
jl 0x43a3c3
lea edx, [ebp - 0x118]
push edx
call fcn.0054c5da
xor eax, eax
mov ecx, esi
xor ecx, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, 2
push ecx
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_htons]
jmp dword [0x501b2d]
Function at 0x4916e0
Capabilities:
Encode data using xor

Disassembly:
push edx
movzx edx, byte [ebx + 0x194]
push eax
push ecx
push edx
lea eax, [ebx + 0x10c]
push eax
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x10c]
push edx
call dword [sym.imp.msvcrt.dll_sprintf]
lea eax, [ebp - 0x10c]
add esp, 0x24
mov esi, eax
mov cl, byte [eax]
jmp 0x525092
push ecx
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
lea edx, [ebp - 0x310]
mov ebx, eax
push edx
push ebx
call esi
test ebx, ebx
je 0x50289c
xor eax, eax
cmp dword [ebx], eax
je 0x51d18a
lea ecx, [eax + 1]
imul ecx, ecx, 0x23be
jmp 0x4e5508
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x318], eax
test eax, eax
je 0x5028a3
mov byte [eax], 0
xor eax, eax
lea esp, [esp]
lea ecx, [eax + 1]
imul ecx, ecx, 0x2514
xor cx, word [eax*2 + 0x57b730]
inc eax
mov word [ebp + eax*2 - 0x30e], cx
cmp eax, 7
jmp 0x521770
lea edx, [ebp - 0x20c]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x50289c
lea eax, [ebp - 0x310]
push eax
push 0
mov dword [ebp - 0x310], 0
call esi
mov ecx, dword [ebp - 0x310]
jmp 0x48bf1a
xor cx, word [eax*2 + 0x57b754]
inc eax
mov word [ebp + eax*2 - 0x20e], cx
cmp eax, 0xc
jl 0x48bf42
movzx edx, byte [ebx + 0x199]
movzx eax, byte [ebx + 0x198]
movzx ecx, byte [ebx + 0x197]
push edx
movzx edx, byte [ebx + 0x196]
push eax
movzx eax, byte [ebx + 0x195]
push ecx
movzx ecx, byte [ebx + 0x194]
push edx
push 0x51d16e
ret
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004567c3
mov esp, ebp
pop ebp
ret
lea edx, [eax + 1]
imul edx, edx, 0x1d70
xor dx, word [eax*2 + 0x57b770]
inc eax
mov word [ebp + eax*2 - 0x20e], dx
cmp eax, 0xb
jl 0x51d18a
movzx eax, byte [ebx + 0x199]
movzx ecx, byte [ebx + 0x198]
movzx edx, byte [ebx + 0x197]
push eax
movzx eax, byte [ebx + 0x196]
push ecx
movzx ecx, byte [ebx + 0x195]
jmp 0x483ff6
jl 0x491710
lea edx, [ebp - 0x30c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
mov dword [ebp - 0x314], edi
test edi, edi
je 0x5028a3
xor eax, eax
mov edi, edi
lea ecx, [eax + 1]
imul ecx, ecx, 0x3ebf
xor cx, word [eax*2 + 0x57b740]
inc eax
mov word [ebp + eax*2 - 0x20e], cx
cmp eax, 8
jl 0x521797
jmp 0x4c3d1c
inc eax
test cl, cl
jne 0x484027
mov edi, dword [ebp - 0x318]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x5250a4
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ebx, dword [ebx]
jmp dword [0x5250c7]

Function at 0x495b36
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
test edi, edi
jle 0x495b68
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov edx, eax
sub esi, eax
lea ebx, [ecx + 1]
imul ebx, dword [ebp + 8]
xor bx, word [esi + edx]
inc ecx
mov word [edx], bx
add edx, 2
cmp ecx, edi
jl 0x495b4c
pop esi
pop ebx
pop ebp
ret 8
Function at 0x49f29f
Capabilities:
Encode data using xor
Send data
Send data on socket

Disassembly:
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004567c3
mov esp, ebp
pop ebp
ret
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.msvcrt.dll_rand]
push edi
mov edi, dword [0x68453c]
call esi
cdq
jmp 0x4d9cc2
mov ecx, 0x3e8
idiv ecx
mov dword [ebp - 0x50], 0xa
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x54], 1
mov word [ebp - 0x58], dx
mov edx, ecx
sub edx, dword [ebp - 0x58]
mov word [ebp - 0x56], dx
call esi
and eax, 0x800000ff
jns 0x4d9cfc
dec eax
or eax, 0xffffff00
inc eax
cmp byte [ebp - 0x54], 0
mov byte [ebp - 0x53], al
je 0x502ca4
mov cl, al
jmp 0x502c94
xor eax, eax
xor byte [ebp + eax - 0x52], cl
inc eax
cmp eax, 0x4a
jl 0x502c96
push 0
push 0x50
lea eax, [ebp - 0x58]
push eax
push edi
call dword [sym.imp.WS2_32.dll_send]
cmp byte [ebp - 0x54], 0
je 0x4206ae
mov cl, byte [ebp - 0x53]
xor eax, eax
xor byte [ebp + eax - 0x52], cl
inc eax
cmp eax, 0x4a
jl 0x502cc2
jmp 0x4206ae

Function at 0x4a1784
Capabilities:
Encode data using xor

Disassembly:
call fcn.0044516d
mov edi, eax
xor eax, eax
jmp 0x4137ee
lea ecx, [eax + 1]
imul ecx, ecx, 0x4f5a
xor cx, word [eax*2 + 0x57b19c]
inc eax
mov word [ebp + eax*2 - 0x30a], cx
cmp eax, 5
jl 0x4137ee
lea edx, [ebp - 0x308]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, dword [eax + 0x3c]
mov edx, dword [0x6842fc]
jmp dword [0x41382e]
push ebp
mov ebp, esp
sub esp, 0x30c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x10043a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0x114
push 0
push 0x6842f8
mov dword [0x684410], eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov esi, 0x6842f8
mov dword [0x6842f8], 0x114
jmp 0x4137e0
Function at 0x4ff1da
Capabilities:
Encode data using xor

Disassembly:
push eax
push ecx
call esi
add esp, 0xc
xor eax, eax
jmp 0x4176b2
lea ecx, [eax + 1]
imul ecx, ecx, 0x76b6
xor cx, word [eax*2 + 0x57b6d4]
inc eax
mov word [ebp + eax*2 - 0x436], cx
cmp eax, 0xa
jl 0x4176b2
jmp dword [0x4176db]
push ebp
mov ebp, esp
sub esp, 0x540
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov dword [ebp - 0x538], ecx
xor eax, eax
mov edi, edi
lea edx, [eax + 1]
imul edx, edx, 0x22de
xor dx, word [eax*2 + 0x57b6c0]
inc eax
mov word [ebp + eax*2 - 0x436], dx
cmp eax, 8
jl 0x4ff1fa
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.msvcrt.dll_sprintf]
push ebx
lea eax, [ebp - 0x434]
jmp 0x4176a4

Function at 0x5028b4
Capabilities:
Encode data using xor

Disassembly:
mov dl, byte [edx + eax]
xor dl, cl
mov byte [ebx + 0x63ef20], dl
xor eax, eax
lea esp, [esp]
lea ecx, [eax + 1]
imul ecx, ecx, 0x3a3a
xor cx, word [eax*2 + 0x57b788]
inc eax
mov word [ebp + eax*2 - 0x20e], cx
cmp eax, 4
jl 0x40bcd3
movzx edx, dl
push edx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x10c]
push ecx
call dword [sym.imp.msvcrt.dll_sprintf]
jmp 0x44e3c0
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x10c]
add esp, 0xc
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x44e3cb
mov edi, 0x684a88
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x44e3e0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
inc ebx
cmp byte [ebp - 0x20d], 0
rep movsb byte es:[edi], byte [esi]
je 0x51f9de
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004567c3
jmp 0x4400d4
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
jmp 0x51f9aa
inc eax
test cl, cl
jne 0x5028d4
push 0x4000
sub eax, edx
push 0
push 0x684a88
mov dword [ebp - 0x214], eax
call sub.msvcrt.dll_memset
add esp, 0xc
xor ebx, ebx
mov byte [0x684a88], 0
mov byte [ebp - 0x20d], bl
mov cl, byte [ebx + 0x63ef20]
test cl, cl
jne 0x51f9f3
mov byte [ebp - 0x20d], 1
mov eax, ebx
cdq
idiv dword [ebp - 0x214]
mov eax, dword [ebp + 8]
jmp 0x40bcc2

Function at 0x51ee6d
Capabilities:
Enumerate pe sections

Disassembly:
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x4fabd4
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x51eeae
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x4fabd6
inc edx
add eax, 0x28
cmp edx, esi
jb 0x51ee96
jmp dword [0x51eec1]
Function at 0x5441f6
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [ebp + 0x14]
mov dword [0x63d603], edx
mov edx, dword [ebp + 0x18]
mov dword [0x63d607], eax
mov eax, dword [ebp + 0x1c]
mov dword [0x63d60d], edx
mov edx, dword [ebp + 0x20]
mov dword [0x63d611], eax
mov eax, dword [ebp + 0x24]
mov dword [0x63d617], edx
mov edx, dword [ebp + 0x28]
mov dword [0x63d61b], eax
mov dword [0x63d621], edx
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
xor edx, edx
mov eax, ebx
add eax, 0x400
mov dword [0x63d67b], eax
jmp 0x4d5456
adc edx, edi
mov dword [0x63d67f], edx
lea ecx, [ebx + 0x100]
mov dword [0x63d0cd], ecx
lea eax, [ebp - 8]
cdq
mov dword [0x63d68c], eax
mov eax, dword [ebp - 0x14]
mov dword [0x63d690], edx
movzx edx, word [ebp - 0xc]
mov dword [ebx + 0x400], eax
movzx eax, byte [ebp - 0xa]
mov dword [ebx + 0x404], esi
push 0x4409ae
ret
mov ebx, dword [0x684668]
cmp ebx, edi
jne 0x4ea0da
push 0x40
push 0x3000
push 0x1000
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
mov dword [0x684668], ebx
jmp 0x4ea0ee
mov eax, dword [0x68466c]
push eax
call fcn.0047d37e
mov ebx, dword [0x684668]
add esp, 4
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [0x63d5f9], edx
mov edx, dword [ebp + 0x10]
mov dword [0x63d5fd], eax
jmp 0x44fbe4
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6842fc]
push ebx
push esi
push edi
xor edi, edi
xor esi, esi
mov dword [ebp - 0x14], 0xb8d18b4c
mov word [ebp - 0xc], 0x50f
mov byte [ebp - 0xa], 0xc3
cmp eax, 6
jmp 0x555dec
jne 0x555e2a
mov eax, dword [0x684300]
cmp eax, 1
jne 0x555e08
lea esi, [edi + 0x37]
jmp 0x4ea0ac
cmp eax, 2
jne 0x555e19
lea esi, [eax + 0x36]
jmp 0x4ea0ac
cmp eax, 3
jne 0x4ea0ac
lea esi, [eax + 0x36]
jmp 0x4ea0ac
cmp eax, 0xa
jne 0x4ea0ac
lea esi, [eax + 0x30]
push 0x4ea0ac
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x42e030
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x40a638
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x80c450]
jne 0x40a642
repz ret
jmp fcn.0040da36

Function at 0x40c95f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x80c450]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004089d9
and dword [ebp - 0x14], 0
cmp dword [0x80ea24], 0
mov dword [ebp - 0x18], eax
jne 0x40ca12
push 0x403e24
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40caba
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403e18
push ebx
call edi
test eax, eax
je 0x40caba
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403e08
push ebx
mov dword [0x80ea24], eax
call edi
push eax
call esi
push 0x403df4
push ebx
mov dword [0x80ea28], eax
call edi
push eax
call esi
push 0x403dd8
push ebx
mov dword [0x80ea2c], eax
call edi
push eax
call esi
mov dword [0x80ea34], eax
test eax, eax
je 0x40ca12
push 0x403dc0
push ebx
call edi
push eax
call esi
mov dword [0x80ea30], eax
mov eax, dword [0x80ea30]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40ca6b
cmp dword [0x80ea34], ecx
je 0x40ca6b
push eax
call esi
push dword [0x80ea34]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40ca6b
test ebx, ebx
je 0x40ca6b
call edi
test eax, eax
je 0x40ca62
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40ca62
test byte [ebp - 8], 1
jne 0x40ca6b
or dword [ebp + 0x10], 0x200000
jmp 0x40ca9e
mov eax, dword [0x80ea28]
cmp eax, dword [ebp - 0x18]
je 0x40ca9e
push eax
call esi
test eax, eax
je 0x40ca9e
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40ca9e
mov eax, dword [0x80ea2c]
cmp eax, dword [ebp - 0x18]
je 0x40ca9e
push eax
call esi
test eax, eax
je 0x40ca9e
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x80ea24]
call esi
test eax, eax
je 0x40caba
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40cabc
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a638
leave
ret
Function at 0x808510
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
mov eax, 0x6b
mov edx, 0x72
mov word [0xb92ab0], ax
mov word [0xb92ab4], dx
mov ecx, 0x6e
mov edx, 0x65
xor eax, eax
push 0xb92ab0
mov dword [0xb92abc], 0x320033
mov dword [0xb92ac4], 0x6c006c
mov word [0xb92ab6], cx
mov dword [0xb92ab8], 0x6c0065
mov dword [0xb92ac0], 0x64002e
mov word [0xb92ab2], dx
mov word [0xb92ac8], ax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [0xb92aac]
lea ecx, [esp]
push ecx
push 0x40
mov dword [0xb92aa8], eax
mov eax, dword [0x813afc]
push edx
push eax
mov byte [0x80ed73], 0x65
mov dword [0x80ed69], 0x75747269
mov word [0x80ed6d], 0x6c61
mov byte [0x80ed68], 0x56
mov word [0x80ed74], 0x7463
mov byte [0x80ed76], 0
mov dword [0x80ed6f], 0x746f7250
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop ecx
ret

Function at 0x808600
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
mov eax, 0x1050
call fcn.0040d1b0
cmp dword [0xb92aac], 0x37
jne 0x8086cc
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
push 0x4047ac
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
mov ecx, dword [esp]
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_MapUserPhysicalPages]
push 0
lea edx, [esp + 0x454]
push edx
push 0x4047b4
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 4]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea edx, [esp + 8]
push edx
push 0x4047c8
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
push 0x4047dc
push 0x4047ec
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push 0
lea eax, [esp + 0x854]
push eax
push 0
push 0x404814
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push 0
push 0
push 0
push 0x404840
push 0x40485c
push 0x40486c
call dword [sym.imp.KERNEL32.dll_ReplaceFileA]
mov ecx, dword [0xb93aa0]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x813afc]
mov byte [ecx + esi], al
add esp, 0x1050
ret
Function at 0x808890
Capabilities:
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0xb92aac]
sub esp, 0x48c
push ebx
push ebp
push esi
mov esi, dword [0x813afc]
shr eax, 3
push edi
test eax, eax
je 0x808a60
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], eax
jmp 0x8088c4
mov esi, dword [esp + 0x14]
cmp dword [0xb92aac], 0x1c
jne 0x8088e1
lea eax, [esp + 0x34]
push eax
push 0
lea ecx, [esp + 0x44]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov edx, dword [0x80d220]
mov eax, dword [0x80d224]
mov ecx, dword [0x80d228]
mov ebx, dword [esi]
mov edi, dword [esi + 4]
mov dword [esp + 0x20], edx
mov edx, dword [0x80d22c]
mov ebp, 0xc6ef3720
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], 0x20
mov eax, ebx
shl eax, 4
add eax, dword [esp + 0x24]
mov esi, ebx
shr esi, 5
cmp dword [0xb92aac], 0x1b
mov dword [esp + 0x10], eax
jne 0x80895d
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x9c]
push ecx
push 0
push 0x404680
push 0x4046c0
push 0x404700
call dword [sym.imp.KERNEL32.dll_SearchPathA]
mov eax, dword [esp + 0x10]
add esi, dword [esp + 0x28]
lea ecx, [ebx + ebp]
xor esi, ecx
xor esi, eax
sub edi, esi
mov eax, edi
shl eax, 4
mov dword [0xb92a1c], 0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
add dword [esp + 0x10], eax
cmp dword [0xb92aac], 0x1be
jne 0x8089a2
lea ecx, [esp + 0x38]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov esi, edi
shr esi, 5
add esi, dword [esp + 0x2c]
cmp dword [0xb92aac], 0x979
mov dword [0xb92a20], 0xff6b3619
mov dword [0xb92a24], 0xffffffff
jne 0x8089df
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorInfo]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [edi + ebp]
xor esi, eax
mov eax, dword [esp + 0x10]
xor eax, esi
sub ebx, eax
add ebp, 0x61c88647
dec dword [esp + 0x18]
mov dword [esp + 0x10], eax
jne 0x80891a
cmp dword [0xb92aac], 0x8d4
jne 0x808a17
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov esi, dword [esp + 0x14]
mov dword [esi], ebx
mov dword [esi + 4], edi
cmp dword [0xb92aac], 0x17
jne 0x808a4f
push 0
push 0
push 0
push 0x404764
push 0x404784
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
lea eax, [esp + 0x98]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
add esi, 8
dec dword [esp + 0x1c]
mov dword [esp + 0x14], esi
jne 0x8088c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48c
ret