joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416c40
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x4dcfc0], 0
push esi
mov esi, ecx
mov dword [esi], vtable.xurl_handle.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [esi + 0xc], 0
jne 0x416c75
call fcn.004197b0
test eax, eax
je 0x416c75
xor ecx, ecx
jmp 0x416c87
lea ecx, [ebp - 4]
call fcn.0041f760
mov ecx, dword [ebp - 4]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [esi + 4], ecx
test ecx, ecx
je 0x416c9e
push 1
push 0x34
push ecx
call fcn.00419920
add esp, 0xc
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x416cbb
push str.Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_36.0.1985.125_Safari_537.36
push 0x2722
push eax
call fcn.00419920
add esp, 0xc
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x416ce6
push esi
push 0x2749
push eax
call fcn.00419920
push sym.ali213Update.exe_private:_static_int___cdecl_xurl_handle::private_xurl_progress_callback_void___long_long___int64___long_long___int64___long_long___int64___long_long___int64__
push 0x4efb
push dword [esi + 4]
call fcn.00419920
add esp, 0x18
mov dword [esi + 8], eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x416df0
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esi], vtable.xurl_handle.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [esi + 0xc], 0
test eax, eax
jne 0x416eac
mov byte [esi + 0xc], al
cmp dword [0x4dcfc0], eax
jne 0x416e31
call fcn.004197b0
test eax, eax
je 0x416e31
xor ecx, ecx
jmp 0x416e43
lea ecx, [ebp + 8]
call fcn.0041f760
mov ecx, dword [ebp + 8]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [esi + 4], ecx
test ecx, ecx
je 0x416e5a
push 1
push 0x34
push ecx
call fcn.00419920
add esp, 0xc
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x416e77
push str.Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_36.0.1985.125_Safari_537.36
push 0x2722
push eax
call fcn.00419920
add esp, 0xc
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x416eb3
push esi
push 0x2749
push eax
call fcn.00419920
add esp, 0xc
push sym.ali213Update.exe_private:_static_int___cdecl_xurl_handle::private_xurl_progress_callback_void___long_long___int64___long_long___int64___long_long___int64___long_long___int64__
push 0x4efb
push dword [esi + 4]
call fcn.00419920
mov dword [esi + 8], eax
add esp, 0xc
mov eax, esi
pop esi
pop ebp
ret 4
mov dword [esi + 4], eax
mov byte [esi + 0xc], 1
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x417260
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a7978
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4d6750]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
push edi
mov eax, dword [0x4d6750]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
mov dword [esp + 0x40], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4172d5
push sym.ali213Update.exe_private:_static_unsigned_int___cdecl_xurl_handle::fwrite_to_cstring_void_const___unsigned_int__unsigned_int__void__
push 0x4e2b
push eax
call fcn.00419920
add esp, 0xc
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x4172f2
lea ecx, [esp + 0x18]
push ecx
push 0x2711
push eax
call fcn.00419920
add esp, 0xc
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x417406
push sym.ali213Update.exe_private:_static_unsigned_int___cdecl_xurl_handle::fwrite_header_void_const___unsigned_int__unsigned_int__void__
push 0x4e6f
push eax
call fcn.00419920
mov dword [esi + 8], eax
add esp, 0xc
mov eax, dword [esi + 4]
test eax, eax
je 0x41732c
push esi
push 0x272d
push eax
call fcn.00419920
add esp, 0xc
mov dword [esi + 8], eax
mov ecx, dword [esi + 4]
call fcn.00419ad0
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x41734e
push 0xffffffffffffffff
push 0x3c
push eax
call fcn.00419920
add esp, 0xc
mov dword [esi + 8], eax
cmp dword [esi + 8], 0
sete al
test al, al
je 0x417406
cmp dword [esp + 0x28], 1
jb 0x417406
push 0x4b72e8
push edi
call fcn.00488d83
mov edi, eax
add esp, 8
test edi, edi
je 0x417406
cmp dword [esp + 0x2c], 0x10
lea eax, [esp + 0x18]
push edi
cmovae eax, dword [esp + 0x1c]
push 1
push dword [esp + 0x30]
push eax
call fcn.0048aa31
mov eax, dword [esi + 4]
add esp, 0x10
xorps xmm0, xmm0
movsd qword [esp + 0xc], xmm0
test eax, eax
je 0x4173ca
lea ecx, [esp + 0xc]
push ecx
push 0x300008
push eax
call fcn.00419b80
movsd xmm0, qword [esp + 0x18]
add esp, 0xc
mov dword [esi + 8], eax
call fcn.004a5931
cmp dword [esp + 0x2c], 0x10
mov esi, eax
jb 0x4173e4
push dword [esp + 0x18]
call fcn.00488361
add esp, 4
push edi
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
call fcn.00488f02
add esp, 4
mov eax, esi
jmp 0x41741b
cmp dword [esp + 0x2c], 0x10
jb 0x417419
push dword [esp + 0x18]
call fcn.00488361
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00488366
mov esp, ebp
pop ebp
ret 4
Function at 0x418820
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x330
mov eax, dword [0x4d6750]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, dword [ebp + 8]
imul eax, esi, 0x3e8
mov dword [ebp - 0x328], 0xffffffff
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x324], 0
mov dword [ebp - 0x32c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x330], 0
test eax, eax
je 0x4188ae
push eax
lea eax, [ebp - 0x328]
push eax
lea edx, [ebp - 0x114]
lea ecx, [ebp - 0x21c]
call fcn.0041a270
add esp, 8
test eax, eax
jne 0x4188ae
mov eax, dword [ebp - 0x328]
cmp eax, 0xffffffff
jne 0x4188c2
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00488366
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x330]
inc eax
push ecx
lea ecx, [ebp - 0x324]
push ecx
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x21c]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_select]
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.00488366
mov esp, ebp
pop ebp
ret 4

Function at 0x418cc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a7a48
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4d6750]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov eax, dword [0x4d6750]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0xc], 0
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
mov dword [esp + 0x38], 0
test ecx, ecx
jne 0x418d39
mov ecx, edx
lea esi, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418d30
sub ecx, esi
push ecx
call fcn.00419390
mov esi, eax
add esp, 4
test esi, esi
je 0x418d74
cmp byte [esi], 0
jne 0x418d51
xor ecx, ecx
jmp 0x418d5f
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418d56
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x18]
call fcn.00401d20
push esi
call dword [0x4d75cc]
add esp, 4
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.00401c80
cmp dword [esp + 0x24], 0x10
jb 0x418d93
push dword [esp + 0x10]
call fcn.00488361
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00488366
mov esp, ebp
pop ebp
ret
Function at 0x418ed0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a7a78
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4d6750]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov eax, dword [0x4d6750]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0xc], 0
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
mov dword [esp + 0x38], eax
call fcn.0041c230
mov edi, eax
test edi, edi
je 0x418f74
cmp word [edi], 0
jne 0x418f44
xor ecx, ecx
jmp 0x418f5f
mov ecx, edi
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418f50
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [esp + 0x18]
call fcn.00402900
push edi
call dword [0x4d75cc]
add esp, 4
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.00419270
cmp dword [esp + 0x24], 8
jb 0x418f93
push dword [esp + 0x10]
call fcn.00488361
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00488366
mov esp, ebp
pop ebp
ret

Function at 0x418fc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a7a48
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4d6750]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov eax, dword [0x4d6750]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0xc], 0
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
mov dword [esp + 0x38], 0
call fcn.0041c2a0
mov esi, eax
test esi, esi
je 0x41905e
cmp byte [esi], 0
jne 0x419035
xor ecx, ecx
jmp 0x419049
mov ecx, esi
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x419040
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x18]
call fcn.00401d20
push esi
call dword [0x4d75cc]
add esp, 4
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.00401c80
cmp dword [esp + 0x24], 0x10
jb 0x41907d
push dword [esp + 0x10]
call fcn.00488361
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00488366
mov esp, ebp
pop ebp
ret
Function at 0x419690
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0xc]
push esi
push edi
push 0xf0000000
push 1
push 0
push 0
push eax
mov esi, edx
mov edi, ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x4196cb
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4196d0
push 0
sub ecx, edx
push ecx
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
lea eax, [ebp - 4]
push 0
push eax
push 0
push 2
push dword [ebp - 8]
call esi
cmp dword [ebp - 4], 0x10
jne 0x41970f
push 0
lea eax, [ebp - 4]
push eax
push edi
push 2
push dword [ebp - 8]
call esi
mov eax, dword [ebp - 8]
test eax, eax
je 0x41971d
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x41972d
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x419740
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x4d6750]
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 0x419798
mov eax, dword [esp]
cmp al, 2
jne 0x419792
shr eax, 8
cmp al, 2
jne 0x419792
call fcn.0042b370
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.00488366
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.00488366
mov esp, ebp
pop ebp
ret
Function at 0x419950
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0xc], ecx
xor ebx, ebx
mov esi, ecx
jmp 0x41996a
mov esi, eax
test edi, edi
jne 0x419ac6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
mov eax, edx
shr eax, 6
mov dword [esp + 0x18], eax
imul eax, eax, 0x3e8
sub ecx, eax
imul eax, ecx, 0x3e8
mov ecx, esi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
sub esp, 8
call fcn.0041a3c0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x419ac6
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x419aba
test eax, eax
jne 0x419a47
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov eax, 0x10624dd3
mul esi
mov eax, 0x10624dd3
mov edi, edx
shr edi, 6
imul ecx, edi, 0x3e8
sub edi, dword [esp + 0x18]
sub esi, ecx
imul ecx, esi, 0x3e8
sub ecx, dword [esp + 0x14]
imul ecx
imul eax, edi, 0x3e8
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add ecx, eax
cmp ecx, 0xa
jg 0x419a47
inc ebx
cmp ebx, 2
jle 0x419a49
cmp ebx, 0xa
jge 0x419a39
lea ecx, [ebx - 1]
mov eax, 1
shl eax, cl
test eax, eax
je 0x419a49
jns 0x419a3e
push 0x2726
call dword [sym.imp.WS2_32.dll_WSASetLastError]
jmp 0x419a49
mov eax, 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x419a49
xor ebx, ebx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x1c]
call fcn.0041b3e0
mov esi, dword [esp + 0xc]
mov edi, eax
test edi, edi
jne 0x419ac6
cmp dword [esp + 0x1c], 0
jne 0x41996a
mov eax, esi
test eax, eax
je 0x419968
cmp dword [eax], 0xbab1e
jne 0x419968
mov ecx, dword [eax + 0x14]
cmp dword [ecx + 0xc], 0
je 0x41996a
mov edx, dword [ecx]
push 0
mov esi, dword [edx]
mov dword [esp + 0x1c], esi
call fcn.0042e5e0
add esp, 4
test esi, esi
mov esi, dword [esp + 0xc]
je 0x41996a
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x38
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41dca0
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 0x41dccb
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x41dcbe
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 0x41dcfd
cmp dword [esi + 8], 0
jne 0x41dcef
push 0x4b76a4
push dword [eax + 8]
call fcn.00488d83
add esp, 8
mov dword [esi + 8], eax
test eax, eax
jne 0x41dcef
pop edi
or eax, 0xffffffff
pop esi
pop ebp
ret
push dword [esi + 8]
push dword [ebp + 8]
push 1
push edi
call fcn.004895af
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x41dd1f
mov eax, dword [esi + 8]
test eax, eax
je 0x41dd19
push eax
call fcn.00488f02
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 0x4233a0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x188
mov eax, dword [0x4d6750]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.no_proxy
mov edi, ecx
xor esi, esi
call fcn.0048c647
add esp, 4
mov byte [ebp - 0x188], 0
test eax, eax
je 0x423402
push 0x104
lea ecx, [ebp - 0x188]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [ebp - 0x188], 0
je 0x423402
lea eax, [ebp - 0x188]
push eax
call dword [0x4d75c8]
add esp, 4
mov ebx, eax
jmp 0x423404
xor ebx, ebx
test ebx, ebx
jne 0x423414
mov ecx, str.NO_PROXY
call fcn.00447c50
mov ebx, eax
mov ecx, dword [edi + 0x98]
mov edx, ebx
call fcn.00423260
test eax, eax
jne 0x4234dd
mov eax, dword [edi + 0x2bc]
lea esi, [ebp - 0x84]
mov edi, dword [eax]
mov al, byte [edi]
test al, al
je 0x423458
lea ecx, [ecx]
movsx eax, al
push eax
call fcn.0048b416
mov byte [esi], al
lea edi, [edi + 1]
mov al, byte [edi]
add esp, 4
inc esi
test al, al
jne 0x423440
mov eax, dword [str._proxy]
lea ecx, [ebp - 0x84]
mov dword [esi], eax
mov ax, word [0x4b7a58]
mov word [esi + 4], ax
mov al, byte [0x4b7a5a]
mov byte [esi + 6], al
call fcn.00447c50
mov esi, eax
test esi, esi
jne 0x4234bc
lea edx, [ebp - 0x84]
mov ecx, str.http_proxy
call fcn.00445c90
test eax, eax
jne 0x4234c1
lea edx, [ebp - 0x84]
push 0x80
mov ecx, edx
call fcn.00445f20
add esp, 4
lea ecx, [ebp - 0x84]
call fcn.00447c50
mov esi, eax
test esi, esi
je 0x4234c1
cmp byte [esi], 0
jne 0x4234dd
mov ecx, str.all_proxy
call fcn.00447c50
mov esi, eax
test esi, esi
jne 0x4234dd
mov ecx, str.ALL_PROXY
call fcn.00447c50
mov esi, eax
test ebx, ebx
je 0x4234eb
push ebx
call dword [0x4d75cc]
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00488366
mov esp, ebp
pop ebp
ret
Function at 0x424170
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov dword [ebp - 8], 0
xor eax, eax
mov dword [ebp - 0xc], esi
push edi
mov ecx, 1
mov ebx, edx
mov edi, dword [esi + 0x218]
mov edx, 0x493e0
test edi, edi
mov dword [ebp - 4], edx
cmovg eax, ecx
mov ecx, dword [esi + 0x21c]
test ecx, ecx
jle 0x4241ae
or eax, 2
dec eax
je 0x4241c8
dec eax
je 0x4241c3
dec eax
jne 0x4241cb
cmp edi, ecx
mov edx, ecx
cmovl edx, edi
mov dword [ebp - 4], edx
jmp 0x4241cb
mov dword [ebp - 4], ecx
jmp 0x4241cb
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov esi, dword [esi + 0x558]
mov eax, 0x10624dd3
mul ecx
mov edi, edx
mov edx, dword [ebp - 0xc]
shr edi, 6
imul eax, edi, 0x3e8
sub esi, edi
sub ecx, eax
mov eax, 0x10624dd3
imul ecx, ecx, 0x3e8
sub ecx, dword [edx + 0x55c]
imul ecx
imul eax, esi, 0x3e8
mov esi, dword [ebp - 4]
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
add esi, eax
mov eax, 0xffffffff
cmove esi, eax
cmp dword [ebx + 0x24c], 0
je 0x42423f
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0x98]
mov dword [ebx + 0x9c], ecx
mov al, byte [ecx]
test al, al
je 0x42425e
lea ecx, [ecx + 1]
and al, 0x80
jne 0x4242d0
mov al, byte [ecx]
test al, al
jne 0x424251
mov edi, dword [ebp - 0xc]
mov eax, dword [ebx + 0xa8]
test eax, eax
je 0x424324
cmp byte [eax], 0
je 0x424324
lea eax, [ebx + 0xa0]
mov ecx, edi
push eax
call fcn.00422750
add esp, 4
mov dword [ebp - 4], 0
test esi, esi
js 0x424390
mov edx, dword [ebx + 0xa8]
lea eax, [ebp - 4]
push eax
push dword [ebx + 0xb0]
mov ecx, ebx
call fcn.00426c50
add esp, 8
cmp eax, 1
jne 0x4242e6
mov eax, dword [ebp + 8]
mov dword [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
mov edi, dword [ebp - 0xc]
push str.IDN_support_not_present__cant_parse_Unicode_domains_n
push edi
call fcn.00428020
add esp, 8
jmp 0x424261
cmp eax, 0xfffffffe
je 0x424390
cmp dword [ebp - 4], 0
jne 0x424397
push dword [ebx + 0xac]
push str.Couldnt_resolve_proxy__s
push edi
call fcn.004280e0
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
movzx eax, word [ebx + 0xb4]
mov dword [ebx + 0xb0], eax
mov dword [ebp - 4], 0
test esi, esi
js 0x424390
mov edx, dword [ebx + 0x98]
lea ecx, [ebp - 4]
push ecx
push eax
mov ecx, ebx
call fcn.00426c50
add esp, 8
cmp eax, 1
je 0x4242b7
cmp eax, 0xfffffffe
je 0x424390
cmp dword [ebp - 4], 0
jne 0x424397
push dword [ebx + 0x9c]
push str.Couldnt_resolve_host__s
push edi
call fcn.004280e0
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 0x424db0
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 esi, edx
mov edx, 1
mov dword [esp + 0xc], esi
mov ebx, dword [edi]
mov ecx, ebx
call fcn.00433140
mov eax, dword [edi + 0x2bc]
test byte [eax + 0x40], 0x10
je 0x424deb
mov dword [esi], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi], 0
mov dword [edi + 0x2a0], 0
cmp dword [ebx + 0x41c], 0
je 0x424e4b
mov eax, dword [edi + 0x2d4]
test eax, eax
je 0x424e22
push eax
call dword [0x4d75cc]
add esp, 4
mov dword [edi + 0x2d4], 0
push dword [ebx + 0x41c]
push str.User_Agent:__s_r_n
call fcn.0041f060
add esp, 8
mov dword [edi + 0x2d4], eax
test eax, eax
jne 0x424e4b
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 + 0x140], edx
sub esi, ecx
imul eax, esi, 0x3e8
mov dword [edi + 0x144], eax
cmp dword [edi + 0x150], 0xffffffff
jne 0x424ea9
mov dword [edi + 0x26c], 0
mov ecx, edi
mov edx, dword [edi + 0x48]
call fcn.00426650
test eax, eax
je 0x424f1b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, 2
mov ecx, ebx
call fcn.00433140
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push dword [ebx + 0x55c]
mov esi, eax
mov eax, 0x10624dd3
push dword [ebx + 0x558]
mul esi
shr edx, 6
imul ecx, edx, 0x3e8
sub esi, ecx
imul eax, esi, 0x3e8
push eax
push edx
call fcn.00428a80
mov eax, dword [esp + 0x1c]
add esp, 0x10
movsd qword [ebx + 0x530], xmm0
mov ecx, edi
mov dword [edi + 0x26c], 1
mov dword [eax], 1
mov edx, dword [edi + 0x150]
call fcn.00425c10
mov ecx, edi
call fcn.00422660
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 + 0x140], edx
sub esi, ecx
imul eax, esi, 0x3e8
mov dword [edi + 0x144], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425450
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4d6750]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
xor eax, eax
push edi
push 4
mov edi, edx
cmp dword [esi + 0x494], eax
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 0x4254ab
push edi
push str.Failed_to_set_SO_KEEPALIVE_on_fd__d_n
push esi
call fcn.00428020
add esp, 0xc
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00488366
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x498]
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 + 0x49c]
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 0x425515
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.00428020
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00488366
mov esp, ebp
pop ebp
ret