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

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
xor eax, eax
push ebp
push 0x5f5993
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 4]
mov ecx, dword [ecx]
mov eax, ecx
test eax, eax
je 0x5f58ef
sub eax, 4
mov eax, dword [eax]
mov edx, eax
test edx, edx
jns 0x5f58fa
call fcn.00408314
mov eax, ecx
mov ecx, edx
add ecx, ecx
add ecx, eax
cmp ecx, eax
jbe 0x5f5918
movzx ebx, word [eax]
xor edx, ebx
imul edx, edx, 0x1000193
add eax, 2
cmp ecx, eax
ja 0x5f5906
mov ebx, edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x20]
mov edx, ebx
call fcn.005fad80
test al, al
je 0x5f5963
lea ecx, [ebp - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x20]
mov edx, ebx
call fcn.005fa0d4
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx]
call fcn.0040b570
jne 0x5f597b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 4]
call fcn.0040a8dc
jmp 0x5f597b
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 4]
mov ecx, dword [ecx]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x20]
mov edx, ebx
call fcn.005fa98c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f599a
lea eax, [ebp - 4]
call fcn.0040a4ec
pop eax
jmp eax

Function at 0x5ff4d0
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 0x5ff55d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x715d28
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x5ff545
lea ecx, [ebp - 0x1c]
xor edx, edx
mov eax, ebx
call fcn.0042bea4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0x11
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x5ff578
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x70e0e8]
mov dl, 1
mov eax, dword [0x5fdb44]
call fcn.0042da38
call fcn.00409ba8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ff564
lea eax, [ebp - 0x1c]
call fcn.0040a4ec
pop eax
jmp eax

Function at 0x5ffc98
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 [0x5ffcf4]
cmp al, byte [ebx + 0x28]
je 0x5ffcbc
mov esi, 0x401
mov eax, ebx
call fcn.005ffe04
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 [0x5ffcf4]
cmp al, byte [ebx + 0x28]
jne 0x5ffcec
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 0x5ffd8c
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.005ffc98
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00408ad8
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x5ffdf4
call fcn.005ff414
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x5ffde2
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.00408ad8
pop esi
pop ebx
ret

Function at 0x600284
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x600312
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, ebx
mov ecx, 0
call fcn.0040b010
mov eax, dword [ebp - 0xc]
call fcn.0040af28
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [ebp - 8]
xor ecx, ecx
mov edx, 4
call fcn.00407ef8
test ebx, ebx
je 0x6002f4
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
movzx ecx, byte [edx]
mov byte [ebp - 8], cl
movzx ecx, byte [edx + 1]
mov byte [ebp - 7], cl
movzx ecx, byte [edx + 2]
mov byte [ebp - 6], cl
movzx eax, byte [edx + 3]
mov byte [ebp - 5], al
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x600319
lea eax, [ebp - 0xc]
call fcn.0040a510
pop eax
jmp eax

Function at 0x600584
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 0x6005b5
mov ecx, dword [0x70de40]
mov dl, 1
mov eax, dword [0x5fdb44]
call fcn.0042d964
call fcn.00409ba8
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 0x6005e2
mov ecx, dword [0x70dd2c]
mov dl, 1
mov eax, dword [0x5fdb44]
call fcn.0042d964
call fcn.00409ba8
xor eax, eax
push ebp
push 0x60065e
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.00408ad8
cmp byte [ebp + 8], 0
je 0x60063a
mov eax, dword [ebp + 0x10]
push eax
movzx eax, 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.006003a0
mov edi, dword [ebp - 4]
lea esi, [ebp - 0x18]
add edi, 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.005ffd8c
jmp 0x600654
mov eax, dword [ebp + 0x10]
push eax
movzx eax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.005ff72c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x60067b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x600894
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.005ffb3c
xor eax, eax
push ebp
push 0x600a09
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 0x6009f1
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x6008e0
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x6008ea
call fcn.00409c9c
jmp 0x600a10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b2300
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 0x6009e6
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 0x600999
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x600986
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00408ad8
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.0060084c
pop ecx
mov eax, dword [ebp - 4]
movzx edx, byte [0x600a1c]
cmp dl, byte [eax + 0x28]
je 0x6009ed
call fcn.0042d7fc
jmp 0x6009ed
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b2320
jmp 0x6009ed
cmp edi, ebx
jge 0x6009b5
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.004b2320
jmp 0x6008ea
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.004b2300
cmp edx, dword [esp + 4]
jne 0x6009d5
cmp eax, dword [esp]
pop edx
pop eax
jne 0x6008ea
push ebp
call fcn.0060084c
pop ecx
jmp 0x6009ed
push ebp
call fcn.0060084c
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x600a10
mov eax, dword [ebp - 4]
call fcn.005ffb44
pop eax
jmp eax
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x600a50
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 0x600b78
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.005ffb3c
xor eax, eax
push ebp
push 0x600b59
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 0x600aa0
call fcn.00409c9c
jmp 0x600b60
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 0x600b41
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x600b41
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00408ad8
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 0x600b41
lea ecx, [ebp - 0x28]
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.0042bea4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x600b94
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x70e0e8]
mov dl, 1
mov eax, dword [0x5fdb44]
call fcn.0042da38
call fcn.00409ba8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x600b60
mov eax, dword [ebp - 4]
call fcn.005ffb44
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x600b7f
lea eax, [ebp - 0x28]
call fcn.0040a4ec
pop eax
jmp eax
Function at 0x600be4
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x600d5b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.005ffb3c
xor eax, eax
push ebp
push 0x600d3c
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x600c49
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x600c49
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 0x600d24
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x600c5c
call fcn.00409c9c
jmp 0x600d43
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
test eax, eax
jne 0x600c83
cmp dword [ebp - 0x10], 0
jle 0x600c83
cmp ebx, dword [ebp - 0x10]
jle 0x600c83
mov ebx, dword [ebp - 0x10]
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 0x600d24
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x600d24
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00408ad8
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 0x600d24
lea ecx, [ebp - 0x2c]
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.0042bea4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0x11
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov eax, 0x600d78
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0x11
lea eax, [ebp - 0x28]
push eax
push 2
mov ecx, dword [0x70e0e8]
mov dl, 1
mov eax, dword [0x5fdb44]
call fcn.0042da38
call fcn.00409ba8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x600d43
mov eax, dword [ebp - 4]
call fcn.005ffb44
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x600d62
lea eax, [ebp - 0x2c]
call fcn.0040a4ec
pop eax
jmp eax

Function at 0x603f24
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00604ad8
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x6049d4
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff20
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x40
jle 0x604a19
lea eax, [ebp - 0x60]
call fcn.00603f24
mov edx, ebx
lea eax, [ebp - 0x60]
mov ecx, dword [ebp + 0xc]
call fcn.00603f4c
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.0060401c
mov dword [ebp + 0xc], 0x10
mov esi, dword [ebp + 8]
jmp 0x604a1b
mov esi, ebx
xor ecx, ecx
lea eax, [ebp - 0xa0]
lea edx, [ebp - 0xe0]
lea ebx, [ecx + 1]
cmp ebx, dword [ebp + 0xc]
jg 0x604a44
movzx ebx, byte [esi]
xor bl, 0x36
mov byte [eax], bl
movzx ebx, byte [esi]
xor bl, 0x5c
mov byte [edx], bl
inc esi
jmp 0x604a4a
mov byte [eax], 0x36
mov byte [edx], 0x5c
inc ecx
inc edx
inc eax
cmp ecx, 0x40
jne 0x604a29
lea eax, [ebp - 0x60]
call fcn.00603f24
lea edx, [ebp - 0xa0]
lea eax, [ebp - 0x60]
mov ecx, 0x40
call fcn.00603f4c
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 8]
call fcn.006048c0
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.0060401c
lea eax, [ebp - 0x60]
call fcn.00603f24
lea edx, [ebp - 0xe0]
lea eax, [ebp - 0x60]
mov ecx, 0x40
call fcn.00603f4c
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x60]
mov ecx, 0x10
call fcn.00603f4c
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.0060401c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x60e73c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x60e745
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 5], cl
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x60e90f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0060eaac
xor eax, eax
push ebp
push 0x60e8de
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 8
je 0x60e795
call fcn.00409c9c
jmp 0x60e8e5
mov eax, dword [ebp - 4]
test byte [eax + 0x40], 8
je 0x60e86a
mov eax, dword [ebp - 4]
test byte [eax + 0x40], 1
je 0x60e7ea
mov eax, dword [ebp - 4]
cmp word [eax + 0x4a], 0
je 0x60e7ea
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0060e674
push dword [ebp - 0x10]
mov eax, dword [ebp - 4]
push dword [eax + 0x60]
push ebx
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040b4c0
mov eax, dword [ebp - 0xc]
push eax
movzx ecx, byte [ebp - 5]
mov edi, dword [ebp - 4]
mov edx, esi
mov eax, dword [edi + 0x4c]
call dword [edi + 0x48]
mov eax, dword [ebp - 4]
test byte [eax + 0x40], 4
je 0x60e829
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0060e674
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
push dword [eax + 0x60]
push ebx
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0040b4c0
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
call fcn.0040b1d4
push eax
call sub.kernel32.dll_OutputDebugStringW
mov eax, dword [ebp - 4]
test byte [eax + 0x40], 2
je 0x60e8c6
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.0060e674
push dword [ebp - 0x24]
mov eax, dword [ebp - 4]
push dword [eax + 0x60]
push ebx
push 0x60e92c
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.0040b4c0
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0060e6ac
jmp 0x60e8c6
mov eax, dword [ebp - 4]
test byte [eax + 0x40], 1
je 0x60e88d
mov eax, dword [ebp - 4]
cmp word [eax + 0x4a], 0
je 0x60e88d
push ebx
movzx ecx, byte [ebp - 5]
mov edi, dword [ebp - 4]
mov edx, esi
mov eax, dword [edi + 0x4c]
call dword [edi + 0x48]
mov eax, dword [ebp - 4]
test byte [eax + 0x40], 4
je 0x60e8a3
mov eax, ebx
call fcn.0040b1d4
push eax
call sub.kernel32.dll_OutputDebugStringW
mov eax, dword [ebp - 4]
test byte [eax + 0x40], 2
je 0x60e8c6
lea eax, [ebp - 0x28]
mov ecx, 0x60e92c
mov edx, ebx
call fcn.0040b438
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.0060e6ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60e8e5
mov eax, dword [ebp - 4]
call fcn.0060eab4
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60e916
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.0040a54c
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.0040a54c
pop eax
jmp eax
Function at 0x61384c
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov edi, ecx
mov dword [esp], edx
mov ebp, eax
xor esi, esi
mov ebx, dword [esp]
jmp 0x613860
inc ebx
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
test edx, edx
jg 0x61385f
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
shl eax, 2
mov ebx, eax
mov eax, edi
xor ecx, ecx
mov edx, ebx
call fcn.0040af98
xor ebx, ebx
cmp esi, dword [esp]
jge 0x6139c1
inc ebx
mov eax, edi
call fcn.0040aab4
movzx edx, byte [ebp + esi]
and dl, 0xfc
movzx edx, dl
shr edx, 2
movzx edx, byte [edx + 0x709670]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 1]
cmp eax, dword [esp]
jge 0x61397a
inc ebx
mov eax, edi
call fcn.0040aab4
movzx edx, byte [ebp + esi]
and dl, 3
movzx edx, dl
shl edx, 4
movzx ecx, byte [ebp + esi + 1]
and cl, 0xf0
movzx ecx, cl
shr ecx, 4
add edx, ecx
movzx edx, byte [edx + 0x709670]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 2]
cmp eax, dword [esp]
jge 0x61394a
inc ebx
mov eax, edi
call fcn.0040aab4
movzx edx, byte [ebp + esi + 1]
and dl, 0xf
movzx edx, dl
shl edx, 2
movzx ecx, byte [ebp + esi + 2]
and cl, 0xc0
movzx ecx, cl
shr ecx, 6
add edx, ecx
movzx edx, byte [edx + 0x709670]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.0040aab4
movzx edx, byte [ebp + esi + 2]
and dl, 0x3f
movzx edx, dl
movzx edx, byte [edx + 0x709670]
mov byte [eax + ebx - 1], dl
jmp 0x6139b5
inc ebx
mov eax, edi
call fcn.0040aab4
movzx edx, byte [ebp + esi + 1]
and dl, 0xf
movzx edx, dl
shl edx, 2
movzx edx, byte [edx + 0x709670]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.0040aab4
mov byte [eax + ebx - 1], 0x3d
jmp 0x6139b5
inc ebx
mov eax, edi
call fcn.0040aab4
movzx edx, byte [ebp + esi]
and dl, 3
movzx edx, dl
shl edx, 4
movzx edx, byte [edx + 0x709670]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.0040aab4
mov byte [eax + ebx - 1], 0x3d
inc ebx
mov eax, edi
call fcn.0040aab4
mov byte [eax + ebx - 1], 0x3d
add esi, 3
cmp esi, dword [esp]
jl 0x613893
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x6189f8
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa4
mov dword [esp + 4], ecx
mov dword [esp], edx
mov esi, 0x30
mov edi, 0x7097e0
mov ecx, dword [esp]
lea edx, [esp + 0xc]
movzx ebx, byte [edi]
movzx ebx, byte [eax + ebx - 1]
xor bl, byte [ecx]
mov byte [edx], bl
inc edx
inc ecx
inc edi
dec esi
jne 0x618a17
mov esi, 1
mov edx, 0x7098e8
mov ecx, esi
dec ecx
mov eax, ecx
add eax, eax
lea eax, [eax + eax*2]
shl ecx, 2
movzx ebx, byte [esp + eax + 0xc]
mov edi, ebx
add edi, edi
movzx ebx, byte [esp + eax + 0x11]
add edi, ebx
movzx ebx, byte [esp + eax + 0xd]
shl ebx, 3
movzx ebp, byte [esp + eax + 0xe]
shl ebp, 2
add ebx, ebp
movzx ebp, byte [esp + eax + 0xf]
add ebp, ebp
add ebx, ebp
movzx eax, byte [esp + eax + 0x10]
add ebx, eax
mov dword [esp + 8], ebx
mov eax, 1
mov ebx, eax
dec ebx
je 0x618a8b
dec ebx
je 0x618aad
dec ebx
je 0x618acf
dec ebx
je 0x618af0
jmp 0x618b0a
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 8
movzx ebx, bl
shr ebx, 3
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x618b0a
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 4
movzx ebx, bl
shr ebx, 2
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x618b0a
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 2
movzx ebx, bl
shr ebx, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x618b0a
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
inc eax
cmp eax, 5
jne 0x618a7b
inc esi
add edx, 0x40
cmp esi, 9
jne 0x618a33
mov esi, 0x20
mov eax, 0x709810
mov edx, dword [esp + 4]
movzx ecx, byte [eax]
movzx ecx, byte [esp + ecx + 0x3b]
mov byte [edx], cl
inc edx
inc eax
dec esi
jne 0x618b2f
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x618b6c
Capabilities:
Encrypt data using des

Disassembly:
push ebx
push esi
push edi
push ecx
mov dword [esp], ecx
mov esi, eax
movzx eax, dl
movzx ebx, byte [eax + 0x709897]
test bl, bl
jbe 0x618b9d
lea eax, [esi + 0x3e0]
call fcn.00618b48
lea eax, [esi + 0x3fc]
call fcn.00618b48
dec bl
jne 0x618b83
mov cl, 0x30
mov edi, 0x709868
mov eax, dword [esp]
movzx edx, byte [edi]
cmp dl, 0x1c
ja 0x618bbe
movzx edx, dl
movzx edx, byte [esi + edx + 0x3df]
mov byte [eax], dl
jmp 0x618bcb
movzx edx, dl
movzx edx, byte [esi + edx + 0x3df]
mov byte [eax], dl
inc eax
inc edi
dec cl
jne 0x618ba7
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x618bd8
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd8
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov bl, 1
lea esi, [ebp - 0x425]
mov eax, dword [ebp - 4]
mov edx, ebx
call fcn.00618990
mov byte [esi], al
inc ebx
inc esi
cmp bl, 0x41
jne 0x618bf5
mov bl, 0x1c
mov esi, str.91__
lea edi, [ebp - 0x45]
movzx edx, byte [esi]
mov eax, dword [ebp - 0xc]
call fcn.00618990
mov byte [edi], al
movzx edx, byte [esi + 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00618990
mov byte [edi + 0x1c], al
inc edi
inc esi
dec bl
jne 0x618c12
mov bl, 1
lea esi, [ebp - 0x3a5]
mov ecx, esi
lea eax, [ebp - 0x425]
mov edx, ebx
call fcn.00618b6c
inc ebx
add esi, 0x30
cmp bl, 0x11
jne 0x618c3c
mov bl, 1
mov eax, 0x709760
lea edx, [ebp - 0xa5]
cmp bl, 0x20
ja 0x618c75
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x426]
mov byte [edx], cl
jmp 0x618c82
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x426]
mov byte [edx], cl
inc ebx
inc edx
inc eax
cmp bl, 0x41
jne 0x618c61
mov byte [ebp - 0xd], 1
lea esi, [ebp - 0x3a5]
cmp byte [ebp + 8], 0
je 0x618cac
lea ecx, [ebp - 0x65]
mov edx, esi
lea eax, [ebp - 0x85]
call fcn.006189f8
jmp 0x618cd3
movzx eax, byte [ebp - 0xd]
mov edx, 0x11
sub edx, eax
mov eax, edx
add eax, eax
lea eax, [eax + eax*2]
lea edx, [ebp + eax*8 - 0x3d5]
lea ecx, [ebp - 0x65]
lea eax, [ebp - 0x85]
call fcn.006189f8
mov bl, 0x20
lea eax, [ebp - 0xa5]
movzx edx, byte [eax]
xor byte [eax + 0x40], dl
inc eax
dec bl
jne 0x618cdb
push esi
lea esi, [ebp - 0x85]
lea edi, [ebp - 0xa5]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
push esi
lea esi, [ebp - 0x65]
lea edi, [ebp - 0x85]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
inc byte [ebp - 0xd]
add esi, 0x30
cmp byte [ebp - 0xd], 0x11
jne 0x618c94
mov bl, 0x40
mov esi, 0x7097a0
lea eax, [ebp - 0x3e5]
movzx edx, byte [esi]
cmp dl, 0x20
ja 0x618d41
movzx edx, dl
movzx edx, byte [ebp + edx - 0x86]
mov byte [eax], dl
jmp 0x618d4e
movzx edx, dl
movzx edx, byte [ebp + edx - 0xc6]
mov byte [eax], dl
inc eax
inc esi
dec bl
jne 0x618d2a
mov bl, 1
lea esi, [ebp - 0x3e5]
movzx ecx, byte [esi]
mov eax, dword [ebp - 8]
mov edx, ebx
call fcn.006189b8
inc ebx
inc esi
cmp bl, 0x41
jne 0x618d5c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4