joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e3e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485880
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x4aa0cc]
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 eax, dword [ebp + 8]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x10]
push 0x4af394
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x3c], vtable.Base::lock::scoped_lock_class_Base::lock::critical_section_.0
mov dword [ebp - 0x38], 0x4af390
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor dl, dl
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x54]
xor bl, bl
call fcn.0042e5c0
push 0
push 0
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.00403480
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
call esi
mov edi, eax
cmp edi, 0xffffffff
jne 0x42e4ab
mov dl, 1
lea ecx, [ebp - 0x6c]
call fcn.0042e5c0
push 0
push 0
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x6c]
call fcn.00403480
push eax
call esi
lea ecx, [ebp - 0x6c]
mov edi, eax
call fcn.004033c0
cmp edi, 0xffffffff
je 0x42e581
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0x38]
push 0
push eax
push 4
push 0x495dac
push edi
call esi
test eax, eax
je 0x42e57a
cmp dword [ebp - 0x38], 4
jne 0x42e57a
push 0
lea eax, [ebp - 0x38]
push eax
push 0x10
push dword [ebp - 0x78]
push edi
call esi
test eax, eax
je 0x42e57a
cmp dword [ebp - 0x38], 0x10
jne 0x42e57a
mov eax, dword [ebp - 0x74]
lea ecx, [ebp - 0x24]
xorps xmm0, xmm0
push ecx
mov ecx, eax
mov esi, dword [eax + 0x10]
movdqu xmmword [ebp - 0x24], xmm0
call fcn.00405880
mov edx, esi
mov ecx, eax
call fcn.0042d6e0
push 0
lea eax, [ebp - 0x38]
push eax
push 0x10
lea eax, [ebp - 0x24]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42e57a
cmp dword [ebp - 0x38], 0x10
jne 0x42e57a
mov eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x34]
xorps xmm0, xmm0
push ecx
mov ecx, eax
mov esi, dword [eax + 0x10]
movdqu xmmword [ebp - 0x34], xmm0
call fcn.00405880
mov edx, esi
mov ecx, eax
call fcn.0042d6e0
push 0
lea eax, [ebp - 0x38]
push eax
push 0x10
lea eax, [ebp - 0x34]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42e57a
cmp dword [ebp - 0x38], 0x10
mov eax, 1
movzx ebx, bl
cmove ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x54]
call fcn.004033c0
push 0x4af394
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
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.0047dbfe
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42e5c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4858dd
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x4aa0cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov bl, dl
mov esi, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], 0
call fcn.00403390
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x21c], 1
call sub.MSVCR120.dll_memset
add esp, 0xc
mov ecx, 0x1a
test bl, bl
mov eax, 0x23
cmovne eax, ecx
push 1
push eax
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42e6b3
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x238]
call fcn.004058c0
push eax
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.004060d0
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0
call fcn.004033c0
push 0x495d30
mov ecx, esi
call fcn.00408720
mov ecx, esi
call fcn.0042af40
test al, al
jne 0x42e6a7
mov ecx, esi
call fcn.0042b050
push str.Global.db
mov ecx, esi
call fcn.00408720
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047dbfe
mov esp, ebp
pop ebp
ret

Function at 0x42e8e0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4aa0cc]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0x10]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
test eax, eax
je 0x42e930
push dword [ebp + 0xc]
push eax
call fcn.0042e830
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x10]
shr ecx, 3
mov dword [ebp - 0x10], eax
and ecx, 0x3f
mov eax, dword [esi + 0x14]
mov dword [ebp - 0xc], eax
mov eax, 0x38
cmp ecx, 0x38
jb 0x42e954
mov eax, 0x78
sub eax, ecx
mov ecx, esi
push eax
push 0x495dd0
call fcn.0042e830
push 8
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.0042e830
movdqu xmm0, xmmword [esi]
mov ecx, dword [ebp - 8]
xor ecx, ebp
movdqu xmmword [edi], xmm0
pop edi
pop esi
call fcn.0047dbfe
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42f2e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2aa8
call fcn.0047e3a0
mov eax, dword [0x4aa0cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
mov ebx, ecx
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42f333
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x42f379
mov eax, 0x5c
cmp ax, word [ebp + ecx*2 - 0x20e]
je 0x42f379
mov word [ebp + ecx*2 - 0x20c], ax
lea eax, [ecx*2 + 2]
cmp eax, 0x208
jae 0x42f521
xor ecx, ecx
mov word [ebp + eax - 0x20c], cx
push 0x104
push str.iphlpapi.dll
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.MSVCR120.dll_wcsncat_s]
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x2aa8], eax
test eax, eax
jne 0x42f3c0
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047dbfe
mov esp, ebp
pop ebp
ret
push str.GetAdaptersInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42f4c8
lea ecx, [ebp - 0x2a90]
mov dword [ebp - 0x2a90], 0x2880
push ecx
lea ecx, [ebp - 0x2a8c]
push ecx
call eax
test eax, eax
jne 0x42f4c8
mov eax, ebx
mov dword [ebp - 0x2aa0], 3
lea ecx, [ebp - 0x2a98]
push esi
sub eax, ecx
push edi
lea edi, [ebp - 0x2a8c]
mov dword [ebp - 0x2aa4], eax
lea ecx, [edi + 8]
call fcn.0042f530
mov dword [ebp - 0x2a9c], eax
xor eax, eax
mov dword [ebp - 0x2a98], eax
xor ecx, ecx
mov word [ebp - 0x2a94], ax
mov eax, dword [ebp - 0x2aa4]
lea ecx, [ecx]
lea esi, [ebp - 0x2a98]
add esi, ecx
mov dl, byte [eax + esi]
cmp dl, byte [esi]
jne 0x42f45d
inc ecx
cmp ecx, 6
jb 0x42f440
mov ecx, dword [ebp - 0x2a9c]
jmp 0x42f47b
mov eax, dword [edi + 0x1a0]
cmp eax, 6
je 0x42f46d
cmp eax, 0x17
jne 0x42f4bc
mov ecx, dword [ebp - 0x2a9c]
cmp dword [ebp - 0x2aa0], ecx
jle 0x42f4bc
movzx eax, byte [edi + 0x194]
mov byte [ebx], al
movzx eax, byte [edi + 0x195]
mov byte [ebx + 1], al
movzx eax, byte [edi + 0x196]
mov byte [ebx + 2], al
movzx eax, byte [edi + 0x197]
mov byte [ebx + 3], al
movzx eax, byte [edi + 0x198]
mov byte [ebx + 4], al
movzx eax, byte [edi + 0x199]
mov byte [ebx + 5], al
mov dword [ebp - 0x2aa0], ecx
mov edi, dword [edi]
test edi, edi
jne 0x42f418
pop edi
pop esi
push dword [ebp - 0x2aa8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
xor edx, edx
mov dword [ebp - 0x2a98], eax
mov word [ebp - 0x2a94], ax
lea eax, [ebp - 0x2a98]
sub ebx, eax
lea ecx, [ecx]
lea ecx, [ebp - 0x2a98]
add ecx, edx
mov al, byte [ebx + ecx]
cmp al, byte [ecx]
jne 0x42f509
inc edx
cmp edx, 6
jb 0x42f4f0
mov cl, 1
jmp 0x42f50b
xor cl, cl
xor eax, eax
test cl, cl
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
pop ebx
call fcn.0047dbfe
mov esp, ebp
pop ebp
ret
call fcn.0047e22c
int3
Function at 0x42f530
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4aa0cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x11c]
push edi
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
push reloc.OLEAUT32.dll_SysReAllocString
mov edi, ecx
mov dword [ebp - 0x114], 0x104
mov ebx, 3
mov dword [ebp - 0x110], 1
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x10c], 0
call esi
test eax, eax
jne 0x42f6ff
push edi
push str._sConnection
push 0xffffffffffffffff
lea eax, [ebp - 0x108]
push 0x103
push eax
call dword [sym.imp.MSVCR120.dll__snprintf_s]
add esp, 0x14
lea eax, [ebp - 0x118]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x11c]
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x42f6f7
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x110], 4
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x114], 4
push eax
push 0
push str.MediaSubType
push dword [ebp - 0x118]
call esi
test eax, eax
jne 0x42f6ef
push 0x104
push eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x110], 1
push eax
mov dword [ebp - 0x114], 0x103
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push str.PnpInstanceID
push dword [ebp - 0x118]
call esi
test eax, eax
jne 0x42f6ef
mov eax, dword [ebp - 0x10c]
cmp eax, 1
jne 0x42f6e0
mov esi, dword [sym.imp.MSVCR120.dll_strncmp]
lea eax, [ebp - 0x108]
push ebx
push 0x495ec0
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x42f6b1
xor ebx, ebx
jmp 0x42f6ef
mov eax, dword [ebp - 0x10c]
cmp eax, 1
jne 0x42f6e0
push 3
lea eax, [ebp - 0x108]
push 0x495ec0
push eax
call esi
add esp, 0xc
test eax, eax
je 0x42f6da
mov ebx, 2
jmp 0x42f6ef
mov eax, dword [ebp - 0x10c]
xor ebx, ebx
cmp eax, 2
setne bl
lea ebx, [ebx*2 + 1]
push dword [ebp - 0x118]
call edi
push dword [ebp - 0x11c]
call edi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047dbfe
mov esp, ebp
pop ebp
ret
Function at 0x4305d0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x4aa0cc]
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 0x430628
mov eax, dword [esp]
cmp al, 2
jne 0x430622
shr eax, 8
cmp al, 2
jne 0x430622
call fcn.00440d70
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.0047dbfe
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.0047dbfe
mov esp, ebp
pop ebp
ret
Function at 0x4344d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov edi, edx
mov eax, dword [esi]
cmp dword [eax + 4], 2
jne 0x4344fb
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x4344ee
pop edi
xor eax, eax
pop esi
pop ebp
ret
push dword [eax + 8]
push dword [ebp + 8]
push 1
push edi
call ecx
jmp 0x43452f
cmp dword [esi + 8], 0
jne 0x434520
push 0x494b10
push dword [eax + 8]
call dword [sym.imp.MSVCR120.dll_fopen]
add esp, 8
mov dword [esi + 8], eax
test eax, eax
jne 0x434520
pop edi
or eax, 0xffffffff
pop esi
pop ebp
ret
push dword [esi + 8]
push dword [ebp + 8]
push 1
push edi
call dword [sym.imp.MSVCR120.dll_fread]
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x434552
mov eax, dword [esi + 8]
test eax, eax
je 0x43454c
push eax
call dword [sym.imp.MSVCR120.dll_fclose]
add esp, 4
mov dword [esi + 8], edi
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esi], eax
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x438da0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x394
mov eax, dword [0x4aa0cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.no_proxy
mov dword [ebp - 0x394], ecx
xor esi, esi
call dword [sym.imp.MSVCR120.dll_getenv]
mov edi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
add esp, 4
mov byte [ebp - 0x188], 0
test eax, eax
je 0x438e09
push 0x104
lea ecx, [ebp - 0x188]
push ecx
push eax
call edi
cmp byte [ebp - 0x188], 0
je 0x438e09
lea eax, [ebp - 0x188]
push eax
call dword [0x4aa70c]
add esp, 4
mov ebx, eax
jmp 0x438e0b
xor ebx, ebx
test ebx, ebx
jne 0x438e54
push str.NO_PROXY
call dword [sym.imp.MSVCR120.dll_getenv]
add esp, 4
mov byte [ebp - 0x28c], bl
test eax, eax
je 0x438e52
push 0x104
lea ecx, [ebp - 0x28c]
push ecx
push eax
call edi
cmp byte [ebp - 0x28c], bl
je 0x438e52
lea eax, [ebp - 0x28c]
push eax
call dword [0x4aa70c]
add esp, 4
mov ebx, eax
jmp 0x438e54
xor ebx, ebx
mov edi, dword [ebp - 0x394]
mov edx, ebx
mov ecx, dword [edi + 0x98]
call fcn.00438c50
test al, al
jne 0x438f69
mov eax, dword [edi + 0x27c]
lea esi, [ebp - 0x84]
mov edi, dword [eax]
mov al, byte [edi]
test al, al
je 0x438e9c
movsx eax, al
push eax
call dword [sym.imp.MSVCR120.dll_tolower]
mov byte [esi], al
lea edi, [edi + 1]
mov al, byte [edi]
add esp, 4
inc esi
test al, al
jne 0x438e83
mov eax, dword [str._proxy]
mov dword [esi], eax
mov ax, word [0x496770]
mov word [esi + 4], ax
mov al, byte [0x496772]
mov byte [esi + 6], al
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.MSVCR120.dll_getenv]
add esp, 4
mov byte [ebp - 0x390], 0
test eax, eax
je 0x438f00
push 0x104
lea ecx, [ebp - 0x390]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [ebp - 0x390], 0
je 0x438f00
lea eax, [ebp - 0x390]
push eax
call dword [0x4aa70c]
add esp, 4
mov esi, eax
jmp 0x438f02
xor esi, esi
test esi, esi
jne 0x438f69
lea edx, [ebp - 0x84]
mov ecx, str.http_proxy
call fcn.0044ce50
test eax, eax
jne 0x438f4d
mov esi, 0x80
lea edx, [ebp - 0x84]
mov cl, byte [edx]
mov al, cl
sub al, 0x61
cmp al, 0x19
ja 0x438f32
sub cl, 0x20
mov byte [edx], cl
inc edx
test cl, cl
je 0x438f3c
dec esi
jne 0x438f25
lea ecx, [ebp - 0x84]
call fcn.0044cf20
mov esi, eax
test esi, esi
jne 0x438f69
mov ecx, str.all_proxy
call fcn.0044cf20
mov esi, eax
test esi, esi
jne 0x438f69
mov ecx, str.ALL_PROXY
call fcn.0044cf20
mov esi, eax
push ebx
call dword [0x4aa774]
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0047dbfe
mov esp, ebp
pop ebp
ret
Function at 0x439bc0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, edx
mov dword [ebp - 0xc], ecx
push esi
mov esi, dword [ecx + 0x208]
xor eax, eax
mov ecx, dword [ecx + 0x20c]
mov edx, 0x493e0
test esi, esi
mov dword [ebp - 4], edx
mov edx, 1
mov dword [ebp - 8], 0
cmovg eax, edx
push edi
test ecx, ecx
jle 0x439bfc
or eax, 2
dec eax
je 0x439c16
dec eax
je 0x439c11
dec eax
jne 0x439c19
cmp esi, ecx
mov edx, ecx
cmovl edx, esi
mov dword [ebp - 4], edx
jmp 0x439c19
mov dword [ebp - 4], ecx
jmp 0x439c19
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
mov edi, edx
shr edi, 6
imul eax, edi, 0x3e8
sub ecx, eax
mov eax, dword [ebp - 0xc]
imul ecx, ecx, 0x3e8
mov esi, dword [eax + 0x508]
sub esi, edi
sub ecx, dword [eax + 0x50c]
mov eax, 0x10624dd3
imul ecx
imul eax, esi, 0x3e8
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 4]
add ecx, eax
mov eax, 0xffffffff
cmove ecx, eax
cmp byte [ebx + 0x252], 0
je 0x439c8a
mov ecx, dword [ebp + 8]
xor eax, eax
mov byte [ecx], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0xa8]
test edx, edx
je 0x439d1b
cmp byte [edx], 0
je 0x439d1b
mov dword [ebp - 4], 0
test ecx, ecx
js 0x439d88
lea eax, [ebp - 4]
mov ecx, ebx
push eax
push dword [ebx + 0xb0]
call fcn.0043caf0
add esp, 8
cmp eax, 1
jne 0x439cdb
mov eax, dword [ebp + 8]
mov byte [eax], 1
mov eax, dword [ebp - 4]
mov dword [ebx + 0x48], eax
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0xfffffffe
je 0x439d88
cmp dword [ebp - 4], 0
jne 0x439d8f
push dword [ebx + 0xac]
push str.Couldnt_resolve_proxy__s
push dword [ebp - 0xc]
call fcn.0043db80
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 8], 5
mov dword [ebx + 0x48], eax
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0xb4]
mov dword [ebx + 0xb0], eax
mov dword [ebp - 4], 0
test ecx, ecx
js 0x439d88
mov edx, dword [ebx + 0x98]
lea ecx, [ebp - 4]
push ecx
push eax
mov ecx, ebx
call fcn.0043caf0
add esp, 8
cmp eax, 1
je 0x439cc5
cmp eax, 0xfffffffe
je 0x439d88
cmp dword [ebp - 4], 0
jne 0x439d8f
push dword [ebx + 0x9c]
push str.Couldnt_resolve_host__s
push dword [ebp - 0xc]
call fcn.0043db80
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 8], 6
mov dword [ebx + 0x48], eax
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 8], 0x1c
mov eax, dword [ebp - 4]
pop edi
mov dword [ebx + 0x48], eax
mov eax, dword [ebp - 8]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43a7c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], edx
mov ebx, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push dword [ebx + 0x50c]
mov esi, eax
mov eax, 0x10624dd3
push dword [ebx + 0x508]
mul esi
shr edx, 6
imul ecx, edx, 0x3e8
sub esi, ecx
imul eax, esi, 0x3e8
push eax
push edx
call fcn.0043e460
movsd qword [ebx + 0x4d0], xmm0
add esp, 0x10
mov eax, dword [edi + 0x27c]
test byte [eax + 0x40], 0x10
mov eax, dword [esp + 0xc]
je 0x43a82c
mov byte [eax], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [eax], 0
mov byte [edi + 0x266], 0
cmp dword [ebx + 0x3a8], 0
je 0x43a881
push dword [edi + 0x294]
call dword [0x4aa774]
add esp, 4
mov dword [edi + 0x294], 0
push dword [ebx + 0x3a8]
push str.User_Agent:__s_r_n
call fcn.0044b1f0
add esp, 8
mov dword [edi + 0x294], eax
test eax, eax
jne 0x43a881
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebx + 0x80], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov eax, 0x10624dd3
mul esi
shr edx, 6
imul ecx, edx, 0x3e8
mov dword [edi + 0x144], edx
sub esi, ecx
imul eax, esi, 0x3e8
mov dword [edi + 0x148], eax
cmp dword [edi + 0x154], 0xffffffff
jne 0x43a8e0
mov byte [edi + 0x25a], 0
mov ecx, edi
mov edx, dword [edi + 0x48]
call fcn.0043c3a0
test eax, eax
je 0x43a97e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push dword [ebx + 0x50c]
mov esi, eax
mov eax, 0x10624dd3
push dword [ebx + 0x508]
mul esi
shr edx, 6
imul ecx, edx, 0x3e8
sub esi, ecx
imul eax, esi, 0x3e8
push eax
push edx
call fcn.0043e460
add esp, 0x10
movsd qword [ebx + 0x4d8], xmm0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push dword [ebx + 0x50c]
mov esi, eax
mov eax, 0x10624dd3
push dword [ebx + 0x508]
mul esi
shr edx, 6
imul ecx, edx, 0x3e8
sub esi, ecx
imul eax, esi, 0x3e8
push eax
push edx
call fcn.0043e460
mov eax, dword [esp + 0x1c]
add esp, 0x10
movsd qword [ebx + 0x4e0], xmm0
mov ecx, edi
mov byte [edi + 0x25a], 1
mov byte [eax], 1
mov edx, dword [edi + 0x154]
call fcn.0043b890
mov ecx, edi
call fcn.00438000
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov eax, 0x10624dd3
mul esi
shr edx, 6
imul ecx, edx, 0x3e8
mov dword [edi + 0x144], edx
sub esi, ecx
imul eax, esi, 0x3e8
mov dword [edi + 0x148], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43b030
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4aa0cc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
xor eax, eax
push edi
push 4
mov edi, edx
cmp byte [esi + 0x430], al
setne al
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 8
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x43b08b
push edi
push str.Failed_to_set_SO_KEEPALIVE_on_fd__d_n
push esi
call fcn.0043dac0
add esp, 0xc
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047dbfe
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x434]
and eax, 0x7fffffff
mov dword [ebp - 0x10], 1
imul eax, eax, 0x3e8
push 0
push 0
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x438]
and eax, 0x7fffffff
imul eax, eax, 0x3e8
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0xc
lea eax, [ebp - 0x10]
push eax
push 0x98000004
push edi
call dword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x43b0f5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push edi
push str.Failed_to_set_SIO_KEEPALIVE_VALS_on_fd__d:__d_n
push esi
call fcn.0043dac0
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0047dbfe
mov esp, ebp
pop ebp
ret
Function at 0x43b890
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x4aa0cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
cmp dword [edi + 0x8c], 2
mov ebx, dword [edi]
je 0x43ba62
cmp byte [edi + 0x252], 0
jne 0x43ba5b
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x10c], 0x80
push eax
lea eax, [ebp - 0x108]
push eax
push esi
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x43b91b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
mov ecx, edi
mov edx, esi
call fcn.0044e8d0
push eax
push esi
push str.getpeername___failed_with_errno__d:__s
push ebx
call fcn.0043db80
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047dbfe
mov esp, ebp
pop ebp
ret
push 0x80
lea eax, [ebp - 0x88]
mov dword [ebp - 0x10c], 0x80
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x88]
push eax
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x43b986
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
mov ecx, edi
mov edx, esi
call fcn.0044e8d0
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
push ebx
call fcn.0043db80
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047dbfe
mov esp, ebp
pop ebp
ret
lea eax, [edi + 0xe8]
lea esi, [edi + 0xb8]
push eax
mov edx, esi
lea ecx, [ebp - 0x108]
call fcn.0043b840
add esp, 4
test al, al
jne 0x43b9d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov ecx, edi
mov edx, esi
call fcn.0044e8d0
push eax
push esi
push str.ssrem_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.0043db80
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047dbfe
mov esp, ebp
pop ebp
ret
movdqu xmm0, xmmword [esi]
mov eax, dword [esi + 0x28]
lea edx, [edi + 0xec]
lea ecx, [ebp - 0x88]
movdqu xmmword [edi + 0x58], xmm0
movdqu xmm0, xmmword [esi + 0x10]
movdqu xmmword [edi + 0x68], xmm0
movq xmm0, qword [esi + 0x20]
movq qword [edi + 0x78], xmm0
mov dword [edi + 0x80], eax
mov ax, word [esi + 0x2c]
mov word [edi + 0x84], ax
lea eax, [edi + 0x11c]
push eax
call fcn.0043b840
add esp, 4
test al, al
jne 0x43ba5b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov ecx, edi
mov edx, esi
call fcn.0044e8d0
push eax
push esi
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.0043db80
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047dbfe
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.0043b780
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047dbfe
mov esp, ebp
pop ebp
ret