joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ee5c4
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
dec eax
test eax, eax
jl 0x4ee681
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
inc byte [eax + 0x100]
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x100]
mov edx, dword [ebp - 4]
mov al, byte [edx + eax]
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 4]
mov dl, byte [ebp - 0x11]
add byte [eax + 0x101], dl
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x101]
mov edx, dword [ebp - 4]
mov al, byte [edx + eax]
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x100]
mov ecx, dword [ebp - 4]
mov byte [ecx + edx], al
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x101]
mov edx, dword [ebp - 4]
mov cl, byte [ebp - 0x11]
mov byte [edx + eax], cl
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x100]
mov edx, dword [ebp - 4]
mov al, byte [edx + eax]
add byte [ebp - 0x11], al
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx]
xor edx, edx
mov dl, byte [ebp - 0x11]
mov ecx, dword [ebp - 4]
xor al, byte [ecx + edx]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx], al
inc dword [ebp - 0x10]
dec dword [ebp - 0x18]
jne 0x4ee5ea
mov esp, ebp
pop ebp
ret 4

Function at 0x4ef170
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fa4
xor eax, eax
push ebp
push 0x4ef1eb
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp - 4]
call fcn.00404fb4
push eax
call sub.KERNEL32.DLL_CreateFileA_1
mov dword [ebp - 8], eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x6a8
mov eax, dword [0x669ec4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_WriteFile_1
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ef1f2
lea eax, [ebp - 4]
call fcn.00404ae4
ret
Function at 0x4f2ad4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ax, word [eax]
mov word [ebp - 0xa], ax
inc dword [ebp - 4]
dec dword [ebp - 8]
inc dword [ebp - 4]
dec dword [ebp - 8]
cmp dword [ebp - 8], 0
jle 0x4f2b18
mov eax, dword [ebp - 4]
mov ax, word [eax]
xor word [ebp - 0xa], ax
inc dword [ebp - 4]
dec dword [ebp - 8]
inc dword [ebp - 4]
dec dword [ebp - 8]
cmp dword [ebp - 8], 0
jg 0x4f2afc
mov ax, word [ebp - 0xa]
mov esp, ebp
pop ebp
ret

Function at 0x4f4108
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x4f4197
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x6ccf34
push 0x101
call sub.wsock32.dll_WSAStartup
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4f4181
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0040e538
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0
mov eax, 0x4f41ac
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0x1c]
push eax
push 2
mov ecx, dword [0x669ddc]
mov dl, 1
mov eax, dword [0x4f38f8]
call fcn.0040efdc
call fcn.00404460
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f419e
lea eax, [ebp - 0x20]
call fcn.00404ae4
ret

Function at 0x4f4834
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov al, byte [0x4f48b0]
mov edx, dword [ebp - 4]
cmp al, byte [edx + 0x28]
je 0x4f4866
mov dword [ebp - 8], 0x401
mov eax, dword [ebp - 4]
call fcn.004f49dc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x28]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_WSAAsyncSelect
mov al, byte [0x4f48b0]
mov edx, dword [ebp - 4]
cmp al, byte [edx + 0x28]
jne 0x4f48a9
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0x8004667e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
mov esp, ebp
pop ebp
ret
Function at 0x4f4954
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004f4834
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00403e90
push 0x10
mov eax, dword [ebp - 4]
add eax, 0x18
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x4f49d4
call fcn.004f403c
mov eax, dword [ebp - 4]
mov byte [eax + 0x29], 0
mov eax, dword [ebp - 4]
test byte [eax + 0x28], 0x10
jne 0x4f49c5
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
setne al
mov edx, dword [ebp - 4]
mov byte [edx + 8], al
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00403e90
pop esi
pop ecx
pop ebp
ret

Function at 0x4f4a14
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404fb4
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
xor ecx, ecx
mov edx, 4
call fcn.00403224
cmp dword [ebp - 0x10], 0
je 0x4f4a83
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov al, byte [eax]
mov byte [ebp - 0x14], al
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov al, byte [eax + 1]
mov byte [ebp - 0x13], al
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov al, byte [eax + 2]
mov byte [ebp - 0x12], al
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov al, byte [eax + 3]
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x4f4b8c
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4f4bbe
mov ecx, dword [0x669a4c]
mov dl, 1
mov eax, dword [0x4f38f8]
call fcn.0040ef94
call fcn.00404460
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x4f4bef
mov ecx, dword [0x669898]
mov dl, 1
mov eax, dword [0x4f38f8]
call fcn.0040ef94
call fcn.00404460
xor eax, eax
push ebp
push 0x4f4c6d
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.00403e90
cmp byte [ebp + 8], 0
je 0x4f4c48
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004f4ae0
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x1c]
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.004f4954
jmp 0x4f4c63
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004f43a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f4c8a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4f4ed0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffffe8
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004f4698
xor eax, eax
push ebp
push 0x4f504e
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 0x4f5038
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x4f4f1b
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4f4f25
call fcn.0040450c
jmp 0x4f5055
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004204a8
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1018]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x4f502d
push 0
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x1018]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x4f4fdb
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2733
je 0x4f4fc8
lea eax, [ebp - 0x18]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403e90
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.004f4e88
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x4f5060]
cmp dl, byte [eax + 0x28]
je 0x4f5034
call fcn.0040ee98
jmp 0x4f5034
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004204d0
jmp 0x4f5034
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jle 0x4f4ffc
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x14]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004204d0
jmp 0x4f4f25
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.004204a8
cmp edx, dword [esp + 4]
jne 0x4f501c
cmp eax, dword [esp]
pop edx
pop eax
jne 0x4f4f25
push ebp
call fcn.004f4e88
pop ecx
jmp 0x4f5034
push ebp
call fcn.004f4e88
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f5055
mov eax, dword [ebp - 4]
call fcn.004f46b0
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f5064
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4f518e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004f4698
xor eax, eax
push ebp
push 0x4f5171
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4f50b6
call fcn.0040450c
jmp 0x4f5178
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4f515b
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x2733
je 0x4f515b
lea eax, [ebp - 0x14]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403e90
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 - 0x14], 0
je 0x4f515b
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x14]
call fcn.0040e538
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
mov eax, 0x4f51a8
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea eax, [ebp - 0x2c]
push eax
push 2
mov ecx, dword [0x669ddc]
mov dl, 1
mov eax, dword [0x4f38f8]
call fcn.0040efdc
call fcn.00404460
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f5178
mov eax, dword [ebp - 4]
call fcn.004f46b0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f5195
lea eax, [ebp - 0x30]
call fcn.00404ae4
ret
Function at 0x4f5220
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4f5373
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004f4698
xor eax, eax
push ebp
push 0x4f5356
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4f5288
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4f5288
lea eax, [ebp - 0x10]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x4f5340
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4f529b
call fcn.0040450c
jmp 0x4f535d
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4f5340
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x2733
je 0x4f5340
lea eax, [ebp - 0x14]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403e90
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 - 0x14], 0
je 0x4f5340
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x14]
call fcn.0040e538
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
mov eax, 0x4f538c
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea eax, [ebp - 0x2c]
push eax
push 2
mov ecx, dword [0x669ddc]
mov dl, 1
mov eax, dword [0x4f38f8]
call fcn.0040efdc
call fcn.00404460
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f535d
mov eax, dword [ebp - 4]
call fcn.004f46b0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f537a
lea eax, [ebp - 0x30]
call fcn.00404ae4
ret
Function at 0x4f6c0c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
test eax, eax
jns 0x4f6c2c
add eax, 0x7fffff
sar eax, 0x17
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
and eax, 0x807fffff
jns 0x4f6c43
dec eax
or eax, 0xff800000
inc eax
mov dword [ebp - 0x1c], eax
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
shl eax, 9
push eax
mov eax, dword [0x665f6c]
push eax
call sub.KERNEL32.DLL_SetFilePointer_1
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
imul dword [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [0x665f6c]
push eax
call sub.KERNEL32.DLL_ReadFile_1
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 4
Function at 0x595d80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeac
xor edx, edx
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fa4
xor eax, eax
push ebp
push 0x595f0c
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
mov eax, 2
call fcn.00585124
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x138], 0x128
lea edx, [ebp - 0x138]
mov eax, dword [ebp - 0x10]
call fcn.00585158
mov dword [ebp - 0xc], eax
jmp 0x595ed3
lea eax, [ebp - 0x144]
lea edx, [ebp - 0x114]
mov ecx, 0x104
call fcn.00404d64
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.0040af40
mov eax, dword [ebp - 0x140]
lea edx, [ebp - 0x13c]
call fcn.00409904
mov eax, dword [ebp - 0x13c]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.00409904
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00404f00
je 0x595ea7
lea eax, [ebp - 0x150]
lea edx, [ebp - 0x114]
mov ecx, 0x104
call fcn.00404d64
mov eax, dword [ebp - 0x150]
lea edx, [ebp - 0x14c]
call fcn.00409904
mov eax, dword [ebp - 0x14c]
push eax
lea edx, [ebp - 0x154]
mov eax, dword [ebp - 4]
call fcn.00409904
mov edx, dword [ebp - 0x154]
pop eax
call fcn.00404f00
jne 0x595ec2
push 0
mov eax, dword [ebp - 0x130]
push eax
push 0
push 1
call sub.KERNEL32.DLL_OpenProcess
push eax
call sub.KERNEL32.DLL_TerminateProcess
mov dword [ebp - 8], eax
lea edx, [ebp - 0x138]
mov eax, dword [ebp - 0x10]
call fcn.0058518c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x595e02
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x595f13
lea eax, [ebp - 0x154]
mov edx, 7
call fcn.00404b08
lea eax, [ebp - 4]
call fcn.00404ae4
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
call sub.KERNEL32.DLL_GetTickCount_1
add eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
call sub.KERNEL32.DLL_GetTickCount_1
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
cmp edx, 0
jne 0x59661e
cmp eax, 0
ja 0x596620
jmp 0x596644
jle 0x596644
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
call sub.KERNEL32.DLL_GetTickCount_1
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
cmp edx, 0
jne 0x596642
cmp eax, 0
ja 0x5965f0
jmp 0x596644
jg 0x5965f0
mov byte [ebp - 5], 1
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x59f410
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x59f49a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404db4
test eax, eax
jle 0x59f474
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dl, byte [edx + ecx - 1]
xor dl, byte [ebp - 5]
call fcn.00404ccc
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.00404dbc
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x59f44c
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
call fcn.00404b38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59f4a1
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404b08
ret

Function at 0x59f4a8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x59f532
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404db4
test eax, eax
jle 0x59f50c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dl, byte [edx + ecx - 1]
xor dl, byte [ebp - 5]
call fcn.00404ccc
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.00404dbc
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x59f4e4
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
call fcn.00404b38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59f539
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404b08
ret
Function at 0x5d4368
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov byte [ebp - 0xd], 0x55
mov byte [ebp - 0xc], 0x4c
mov byte [ebp - 0xb], 0x4f
mov byte [ebp - 0xa], 0
mov byte [ebp - 0x1f], 0x42
mov byte [ebp - 0x1e], 0x4f
mov byte [ebp - 0x1d], 0x4f
mov byte [ebp - 0x1c], 0x54
mov byte [ebp - 0x1b], 0x5f
mov byte [ebp - 0x1a], 0x4d
mov byte [ebp - 0x19], 0x45
mov byte [ebp - 0x18], 0x44
mov byte [ebp - 0x17], 0x49
mov byte [ebp - 0x16], 0x41
mov byte [ebp - 0x15], 0x31
xor eax, eax
push ebp
push 0x5d44b4
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41ab08]
call fcn.00403c64
mov dword [ebp - 0x14], eax
mov cl, byte [ebp - 9]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.005bdc00
xor ecx, ecx
mov edx, 0x14
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov edx, dword [0x669bb8]
mov ecx, 4
mov eax, dword [ebp - 0x14]
call fcn.00420704
mov eax, dword [0x669bb8]
cmp byte [eax], 0x4b
je 0x5d4428
xor ecx, ecx
mov edx, 0x14
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0xd]
mov ecx, 4
mov eax, dword [ebp - 0x14]
call fcn.0042074c
jmp 0x5d4447
xor ecx, ecx
mov edx, 0x34
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0xd]
mov ecx, 4
mov eax, dword [ebp - 0x14]
call fcn.0042074c
xor ecx, ecx
mov edx, 0x94
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov edx, dword [0x669bb8]
mov ecx, 0xb
mov eax, dword [ebp - 0x14]
call fcn.00420704
xor ecx, ecx
mov edx, 0x94
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [0x669bb8]
cmp byte [eax], 0x42
jne 0x5d449f
mov eax, dword [0x669bb8]
cmp byte [eax + 1], 0x4f
jne 0x5d449f
lea edx, [ebp - 0x1f]
mov ecx, 0xb
mov eax, dword [ebp - 0x14]
call fcn.0042074c
jmp 0x5d44a4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5d44c3
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret