joyce8/EMBER2024-capa huggingface dataset:
Function at 0x486b08
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x486cee
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
jle 0x486caa
mov eax, dword [ebp - 4]
call fcn.004882f4
cmp ebx, eax
jge 0x486caa
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
mov edx, ebx
call fcn.00477848
mov edx, dword [0x479df0]
call fcn.0040433c
mov esi, eax
mov eax, esi
call fcn.0047b4e8
test al, al
je 0x486ca0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edi, dword [esi + 0x44]
test edi, edi
jne 0x486c94
xor eax, eax
push ebp
push 0x486c8d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00486fdc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
call fcn.0041daa4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push dword [esi + 0x34]
push dword [esi + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea edx, [ebp - 0x46]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, 0x2e
mov esi, dword [eax]
call dword [esi + 0xc]
movzx eax, word [ebp - 0x2a]
movzx edx, word [ebp - 0x28]
add eax, edx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x18]
movzx esi, word [ebp - 0x26]
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.004057f0
mov eax, dword [ebp - 8]
call fcn.004055c0
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
movzx eax, byte [eax + 0x28]
mov byte [ebp - 9], al
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00486e84
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
movzx edx, byte [ebp - 9]
mov byte [eax + 0x28], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486cd8
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
jne 0x486c8c
mov eax, dword [ebp - 4]
call fcn.00487060
ret
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0040a9a8
jmp 0x486cd8
mov eax, dword [ebp - 8]
call fcn.004050d0
jmp 0x486cd8
mov dword [ebp - 0x50], ebx
mov byte [ebp - 0x4c], 0
lea eax, [ebp - 0x50]
push eax
push 0
lea edx, [ebp - 0x54]
mov eax, 0xb3
call fcn.00409e50
mov ecx, dword [ebp - 0x54]
mov dl, 1
mov eax, dword [0x41861c]
call fcn.0040da60
call fcn.00404a40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486cf5
lea eax, [ebp - 0x54]
call fcn.004050d0
ret
Function at 0x48e120
Capabilities:
Get disk size

Disassembly:
push ebx
add esp, 0xffffffc4
mov ebx, eax
call fcn.0048dfc8
test al, al
je 0x48e14d
lea edx, [esp + 0x10]
mov eax, ebx
call fcn.0048e0c0
test al, al
jne 0x48e143
call fcn.0040f2b8
mov eax, dword [esp + 0x14]
imul dword [esp + 0x18]
jmp 0x48e17e
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
mov eax, ebx
call fcn.00405560
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
test eax, eax
jne 0x48e177
call fcn.0040f2b8
mov eax, dword [esp]
imul dword [esp + 4]
add esp, 0x3c
pop ebx
ret

Function at 0x490764
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x490841
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x490813
inc ebx
xor esi, esi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp word [eax + 0x20a], 0
je 0x4907df
mov byte [ebp - 1], 0
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov edi, dword [eax - 4]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov eax, dword [edi + 0x20c]
call dword [edi + 0x208]
cmp byte [ebp - 1], 0
jne 0x49080f
lea ecx, [ebp - 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 0x10]
call fcn.00405560
push eax
call sub.kernel32.dll_DeleteFileA_1
cmp eax, 1
sbb eax, eax
inc eax
inc esi
dec ebx
jne 0x49079c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.0040418c
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax - 0xc], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490848
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004050f4
ret
Function at 0x49236c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x492522
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x1d8]
movzx eax, byte [eax + 0x21]
test al, al
je 0x492507
cmp al, 1
jne 0x492452
mov eax, dword [ebx + 0x284]
call fcn.0040418c
xor eax, eax
mov dword [ebx + 0x284], eax
mov eax, ebx
call fcn.00492294
lea ecx, [ebx + 0x2a8]
mov edx, dword [ebx + 0x12c]
add edx, 2
mov eax, ebx
call fcn.004883b0
cmp dword [ebx + 0x2a8], 0
jne 0x4923f8
lea edx, [ebp - 8]
mov eax, 0xbb
call fcn.00409e50
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x484e48]
call fcn.0040da24
call fcn.00404a40
inc dword [ebx + 0x12c]
mov eax, dword [ebx + 0x2a8]
call fcn.00409f64
test al, al
je 0x49241e
mov eax, dword [ebx + 0x2a8]
call fcn.00405560
push eax
call sub.kernel32.dll_DeleteFileA_1
cmp word [ebx + 0x232], 0
je 0x49243d
mov ecx, dword [ebx + 0x12c]
inc ecx
mov edx, ebx
mov eax, dword [ebx + 0x234]
call dword [ebx + 0x230]
mov eax, ebx
call fcn.004921d0
mov dword [ebx + 0x260], eax
mov dword [ebx + 0x264], edx
jmp 0x4924ba
mov eax, dword [ebx + 0x284]
call fcn.0040418c
xor eax, eax
mov dword [ebx + 0x284], eax
lea eax, [ebp - 4]
mov edx, dword [ebx + 0x2a8]
call fcn.00405168
lea eax, [ebx + 0x2a8]
mov edx, dword [ebx + 0x1a8]
call fcn.00405124
push 1
mov ecx, dword [ebx + 0x12c]
add ecx, 2
lea edx, [ebx + 0x2a8]
mov eax, ebx
call fcn.00488540
inc dword [ebx + 0x12c]
mov eax, dword [ebx + 0x1d8]
mov edx, dword [eax + 8]
mov dword [ebx + 0x260], edx
mov edx, dword [eax + 0xc]
mov dword [ebx + 0x264], edx
push 0xffff
movzx eax, byte [ebx + 0x105]
push eax
mov eax, dword [ebx + 0x108]
push eax
mov ecx, dword [ebx + 0x2a8]
mov dl, 1
mov eax, dword [0x4783dc]
call fcn.00478554
mov dword [ebx + 0x284], eax
mov dword [ebx + 0x258], 0
mov dword [ebx + 0x25c], 0
xor edx, edx
mov eax, dword [ebx + 0x2a0]
call fcn.0047bd3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x492529
lea eax, [ebp - 8]
mov edx, 2
call fcn.004050f4
ret
Function at 0x494234
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffffed0
mov esi, edx
mov ebx, eax
cmp dword [ebx + 0x1e0], 0
je 0x494258
mov eax, dword [ebx + 0x1e0]
call fcn.004793d4
test al, al
jne 0x49426e
push esp
push 0x12d
call sub.kernel32.dll_GetTempPathA
mov edx, esi
mov eax, esp
call fcn.0047975c
jmp 0x49427b
mov eax, esi
mov edx, dword [ebx + 0x1e0]
call fcn.00405124
add esp, 0x130
pop esi
pop ebx
ret
Function at 0x4b77b4
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4b783d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4e1e28
push 0x202
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x4b7827
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040d1ec
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x4b7854
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x4dcaf4]
mov dl, 1
mov eax, dword [0x4b6ad8]
call fcn.0040db1c
call fcn.00404a40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b7844
lea eax, [ebp - 0x1c]
call fcn.004050d0
ret

Function at 0x4b7e34
Capabilities:
Set socket configuration

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, eax
xor esi, esi
xor edi, edi
movzx eax, byte [0x4b7e90]
cmp al, byte [ebx + 0x28]
je 0x4b7e58
mov esi, 0x401
mov eax, ebx
call fcn.004b7f8c
mov edi, eax
movzx eax, byte [ebx + 0x28]
push eax
push esi
push edi
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_WSAAsyncSelect
movzx eax, byte [0x4b7e90]
cmp al, byte [ebx + 0x28]
jne 0x4b7e88
xor eax, eax
mov dword [esp], eax
push esp
push 0x8004667e
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_ioctlsocket
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4b7f1c
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.004b7e34
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00404388
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, eax
mov ecx, 0x4b7f84
mov eax, ebx
call fcn.004b76f8
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x4b7f76
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00404388
pop esi
pop ebx
ret

Function at 0x4b7fa8
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00405560
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00403a40
test ebx, ebx
je 0x4b7ff7
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
movzx ecx, byte [edx]
mov byte [esp + 4], cl
movzx ecx, byte [edx + 1]
mov byte [esp + 5], cl
movzx ecx, byte [edx + 2]
mov byte [esp + 6], cl
movzx eax, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret
Function at 0x4b80d4
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4b8105
mov ecx, dword [0x4dccac]
mov dl, 1
mov eax, dword [0x4b6ad8]
call fcn.0040dae0
call fcn.00404a40
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x4b8132
mov ecx, dword [0x4dc8c0]
mov dl, 1
mov eax, dword [0x4b6ad8]
call fcn.0040dae0
call fcn.00404a40
xor eax, eax
push ebp
push 0x4b81b3
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00404388
cmp byte [ebp + 8], 0
je 0x4b818d
mov eax, dword [ebp + 0x14]
push eax
movzx eax, word [ebp + 0x10]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.004b803c
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004b7e94
jmp 0x4b81a9
mov eax, dword [ebp + 0x14]
push eax
movzx eax, word [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.004b79ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b81d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4b83a0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004b7cb4
xor eax, eax
push ebp
push 0x4b8513
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x4b84fd
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x4b83ec
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4b83f6
call fcn.00404aec
jmp 0x4b851a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041daa4
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x4b84f2
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov edi, eax
cmp edi, 0xffffffff
jne 0x4b84a5
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x4b8492
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404388
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.004b8358
pop ecx
mov eax, dword [ebp - 4]
movzx edx, byte [0x4b8528]
cmp dl, byte [eax + 0x28]
je 0x4b84f9
call fcn.0040da04
jmp 0x4b84f9
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041dac4
jmp 0x4b84f9
cmp edi, ebx
jge 0x4b84c1
mov eax, dword [ebp - 0xc]
add eax, edi
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041dac4
jmp 0x4b83f6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041daa4
cmp edx, dword [esp + 4]
jne 0x4b84e1
cmp eax, dword [esp]
pop edx
pop eax
jne 0x4b83f6
push ebp
call fcn.004b8358
pop ecx
jmp 0x4b84f9
push ebp
call fcn.004b8358
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b851a
mov eax, dword [ebp - 4]
call fcn.004b7cc0
ret
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b8570
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b86ba
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004b7cb4
xor eax, eax
push ebp
push 0x4b869d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x4b85d5
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4b85d5
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x4b8687
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4b85e8
call fcn.00404aec
jmp 0x4b86a4
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4b8687
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4b8687
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404388
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x4b8687
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040d1ec
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x4b86d4
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4dcaf4]
mov dl, 1
mov eax, dword [0x4b6ad8]
call fcn.0040db1c
call fcn.00404a40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b86a4
mov eax, dword [ebp - 4]
call fcn.004b7cc0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b86c1
lea eax, [ebp - 0x28]
call fcn.004050d0
ret
Function at 0x4bc54c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405550
mov eax, dword [ebp - 8]
call fcn.00405550
xor eax, eax
push ebp
push 0x4bc5f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x22], 2
lea eax, [ebp - 0x2c]
mov ecx, 0x4bc608
mov edx, dword [ebp - 4]
call fcn.004053e8
mov eax, dword [ebp - 0x2c]
call fcn.00405560
mov dword [ebp - 0x1e], eax
lea eax, [ebp - 0x30]
mov ecx, 0x4bc608
mov edx, dword [ebp - 8]
call fcn.004053e8
mov eax, dword [ebp - 0x30]
call fcn.00405560
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x16], 0x410
lea eax, [ebp - 0x26]
push eax
call sub.shell32.dll_SHFileOperationA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bc5fa
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004050f4
lea eax, [ebp - 8]
mov edx, 2
call fcn.004050f4
ret

Function at 0x4c7de8
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov edi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405550
xor eax, eax
push ebp
push 0x4c7ee3
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x44
call fcn.00403a40
lea eax, [ebp - 0x50]
push eax
call sub.kernel32.dll_GetStartupInfoA_1
lea eax, [ebp - 8]
push eax
lea eax, [ebx + 0x36]
mov dword [ebp - 0x78], eax
mov byte [ebp - 0x74], 4
lea eax, [ebx + 3]
mov dword [ebp - 0x70], eax
mov byte [ebp - 0x6c], 4
mov eax, dword [ebp - 4]
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x64], 0xb
mov eax, dword [ebx + 0xb4]
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 0
mov eax, dword [ebx + 0xb8]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0
lea edx, [ebp - 0x78]
mov ecx, 4
mov eax, 0x4c7efc
call fcn.0040ae98
lea eax, [ebp - 0xc]
lea edx, [ebx + 0x36]
call fcn.00405334
lea eax, [ebx + 0x9c]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405560
push eax
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00405560
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x4c7ec2
call sub.kernel32.dll_GetLastError_1
mov esi, eax
push edi
call sub.kernel32.dll_Sleep_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c7eea
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004050f4
ret

Function at 0x4c7f0c
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, edx
mov esi, eax
xor ebx, ebx
push ebp
mov eax, dword [esi + 0xac]
push eax
call sub.kernel32.dll_TerminateProcess
test eax, eax
je 0x4c7f2e
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
push edi
call sub.kernel32.dll_Sleep_1
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x405f2e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42bdb4], 0
push esi
jne 0x405f65
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f3f
mov dword [ecx*4 + 0x42bdb0], eax
inc ecx
cmp ecx, 0x100
jl 0x405f3a
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f96
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42bdb0]
xor eax, esi
inc ecx
dec edx
jne 0x405f78
pop edi
not eax
pop esi
ret 0xc

Function at 0x401647
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
call sub.kernel32.dll_GetCommandLineA
mov dword [0x405120], eax
mov ecx, ebp
add ecx, 8
mov dword [0x40508e], ecx
mov dword [0x405124], 0x30
mov dword [0x405128], 3
mov dword [0x405130], 0
mov dword [0x405134], 0
mov dword [0x40512c], 0x403148
mov eax, 0xffff0000
mov ebx, section..text
and ebx, eax
mov dword [0x405086], ebx
mov dword [0x405138], ebx
mov dword [0x405144], 0xf
mov dword [0x40514c], 0x405067
push 0x7f00
push 0
call sub.user32.dll_LoadIconA
mov dword [0x40513c], eax
mov dword [0x405150], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x405140], eax
push 0x405124
call sub.user32.dll_RegisterClassExA
push 0
push dword [0x405086]
push 0
push 0
push 0x2bc
push 0x1f4
push 0xa0
push 0x12c
push 0x40000
push str.Hello_word
push str.2class
push 0
call sub.user32.dll_CreateWindowExA
mov dword [0x405118], eax
push 0
push dword [0x405118]
call sub.user32.dll_ShowWindow
push dword [0x405118]
call sub.user32.dll_UpdateWindow
push 0
push 0
push 0
push 0x405154
call sub.user32.dll_GetMessageA
or eax, eax
je 0x40176b
push 0x405154
call sub.user32.dll_TranslateMessage
push 0x405154
call sub.user32.dll_DispatchMessageA
jmp 0x401741
mov eax, dword [0x40515c]
mov esi, dword [0x4051b4]
lea ecx, [0x405086]
add esi, eax
call esi
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

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

Disassembly:
pushal
call 0x43300c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x406624
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406648
xor eax, eax
test eax, eax
je 0x40665b
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40665b
xor ecx, ecx
jmp 0x40665e
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406787
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4698ec], 0
push esi
jne 0x4067be
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406798
mov dword [ecx*4 + 0x4698e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406793
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067ef
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4698e8]
xor eax, esi
inc ecx
dec edx
jne 0x4067d1
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219