joyce8/EMBER2024-capa huggingface dataset:
Function at 0x510ea0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c03b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2db4
call fcn.0057ed50
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.WSOCK32.dll_recv
test eax, eax
mov dword [ebp - 0x24], eax
jle 0x51101d
mov edx, dword [ebp - 0x14]
lea ecx, [eax + edx]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x20], ecx
cmp ecx, dword [edx]
jle 0x510fba
mov eax, dword [ebp + 0xc]
lea ebx, [ecx + ecx]
push ebx
mov edx, dword [eax]
mov dword [ebp - 0x1c], edx
call fcn.005970d9
mov edx, eax
add esp, 4
test edx, edx
jne 0x510f73
mov eax, dword [0x67b148]
mov ecx, dword [ebp - 0x18]
push 1
push eax
call fcn.00508cb0
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.00597102
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 0x510efb
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 0x5129b0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c04b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x6754d4]
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 [0x67b028]
push 1
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00508cb0
mov edx, dword [esi + 0x80]
push 0x64fb50
push 0x64fb50
mov eax, dword [edx + 4]
cmp eax, ebx
je 0x512a22
push eax
lea eax, [ebp - 0x14]
push 0x66a1dc
push eax
call fcn.00593b08
add esp, 0x14
jmp 0x512a33
lea ecx, [ebp - 0x14]
push 0x66a1cc
push ecx
call fcn.00593b08
add esp, 0x10
mov ecx, esi
mov dword [esi + 0x5c], 0xb
call fcn.00509a70
mov ecx, 0xff
xor eax, eax
lea edi, [esi + 0x3108]
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 0x66a1b4
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ebx
push ecx
push edx
mov edx, dword [esi + 0x30cc]
push edx
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.00508e20
mov edi, eax
cmp edi, ebx
je 0x512a90
mov eax, dword [esi + 0x30dc]
mov dword [eax + 0xf8], edi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.0059ad3d
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 0x513fc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c0520
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 + 0x30dc]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov ecx, dword [eax + 0x70]
push ecx
mov ecx, dword [esi + 0x80]
push edx
je 0x51400f
call fcn.0055e650
jmp 0x514014
call fcn.0055b7e0
mov eax, dword [esi + 0x30dc]
add eax, 0x80
mov ecx, dword [eax]
mov edx, dword [eax + 4]
or ecx, edx
je 0x514065
mov ecx, dword [0x67a050]
lea edx, [ebp + 8]
lea eax, [ebp + 0xc]
push edx
push eax
push 0
push 0
push 0x665680
push ecx
mov dword [ebp + 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x514058
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x514065
mov ecx, dword [esi + 0x30dc]
push 0
call fcn.005177c0
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 0x514200
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c0567
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x6754d4]
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 0x679a28
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0059adab
mov ecx, dword [esi + 0x80]
mov byte [ebp - 4], 2
mov edx, dword [ecx + 4]
cmp edx, ebx
je 0x51428d
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x51428d
mov al, byte [edx + ecx - 1]
cmp al, 0x2f
mov eax, 0x679a28
je 0x51427a
mov eax, 0x651490
push eax
push edx
lea edx, [ebp - 0x14]
push 0x64f030
push edx
call fcn.00593b08
add esp, 0x10
push 0x66a530
mov ecx, esi
call fcn.00508d80
mov eax, dword [esi + 0x80]
mov cl, byte [eax + 0x171]
test cl, cl
je 0x5142ae
mov eax, dword [ebp - 0x14]
jmp 0x5142c9
push 0x679a28
lea ecx, [ebp - 0x20]
call fcn.0059adab
mov ebx, 1
mov dword [ebp - 0x1c], ebx
mov eax, dword [eax]
mov byte [ebp - 4], 3
mov ecx, dword [esi + 0x80]
push 0x64fb50
mov edx, dword [ecx + 8]
push edx
push eax
lea eax, [ebp - 0x18]
push 0x66a524
push eax
call fcn.00593b08
add esp, 0x14
mov dword [ebp - 4], 2
test bl, 1
je 0x5142fe
lea ecx, [ebp - 0x20]
call fcn.0059ad3d
mov edx, dword [ebp - 0x18]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push 0x66a518
dec ecx
push 0
push ecx
mov ecx, dword [esi + 0x30cc]
push edx
push ecx
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.00508e20
mov edi, eax
test edi, edi
je 0x514367
mov edx, dword [esi + 0x30dc]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
mov dword [edx + 0xf8], edi
call fcn.0059ad3d
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.0059ad3d
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 + 0x30c0]
call fcn.0053fc30
mov ecx, esi
call fcn.00509a70
lea ecx, [ebp - 0x14]
mov dword [esi + 0x5c], 4
mov byte [ebp - 4], 1
call fcn.0059ad3d
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.0059ad3d
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 0x517500
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 + 0x1cc], 0
mov edx, dword [0x67a050]
push 0
push 0
push 0x653274
push edx
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x517549
xor eax, eax
mov dword [esi + 0x1cc], eax
pop esi
add esp, 8
ret
mov eax, dword [esp + 8]
mov dword [esi + 0x1cc], eax
pop esi
add esp, 8
ret
Function at 0x524100
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c0c90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov edx, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x18], esi
mov eax, dword [esi + 0x30cc]
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov ecx, dword [eax + 0x70]
push ecx
mov ecx, dword [esi + 0x80]
push edx
call fcn.0055b7e0
mov eax, dword [esi + 0x30cc]
mov edi, 1
mov dword [eax + 0xf0], edi
mov eax, dword [esi + 0x30cc]
add eax, 0x80
mov ecx, dword [eax]
mov edx, dword [eax + 4]
or ecx, edx
je 0x524202
mov ecx, dword [0x67a050]
lea edx, [ebp + 8]
lea eax, [ebp - 0x14]
push edx
push eax
push 0
push 0
push 0x665680
push ecx
xor bl, bl
mov dword [ebp + 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5241a3
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x5241a3
mov bl, 1
mov edx, dword [esi + 0x80]
mov eax, dword [edx + 8]
test eax, eax
je 0x524202
test bl, bl
jne 0x524202
push 0x3f
push eax
call fcn.0057e940
add esp, 8
test eax, eax
jne 0x524202
mov eax, dword [esi + 0x30cc]
mov ecx, dword [eax + 0xf4]
test ecx, ecx
jne 0x5241f5
mov ecx, dword [esi + 0x80]
mov eax, dword [0x67af40]
push 0x50044
mov edx, dword [ecx + 8]
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
je 0x524202
mov dword [esi + 0x3118], edi
mov byte [esi + 0x311c], 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x525040
Capabilities:
Encode data using base64

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0x10]
mov eax, 0xaaaaaaab
push edi
lea ecx, [esi + 3]
mov edi, dword [esp + 0x18]
mul ecx
shr edx, 1
lea edx, [edx + esi + 7]
push edx
push edi
call fcn.00524ca0
add esp, 8
test eax, eax
jne 0x52506f
pop edi
pop esi
pop ecx
ret 0xc
push edi
call fcn.00501eb0
mov ecx, eax
add esp, 4
xor eax, eax
test esi, esi
jbe 0x525144
lea edx, [esi + 2]
mov eax, 0xaaaaaaab
mul edx
push ebx
push ebp
mov edi, dword [esp + 0x18]
mov ebp, edx
shr ebp, 1
mov ebx, 2
lea eax, [ebp + ebp*2]
mov dword [esp + 0x10], eax
lea edx, [ebx - 1]
cmp edx, esi
jae 0x5250b5
mov al, byte [edi + 1]
mov byte [esp + 0x20], al
jmp 0x5250ba
mov byte [esp + 0x20], 0
cmp ebx, esi
jae 0x5250c7
mov dl, byte [edi + 2]
mov byte [esp + 0x18], dl
jmp 0x5250cc
mov byte [esp + 0x18], 0
xor eax, eax
add ebx, 3
mov al, byte [edi]
add edi, 3
shr eax, 2
inc ecx
mov dl, byte [eax + 0x66aa5c]
mov eax, dword [esp + 0x20]
mov byte [ecx - 1], dl
mov dl, byte [edi - 3]
and eax, 0xff
and edx, 3
mov esi, eax
and eax, 0xf
shl edx, 4
shr esi, 4
or edx, esi
mov esi, dword [esp + 0x18]
and esi, 0xff
inc ecx
mov dl, byte [edx + 0x66aa5c]
mov byte [ecx - 1], dl
mov edx, esi
shr edx, 6
shl eax, 2
or edx, eax
and esi, 0x3f
inc ecx
mov al, byte [edx + 0x66aa5c]
mov byte [ecx - 1], al
mov dl, byte [esi + 0x66aa5c]
mov esi, dword [esp + 0x1c]
mov byte [ecx], dl
inc ecx
dec ebp
jne 0x5250a5
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
lea edx, [esi + 1]
cmp eax, edx
jne 0x52515d
mov byte [ecx - 1], 0x3d
pop edi
mov byte [ecx], 0
mov eax, 1
pop esi
pop ecx
ret 0xc
add esi, 2
cmp eax, esi
jne 0x52516c
mov al, 0x3d
mov byte [ecx - 1], al
mov byte [ecx - 2], al
pop edi
mov byte [ecx], 0
mov eax, 1
pop esi
pop ecx
ret 0xc

Function at 0x525770
Capabilities:
Get hostname

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
mov edi, dword [esp + 0x10]
push 0x66b6e8
push edi
mov dword [ebx], edi
call fcn.00580140
mov esi, dword [esp + 0x1c]
add esp, 8
test eax, eax
mov dword [esi], eax
jne 0x5257c9
mov al, byte [0x67a4ec]
test al, al
jne 0x5257b6
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x10
push eax
push 0x67a4ec
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov dword [ebx], 0x67a4ec
mov dword [esi], edi
pop edi
pop esi
mov eax, 1
pop ebx
ret 0xc
mov byte [eax], 0
mov edx, dword [esi]
inc edx
mov dword [esi], edx
mov esi, edx
mov al, byte [esi]
test al, al
je 0x5257ec
cmp al, 0x5c
je 0x5257ec
cmp al, 0x2f
je 0x5257ec
pop edi
pop esi
mov eax, 1
pop ebx
ret 0xc
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x525f50
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push esi
push 0
push 1
mov esi, ecx
push 2
call sub.WSOCK32.dll_socket
lea ecx, [esi + 0x7dc]
cmp eax, 0xffffffff
mov dword [ecx], eax
je 0x525f88
xor eax, eax
mov edx, dword [esi + 0x1cc]
add eax, 0x3320
cmp eax, 0x33200
mov dword [edx + eax - 0x3274], ecx
jl 0x525f6d
pop esi
ret
xor eax, eax
mov ecx, dword [esi + 0x1cc]
add eax, 0x3320
cmp eax, 0x33200
mov dword [ecx + eax - 0x3274], 0
jl 0x525f8a
pop esi
ret
Function at 0x5387c0
Capabilities:
Access peb ldr_data
Get local ipv4 addresses
Get socket information

Disassembly:
push 0xffffffffffffffff
push 0x5c1018
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, 0xf0
push ebx
mov byte [esp + 0x1d], al
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], al
xor eax, eax
mov dword [esp + 0xc], eax
push esi
mov dword [esp + 0x14], eax
mov esi, ecx
mov dword [esp + 0x18], eax
lea ecx, [esp + 0xc]
push edi
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x3108]
lea edx, [esp + 0x14]
push ecx
xor ebx, ebx
push edx
push eax
mov byte [esp + 0x30], 0xef
mov byte [esp + 0x34], 0xff
mov byte [esp + 0x35], 0xff
mov byte [esp + 0x36], 0xff
mov byte [esp + 0x37], 0xff
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], 0xa0
mov byte [esp + 0x3f], bl
mov byte [esp + 0x40], 2
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], bl
mov byte [esp + 0x43], bl
mov dword [esp + 0x1c], 0x10
call sub.WSOCK32.dll_getsockname
cmp eax, ebx
je 0x538885
call sub.WSOCK32.dll_WSAGetLastError
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 4
mov ecx, dword [0x6754d4]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x16]
mov dword [esp + 0x40], ebx
push edx
call sub.WSOCK32.dll_ntohs
mov ecx, dword [esp + 0x1b]
mov edx, dword [esp + 0x1a]
and eax, 0xffff
and ecx, 0xff
push eax
mov eax, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x21]
push ecx
mov ecx, dword [esp + 0x24]
and edx, 0xff
and eax, 0xff
push edx
and ecx, 0xff
push eax
push ecx
lea edx, [esp + 0x24]
push 0x66bd0c
push edx
call fcn.00593b08
mov eax, dword [esp + 0x2c]
add esp, 0x20
lea ecx, [esp + 0x24]
push eax
push 0x14
push ecx
push 2
mov ecx, esi
call fcn.005381e0
mov edi, eax
cmp edi, ebx
je 0x538927
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], 0xffffffff
call fcn.0059ad3d
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 4
push 0x18
lea ecx, [esi + 0x30fc]
call fcn.0053fc30
mov ecx, esi
call fcn.00509a70
lea ecx, [esp + 0xc]
mov dword [esi + 0x5c], 4
mov dword [esp + 0x40], 0xffffffff
call fcn.0059ad3d
mov ecx, dword [esp + 0x38]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x53f560
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5c1570
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x10], esi
mov dword [esi + 4], 0x5c8eb0
mov dword [esi + 8], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [0x6754d4]
lea edi, [esi + 0x18]
mov dword [esp + 0x28], ebx
mov dword [edi], eax
mov ecx, dword [0x6754d4]
mov dword [esi + 0x1c], ecx
mov edx, dword [0x6754d4]
mov dword [esi + 0x20], edx
mov eax, dword [0x6754d4]
mov dword [esi + 0x2c], eax
mov ecx, dword [0x6754d4]
mov dword [esi + 0x30], ecx
lea ebp, [esi + 0x34]
lea edx, [ebp + 4]
mov dword [ebp], ebx
mov dword [ebp + 8], ebx
mov word [edx], bx
mov ecx, dword [0x6754d4]
lea eax, [esi + 0x40]
mov dword [eax], ecx
mov edx, dword [esp + 0x30]
mov byte [esp + 0x28], 7
push edx
push 0x64efb0
push eax
mov dword [esi], 0x5eee48
call fcn.00593b08
mov eax, dword [esp + 0x40]
add esp, 0xc
push eax
push 0x64efb0
push edi
call fcn.00593b08
mov eax, dword [esp + 0x44]
add esp, 0xc
cmp eax, ebx
je 0x53f62d
push eax
lea eax, [esi + 0x1c]
push 0x64efb0
push eax
call fcn.00593b08
add esp, 0xc
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x53f647
push eax
lea eax, [esi + 0x20]
push 0x64efb0
push eax
call fcn.00593b08
add esp, 0xc
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
push eax
lea eax, [esi + 0x2c]
push 0x64efb0
push eax
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], edx
call fcn.00593b08
mov edx, dword [esp + 0x58]
add esp, 0xc
cmp edx, ebx
je 0x53f693
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x53f693
push edx
lea eax, [esi + 0x30]
push 0x64efb0
push eax
call fcn.00593b08
add esp, 0xc
mov edi, dword [esp + 0x50]
cmp edi, ebx
je 0x53f760
push edi
call fcn.0057e90a
add esp, 4
test eax, eax
je 0x53f760
cmp dword [ebp], ebx
je 0x53f71c
push edi
call fcn.0057e90a
add esp, 4
test eax, eax
je 0x53f71c
mov eax, dword [ebp]
cmp eax, edi
ja 0x53f71c
push eax
call fcn.0057e90a
mov ecx, dword [ebp]
add esp, 4
lea edx, [ecx + eax*2]
cmp edx, edi
jb 0x53f71c
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov word [esp + 0x1c], bx
call fcn.00401fc0
mov eax, dword [esp + 0x14]
mov byte [esp + 0x28], 8
cmp eax, ebx
jne 0x53f704
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
call fcn.00401fc0
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 7
call fcn.00401070
jmp 0x53f760
mov ecx, ebp
call fcn.00401070
push edi
call fcn.0057e90a
add esp, 4
test eax, eax
je 0x53f760
push edi
call fcn.0057e90a
lea eax, [eax + eax + 2]
push eax
call fcn.005970d9
add esp, 8
cmp eax, ebx
mov dword [ebp], eax
je 0x53f760
push edi
call fcn.0057e90a
mov ecx, dword [ebp]
push edi
push ecx
mov dword [ebp + 8], eax
call fcn.0057eaaa
add esp, 0xc
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x24
Function at 0x53f7a0
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5c15e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x5eee48
mov dword [esp + 0x10], 7
call fcn.0053f870
lea ecx, [esi + 0x40]
mov byte [esp + 0x10], 6
call fcn.0059ad3d
lea ecx, [esi + 0x34]
mov byte [esp + 0x10], 5
call fcn.00401070
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 4
call fcn.0059ad3d
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 3
call fcn.0059ad3d
lea ecx, [esi + 0x20]
mov byte [esp + 0x10], 2
call fcn.0059ad3d
lea ecx, [esi + 0x1c]
mov byte [esp + 0x10], 1
call fcn.0059ad3d
lea ecx, [esi + 0x18]
mov byte [esp + 0x10], 0
call fcn.0059ad3d
add esi, 4
mov dword [esp + 4], esi
mov dword [esi], 0x5c8eb0
mov eax, dword [esi + 4]
mov dword [esp + 0x10], 8
test eax, eax
je 0x53f85d
mov ecx, dword [esi + 8]
push ecx
push eax
call fcn.00593b95
mov edx, dword [esi + 4]
push edx
call fcn.00597102
add esp, 4
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x540830
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c1670
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov eax, dword [esi]
mov edi, dword [esi + 0x5c]
mov dword [ebp - 4], ebx
call dword [eax + 0x18]
mov eax, dword [esi + 0x30c4]
cmp dword [eax + 0xec], 2
jne 0x540896
cmp dword [esi + 0x24], ebx
jl 0x540896
jg 0x54087b
cmp dword [esi + 0x20], ebx
jbe 0x540896
mov dword [esi + 0x5c], 7
mov dword [esi + 0x54], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, 0x18
je 0x5408a0
cmp edi, 0x15
jne 0x540885
cmp dword [esi + 0x98], ebx
je 0x540885
cmp dword [eax + 0xf8], 0x757b
jne 0x540885
mov ecx, esi
call fcn.00545a30
cmp eax, ebx
je 0x54099b
push 0x66c6e8
mov ecx, esi
call fcn.00508d80
mov ecx, dword [esi + 0x60]
lea eax, [ebp - 0x20]
mov edx, dword [ecx + 0x40]
push edx
push 0x655478
push eax
call fcn.0057f2ea
mov edx, dword [esi + 0x30c4]
add esp, 0xc
lea ecx, [ebp - 0x20]
mov eax, dword [edx + 0xbc]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [esi + 0x60]
mov edx, dword [ecx + 0x10]
lea ecx, [esi + 0x10]
push edx
call fcn.0050c2b0
mov ecx, dword [esi + 0x60]
mov dword [esi + 0x20], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x3c], ebx
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ebx
fild qword [ebp - 0x18]
cmp eax, ebx
mov dword [esi + 0x98], eax
fstp qword [esi + 0x30c8]
jne 0x54095e
mov eax, dword [esi + 0x30c4]
cmp ecx, dword [eax + 0x68]
jne 0x54095e
push 0x66c6d0
mov ecx, esi
call fcn.00508d80
mov byte [esi + 0x30d9], 1
mov byte [esi + 0x30db], bl
jmp 0x540965
mov byte [esi + 0x30db], 1
mov byte [esi + 0x30dd], bl
mov byte [esi + 0x30de], bl
mov dword [esi + 0x46c0], ebx
mov dword [esi + 0x46c4], ebx
mov byte [esi + 0x30d5], bl
mov byte [esi + 0x30d4], bl
mov dword [esi + 0x310c], ebx
mov byte [esi + 0x30e1], bl
mov byte [esi + 0x30e0], bl
mov ecx, esi
mov byte [esi + 0x96], 1
call fcn.0050ac50
mov edx, dword [esi]
lea eax, [esi + 0x30c0]
push eax
mov ecx, esi
call dword [edx + 0x10]
cmp eax, ebx
je 0x540885
mov ecx, dword [esi + 0x30c4]
cmp eax, 0x7569
mov dword [ecx + 0xf8], eax
jne 0x540885
mov ecx, dword [esi + 0x30c4]
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x540a00
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c1688
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
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
call fcn.005412f0
mov eax, dword [esi + 0x30ec]
mov byte [esi + 0x30d5], bl
cmp eax, ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0x468c], ebx
mov byte [esi + 0x30e1], bl
mov byte [esi + 0x96], bl
jne 0x540a6b
push 0x601
call fcn.005970d9
add esp, 4
mov dword [esi + 0x30ec], eax
mov eax, dword [esi + 0x30ec]
cmp eax, ebx
jne 0x540a8b
mov eax, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [eax], 3
lea eax, [ebp - 0x24]
push eax
call fcn.005801dc
mov ecx, dword [ebp - 0x24]
add esp, 4
push ecx
call sub.WSOCK32.dll_htonl
mov edx, dword [esi + 0x30ec]
mov edi, 9
mov dword [edx + 1], eax
mov eax, dword [esi + 0x30ec]
add eax, 5
mov dword [eax], ebx
cmp edi, 0x600
jg 0x540ae4
call fcn.00580eba
and eax, 0x800000ff
jns 0x540ad7
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [esi + 0x30ec]
inc edi
mov byte [ecx + edi - 1], al
jmp 0x540abc
mov edx, dword [esi + 0x30ec]
mov eax, dword [esi + 0x30c0]
push 0x66c748
push ebx
push 0x601
push edx
push eax
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.00508e20
mov ecx, dword [0x6754d4]
mov edi, eax
mov dword [ebp - 0x14], ecx
push edi
lea edx, [ebp - 0x14]
push 0x66c728
push edx
mov byte [ebp - 4], 1
call fcn.00593b08
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov ecx, esi
push eax
call fcn.00508d80
mov ecx, esi
mov dword [esi + 0x30f0], ebx
mov dword [esi + 0x30f4], ebx
mov byte [esi + 0x30d6], bl
mov byte [esi + 0x30d7], bl
call fcn.00509a70
lea ecx, [ebp - 0x14]
mov dword [esi + 0x5c], 0x14
mov byte [ebp - 4], bl
call fcn.0059ad3d
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