joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4313d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push dword [0x5c1bb8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4313e8
mov ecx, dword [eax + 4]
jmp 0x4313ea
xor ecx, ecx
push ebx
push esi
mov esi, dword [ebp + 8]
lea ebx, [esi + 3]
shr ebx, 2
test ecx, ecx
je 0x431417
mov eax, dword [ecx]
test eax, eax
je 0x431417
mov dword [ecx], 0
mov dl, byte [eax]
movzx ecx, dl
cmp ecx, ebx
jae 0x431435
push eax
call fcn.0051f179
add esp, 4
lea eax, [ebx*4 + 1]
push eax
call fcn.0051ebe4
xor edx, edx
movzx ecx, bl
add esp, 4
cmp ebx, 0xff
cmovbe edx, ecx
mov byte [eax + esi], dl
pop esi
pop ebx
pop ebp
ret

Function at 0x431440
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push dword [0x5c1bb8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x431458
mov edx, dword [eax + 4]
jmp 0x43145a
xor edx, edx
mov eax, dword [ebp + 0xc]
cmp eax, 0x3fc
ja 0x431479
test edx, edx
je 0x431479
cmp dword [edx], 0
jne 0x431479
mov ecx, dword [ebp + 8]
mov al, byte [ecx + eax]
mov byte [ecx], al
mov dword [edx], ecx
pop ebp
ret
push dword [ebp + 8]
call fcn.0051f179
add esp, 4
pop ebp
ret
Function at 0x431710
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x5b706c]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
push 0
push 1
mov esi, ecx
push 0
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
mov dword [ebx + 4], edi
test edi, edi
jne 0x431770
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
mov dword [esp + 0x10], esi
call fcn.005232c0
mov dword [esp + 0x14], eax
test esi, esi
jne 0x431844
mov esi, dword [esp + 0xc]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 8], eax
mov dword [ebx + 8], eax
cmp dword [esi + 8], 0
jne 0x4317b3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
mov dword [esp + 0x10], esi
call fcn.005232c0
mov dword [esp + 0x14], eax
test esi, esi
jne 0x431852
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push 0
push ebx
push 0x431870
push 0x10000
push 0
call fcn.0052f687
add esp, 0x18
mov dword [esi + 4], eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x431820
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov dword [esp + 0x14], eax
call dword [edx]
test edi, edi
je 0x4317fd
push edi
call esi
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 8]
test eax, eax
je 0x43180b
push eax
call esi
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x10], ebx
call fcn.005232c0
mov dword [esp + 0x14], eax
test ebx, ebx
jne 0x431860
test edi, edi
je 0x431830
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call esi
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret 8
mov edx, str.thread.entry_event
lea ecx, [esp + 0x10]
call fcn.00423ae0
mov edx, str.thread.exit_event
lea ecx, [esp + 0x10]
call fcn.00423ae0
mov edx, str.thread
lea ecx, [esp + 0x10]
call fcn.00423ae0
int3
Function at 0x432710
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x558ca8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5b706c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0
push 0x3e8
push 0
push dword [ebx + 4]
mov dword [ebp - 0x3c], ebx
call fcn.0051f520
mov edi, dword [ebx + 0xc]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x18], 0
call fcn.005232c0
mov dword [ebp - 0x14], eax
mov eax, dword [edi]
mov dword [ebp - 0x38], eax
lea eax, [edi + 8]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x48]
push 0x432260
push eax
call fcn.00434780
mov ebx, dword [ebp - 0x48]
add esp, 8
mov edi, dword [ebp - 0x44]
test ebx, ebx
jne 0x43279a
cmp edi, 0x80000000
je 0x4327b4
cmp ebx, 0xffffffff
jne 0x4327a7
cmp edi, 0x7fffffff
je 0x4327b4
cmp ebx, 0xfffffffe
jne 0x43282a
cmp edi, 0x7fffffff
jne 0x43282a
test ebx, ebx
jne 0x4327c0
cmp edi, 0x80000000
je 0x4327da
cmp ebx, 0xffffffff
jne 0x4327cd
cmp edi, 0x7fffffff
je 0x4327da
cmp ebx, 0xfffffffe
jne 0x43282a
cmp edi, 0x7fffffff
jne 0x43282a
cmp ebx, 0xfffffffe
jne 0x4327e9
cmp edi, 0x7fffffff
jne 0x4327e9
jmp 0x432830
cmp ebx, 0xffffffff
jne 0x4327f6
cmp edi, 0x7fffffff
je 0x432802
test ebx, ebx
jne 0x432802
cmp edi, 0x80000000
je 0x432830
cmp ebx, 0xffffffff
jne 0x43280f
cmp edi, 0x7fffffff
je 0x432830
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call fcn.00413b60
add esp, 8
test al, al
je 0x43282a
xor ebx, ebx
mov edi, closesocket
jmp 0x432830
add ebx, dword [ebp - 0x20]
adc edi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x28]
call fcn.00434370
mov eax, dword [ebp - 0x28]
mov dword [eax], ebx
mov dword [eax + 4], edi
call fcn.005232c0
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x34], 0x4323d0
mov dword [ebp - 0x30], esi
mov eax, dword [ecx]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx + 0xc]
mov ebx, dword [eax]
lea edi, [eax + 8]
lea eax, [ebp - 0x34]
push eax
push 0x34
mov dword [ebp - 0x1c], eax
call fcn.004313d0
mov esi, eax
add esp, 8
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x4364d0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
call fcn.005232c0
mov dword [esi + 0x24], eax
movq xmm0, qword [ebp - 0x34]
movq qword [esi + 0x28], xmm0
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x30], eax
lea eax, [edi + 0xc]
push esi
push eax
push edi
lea eax, [ebx + 0x14]
mov byte [edi + 8], 1
mov ecx, dword [ebx + 0x34]
push eax
mov dword [ebp - 0x14], esi
call fcn.004365f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret 4
Function at 0x4336e0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x558e90
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5b706c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x1c], edx
mov edi, dword [ebp + 8]
mov ebx, dword [edx + 0xc]
mov dword [ebp - 0x14], ebx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
movzx eax, byte [edi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edx + 0x18]
and ecx, eax
add edx, 4
mov esi, dword [ebx + ecx*8]
lea eax, [ecx*8]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
mov edx, dword [edx]
lea eax, [ecx + ecx]
lea ecx, [eax*4 + 4]
mov eax, dword [ebx + eax*4]
mov dword [ebp - 0x18], eax
cmp eax, edx
jne 0x43377d
mov eax, edx
jmp 0x433782
mov eax, dword [ecx + ebx]
mov eax, dword [eax]
cmp esi, eax
je 0x4337cd
mov ebx, dword [edi]
cmp dword [esi + 8], ebx
je 0x433797
mov esi, dword [esi]
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
jmp 0x433775
mov ecx, esi
mov edi, esi
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x18]
cmp edi, edx
jne 0x4337af
mov eax, edx
jmp 0x4337b8
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + ecx + 4]
mov eax, dword [eax]
cmp esi, eax
je 0x4337c5
cmp ebx, dword [esi + 8]
jne 0x4337c5
mov esi, dword [esi]
jmp 0x4337a7
mov edi, dword [ebp - 0x2c]
cmp dword [ebp - 0x28], esi
jne 0x4337d1
mov edi, edx
mov esi, edx
mov eax, edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
cmp eax, esi
je 0x4337ea
nop dword [eax]
mov eax, dword [eax]
inc ebx
cmp eax, esi
jne 0x4337e0
mov dword [ebp - 0x14], ebx
cmp edi, dword [edx]
jne 0x43382b
cmp esi, edx
jne 0x43382b
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
call fcn.004344c0
mov ecx, dword [ebp - 0x1c]
push 8
call fcn.00413a60
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret 4
cmp edi, esi
je 0x43380b
mov ebx, dword [ebp - 0x1c]
push edi
mov edi, dword [edi]
lea eax, [ebp - 0x20]
push eax
mov ecx, ebx
call fcn.00434a40
cmp edi, esi
jne 0x433832
mov eax, dword [ebp - 0x14]
jmp 0x43380d
Function at 0x433850
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], esi
mov edx, dword [esi + 0xc]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
movzx eax, byte [edi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
mov esi, dword [esi + 4]
and ecx, eax
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov ebx, dword [edx + ecx*4]
lea edx, [edx + ecx*4]
nop dword [eax]
cmp ebx, esi
jne 0x4338b8
mov ecx, esi
jmp 0x4338bd
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x4338d0
mov ecx, dword [eax + 8]
cmp ecx, dword [edi]
je 0x4338cc
mov eax, dword [eax]
jmp 0x4338b0
cmp eax, esi
jne 0x43391a
mov esi, dword [esi]
lea eax, [ebp - 8]
push ecx
push eax
push ecx
mov dword [ebp - 8], edi
mov edi, dword [esi + 4]
push edi
push esi
call fcn.00436d10
mov edx, dword [ebp - 0xc]
mov ebx, eax
mov ecx, 0x38e38e2
mov eax, dword [edx + 8]
sub ecx, eax
cmp ecx, 1
jb 0x433926
inc eax
mov ecx, edx
mov dword [edx + 8], eax
mov dword [esi + 4], ebx
mov dword [edi], ebx
mov eax, dword [edx + 4]
mov eax, dword [eax]
push eax
add eax, 8
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00436af0
mov eax, dword [ebp - 0x10]
pop edi
pop esi
add eax, 0x10
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.list_T__too_long
call fcn.00509daf
int3

Function at 0x434a40
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x5b706c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
movzx edx, byte [eax + 8]
mov edi, ecx
movzx ecx, byte [eax + 0xa]
xor edx, 0x811c9dc5
imul esi, edx, 0x1000193
movzx edx, byte [eax + 9]
mov ebx, dword [ebp + 8]
xor esi, edx
imul edx, esi, 0x1000193
xor edx, ecx
movzx ecx, byte [eax + 0xb]
imul edx, edx, 0x1000193
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, dword [edi + 0x18]
and edx, ecx
lea esi, [edx*8]
mov edx, dword [edi + 0xc]
add edx, esi
mov ecx, dword [edx]
cmp dword [edx + 4], eax
jne 0x434ac2
cmp ecx, eax
jne 0x434aba
mov eax, dword [edi + 4]
mov dword [edx], eax
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 4]
mov dword [esi + ecx + 4], eax
jmp 0x434aca
mov eax, dword [eax + 4]
mov dword [edx + 4], eax
jmp 0x434aca
cmp ecx, eax
jne 0x434acd
mov ecx, dword [eax]
mov dword [edx], ecx
mov eax, dword [ebp + 0xc]
push eax
push ebx
lea ecx, [edi + 4]
call fcn.00434cb0
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret 8
Function at 0x436f30
Capabilities:
Decrypt data using tea
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x5b706c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [edi + 4]
mov dword [edi + 8], eax
mov ecx, dword [edi]
push dword [edi + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test al, al
jne 0x436f72
mov dword [edi + 0x20], 4
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi]
lea edx, [ebp - 0xc]
xorps xmm0, xmm0
movlpd qword [ebp - 0xc], xmm0
push 8
mov eax, dword [ecx]
push edx
mov eax, dword [eax]
call eax
test al, al
jne 0x436fa2
mov dword [edi + 0x20], 9
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 8]
mov edi, 0x20
push ebx
push esi
mov esi, dword [ebp - 0xc]
mov ebx, 0xc6ef3720
mov eax, esi
lea ecx, [ebx + esi]
shl eax, 4
add eax, 0x132d
xor ecx, eax
mov eax, esi
shr eax, 5
add eax, 0xb
xor ecx, eax
sub edx, ecx
mov eax, edx
shl eax, 4
add eax, 0x1edd
lea ecx, [ebx + edx]
xor ecx, eax
lea ebx, [ebx + 0x61c88647]
mov eax, edx
shr eax, 5
add eax, 0x23b
xor ecx, eax
sub esi, ecx
sub edi, 1
jne 0x436fb4
mov edi, dword [ebp - 0x10]
mov eax, edx
shr eax, 0x14
movzx eax, al
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], edx
sub eax, 0x2a
je 0x43702d
sub eax, 1
je 0x437013
dec eax
pop esi
pop ebx
mov dword [edi + 0x20], 0xc
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
test edx, 0x10000
je 0x437013
lea esi, [edi + 4]
and edx, 0xfff
push esi
push edx
mov ecx, esi
call fcn.00437b30
mov edx, dword [esi + 4]
mov esi, dword [esi]
cmp esi, edx
je 0x437078
mov ecx, dword [edi]
sub edx, esi
push edx
push esi
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
test al, al
jne 0x437078
pop esi
pop ebx
mov dword [edi + 0x20], 0xa
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop esi
pop ebx
xor ecx, ebp
pop edi
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
Function at 0x4380e0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x5b706c]
xor eax, esp
mov dword [esp + 0x194], eax
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x438138
mov eax, dword [esp]
cmp al, 2
jne 0x438132
shr eax, 8
cmp al, 2
jne 0x438132
call fcn.004414b0
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x194]
mov eax, 2
xor ecx, esp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret

Function at 0x4416a0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [ecx + 0x1d]
shl esi, 4
add esi, edi
mov eax, dword [edi + ecx*4 + 0x1a8]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x348]
mov ebx, dword [esi + 4]
sub ebx, dword [esi + 8]
test byte [eax + 0x40], 3
je 0x441763
cmp dword [edi + ecx*4 + 0x1c0], 0x441810
jne 0x441763
cmp dword [esi], 0
je 0x4416ef
test ebx, ebx
je 0x441763
mov ecx, dword [esp + 0xc]
push 0
push 0
push 0xffffffffffffffff
call fcn.00443550
add esp, 0xc
cmp eax, 0xffffffff
je 0x441763
test al, 1
je 0x441763
mov ecx, dword [esi]
test ecx, ecx
jne 0x441740
mov eax, dword [edi]
mov eax, dword [eax + 0x4f8]
add eax, eax
push eax
mov dword [esi + 4], eax
call dword [0x5b7b68]
mov ebx, dword [esi + 4]
mov ecx, eax
add esp, 4
mov dword [esi], ecx
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
test ecx, ecx
je 0x44175c
mov eax, dword [esi + 8]
push 0
push ebx
add eax, ecx
push eax
push dword [esp + 0x18]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x441763
add dword [esi + 8], eax
jmp 0x441763
mov dword [esi + 4], 0
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [esp + 0x18]
call dword [sym.imp.WS2_32.dll_send]
mov ebx, dword [ebp + 0x18]
mov esi, eax
mov dword [ebx], 0
cmp esi, 0xffffffff
jne 0x4417d0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp + 0xc], eax
cmp eax, 0x2733
jne 0x4417a5
mov dword [ebx], 0x51
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, eax
mov ecx, edi
call fcn.00453870
push eax
push str.Send_failure:__s
push dword [edi]
call fcn.004415c0
mov eax, dword [edi]
add esp, 0xc
mov ecx, dword [esp + 0xc]
mov dword [eax + 0x495c], ecx
mov dword [ebx], 0x37
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x441d70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0x1e0]
test eax, eax
je 0x441d96
push dword [esi + 0x16c]
push dword [ebp + 0xc]
push dword [ebp + 8]
push edx
push esi
call eax
add esp, 0x14
pop esi
pop ebp
ret
cmp edx, 2
ja 0x441dca
push dword [esi + 0x168]
lea eax, [edx*2 + 0x56fe5c]
push 1
add eax, edx
push 2
push eax
call fcn.00529aba
push dword [esi + 0x168]
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00529aba
add esp, 0x20
xor eax, eax
pop esi
pop ebp
ret
Function at 0x442690
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x5b706c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
mov esi, edx
cmp dword [ebx + 0x94], 2
mov edi, dword [ebx]
mov dword [ebp - 0x10c], edi
je 0x442880
cmp dword [ebx + 0x29c], 0
jne 0x442879
cmp dword [ebx + 0x30c], 0
jne 0x442879
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x80
push eax
lea eax, [ebp - 0x108]
push eax
push esi
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x442728
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
mov ecx, ebx
mov edx, esi
call fcn.00453870
push eax
push esi
push str.getpeername___failed_with_errno__d:__s
push edi
call fcn.004415c0
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
push 0x80
lea eax, [ebp - 0x88]
mov dword [ebp - 8], 0x80
push 0
push eax
call fcn.00525340
add esp, 0xc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x88]
push eax
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x44278d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
mov ecx, ebx
mov edx, esi
call fcn.00453870
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
push edi
call fcn.004415c0
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
lea eax, [ebx + 0x138]
lea esi, [ebx + 0x10a]
push eax
mov edx, esi
lea ecx, [ebp - 0x108]
call fcn.00442620
add esp, 4
test eax, eax
jne 0x4427ec
call fcn.005281f2
mov esi, dword [eax]
call fcn.005281f2
mov edx, esi
mov ecx, ebx
mov edi, eax
call fcn.00453870
push eax
push dword [edi]
push str.ssrem_inet_ntop___failed_with_errno__d:__s
push dword [ebp - 0x10c]
call fcn.004415c0
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
movups xmm0, xmmword [esi]
mov eax, dword [esi + 0x28]
lea edx, [ebx + 0x13c]
lea ecx, [ebp - 0x88]
movups xmmword [ebx + 0x60], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [ebx + 0x70], xmm0
movq xmm0, qword [esi + 0x20]
movq qword [ebx + 0x80], xmm0
mov dword [ebx + 0x88], eax
mov ax, word [esi + 0x2c]
mov word [ebx + 0x8c], ax
lea eax, [ebx + 0x16c]
push eax
call fcn.00442620
add esp, 4
test eax, eax
jne 0x442879
call fcn.005281f2
mov esi, dword [eax]
call fcn.005281f2
mov edx, esi
mov ecx, ebx
mov edi, eax
call fcn.00453870
push eax
push dword [edi]
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push dword [ebp - 0x10c]
call fcn.004415c0
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
mov ecx, ebx
call fcn.00442540
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
Function at 0x448870
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [edx + 0x2c4], 0
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x4ba8], 0
mov dword [edi + 0x4bf4], 0
mov dword [edi + 0x4bb0], 0
je 0x4488ba
mov eax, dword [edx + 0x348]
test dword [eax + 0x44], 0x1000
jne 0x4488ba
mov dword [edi + 0x4ba8], 0
cmp dword [edi + 0x564], 0
je 0x4488cf
mov dword [edi + 0x410], 6
jmp 0x4488e2
cmp dword [edi + 0x410], 6
jne 0x4488e2
mov dword [edi + 0x410], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov dword [ebp - 0xc], 0
mov eax, 0x10624dd3
mov dword [edi + 0xc8], 1
mul esi
mov dword [edi + 0x90], 0
shr edx, 6
imul ecx, edx, 0x3e8
mov dword [ebp - 0x10], edx
mov dword [edi + 0x94], 0
push 0
push 0
sub esi, ecx
mov ecx, edi
imul eax, esi, 0x3e8
mov dword [ebp - 8], eax
movups xmm0, xmmword [ebp - 0x10]
movups xmmword [edi + 0xa8], xmm0
movups xmmword [edi + 0xb8], xmm0
mov eax, dword [edi + 0x904]
mov dword [edi + 0x12c], eax
xorps xmm0, xmm0
mov eax, dword [edi + 0x8fc]
mov dword [edi + 0xd4], eax
mov dword [edi + 0x13c], 0
movups xmmword [edi + 0x8e8], xmm0
call fcn.0044e550
push 0
push 0
mov ecx, edi
call fcn.0044e490
add esp, 0x10
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44a4d0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x5b706c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x5b7b7c], 0x56fed0
jne 0x44a5bb
cmp dword [0x5b7b80], 0
je 0x44a5bb
push ebx
push esi
push edi
push str.CURL_SSL_BACKEND
call fcn.00535df6
add esp, 4
mov byte [ebp - 0x108], 0
test eax, eax
je 0x44a5ab
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [ebp - 0x108], 0
je 0x44a5ab
lea eax, [ebp - 0x108]
push eax
call dword [0x5b7b74]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x44a5ad
mov edi, dword [0x5b7b80]
xor esi, esi
test edi, edi
je 0x44a5ad
nop dword [eax]
mov edx, dword [edi + 4]
mov ecx, ebx
call fcn.0044aa50
test eax, eax
jne 0x44a588
mov edi, dword [esi*4 + 0x5b7b84]
inc esi
test edi, edi
jne 0x44a560
mov esi, dword [0x5b7b80]
mov dword [0x5b7b7c], esi
jmp 0x44a58e
mov dword [0x5b7b7c], edi
push ebx
call dword [0x5b7b6c]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
xor ebx, ebx
mov esi, dword [0x5b7b80]
mov dword [0x5b7b7c], esi
jmp 0x44a58e
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret

Function at 0x44a5d0
Capabilities:
Create udp socket

Disassembly:
mov ecx, dword [0x5b7b8c]
cmp ecx, 0xffffffff
jne 0x44a613
push 0
push 2
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
jne 0x44a5fc
xor ecx, ecx
xor eax, eax
test ecx, ecx
mov dword [0x5b7b8c], ecx
setg al
ret
push eax
mov dword [0x5b7b8c], 1
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [0x5b7b8c]
xor eax, eax
test ecx, ecx
setg al
ret