joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48a324
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x108]
call fcn.0048a2e0
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404a34
mov edx, dword [ebp - 4]
mov edx, dword [edx]
cmp byte [edx + eax - 1], 0x5c
je 0x48a37a
mov eax, dword [ebp - 4]
mov edx, 0x48a388
call fcn.00404a3c
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x48a38c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x108]
call fcn.0048a2e0
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404a34
mov edx, dword [ebp - 4]
mov edx, dword [edx]
cmp byte [edx + eax - 1], 0x5c
je 0x48a3e2
mov eax, dword [ebp - 4]
mov edx, 0x48a3f0
call fcn.00404a3c
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x48a7bc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 4], eax
lea eax, [ebp - 0x108]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x108]
call fcn.004896d4
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404a34
mov edx, dword [ebp - 4]
mov edx, dword [edx]
cmp byte [edx + eax - 1], 0x5c
je 0x48a80d
mov eax, dword [ebp - 4]
mov edx, 0x48a81c
call fcn.00404a3c
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x4a4ec0
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 0x4a4f49
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4e8d50
push 0x202
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x4a4f33
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040e488
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, 0x4a4f60
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x4e7cf4]
mov dl, 1
mov eax, dword [0x4a46c0]
call fcn.0040ef38
call fcn.0040410c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4f50
lea eax, [ebp - 0x1c]
call fcn.00404774
ret

Function at 0x4a5604
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.004a5520
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403b7c
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, 0x4a566c
mov eax, ebx
call fcn.004a4e04
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x4a565e
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.00403b7c
pop esi
pop ebx
ret
Function at 0x4a5690
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00404c34
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.004031b8
test ebx, ebx
je 0x4a56db
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, 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 0x4a57b8
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 0x4a57e9
mov ecx, dword [0x4e7b60]
mov dl, 1
mov eax, dword [0x4a46c0]
call fcn.0040eef0
call fcn.0040410c
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 0x4a5816
mov ecx, dword [0x4e7aa0]
mov dl, 1
mov eax, dword [0x4a46c0]
call fcn.0040eef0
call fcn.0040410c
xor eax, eax
push ebp
push 0x4a5892
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.00403b7c
cmp byte [ebp + 8], 0
je 0x4a586e
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.004a5720
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 eax, dword [ebp - 4]
call fcn.004a5604
jmp 0x4a5888
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.004a50f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a58af
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4a5a98
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
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004a53b8
xor eax, eax
push ebp
push 0x4a5c09
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 0x4a5bf3
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x4a5ae3
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4a5aed
call fcn.004041b8
jmp 0x4a5c10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00422048
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 0x4a5be8
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 ecx, eax
cmp ecx, 0xffffffff
jne 0x4a5b9b
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x4a5b88
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403b7c
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.004a5a50
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x4a5c1c]
cmp dl, byte [eax + 0x28]
je 0x4a5bef
call fcn.0040ede8
jmp 0x4a5bef
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00422070
jmp 0x4a5bef
cmp ecx, ebx
jge 0x4a5bb7
mov eax, dword [ebp - 0xc]
add eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00422070
jmp 0x4a5aed
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.00422048
cmp edx, dword [esp + 4]
jne 0x4a5bd7
cmp eax, dword [esp]
pop edx
pop eax
jne 0x4a5aed
push ebp
call fcn.004a5a50
pop ecx
jmp 0x4a5bef
push ebp
call fcn.004a5a50
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5c10
mov eax, dword [ebp - 4]
call fcn.004a53c4
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a5c20
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a5d42
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004a53b8
xor eax, eax
push ebp
push 0x4a5d25
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4a5c70
call fcn.004041b8
jmp 0x4a5d2c
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4a5d0f
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4a5d0f
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403b7c
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 0x4a5d0f
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040e488
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, 0x4a5d5c
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4e7cf4]
mov dl, 1
mov eax, dword [0x4a46c0]
call fcn.0040ef38
call fcn.0040410c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5d2c
mov eax, dword [ebp - 4]
call fcn.004a53c4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5d49
lea eax, [ebp - 0x28]
call fcn.00404774
ret
Function at 0x4a5da8
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 0x4a5ef2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004a53b8
xor eax, eax
push ebp
push 0x4a5ed5
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x4a5e0d
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4a5e0d
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 0x4a5ebf
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4a5e20
call fcn.004041b8
jmp 0x4a5edc
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 0x4a5ebf
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4a5ebf
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403b7c
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 0x4a5ebf
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040e488
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, 0x4a5f0c
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4e7cf4]
mov dl, 1
mov eax, dword [0x4a46c0]
call fcn.0040ef38
call fcn.0040410c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5edc
mov eax, dword [ebp - 4]
call fcn.004a53c4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5ef9
lea eax, [ebp - 0x28]
call fcn.00404774
ret

Function at 0x4ad87c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4ad8f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, 0x104
call fcn.00404dc0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404c34
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404a34
push eax
call sub.kernel32.dll_GetTempPathA
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404dc0
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004ad624
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad8f8
lea eax, [ebp - 0xc]
call fcn.00404774
ret
Function at 0x4bf4e8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4bf559
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004bf4c4
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.004acd24
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
call fcn.004ac874
mov eax, dword [ebp - 8]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bf560
lea eax, [ebp - 0x14]
call fcn.00404774
ret

Function at 0x4c3810
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0xefcdab89
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x10325476
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 4]
add eax, 0x18
mov edx, 0x40
call fcn.00407998
pop ecx
pop ebp
ret
Function at 0x4c4b9c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 4]
add eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
add eax, 8
mov eax, dword [eax]
mov edx, dword [ebp - 8]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
add eax, 0xc
mov eax, dword [eax]
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4 + 0xc]
shl eax, 0x18
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [edx + ecx*4 + 0xc]
shr edx, 8
or eax, edx
mov dword [ebp - 0x14], eax
xor eax, eax
mov al, byte [ebp - 0x14]
mov eax, dword [eax*4 + 0x4e60dc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
shr eax, 8
and eax, 0xff
mov eax, dword [eax*4 + 0x4e60dc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x4e60dc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
shr eax, 0x18
and eax, 0xff
mov eax, dword [eax*4 + 0x4e60dc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
shl eax, 8
mov edx, dword [ebp - 0x1c]
shr edx, 0x18
or eax, edx
xor eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
shl edx, 0x10
mov ecx, dword [ebp - 0x20]
shr ecx, 0x10
or edx, ecx
xor eax, edx
mov edx, dword [ebp - 0x24]
shl edx, 0x18
mov ecx, dword [ebp - 0x24]
shr ecx, 8
or edx, ecx
xor eax, edx
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor eax, dword [edx + ecx*4]
mov edx, dword [ebp - 0x10]
xor eax, dword [edx*4 + 0x4e6060]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov dword [edx + ecx*4 + 0x10], eax
inc dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4 + 4]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor eax, dword [edx + ecx*4 + 0x10]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov dword [edx + ecx*4 + 0x14], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4 + 8]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor eax, dword [edx + ecx*4 + 0x14]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov dword [edx + ecx*4 + 0x18], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4 + 0xc]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor eax, dword [edx + ecx*4 + 0x18]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov dword [edx + ecx*4 + 0x1c], eax
add dword [ebp - 0xc], 4
cmp dword [ebp - 0xc], 0x28
jl 0x4c4be8
mov esp, ebp
pop ebp
ret
Function at 0x4c99b0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4c99de
mov eax, ebx
call fcn.004ca464
cmp dword [ebx + 0x40], 0
je 0x4c99d7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4c9a4f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4c9a41
cmp dword [ebx + 8], 0
je 0x4c9a00
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4c9a12
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4c9a41
cmp dword [ebx + 8], 0
je 0x4c99f3
cmp eax, 3
je 0x4c9a25
dec eax
jne 0x4c99f3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4c99f3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4c99f3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4c9a6d
cmp dword [ebx + 0x14], 0xcc
je 0x4c9a6d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004c9a78
pop ebx
ret

Function at 0x4df64c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c34
push eax
call sub.kernel32.dll_GetFileAttributesA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x4df672
test byte [ebp - 0xc], 0x10
jne 0x4df676
xor eax, eax
jmp 0x4df678
mov al, 1
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x4e31d4
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e3254
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x41ca14]
call fcn.004225d4
mov dword [ebp - 8], eax
push dword [ebp + 0xc]
push dword [ebp + 8]
lea eax, [ebp - 0x28]
call fcn.0040b674
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_SystemTimeToFileTime
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
call sub.kernel32.dll_LocalFileTimeToFileTime
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SetFileTime
mov eax, dword [ebp - 8]
call fcn.00403980
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e325e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4082e8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
cmp dword [0x44d1fc], 0
mov ebp, esp
push edi
mov ecx, dword [ebp + 0xc]
push esi
push ebx
mov ebx, dword [ebp + 0x10]
jne 0x408329
xor edx, edx
mov eax, edx
mov esi, 8
mov edi, eax
and eax, 1
neg eax
shr edi, 1
and eax, 0xedb88320
xor eax, edi
dec esi
jne 0x408306
mov dword [edx*4 + 0x44d1f8], eax
inc edx
cmp edx, 0x100
jne 0x4082ff
mov eax, dword [ebp + 8]
not eax
jmp 0x408343
mov dl, byte [ecx]
dec ebx
inc ecx
xor edx, eax
movzx edx, dl
shr eax, 8
xor eax, dword [edx*4 + 0x44d1f8]
test ebx, ebx
jne 0x408330
pop ebx
not eax
pop esi
pop edi
pop ebp
ret 0xc

Function at 0x50c5f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9000]
push edi
jmp 0x50c60a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x50c611
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50c600
mov eax, 1
add ebx, ebx
jne 0x50c623
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x50c618
jne 0x50c634
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50c618
xor ecx, ecx
sub eax, 3
jb 0x50c648
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x50c6ba
mov ebp, eax
add ebx, ebx
jne 0x50c653
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x50c660
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x50c684
inc ecx
add ebx, ebx
jne 0x50c670
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x50c665
jne 0x50c681
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50c665
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x50c6a4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x50c695
jmp 0x50c606
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x50c6a4
add edi, ecx
jmp 0x50c606
pop esi
lea edi, [esi + 0xa000]
mov eax, dword [edi]
or eax, eax
je 0x50c703
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xeacc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xeb24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x50c6c1
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xeb2c]
or eax, eax
je 0x50c6fd
mov dword [ebx], eax
add ebx, 4
jmp 0x50c6de
call dword [esi + 0xeb28]
mov ebp, dword [esi + 0xeb30]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x50c737
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x417860
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x41789e
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
xor eax, eax
mov al, byte [edx + ecx]
xor eax, dword [ebp - 0xc]
and eax, 0xff
mov edx, dword [eax*4 + 0x694780]
mov ecx, dword [ebp - 0xc]
shr ecx, 8
xor edx, ecx
mov dword [ebp - 0xc], edx
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 8]
jb 0x417876
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x417c08
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
mov dword [ebp - 0x2c], eax
mov eax, 0x694d84
call fcn.004a9dd4
mov word [ebp - 0x18], 8
lea eax, [ebp - 4]
call fcn.0040296c
inc dword [ebp - 0xc]
mov word [ebp - 0x18], 0x14
push 0x100000
call fcn.004a8c84
pop ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x2c]
mov ecx, 0x3e8
cdq
idiv ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
inc eax
push eax
push dword [0x6dfeb8]
push str._smg_mf_d.mbl
lea edx, [ebp - 4]
push edx
call fcn.0068ecbc
add esp, 0x10
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0045577c
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
mov ecx, 0x3e8
cdq
idiv ecx
mov dword [ebp - 0x30], edx
mov edx, dword [ebp - 0x30]
shl edx, 0x14
xor ecx, ecx
mov eax, dword [ebp - 0x38]
call fcn.0045585c
mov ecx, 0x100000
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x38]
call fcn.00455804
mov eax, dword [ebp - 0x38]
call fcn.004558a0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], edx
xor ecx, ecx
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x34]
xor ecx, ecx
mov cl, byte [eax + edx]
xor ecx, dword [ebp - 0x3c]
and ecx, 0xff
mov eax, dword [ecx*4 + 0x694780]
mov edx, dword [ebp - 0x3c]
shr edx, 8
xor eax, edx
mov dword [ebp - 0x3c], eax
inc dword [ebp - 0x34]
cmp dword [ebp - 0x34], 0x100000
jl 0x417cb8
push dword [ebp - 0x40]
call fcn.004a8aac
pop ecx
mov eax, dword [ebp - 0x3c]
push eax
dec dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0068eae0
pop eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret