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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bd925
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x624040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], edx
cmp dword [edx + 0x14], 0xf
mov dword [ebp - 0x14], edx
jbe 0x45c394
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x45c3b8
mov edi, dword [ebp - 0x14]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x45c3a3
mov edi, dword [ebp - 0x1c]
push esi
push edx
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.0040b540
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x45c3e8
mov dword [edi], eax
mov eax, edi
mov byte [edi + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 8], 0x5d1745d
je 0x45c540
lea eax, [ebx + 4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
push 0x2c
mov dword [ebp - 0x20], 0
call fcn.0048336c
add esp, 4
mov edi, eax
mov dword [ebp - 0x20], edi
push dword [ebp - 0x10]
lea ecx, [edi + 8]
call fcn.00407c20
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x60bb80]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x60bb80]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x45c4e2
divss xmm2, xmm3
push ecx
movss dword [esp], xmm2
call fcn.004018b0
add esp, 4
fstp dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x10]
call fcn.005b81b0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x45c4c6
cmp eax, 0x200
jae 0x45c4c4
shl eax, 3
cmp eax, ecx
jae 0x45c4c6
mov eax, ecx
push eax
mov ecx, ebx
call fcn.00409e40
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040b540
mov edx, dword [eax]
jmp 0x45c4e5
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x45c50d
mov dword [ecx + eax*8], edi
jmp 0x45c51f
cmp esi, edx
jne 0x45c516
mov dword [ecx + eax*8], edi
jmp 0x45c523
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x45c523
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp - 0x1c]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.0048506f
int3
Function at 0x45c790
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bd9a5
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x624040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], edx
cmp dword [edx + 0x14], 0xf
mov dword [ebp - 0x14], edx
jbe 0x45c7d4
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x45c7f8
mov edi, dword [ebp - 0x14]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x45c7e3
mov edi, dword [ebp - 0x1c]
push esi
push edx
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.0040b540
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x45c828
mov dword [edi], eax
mov eax, edi
mov byte [edi + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 8], 0x5d1745d
je 0x45c980
lea eax, [ebx + 4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
push 0x2c
mov dword [ebp - 0x20], 0
call fcn.0048336c
add esp, 4
mov edi, eax
mov dword [ebp - 0x20], edi
push dword [ebp - 0x10]
lea ecx, [edi + 8]
call fcn.00407c20
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x60bb80]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x60bb80]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x45c922
divss xmm2, xmm3
push ecx
movss dword [esp], xmm2
call fcn.004018b0
add esp, 4
fstp dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x10]
call fcn.005b81b0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x45c906
cmp eax, 0x200
jae 0x45c904
shl eax, 3
cmp eax, ecx
jae 0x45c906
mov eax, ecx
push eax
mov ecx, ebx
call fcn.00409e40
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040b540
mov edx, dword [eax]
jmp 0x45c925
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x45c94d
mov dword [ecx + eax*8], edi
jmp 0x45c95f
cmp esi, edx
jne 0x45c956
mov dword [ecx + eax*8], edi
jmp 0x45c963
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x45c963
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp - 0x1c]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.0048506f
int3
Function at 0x45d6a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bda54
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x624040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [ebp - 4], 0
mov dword [edi + 8], 0
mov byte [edi + 0xc], 0
mov byte [edi + 0xd], 0
mov byte [edi + 0xe], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
lea esi, [edi + 0x3c]
mov byte [ebp - 4], 4
push 0x28
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0048336c
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 5
lea esi, [edi + 0x78]
mov byte [edi + 0x44], 0
xorps xmm0, xmm0
movups xmmword [edi + 0x54], xmm0
push 0x14
movq qword [edi + 0x64], xmm0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x70], 0xffffffff
mov dword [edi + 0x48], 2
mov dword [edi + 0x74], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0048336c
xorps xmm0, xmm0
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, edi
movups xmmword [edi + 0x80], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4674a0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information
Get socket status
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5be29d
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x624040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x26c], ecx
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.004676b0
test al, al
je 0x46767e
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
test esi, esi
je 0x46767e
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 1
push eax
push 0x8004667e
push esi
xor bl, bl
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
js 0x467624
xorps xmm0, xmm0
mov eax, 2
push edi
movlpd qword [ebp - 0x38], xmm0
mov word [ebp - 0x40], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x3e], ax
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x40]
push 0x10
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 1
push eax
push 0
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x2c], 0
push eax
lea eax, [ebp - 0x264]
mov dword [ebp - 0x260], esi
push eax
push esi
mov dword [ebp - 0x264], 1
mov dword [ebp - 0x158], esi
mov dword [ebp - 0x15c], 1
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
js 0x467624
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x10
push eax
lea eax, [ebp - 0x50]
push eax
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
mov edi, dword [ebp - 0x4c]
test eax, eax
je 0x4675f1
test edi, edi
je 0x467624
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
cmp eax, edx
je 0x467624
nop dword [eax + eax]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
je 0x46760b
cmp ecx, edi
je 0x467616
add eax, 0x8c
cmp eax, edx
jne 0x467600
jmp 0x467624
mov ecx, dword [ebp - 0x268]
push eax
call fcn.00405570
mov bl, 1
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
test bl, bl
jne 0x467680
mov ecx, dword [ebp - 0x1c]
mov eax, 0xea0ea0eb
mov edi, dword [ebp - 0x20]
xor esi, esi
sub ecx, edi
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x467680
lea eax, [edi + 0x80]
cmp dword [eax - 4], 0
lea edx, [eax - 0x80]
je 0x467662
cmp dword [eax], 0
jne 0x46766e
inc esi
add eax, 0x8c
cmp esi, ecx
jb 0x467654
jmp 0x467680
mov ecx, dword [ebp - 0x268]
push edx
call fcn.00405570
mov bl, 1
jmp 0x467680
xor bl, bl
lea ecx, [ebp - 0x20]
call fcn.00431a50
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004830fa
mov esp, ebp
pop ebp
ret
Function at 0x467c30
Capabilities:
Create tcp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x624040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x467c7e
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [ebp + 8]
push 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0x1f
push 0
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x467c8f
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004830fa
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004830fa
mov esp, ebp
pop ebp
ret
Function at 0x468f40
Capabilities:
Get routing table

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x624040]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
push 0x38
xor esi, esi
lea eax, [esp + 0x18]
mov ebx, ecx
push esi
push eax
mov dword [esp + 0x18], ebx
call fcn.00591a40
add esp, 0xc
mov dword [esp + 0x10], esi
cmp ebx, 0xffffffff
je 0x468fb9
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetIpForwardTable]
lea eax, [esp + 0x10]
push esi
push eax
push esi
call edi
cmp eax, 0x7a
jne 0x468fa8
push dword [esp + 0x10]
call fcn.00595777
mov esi, eax
add esp, 4
test esi, esi
je 0x468fb9
push 0
lea eax, [esp + 0x14]
push eax
push esi
call edi
test eax, eax
je 0x468fcd
test esi, esi
je 0x468fb9
push esi
call fcn.0059575c
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004830fa
mov esp, ebp
pop ebp
ret
xor ebx, ebx
cmp dword [esi], ebx
jbe 0x468ffb
mov eax, dword [esp + 0xc]
lea edi, [esi + 4]
nop word [eax + eax]
cmp dword [edi], eax
jne 0x468ff3
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.IPHLPAPI.DLL_DeleteIpForwardEntry]
mov eax, dword [esp + 0xc]
inc ebx
add edi, 0x38
cmp ebx, dword [esi]
jb 0x468fe0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x20], 0
mov dword [esp + 0x2c], 3
mov dword [esp + 0x30], 3
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 6
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
call dword [sym.imp.IPHLPAPI.DLL_CreateIpForwardEntry]
test eax, eax
jne 0x468fb9
push esi
call fcn.0059575c
mov ecx, dword [esp + 0x50]
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004830fa
mov esp, ebp
pop ebp
ret

Function at 0x4690a0
Capabilities:
Get routing table

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [0x624040]
xor eax, esp
mov dword [esp + 8], eax
push ebx
push esi
mov eax, ecx
push edi
xor edi, edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
cmp eax, 0xffffffff
je 0x469109
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetIpForwardTable]
lea eax, [esp + 0x10]
push edi
push eax
push edi
call esi
cmp eax, 0x7a
jne 0x4690f8
push dword [esp + 0x10]
call fcn.00595777
mov edi, eax
add esp, 4
test edi, edi
je 0x469109
push 0
lea eax, [esp + 0x14]
push eax
push edi
call esi
test eax, eax
je 0x46911b
test edi, edi
je 0x469109
push edi
call fcn.0059575c
add esp, 4
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004830fa
mov esp, ebp
pop ebp
ret
xor ebx, ebx
test edi, edi
je 0x469109
lea esi, [edi + 4]
cmp ebx, dword [edi]
jae 0x469100
mov eax, dword [esp + 0xc]
cmp dword [esi], eax
jne 0x469137
push esi
call dword [sym.imp.IPHLPAPI.DLL_DeleteIpForwardEntry]
inc ebx
add esi, 0x38
jmp 0x469124
Function at 0x46ba50
Capabilities:
Check for time delay via queryperformancecounter
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x624040]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
mov esi, ecx
xor bl, bl
push edi
cmp dword [esi + 0x10], 0
je 0x46bbf8
push 5
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [esp + 0xc], eax
test eax, eax
je 0x46bbf8
cmp dword [esi + 0x14], 7
jbe 0x46ba95
mov esi, dword [esi]
push 0x24
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x46bbee
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea eax, [esp + 0x38]
push eax
push esi
call edi
test eax, eax
je 0x46bbe7
cmp dword [esp + 0x3c], 1
je 0x46bbe5
lea eax, [esp + 0x38]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x46bbe7
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x46bb27
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x46bb27
push 0
push 0x3e8
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.005b83b0
push edx
push eax
push dword [esp + 0x24]
push dword [esp + 0x24]
call fcn.005b83b0
mov dword [esp + 0x20], edx
jmp 0x46bb3c
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x38]
push eax
push esi
call edi
test eax, eax
je 0x46bbe7
mov eax, dword [esp + 0x3c]
cmp eax, 1
je 0x46bbe5
cmp eax, 3
jne 0x46bbe7
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x46bbb4
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x46bbb4
push 0
push 0x3e8
push dword [esp + 0x34]
push dword [esp + 0x34]
call fcn.005b83b0
push edx
push eax
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call fcn.005b83b0
jmp 0x46bbc5
xorps xmm0, xmm0
movlpd qword [esp + 0x10], xmm0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x18]
sbb edx, dword [esp + 0x20]
mov dword [esp + 0x14], edx
jne 0x46bbe7
jb 0x46bb40
cmp eax, 0xea60
ja 0x46bbe7
jmp 0x46bb40
mov bl, 1
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [esp + 0x54]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004830fa
mov esp, ebp
pop ebp
ret

Function at 0x46c5a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x46c5d1
nop dword [eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x46c5c0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x47e810
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
call fcn.0059ae01
push eax
call fcn.0059d0c6
add esp, 8
push 0x62f368
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push 0x62f3a0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push 0x62f380
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x62f398], eax
cmp eax, 0xffffffff
je 0x47e85b
mov esp, ebp
pop ebp
ret
push str.D:codeworkspacewintunsockslwIP_srcwin32_sys_arch.c
push 0x93
push str.TlsAlloc_failed
push str.Assertion___s__failed_at_line__d_in__s_n
call fcn.004740d0
push 0
call fcn.0059bdf0
add esp, 0x14
call fcn.00595440
int3

Function at 0x48401f
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x48405e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x48405e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x48405e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x48405e
cmp dword [ecx + 0x74], 0xe
jbe 0x48405e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4879d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.00487ba0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x487aad
mov edx, dword [ebp - 4]
cmp edx, dword [0x62412c]
jb 0x487a1a
mov eax, dword [ebp - 4]
cmp eax, dword [0x624130]
ja 0x487a1a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x4879ea
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.00591a40
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x487a3f
jmp 0x487aad
cmp dword [ebp - 0x14], 0x10000
jne 0x487a93
cmp dword [ebp - 0x18], 0x10000
jb 0x487a93
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x487a76
mov eax, dword [ebp - 8]
jmp 0x487aaf
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x487a86
xor eax, eax
jmp 0x487aaf
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x487aa8
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.00487ba0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x4879ea
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x487ac0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.00487bd0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x487b95
mov edx, dword [ebp - 4]
cmp edx, dword [0x62412c]
jb 0x487b05
mov eax, dword [ebp - 4]
cmp eax, dword [0x624130]
ja 0x487b05
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x487ad5
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.00591a40
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x487b2a
jmp 0x487b95
cmp dword [ebp - 0x14], 0x10000
jne 0x487b7e
cmp dword [ebp - 0x18], 0x10000
jb 0x487b7e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x487b61
mov eax, dword [ebp - 8]
jmp 0x487b97
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x487b71
xor eax, eax
jmp 0x487b97
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x487b90
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.00487bd0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x487ad5
xor eax, eax
mov esp, ebp
pop ebp
ret