joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5520b0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x623a38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x6e7b6c]
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], eax
mov ecx, dword [0x6ed92c]
push 1
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00547400
mov edx, dword [esi + 0xb0]
push 0x6bcdb0
lea ecx, [ebp - 0x14]
mov eax, dword [edx + 0x10]
push eax
push 0x6daacc
push ecx
call fcn.005f368b
mov edx, dword [ebp - 0x14]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
push 0x6daabc
dec ecx
push ebx
push ecx
push edx
mov edx, dword [esi + 0x31e4]
push edx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00547580
mov edi, eax
cmp edi, ebx
je 0x552172
mov eax, dword [esi + 0x31f4]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
mov dword [eax + 0x140], edi
call fcn.005fa859
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 3
lea ecx, [esi + 0x31d8]
call fcn.00595110
mov ecx, esi
call fcn.00549570
lea ecx, [ebp - 0x14]
mov dword [esi + 0x8c], 4
mov byte [ebp - 4], bl
call fcn.005fa859
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x623a58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x18], esi
mov eax, dword [esi + 0x184]
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], ebx
cmp dword [eax], ebx
je 0x552330
cmp dword [eax + 0x15c], ebx
je 0x552330
mov eax, dword [0x6e7b6c]
mov dword [ebp - 0x14], eax
mov ecx, dword [0x6ed92c]
push 1
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00547400
mov edx, dword [esi + 0x184]
push 0x6bcdb0
lea ecx, [ebp - 0x14]
mov eax, dword [edx + 0x15c]
push eax
push 0x6daacc
push ecx
call fcn.005f368b
mov edx, dword [ebp - 0x14]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
push 0x6daad8
dec ecx
push ebx
push ecx
push edx
mov edx, dword [esi + 0x31e4]
push edx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00547580
mov edi, eax
cmp edi, ebx
je 0x5522cf
mov eax, dword [esi + 0x31f4]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
mov dword [eax + 0x140], edi
call fcn.005fa859
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x15
lea ecx, [esi + 0x31d8]
call fcn.00595110
mov ecx, esi
call fcn.00549570
lea ecx, [ebp - 0x14]
mov dword [esi + 0x8c], 4
mov byte [ebp - 4], bl
call fcn.005fa859
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
or eax, 0xffffffff
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x552650
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x623a90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov eax, dword [0x6ed918]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
push 1
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
call fcn.00547400
push 0x6bcdb0
lea ecx, [ebp - 0x128]
push 0x6dabf0
push ecx
call fcn.005deb38
lea edi, [ebp - 0x128]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov eax, dword [esi + 0x31e4]
push 0x6dabe4
not ecx
dec ecx
push 0
lea edx, [ebp - 0x128]
push ecx
push edx
push eax
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00547580
test eax, eax
je 0x5526fa
mov ecx, dword [esi + 0x31f4]
mov dword [ecx + 0x140], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 4
lea ecx, [esi + 0x31d8]
call fcn.00595110
mov ecx, esi
call fcn.00549570
mov dword [esi + 0x8c], 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x552e90
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x623ac0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
push edi
mov esi, ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], esp
mov edx, dword [esi + 0x3220]
lea ecx, [ebp - 0x2c]
push eax
xor ebx, ebx
push ecx
push edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], 0x10
call sub.WS2_32.dll_accept
cmp eax, 0xffffffff
mov dword [esi + 0x31e8], eax
jne 0x552fb6
call sub.WS2_32.dll_WSAGetLastError
mov edi, eax
cmp edi, 0x2733
je 0x552f6e
mov eax, dword [esi + 0x3220]
push eax
call sub.WS2_32.dll_closesocket
push edi
lea ecx, [ebp - 0x4c]
push 0x6d9b6c
push ecx
mov dword [esi + 0x3220], 0xffffffff
mov dword [esi + 0x322c], ebx
call fcn.005deb38
mov edx, dword [0x6ed9b4]
add esp, 0xc
mov ecx, esi
push 1
push edx
call fcn.00547400
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call fcn.005474d0
mov ecx, dword [0x6ed9b4]
push ecx
mov ecx, dword [esi + 0x9c]
call fcn.0054f740
mov edx, dword [esi + 0x31f4]
mov eax, edi
mov dword [edx + 0x140], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ebx, [esi + 0x424]
push ebx
call fcn.005dfac7
mov eax, dword [ebx]
mov edx, dword [esi + 0x418]
sub eax, edx
add esp, 4
cmp eax, 0x1e
mov dword [esi + 0x430], eax
jle 0x552fa3
mov eax, dword [esi + 0x31f4]
mov edi, 0x7533
mov dword [eax + 0x140], edi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x6ed904]
mov edi, 1
push edi
push ecx
mov ecx, esi
call fcn.00547400
mov edx, dword [esi + 0x3220]
push edx
call sub.WS2_32.dll_closesocket
mov ecx, dword [esi + 0x31e8]
lea eax, [ebp - 0x18]
push eax
push 0x8004667e
push ecx
mov dword [esi + 0x3220], 0xffffffff
mov dword [esi + 0x322c], ebx
mov dword [esi + 0x3228], edi
mov dword [ebp - 0x18], edi
call sub.WS2_32.dll_ioctlsocket
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x553a60
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x623b40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov eax, dword [0x6ed8e8]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
push 1
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
call fcn.00547400
mov ebx, dword [ebp + 8]
push 0x6bcdb0
push ebx
lea ecx, [ebp - 0x128]
push 0x6daef4
push ecx
call fcn.005deb38
lea edi, [ebp - 0x128]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
mov eax, dword [esi + 0x31e4]
push 0x6daee8
not ecx
dec ecx
push 0
lea edx, [ebp - 0x128]
push ecx
push edx
push eax
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00547580
test eax, eax
je 0x553b10
mov ecx, dword [esi + 0x31f4]
mov dword [ecx + 0x140], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp byte [ebx], 0x41
jne 0x553b19
push 0x11
jmp 0x553b1b
push 7
lea ecx, [esi + 0x31d8]
call fcn.00595110
mov ecx, esi
call fcn.00549570
mov dword [esi + 0x8c], 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x623b60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov eax, dword [0x6ed8dc]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
push 1
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], ebx
call fcn.00547400
mov al, byte [esi + 0xc0]
mov edi, dword [ebp + 8]
cmp al, bl
je 0x553cf2
mov ecx, dword [ebp + 0xc]
add edi, 0x30
adc ecx, ebx
jmp 0x553cf5
mov ecx, dword [ebp + 0xc]
cmp byte [esi + 0xc7], bl
je 0x553d1a
mov eax, dword [esi + 0x17c]
cdq
cmp ecx, edx
jl 0x553d14
jg 0x553d0e
cmp edi, eax
jb 0x553d14
sub edi, eax
sbb ecx, edx
jmp 0x553d1a
mov byte [esi + 0xc7], bl
push 0x6bcdb0
push ecx
push edi
lea ecx, [ebp - 0x128]
push 0x6daf94
push ecx
call fcn.005deb38
add esp, 0x14
lea edx, [ebp - 0x128]
mov ecx, esi
push edx
call fcn.005474d0
lea edi, [ebp - 0x128]
or ecx, 0xffffffff
xor eax, eax
push 0x6daf88
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ebx
push ecx
mov ecx, dword [esi + 0x31e4]
lea eax, [ebp - 0x128]
push eax
push ecx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00547580
cmp eax, ebx
je 0x553d98
mov edx, dword [esi + 0x31f4]
mov dword [edx + 0x140], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0xa
lea ecx, [esi + 0x31d8]
call fcn.00595110
mov ecx, esi
call fcn.00549570
mov dword [esi + 0x8c], 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x554280
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x623bd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 0xb0]
mov dword [ebp - 4], 0
cmp dword [eax + 0x28], 2
jne 0x5542cc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x6db094]
mov dx, word [0x6db098]
mov al, byte [0x6db09a]
mov dword [ebp - 0x1c], ecx
push 0x6db084
mov ecx, esi
mov word [ebp - 0x18], dx
mov byte [ebp - 0x16], al
call fcn.005474d0
lea edi, [ebp - 0x1c]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esi + 0x31e4]
repne scasb al, byte es:[edi]
not ecx
push 0x6db078
dec ecx
push 0
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push edx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00547580
test eax, eax
je 0x554342
mov ecx, dword [esi + 0x31f4]
mov dword [ecx + 0x140], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.005511f0
mov byte [esi + 0x320c], 1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x555870
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x623cf0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2db4
call fcn.005de290
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov dword [ebp - 0x18], ecx
push edi
xor eax, eax
mov ecx, 0xb68
lea edi, [ebp - 0x2dc4]
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [edx]
mov dword [ebp - 0x10], esp
mov ecx, dword [eax]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp + 8]
push 0
lea eax, [ebp - 0x2dc4]
push 0x2da0
push eax
push ecx
call sub.WS2_32.dll_recv
test eax, eax
mov dword [ebp - 0x24], eax
jle 0x5559f0
mov edx, dword [ebp - 0x14]
lea ecx, [eax + edx]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x20], ecx
cmp ecx, dword [edx]
jle 0x55598a
mov eax, dword [ebp + 0xc]
lea ebx, [ecx + ecx]
push ebx
mov edx, dword [eax]
mov dword [ebp - 0x1c], edx
call fcn.005f6c5c
mov edx, eax
add esp, 4
test edx, edx
jne 0x555943
mov eax, dword [0x6eda70]
mov ecx, dword [ebp - 0x18]
push 1
push eax
call fcn.00547400
mov eax, 0x753b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, ebx
xor eax, eax
mov esi, ecx
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov edi, edx
mov ecx, dword [ecx]
mov esi, dword [eax]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp - 0x1c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edx
mov edx, dword [ebp + 0x10]
mov dword [edx], ebx
call fcn.005f6c85
mov eax, dword [ebp - 0x24]
add esp, 4
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x14]
mov ecx, eax
lea esi, [ebp - 0x2dc4]
mov edi, dword [edx]
add edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
jmp 0x5558cb
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x557790
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x623e18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x6e7b6c]
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], eax
mov ecx, dword [0x6ed950]
push 1
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00547400
mov edx, dword [esi + 0xb0]
push 0x6bcdb0
push 0x6bcdb0
mov eax, dword [edx + 4]
cmp eax, ebx
je 0x557802
push eax
lea eax, [ebp - 0x14]
push 0x6db830
push eax
call fcn.005f368b
add esp, 0x14
jmp 0x557813
lea ecx, [ebp - 0x14]
push 0x6db820
push ecx
call fcn.005f368b
add esp, 0x10
mov ecx, esi
mov dword [esi + 0x8c], 0xb
call fcn.00549570
mov ecx, 0xff
xor eax, eax
lea edi, [esi + 0x3230]
mov edx, dword [ebp - 0x14]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
push 0x6db808
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ebx
push ecx
push edx
mov edx, dword [esi + 0x31e4]
push edx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00547580
mov edi, eax
cmp edi, ebx
je 0x557873
mov eax, dword [esi + 0x31f4]
mov dword [eax + 0x140], edi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.005fa859
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x559870
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x623e80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov edx, dword [ebp + 8]
mov esi, ecx
push edi
test eax, eax
mov eax, dword [esi + 0x31f4]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov ecx, dword [eax + 0xb8]
push ecx
mov ecx, dword [esi + 0xb0]
push edx
je 0x5598c2
call fcn.005bdad0
jmp 0x5598c7
call fcn.005ba600
mov eax, dword [esi + 0x31f4]
add eax, 0xc8
mov ecx, dword [eax]
mov edx, dword [eax + 4]
or ecx, edx
je 0x559918
mov ecx, dword [0x6ec7a0]
lea edx, [ebp + 8]
lea eax, [ebp + 0xc]
push edx
push eax
push 0
push 0
push 0x6d6028
push ecx
mov dword [ebp + 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x55990b
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x559918
mov ecx, dword [esi + 0x31f4]
push 0
call fcn.0055d360
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x559ab0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x623ec7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x6e7b6c]
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], eax
push 0x6ec0c8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.005fa8c7
mov ecx, dword [esi + 0xb0]
mov byte [ebp - 4], 2
mov edx, dword [ecx + 4]
cmp edx, ebx
je 0x559b3d
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x559b3d
mov al, byte [edx + ecx - 1]
cmp al, 0x2f
mov eax, 0x6ec0c8
je 0x559b2a
mov eax, 0x6bebc4
push eax
push edx
lea edx, [ebp - 0x14]
push 0x6bc11c
push edx
call fcn.005f368b
add esp, 0x10
push 0x6dbb84
mov ecx, esi
call fcn.005474d0
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x185]
test cl, cl
je 0x559b5e
mov eax, dword [ebp - 0x14]
jmp 0x559b79
push 0x6ec0c8
lea ecx, [ebp - 0x20]
call fcn.005fa8c7
mov ebx, 1
mov dword [ebp - 0x1c], ebx
mov eax, dword [eax]
mov byte [ebp - 4], 3
mov ecx, dword [esi + 0xb0]
push 0x6bcdb0
mov edx, dword [ecx + 8]
push edx
push eax
lea eax, [ebp - 0x18]
push 0x6dbb78
push eax
call fcn.005f368b
add esp, 0x14
mov dword [ebp - 4], 2
test bl, 1
je 0x559bae
lea ecx, [ebp - 0x20]
call fcn.005fa859
mov edx, dword [ebp - 0x18]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push 0x6dbb6c
dec ecx
push 0
push ecx
mov ecx, dword [esi + 0x31e4]
push edx
push ecx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00547580
mov edi, eax
test edi, edi
je 0x559c17
mov edx, dword [esi + 0x31f4]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
mov dword [edx + 0x140], edi
call fcn.005fa859
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.005fa859
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x13
lea ecx, [esi + 0x31d8]
call fcn.00595110
mov ecx, esi
call fcn.00549570
lea ecx, [ebp - 0x14]
mov dword [esi + 0x8c], 4
mov byte [ebp - 4], 1
call fcn.005fa859
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.005fa859
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x55b0d0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x623f38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
call fcn.0059f1a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x14c], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0xc], ecx
mov dword [ebp - 4], 0
mov ecx, esi
mov dword [esi], 0x6558f0
mov byte [ebp - 4], 1
mov dword [esi + 0x20], eax
mov dword [esi + 0xfc], eax
call fcn.005a0b10
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
mov ecx, esi
mov dword [esi + 8], edx
mov dword [esi + 0x23c], eax
call fcn.0055b240
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi + 0x870], eax
jmp 0x55b16d
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x55d0d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
mov esi, ecx
lea eax, [esp + 4]
lea ecx, [esp + 8]
push eax
push ecx
mov dword [esi + 0x234], 0
mov edx, dword [0x6ec7a0]
push 0
push 0
push 0x6c1018
push edx
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x55d119
xor eax, eax
mov dword [esi + 0x234], eax
pop esi
add esp, 8
ret
mov eax, dword [esp + 8]
mov dword [esi + 0x234], eax
pop esi
add esp, 8
ret
Function at 0x55f020
Capabilities:
Contain obfuscated stackstrings
Encode data using base64
Parse pe header

Disassembly:
sub esp, 0x40
mov ecx, dword [esp + 0x48]
push ebp
mov ebp, dword [esp + 0x50]
push edi
xor edi, edi
mov byte [esp + 8], 0x41
test ebp, ebp
mov byte [esp + 9], 0x42
mov byte [esp + 0xa], 0x43
mov byte [esp + 0xb], 0x44
mov byte [esp + 0xc], 0x45
mov byte [esp + 0xd], 0x46
mov byte [esp + 0xe], 0x47
mov byte [esp + 0xf], 0x48
mov byte [esp + 0x10], 0x49
mov byte [esp + 0x11], 0x4a
mov byte [esp + 0x12], 0x4b
mov byte [esp + 0x13], 0x4c
mov byte [esp + 0x14], 0x4d
mov byte [esp + 0x15], 0x4e
mov byte [esp + 0x16], 0x4f
mov byte [esp + 0x17], 0x50
mov byte [esp + 0x18], 0x51
mov byte [esp + 0x19], 0x52
mov byte [esp + 0x1a], 0x53
mov byte [esp + 0x1b], 0x54
mov byte [esp + 0x1c], 0x55
mov byte [esp + 0x1d], 0x56
mov byte [esp + 0x1e], 0x57
mov byte [esp + 0x1f], 0x58
mov byte [esp + 0x20], 0x59
mov byte [esp + 0x21], 0x5a
mov byte [esp + 0x22], 0x61
mov byte [esp + 0x23], 0x62
mov byte [esp + 0x24], 0x63
mov byte [esp + 0x25], 0x64
mov byte [esp + 0x26], 0x65
mov byte [esp + 0x27], 0x66
mov byte [esp + 0x28], 0x67
mov byte [esp + 0x29], 0x68
mov byte [esp + 0x2a], 0x69
mov byte [esp + 0x2b], 0x6a
mov byte [esp + 0x2c], 0x6b
mov byte [esp + 0x2d], 0x6c
mov byte [esp + 0x2e], 0x6d
mov byte [esp + 0x2f], 0x6e
mov byte [esp + 0x30], 0x6f
mov byte [esp + 0x31], 0x70
mov byte [esp + 0x32], 0x71
mov byte [esp + 0x33], 0x72
mov byte [esp + 0x34], 0x73
mov byte [esp + 0x35], 0x74
mov byte [esp + 0x36], 0x75
mov byte [esp + 0x37], 0x76
mov byte [esp + 0x38], 0x77
mov byte [esp + 0x39], 0x78
mov byte [esp + 0x3a], 0x79
mov byte [esp + 0x3b], 0x7a
mov byte [esp + 0x3c], 0x30
mov byte [esp + 0x3d], 0x31
mov byte [esp + 0x3e], 0x32
mov byte [esp + 0x3f], 0x33
mov byte [esp + 0x40], 0x34
mov byte [esp + 0x41], 0x35
mov byte [esp + 0x42], 0x36
mov byte [esp + 0x43], 0x37
mov byte [esp + 0x44], 0x38
mov byte [esp + 0x45], 0x39
mov byte [esp + 0x46], 0x2b
mov byte [esp + 0x47], 0x2f
jle 0x55f1e1
lea edx, [ebp + 2]
mov eax, 0xaaaaaaab
mul edx
mov eax, dword [esp + 0x4c]
push ebx
push esi
mov esi, edx
shr esi, 1
lea edi, [esi + esi*2]
movsx edx, byte [eax]
sar edx, 2
inc ecx
add eax, 3
mov dl, byte [esp + edx + 0x10]
mov byte [ecx - 1], dl
mov dl, byte [eax - 3]
movsx ebx, byte [eax - 2]
sar ebx, 4
and edx, 3
shl edx, 4
lea ebx, [esp + ebx + 0x10]
inc ecx
mov dl, byte [ebx + edx]
mov byte [ecx - 1], dl
mov dl, byte [eax - 2]
movsx ebx, byte [eax - 1]
sar ebx, 6
and edx, 0xf
inc ecx
lea ebx, [esp + ebx + 0x10]
mov dl, byte [ebx + edx*4]
mov byte [ecx - 1], dl
mov dl, byte [eax - 1]
and edx, 0x3f
inc ecx
dec esi
mov dl, byte [esp + edx + 0x10]
mov byte [ecx - 1], dl
jne 0x55f18a
pop esi
pop ebx
lea eax, [ebp + 1]
cmp edi, eax
jne 0x55f1f7
mov byte [ecx - 1], 0x3d
pop edi
mov byte [ecx], 0
pop ebp
add esp, 0x40
ret 0xc
add ebp, 2
cmp edi, ebp
jne 0x55f206
mov al, 0x3d
mov byte [ecx - 2], al
mov byte [ecx - 1], al
pop edi
mov byte [ecx], 0
pop ebp
add esp, 0x40
ret 0xc