joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48aa00
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffff88
mov dword [esp + 4], edx
mov dword [esp], eax
lea eax, [esp + 0x39]
xor ecx, ecx
mov edx, 0x3f
call fcn.00403540
lea edx, [esp + 0xc]
mov ecx, 0x2d
mov eax, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
je 0x48ab85
mov edi, 1
xor esi, esi
jmp 0x48aac5
mov al, byte [esp + edi + 0xb]
xor edx, edx
mov dl, al
shr edx, 2
and dl, 0x3f
and edx, 0xff
mov dl, byte [edx + 0x4edae8]
mov byte [esp + esi + 0x39], dl
mov edx, eax
shl edx, 4
xor eax, eax
mov al, byte [esp + edi + 0xc]
shr eax, 4
or dl, al
and dl, 0x3f
xor eax, eax
mov al, dl
mov al, byte [eax + 0x4edae8]
mov byte [esp + esi + 0x3a], al
mov dl, byte [esp + edi + 0xc]
shl edx, 2
mov al, byte [esp + edi + 0xd]
xor ecx, ecx
mov cl, al
shr ecx, 6
or dl, cl
and dl, 0x3f
and edx, 0xff
mov dl, byte [edx + 0x4edae8]
mov byte [esp + esi + 0x3b], dl
mov edx, eax
and dl, 0x3f
xor eax, eax
mov al, dl
mov al, byte [eax + 0x4edae8]
mov byte [esp + esi + 0x3c], al
add edi, 3
add esi, 4
mov eax, dword [esp + 8]
sub eax, 2
cmp edi, eax
jle 0x48aa46
cmp edi, dword [esp + 8]
jg 0x48ab6b
mov al, byte [esp + edi + 0xb]
xor edx, edx
mov dl, al
shr edx, 2
and dl, 0x3f
and edx, 0xff
mov dl, byte [edx + 0x4edae8]
mov byte [esp + esi + 0x39], dl
cmp edi, dword [esp + 8]
jne 0x48ab22
mov edx, eax
shl edx, 4
and dl, 0x30
and dl, 0x3f
xor eax, eax
mov al, dl
mov al, byte [eax + 0x4edae8]
mov byte [esp + esi + 0x3a], al
mov byte [esp + esi + 0x3b], 0x3d
jmp 0x48ab63
mov edx, eax
shl edx, 4
and dl, 0x30
xor eax, eax
mov al, byte [esp + edi + 0xc]
shr eax, 4
and al, 0xf
or dl, al
and dl, 0x3f
xor eax, eax
mov al, dl
mov al, byte [eax + 0x4edae8]
mov byte [esp + esi + 0x3a], al
mov dl, byte [esp + edi + 0xc]
shl edx, 2
and dl, 0x3c
and dl, 0x3f
xor eax, eax
mov al, dl
mov al, byte [eax + 0x4edae8]
mov byte [esp + esi + 0x3b], al
mov byte [esp + esi + 0x3c], 0x3d
add esi, 4
lea edx, [esp + 0x39]
mov ecx, esi
mov eax, dword [esp + 4]
mov ebx, dword [eax]
call dword [ebx + 0x10]
cmp dword [esp + 8], 0x2d
jge 0x48aa1d
add esp, 0x78
pop edi
pop esi
pop ebx
ret

Function at 0x4a30f0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe70
push ebx
push esi
test dl, dl
je 0x4a3107
add esp, 0xfffffff0
call fcn.0040402c
mov ebx, edx
mov esi, eax
mov byte [esi + 0x40], 0
xor eax, eax
mov dword [esi + 8], eax
lea eax, [esi + 0x28]
xor ecx, ecx
mov edx, 8
call fcn.00403540
mov dword [esi + 0x20], 0x2000
mov dword [esi + 0x24], 0x2000
mov dword [esi + 4], 0xffffffff
xor eax, eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x30], 0xffffffff
mov byte [esi + 0x41], 0
mov dword [esi + 0x58], 0xffffffff
lea eax, [ebp - 0x18e]
push eax
mov dl, 2
mov al, 2
call fcn.00407e04
push eax
call sub.ws2_32.dll_WSAStartup_1
test eax, eax
je 0x4a317f
mov ecx, 0x4a31a4
mov dl, 1
mov eax, dword [0x4a2fc0]
call fcn.0040fb10
call fcn.00404558
mov eax, esi
test bl, bl
je 0x4a3194
call fcn.00404084
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a3424
Capabilities:
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information
Set socket configuration

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe8
mov esi, eax
xor ebx, ebx
push 1
push 0
push 0
push 0
push 2
push 2
call sub.ws2_32.dll_WSASocketA
mov edi, eax
mov dword [esi + 4], edi
cmp edi, 0xffffffff
je 0x4a3500
mov byte [esp], 1
push 1
lea eax, [esp + 4]
push eax
push 4
push 0xffff
mov eax, dword [esi + 4]
push eax
call sub.ws2_32.dll_setsockopt
test eax, eax
jne 0x4a3500
push 4
lea eax, [esi + 0x41]
push eax
push 0x20
push 0xffff
mov eax, dword [esi + 4]
push eax
call sub.ws2_32.dll_setsockopt
test eax, eax
jne 0x4a3500
mov word [esp + 8], 2
mov eax, dword [esi + 8]
push eax
call sub.ws2_32.dll_htons
mov word [esp + 0xa], ax
xor eax, eax
mov dword [esp + 0xc], eax
push 0x10
lea eax, [esp + 0xc]
push eax
mov eax, dword [esi + 4]
push eax
call sub.ws2_32.dll_bind
inc eax
jne 0x4a34c1
mov eax, esi
call fcn.004a33f4
jmp 0x4a3500
mov dword [esp + 4], 0x10
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
mov eax, dword [esi + 4]
push eax
call sub.ws2_32.dll_getsockname
mov ax, word [esp + 0xa]
push eax
call sub.ws2_32.dll_ntohs
movzx eax, ax
mov dword [esi + 8], eax
cmp byte [esi + 0x44], 0
je 0x4a34fe
mov eax, esi
call fcn.004a3810
test al, al
je 0x4a3500
mov bl, 1
mov eax, ebx
add esp, 0x18
pop edi
pop esi
pop ebx
ret

Function at 0x4a3524
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4a35fd
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 0x24], 2
mov dword [ebp - 0x20], esi
push edi
call sub.ws2_32.dll_htons
mov word [ebp - 0x22], ax
mov dword [ebp - 0x10], 0x10
cmp byte [ebx + 0x44], 0
je 0x4a3585
mov eax, dword [ebp - 8]
push eax
push esi
push edi
mov ecx, dword [ebp - 4]
mov edx, dword [ebx + 4]
mov eax, ebx
call fcn.004a3e80
mov edi, eax
jmp 0x4a35a2
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ws2_32.dll_recvfrom
mov edi, eax
lea esi, [ebx + 0x28]
mov eax, dword [ebp - 0x20]
mov dword [esi], eax
mov ax, word [ebp - 0x22]
push eax
call sub.ws2_32.dll_ntohs
movzx eax, ax
mov dword [esi + 4], eax
cmp edi, 0xffffffff
jne 0x4a35f0
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x2733
je 0x4a35f3
cmp dword [ebp - 0x14], 0x2746
je 0x4a35f3
cmp word [ebx + 0x12], 0
je 0x4a35f3
lea eax, [ebp - 0x14]
push eax
mov cl, 2
mov edx, ebx
mov eax, dword [ebx + 0x14]
call dword [ebx + 0x10]
jmp 0x4a35f3
mov dword [ebp - 0xc], edi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a3607
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4a3614
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov byte [ebp - 9], 0
mov word [ebp - 0x20], 2
push ebx
call sub.ws2_32.dll_htons
mov word [ebp - 0x1e], ax
mov eax, edi
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
jne 0x4a365f
mov ecx, 0x4a36d8
mov dl, 1
mov eax, dword [0x4a2fc0]
call fcn.0040fb10
call fcn.00404558
cmp byte [esi + 0x44], 0
je 0x4a367a
mov eax, dword [ebp - 8]
push eax
push edi
push ebx
mov ecx, dword [ebp - 4]
mov edx, dword [esi + 4]
mov eax, esi
call fcn.004a3d5c
jmp 0x4a3693
push 0x10
lea eax, [ebp - 0x20]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [esi + 4]
push eax
call sub.ws2_32.dll_sendto
inc eax
jne 0x4a36be
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x4a36c2
cmp word [esi + 0x12], 0
je 0x4a36c2
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, esi
mov eax, dword [esi + 0x14]
call dword [esi + 0x10]
jmp 0x4a36c2
mov byte [ebp - 9], 1
mov al, byte [ebp - 9]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4a36f8
Capabilities:
Set socket configuration

Disassembly:
push ebx
add esp, 0xfffffff4
mov dword [esp], edx
mov ebx, eax
mov eax, dword [ebx + 0x24]
cmp eax, dword [esp]
je 0x4a3757
push 4
lea eax, [esp + 4]
push eax
push 0x1002
push 0xffff
mov eax, dword [ebx + 4]
push eax
call sub.ws2_32.dll_setsockopt
inc eax
jne 0x4a3751
call sub.kernel32.dll_GetLastError_1
mov dword [esp + 4], eax
mov byte [esp + 8], 0
lea eax, [esp + 4]
push eax
push 0
mov ecx, 0x4a3764
mov dl, 1
mov eax, dword [0x4a2fc0]
call fcn.0040fb4c
call fcn.00404558
mov eax, dword [esp]
mov dword [ebx + 0x24], eax
add esp, 0xc
pop ebx
ret

Function at 0x4a3784
Capabilities:
Set socket configuration

Disassembly:
push ebx
add esp, 0xfffffff4
mov dword [esp], edx
mov ebx, eax
mov eax, dword [ebx + 0x20]
cmp eax, dword [esp]
je 0x4a37e3
push 4
lea eax, [esp + 4]
push eax
push 0x1001
push 0xffff
mov eax, dword [ebx + 4]
push eax
call sub.ws2_32.dll_setsockopt
inc eax
jne 0x4a37dd
call sub.kernel32.dll_GetLastError_1
mov dword [esp + 4], eax
mov byte [esp + 8], 0
lea eax, [esp + 4]
push eax
push 0
mov ecx, 0x4a37f0
mov dl, 1
mov eax, dword [0x4a2fc0]
call fcn.0040fb4c
call fcn.00404558
mov eax, dword [esp]
mov dword [ebx + 0x20], eax
add esp, 0xc
pop ebx
ret
Function at 0x4a3810
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor edx, edx
mov dword [ebp - 0x1c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a3955
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 0x58], 0xffffffff
jne 0x4a3840
push 0
push 1
push 2
call sub.ws2_32.dll_socket
mov dword [ebx + 0x58], eax
mov word [ebp - 0x10], 2
mov eax, dword [ebx + 0x4c]
push eax
call sub.ws2_32.dll_htons
mov word [ebp - 0xe], ax
mov eax, dword [ebx + 0x48]
call fcn.0040509c
push eax
call sub.ws2_32.dll_inet_addr
mov dword [ebp - 0xc], eax
push 0x10
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx + 0x58]
push eax
call sub.ws2_32.dll_connect
inc eax
jne 0x4a389e
call sub.ws2_32.dll_WSAGetLastError
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0x18]
push eax
push 0
mov ecx, 0x4a396c
mov dl, 1
mov eax, dword [0x40a828]
call fcn.0040fb4c
call fcn.00404558
lea edx, [ebp - 0x1c]
mov eax, dword [ebx + 0x50]
call fcn.0040b840
cmp dword [ebp - 0x1c], 0
je 0x4a38bd
mov cl, 1
mov edx, dword [ebx + 0x58]
mov eax, ebx
call fcn.004a39e4
jmp 0x4a38c9
xor ecx, ecx
mov edx, dword [ebx + 0x58]
mov eax, ebx
call fcn.004a39e4
test al, al
jne 0x4a38fe
mov eax, dword [ebx + 0x58]
push eax
call sub.ws2_32.dll_closesocket
call sub.ws2_32.dll_WSAGetLastError
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0x18]
push eax
push 0
mov ecx, 0x4a3998
mov dl, 1
mov eax, dword [0x40a828]
call fcn.0040fb4c
call fcn.00404558
mov edx, dword [ebx + 0x58]
mov eax, ebx
call fcn.004a3c84
test al, al
jne 0x4a393d
mov eax, dword [ebx + 0x58]
push eax
call sub.ws2_32.dll_closesocket
call sub.ws2_32.dll_WSAGetLastError
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0x18]
push eax
push 0
mov ecx, 0x4a39c4
mov dl, 1
mov eax, dword [0x40a828]
call fcn.0040fb4c
call fcn.00404558
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a395c
lea eax, [ebp - 0x1c]
call fcn.00404bdc
ret
Function at 0x4a3c84
Capabilities:
Get local ipv4 addresses
Get socket information
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffee4
mov esi, edx
mov edi, eax
lea ebp, [esp + 0x1a]
xor ebx, ebx
mov dword [esp], 0x10
push esp
lea eax, [esp + 0xe]
push eax
mov eax, dword [edi + 4]
push eax
call sub.ws2_32.dll_getsockname
mov byte [ebp], 5
mov byte [ebp + 1], 3
mov byte [ebp + 2], 0
mov byte [ebp + 3], 1
lea edx, [esp + 0xe]
lea eax, [ebp + 4]
mov ecx, 4
call fcn.00407e2c
lea edx, [esp + 0xc]
lea eax, [ebp + 8]
mov ecx, 2
call fcn.00407e2c
push 0
push 0xa
push ebp
push esi
call sub.ws2_32.dll_send
mov eax, ebp
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00403540
push 0
push pe_nt_image_headers32
push ebp
push esi
call sub.ws2_32.dll_recv
cmp byte [ebp], 5
je 0x4a3d13
cmp byte [ebp + 1], 0
jne 0x4a3d4d
lea edx, [ebp + 4]
lea eax, [esp + 4]
mov ecx, 4
call fcn.00407e2c
lea edx, [ebp + 8]
lea eax, [esp + 8]
mov ecx, 2
call fcn.00407e2c
mov word [edi + 0x5c], 2
mov ax, word [esp + 8]
mov word [edi + 0x5e], ax
mov eax, dword [esp + 4]
mov dword [edi + 0x60], eax
mov bl, 1
mov eax, ebx
add esp, 0x11c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4a3d5c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 0x10]
mov word [ebp - 0x414], 2
mov eax, dword [ebp + 8]
push eax
call sub.ws2_32.dll_htons
mov word [ebp - 0x412], ax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x410], eax
lea eax, [ebp - 0x404]
xor ecx, ecx
mov edx, 0x3ff
call fcn.00403540
mov byte [ebp - 0x404], 0
mov byte [ebp - 0x403], 0
mov byte [ebp - 0x402], 0
mov byte [ebp - 0x401], 1
lea edx, [ebp - 0x410]
lea eax, [ebp - 0x400]
mov ecx, 4
call fcn.00407e2c
lea edx, [ebp - 0x412]
lea eax, [ebp - 0x3fc]
mov ecx, 2
call fcn.00407e2c
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x3fa]
mov ecx, esi
call fcn.00407e2c
push 0x10
lea eax, [ebx + 0x5c]
push eax
push 0
add esi, 0xa
jno 0x4a3e10
call fcn.00403c48
push esi
lea eax, [ebp - 0x404]
push eax
push edi
call sub.ws2_32.dll_sendto
cmp eax, 0xffffffff
jne 0x4a3e54
call sub.ws2_32.dll_WSAGetLastError
mov dword [ebp - 0x41c], eax
mov byte [ebp - 0x418], 0
lea eax, [ebp - 0x41c]
push eax
push 0
mov ecx, 0x4a3e68
mov dl, 1
mov eax, dword [0x40a828]
call fcn.0040fb4c
call fcn.00404558
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4a3e80
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0x404]
xor ecx, ecx
mov edx, 0x400
call fcn.00403540
mov word [ebp - 0x414], 2
mov eax, dword [ebp + 8]
push eax
call sub.ws2_32.dll_htons
mov word [ebp - 0x412], ax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x410], eax
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x414]
push eax
push 0
push ebx
lea eax, [ebp - 0x404]
push eax
push esi
call sub.ws2_32.dll_recvfrom
mov esi, eax
cmp esi, 0xffffffff
jne 0x4a3f21
call sub.ws2_32.dll_WSAGetLastError
mov dword [ebp - 0x41c], eax
mov byte [ebp - 0x418], 0
lea eax, [ebp - 0x41c]
push eax
push 0
mov ecx, 0x4a3fe4
mov dl, 1
mov eax, dword [0x40a828]
call fcn.0040fb4c
call fcn.00404558
cmp byte [ebp - 0x404], 0
je 0x4a3f3e
mov ecx, 0x296
mov edx, 0x4a4004
mov eax, 0x4a4048
call fcn.00404b38
cmp byte [ebp - 0x403], 0
je 0x4a3f5b
mov ecx, 0x297
mov edx, 0x4a4004
mov eax, 0x4a4048
call fcn.00404b38
cmp byte [ebp - 0x402], 0
je 0x4a3f78
mov ecx, 0x298
mov edx, 0x4a4004
mov eax, 0x4a4048
call fcn.00404b38
cmp byte [ebp - 0x401], 1
je 0x4a3f95
mov ecx, 0x299
mov edx, 0x4a4004
mov eax, 0x4a4048
call fcn.00404b38
lea edx, [ebp - 0x400]
lea eax, [ebp - 0x410]
mov ecx, 4
call fcn.00407e2c
lea edx, [ebp - 0x3fc]
lea eax, [ebp - 0x412]
mov ecx, 2
call fcn.00407e2c
lea edx, [ebp - 0x3fa]
mov eax, edi
mov ecx, ebx
call fcn.00407e2c
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4aa230
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0xc
add esp, 0xfffff004
push eax
dec eax
jne 0x4aa239
mov eax, dword [ebp - 4]
add esp, 0xfffff7ec
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xor edx, edx
push ebp
push 0x4aa36c
push dword fs:[edx]
mov dword fs:[edx], esp
lea ebx, [ebp - 0xc815]
mov dword [ebx], 0xff76abbd
mov byte [ebx + 0xc], 0
mov edx, dword [esi]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x28], eax
xor edx, edx
mov dword [ebx + 0x14], edx
mov edx, dword [esi + 0xc]
mov dword [ebx + 0x20], edx
mov dx, word [esi + 0x10]
mov word [ebx + 0x24], dx
mov edx, dword [ebp + 8]
mov dword [ebx + 0x1c], edx
lea edx, [ebx + 0x2c]
mov ecx, eax
mov eax, dword [ebp - 8]
xchg edx, eax
call fcn.00407e2c
mov eax, dword [ebx + 0x28]
add eax, 0x30
jno 0x4aa2b8
call fcn.00403c48
sub eax, 1
jno 0x4aa2c2
call fcn.00403c48
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov ecx, dword [eax]
call dword [ecx + 0xc]
xor eax, eax
push ebp
push 0x4aa34f
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x14]
mov edx, dword [esi]
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0x20]
test al, al
je 0x4aa336
cmp dword [ebp + 8], 1
jg 0x4aa318
push ebx
mov eax, dword [ebp - 0xc]
push eax
push 1
push 0
mov eax, dword [ebp - 0x14]
mov cx, word [eax + 8]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
call fcn.004a95a0
jmp 0x4aa336
push ebx
mov eax, dword [ebp - 0xc]
push eax
push 5
push 0
mov eax, dword [ebp - 0x14]
mov cx, word [eax + 8]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
call fcn.004a95a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aa356
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov edx, dword [eax]
call dword [edx + 0x10]
ret

Function at 0x4c5c90
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x4c5cb5
cmp dword [esp + 4], 5
jb 0x4c5cb5
mov al, 1
jmp 0x4c5cb7
xor eax, eax
add esp, 0x94
ret
Function at 0x4e0bfc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 3
add esp, 0xfffff004
push eax
dec eax
jne 0x4e0c05
mov eax, dword [ebp - 4]
add esp, 0xfffff178
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x4e0cb4
push dword fs:[edx]
mov dword fs:[edx], esp
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x1c8]
cmp eax, 0xea60
jae 0x4e0c4e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e0cfa
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c8], eax
lea edx, [ebp - 0x3e84]
mov eax, dword [0x4eec38]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edi, eax
dec edi
cmp edi, 0
jl 0x4e0caa
lea ebx, [ebp + edi*8 - 0x3e80]
mov esi, dword [ebx]
cmp byte [esi + 0x28], 0
jne 0x4e0ca1
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [esi + 0x2a]
cmp eax, 0x1d4c0
jbe 0x4e0ca1
mov edx, dword [esi]
mov eax, dword [ebp - 4]
call fcn.004e0d38
dec edi
sub ebx, 8
cmp edi, 0xffffffff
jne 0x4e0c80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e0cfa
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e44f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4e45cb
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4e4579
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x1c4]
cmp eax, 0x1d4c0
jae 0x4e4538
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e45b5
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x1c4], eax
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 4]
mov eax, dword [0x4eec38]
mov eax, dword [eax]
call fcn.004dbd38
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x4eeae4]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004d934c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e45b5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e45d2
lea eax, [ebp - 0x10]
call fcn.00404bdc
ret

Function at 0x4e4608
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffbc
mov edi, eax
mov esi, dword [edx + 0x14]
cmp dword [edx + 0x18], 0x74
jne 0x4e46e0
mov eax, dword [0x4eec38]
mov eax, dword [eax]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
call fcn.004dbb04
test al, al
je 0x4e46e0
cmp byte [edi + 0x121], 0
jne 0x4e46e0
mov ebx, dword [esi + 4]
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [edi + 0x128]
cdq
cmp edx, dword [esp + 4]
jne 0x4e465d
cmp eax, dword [esp]
pop edx
pop eax
je 0x4e46e0
mov ecx, esp
mov eax, dword [0x4eec38]
mov eax, dword [eax]
mov edx, ebx
call fcn.004dbc24
test al, al
je 0x4e46e0
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [esp + 0x2e]
xor edx, edx
push edx
push eax
mov eax, dword [edi + 0xd8]
cdq
cmp edx, dword [esp + 4]
jne 0x4e4698
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x4e469c
jmp 0x4e46e0
pop edx
pop eax
jg 0x4e46e0
call sub.kernel32.dll_GetTickCount_1
mov dword [esp + 0x2e], eax
mov eax, dword [0x4eec38]
mov eax, dword [eax]
mov edx, esp
call fcn.004dbc8c
xor ebx, ebx
fld qword [esi + ebx*8 + 0xc]
fcomp dword [0x4e46e8]
fnstsw ax
sahf
jbe 0x4e46da
push dword [esi + ebx*8 + 0x10]
push dword [esi + ebx*8 + 0xc]
push 0
mov ecx, ebx
mov edx, dword [esi + 4]
mov eax, edi
call fcn.004e46ec
inc ebx
cmp ebx, 0xd
jne 0x4e46b5
add esp, 0x44
pop edi
pop esi
pop ebx
ret
Function at 0x401c60
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54a816
mov eax, dword fs:[0]
push eax
sub esp, 0x85c
mov eax, dword [0x5b0050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x868]
call fcn.00408ec6
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
push 0x58e5d0
lea ecx, [ebp - 0x628]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
lea edx, [ebp - 0x628]
push edx
lea ecx, [ebp - 0x868]
call fcn.00409382
mov dword [ebp - 0x834], eax
cmp dword [ebp - 0x834], 0
je 0x401dc8
lea ecx, [ebp - 0x868]
call fcn.0040952a
mov dword [ebp - 0x834], eax
lea ecx, [ebp - 0x868]
call fcn.004098f5
test eax, eax
jne 0x401dc3
lea eax, [ebp - 0x840]
push eax
lea ecx, [ebp - 0x868]
call fcn.00409619
mov dword [ebp - 0x848], eax
mov ecx, dword [ebp - 0x848]
mov dword [ebp - 0x83c], ecx
mov byte [ebp - 4], 1
push 0x104
mov ecx, dword [ebp - 0x83c]
call fcn.00402440
push eax
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x840]
call fcn.004020c0
lea ecx, [ebp - 0x868]
call fcn.00402080
test eax, eax
je 0x401d96
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x58e5e0
lea edx, [ebp - 0x830]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x830]
push eax
call fcn.00401c60
add esp, 4
jmp 0x401dc3
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x58e5ec
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x401cd0
lea ecx, [ebp - 0x868]
call fcn.004092af
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x401e07
mov dword [ebp - 0x84c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x868]
call fcn.00409077
mov eax, dword [ebp - 0x84c]
jmp 0x401e4d
mov dword [ebp - 0x838], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x868]
call fcn.00409077
mov eax, dword [ebp - 0x838]
jmp 0x401e4d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00531c35
mov esp, ebp
pop ebp
ret