joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d430
Capabilities:
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x586ffa
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f4760]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x40d535
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebp, eax
xor esi, esi
cmp ebp, esi
je 0x40d532
lea eax, [esp + 0x18]
push eax
call fcn.00462370
mov dword [esp + 0x38], esi
mov eax, dword [ebp + 0xc]
cmp dword [eax], esi
je 0x40d4b3
mov ecx, dword [eax]
mov edx, dword [ecx]
lea ebx, [esp + 0x14]
lea edi, [esp + 0x18]
mov dword [esp + 0x14], edx
call fcn.0040e070
mov eax, dword [ebp + 0xc]
inc esi
cmp dword [eax + esi*4], 0
lea eax, [eax + esi*4]
jne 0x40d491
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x24]
test ecx, 0xfffffffc
je 0x40d520
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x24]
mov edx, eax
mov eax, 0x10624dd3
mul edx
shr edx, 6
mov eax, edx
sar ecx, 2
xor edx, edx
div ecx
mov esi, edx
cmp esi, ecx
jb 0x40d4f1
call fcn.004a35f3
mov eax, dword [esp + 0x24]
mov esi, dword [eax + esi*4]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x18]
push ecx
call fcn.004264d0
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov dword [esp + 0x38], 0xffffffff
lea edx, [esp + 0x18]
push edx
call fcn.004264d0
or eax, 0xffffffff
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x40f9a0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x24
lea eax, [esp + 4]
push eax
push str.softwareZCactusLog
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x40fa1e
mov eax, dword [esp + 4]
test eax, eax
je 0x40fa1e
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x38]
push 0x18
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0xc]
push ecx
push 3
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x40]
push 0
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x4c]
push str.publish_speed
push eax
mov dword [esp + 0x34], edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x24
ret 0x18

Function at 0x40fb60
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0xc
mov edx, dword [edi]
mov eax, dword [0x603db8]
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_setsockopt]
push ebp
push esi
push 4
lea ecx, [esp + 0x10]
push ecx
push 0x1002
push 0xffff
push edx
mov dword [esp + 0x20], eax
call ebx
mov ecx, dword [edi]
push 4
lea eax, [esp + 0x10]
push eax
push 0x1001
push 0xffff
push ecx
call ebx
push 4
lea ecx, [esp + 0x14]
push ecx
mov edx, 1
push 0x80
mov word [esp + 0x1c], dx
mov edx, dword [edi]
push 0xffff
mov eax, 5
push edx
mov word [esp + 0x26], ax
call ebx
mov ebp, dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0xffffffff
jne 0x40fbeb
call ebp
push eax
push str.setsockopt_SO_DONTLINGER_error___d
mov esi, 0x602250
call fcn.00409e30
add esp, 8
mov ecx, dword [edi]
push 4
lea eax, [esp + 0x18]
push eax
push 1
push 6
push ecx
mov dword [esp + 0x28], 1
call ebx
cmp eax, 0xffffffff
jne 0x40fc1d
call ebp
push eax
push str.setsockopt_TCP_NODELAY_error___d
mov esi, 0x602250
call fcn.00409e30
add esp, 8
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x410dc0
Capabilities:
Check for time delay via gettickcount
Receive data
Receive data on socket

Disassembly:
push 0xffffffffffffffff
push 0x58e778
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5f4760]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f4760]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, dword [ecx + 4]
mov esi, edx
xor eax, eax
mov dword [esp + 0x1c], ecx
cmp dword [esi + 0x8020], eax
je 0x410e08
mov edi, dword [ecx + 0x18]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x1c]
lea ebp, [esi + 0x14]
mov dword [ebp], 0x8000
mov dword [esi + 0x18], ecx
mov dword [esi + 0x8028], 1
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
push esi
lea edx, [esp + 0x20]
push edx
mov ebx, eax
lea eax, [esp + 0x20]
push eax
push 1
push ebp
push edi
call dword [sym.imp.WS2_32.dll_WSARecv]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x410ed2
mov ebp, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call ebp
cmp dword [0x603db4], 9
mov esi, eax
jne 0x410e9c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
push eax
push esi
push 0xffffffffffffffff
push str.OnRequestRecv
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._u__u___s_WSARecv_ret_d__err_u__cost_ums
mov esi, 0x602250
call fcn.00409e30
add esp, 0x1c
call ebp
cmp eax, 0x3e5
je 0x410f87
call ebp
cmp eax, 0x277b
je 0x410f87
call ebp
mov edi, dword [esp + 0x1c]
push str.WSARecv__
mov ebx, eax
call fcn.0040fc30
add esp, 4
xor al, al
jmp 0x410f89
cmp dword [0x603db4], 9
jne 0x410f87
xor eax, eax
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], eax
mov byte [esp + 0x24], al
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x14]
cmp eax, 0x800
jbe 0x410f05
mov eax, 0x800
mov ecx, dword [esi + 0x18]
push eax
push ecx
lea esi, [esp + 0x28]
call fcn.00490840
mov esi, dword [esp + 0x2c]
add esp, 8
cmp dword [esp + 0x38], 0x10
jae 0x410f25
lea esi, [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esp + 0x14]
push esi
sub eax, ebx
push eax
push 0
push edx
push ebp
push str.OnRequestRecv
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._u__u___s_WSARecv_ret_d__size_u__err_u__cost_ums__http.res_s
mov esi, 0x602250
call fcn.00409e30
add esp, 0x24
mov dword [esp + 0x48], 0xffffffff
cmp dword [esp + 0x38], 0x10
jb 0x410f72
mov eax, dword [esp + 0x24]
push eax
call fcn.004a3142
add esp, 4
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
mov al, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004a314d
add esp, 0x38
ret
Function at 0x413d40
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, eax
cmp byte [esi + 0x1031], 0
je 0x413ef2
mov ebx, dword [esp + 0x24]
mov dword [edi], 0
mov dword [ebx], 0
cmp byte [esi + 0x1030], 0
jne 0x413e09
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x102c]
cmp ecx, eax
jge 0x413e09
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
sub eax, ecx
test eax, eax
jle 0x413e09
xor ebp, ebp
cmp dword [esp + 0x1c], ebp
jbe 0x413de5
lea ebx, [ebx]
mov ecx, dword [esi + 0x1c]
sub ecx, dword [esi + 0x18]
mov ebx, dword [esi + 0x102c]
cmp ebx, ecx
jb 0x413db5
call fcn.004a35f3
mov edx, dword [esi + 0x18]
mov al, byte [ebx + edx]
mov ecx, dword [esp + 0x18]
mov byte [ecx + ebp], al
inc dword [edi]
inc dword [esi + 0x102c]
mov edx, dword [esi + 0x1c]
sub edx, dword [esi + 0x18]
mov eax, dword [esi + 0x102c]
cmp eax, edx
jge 0x413de1
inc ebp
cmp ebp, dword [esp + 0x1c]
jb 0x413da0
mov ebx, dword [esp + 0x24]
cmp dword [edi], 0
je 0x413ee7
mov eax, dword [esp + 0x20]
mov dword [ebx], 0
mov byte [eax], 0
mov eax, 1
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x14
mov eax, dword [esi + 0x1028]
test eax, eax
je 0x413e80
sub eax, dword [esi + 0x1024]
js 0x413e80
test eax, eax
jle 0x413e80
mov edx, dword [esp + 0x1c]
xor eax, eax
test edx, edx
jbe 0x413e5c
lea esp, [esp]
mov ecx, dword [esi + 0x1024]
mov cl, byte [esi + ecx + 0x24]
mov ebp, dword [esp + 0x18]
mov byte [eax + ebp], cl
inc dword [edi]
inc dword [esi + 0x1024]
mov ecx, dword [esi + 0x1024]
cmp ecx, dword [esi + 0x1028]
jge 0x413e5c
inc eax
cmp eax, edx
jb 0x413e30
cmp dword [edi], 0
je 0x413ee7
mov edx, dword [esp + 0x20]
mov dword [ebx], 0
mov byte [edx], 0
mov eax, 1
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x14
lea eax, [esi + 0xc]
push eax
call fcn.00414c50
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 8]
add esp, 4
push 0
push ecx
push edx
push eax
mov dword [esi + 0x102c], 1
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x413ed2
mov dword [ebx], 0
test eax, eax
jle 0x413ee7
mov ecx, dword [esp + 0x20]
mov byte [ecx], 0
mov dword [edi], eax
mov eax, 1
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x14
mov edx, dword [esp + 0x20]
mov dword [edi], 0
mov byte [edx], 1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebx], eax
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x14
xor ebp, ebp
mov dword [esp + 0x10], ebp
mov dword [edi], ebp
cmp dword [esp + 0x18], ebp
je 0x413f65
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x413f65
mov byte [esp + 0xf], 0
jbe 0x413f65
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x12]
push ecx
lea eax, [esp + 0x17]
mov byte [esp + 0x16], 0
call fcn.00413f80
cmp byte [esp + 0xe], 0
mov edx, dword [esp + 0x18]
mov byte [edx + ebp], al
jne 0x413f57
inc dword [edi]
inc ebp
mov dword [esp + 0x10], 1
cmp ebp, dword [esp + 0x1c]
jb 0x413f0f
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x14
mov edx, dword [esp + 0x20]
mov eax, ebx
cmp dword [eax], 0
setne cl
mov byte [edx], cl
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x14
Function at 0x413f80
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp byte [esi + 0x1031], 0
push edi
mov edi, eax
je 0x413fab
mov eax, dword [ebp + 8]
mov byte [eax], 1
mov dword [ebx], 0x57
mov byte [edi], 0
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 8
cmp byte [esi + 0x1030], 0
jne 0x413ff9
mov ecx, dword [esi + 0x1c]
sub ecx, dword [esi + 0x18]
cmp dword [esi + 0x102c], ecx
jge 0x413ff9
mov edx, dword [ebp + 8]
mov dword [ebx], 0
mov edi, dword [esi + 0x102c]
lea eax, [edi + 1]
mov dword [esi + 0x102c], eax
mov ecx, dword [esi + 0x1c]
sub ecx, dword [esi + 0x18]
mov byte [edx], 0
cmp edi, ecx
jb 0x413fec
call fcn.004a35f3
mov edx, dword [esi + 0x18]
mov al, byte [edi + edx]
pop edi
mov esp, ebp
pop ebp
ret 8
cmp dword [esi + 0x1034], 0
je 0x414017
mov eax, dword [ebp + 8]
mov byte [eax], 1
mov dword [ebx], 0
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 8
mov ecx, esi
call fcn.00413350
test eax, eax
jg 0x414073
lea ecx, [esi + 0xc]
push ecx
mov byte [esi + 0x1030], 1
call fcn.00414c50
add esp, 4
cmp byte [ebp + 0xc], 0
je 0x414040
cmp byte [edi], 0
jne 0x414097
mov eax, dword [esi + 8]
push 0
push 0x1000
lea edx, [esi + 0x24]
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov byte [edi], 1
cmp eax, 0xffffffff
je 0x4140ac
mov dword [esi + 0x1024], 0
mov dword [esi + 0x1028], eax
test eax, eax
jg 0x414017
jmp 0x414002
mov ecx, dword [ebp + 8]
mov dword [ebx], 0
mov byte [ecx], 0
mov ecx, dword [esi + 0x1024]
mov al, byte [ecx + esi + 0x24]
inc ecx
mov dword [esi + 0x1024], ecx
pop edi
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp + 8]
mov byte [edx], 1
mov dword [ebx], 0
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [ebp + 8]
mov dword [ebx], eax
mov byte [ecx], 1
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x416450
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58c874
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x5f4760]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, dword [esp + 0x30]
mov dword [esp + 0xc], 0
mov dword [esp + 0x28], 4
mov eax, dword [esp + 0x6c]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
lea edx, [esp + 0x70]
push edx
push ecx
call fcn.00406380
mov byte [esp + 0x30], 5
push ecx
mov eax, esp
mov dword [esp + 0x20], esp
lea ecx, [esp + 0x70]
push ecx
push eax
call fcn.00406380
mov byte [esp + 0x34], 6
push ecx
mov edx, esp
mov dword [esp + 0x28], esp
lea eax, [esp + 0x70]
push eax
push edx
call fcn.00406380
mov byte [esp + 0x38], 7
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
lea edx, [esp + 0x70]
push edx
push ecx
call fcn.00406380
mov byte [esp + 0x3c], 8
mov eax, dword [esp + 0x48]
push 0
push eax
lea esi, [esp + 0x88]
call fcn.00415ab0
add esp, 8
mov byte [esp + 0x3c], 9
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x68]
push ecx
push edx
push eax
push edi
mov byte [esp + 0x64], 0xa
mov ecx, dword [esp + 0x74]
call fcn.00416160
add esp, 0x3c
mov dword [esp + 0xc], 1
mov byte [esp + 0x28], 4
mov eax, esi
push eax
call fcn.00403090
mov byte [esp + 0x28], 3
lea ecx, [esp + 0x5c]
push ecx
call fcn.00403090
mov byte [esp + 0x28], 2
lea edx, [esp + 0x60]
push edx
call fcn.00403090
mov byte [esp + 0x28], 1
lea eax, [esp + 0x64]
push eax
call fcn.00403090
mov byte [esp + 0x28], 0
lea ecx, [esp + 0x68]
push ecx
call fcn.00403090
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret
Function at 0x417c70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58c78c
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
mov eax, dword [0x5f4760]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x28], ebx
push ebx
push ecx
mov eax, esp
mov dword [esp + 0x18], esp
push eax
mov ecx, 0x5d2b98
call fcn.00402fe0
mov byte [esp + 0x30], 1
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push ecx
mov ecx, 0x5d2b98
call fcn.00402fe0
mov byte [esp + 0x34], 2
push ecx
mov edx, esp
mov dword [esp + 0x28], esp
push edx
mov ecx, 0x5d2b98
call fcn.00402fe0
mov byte [esp + 0x38], 3
push ecx
mov eax, esp
mov dword [esp + 0x30], esp
push eax
mov ecx, 0x5d2b98
call fcn.00402fe0
mov byte [esp + 0x3c], 4
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x44]
push edx
mov byte [esp + 0x64], bl
mov ecx, dword [esp + 0x70]
call fcn.00416160
add esp, 0x3c
mov byte [esp + 0x28], 5
mov eax, dword [esp + 0xc]
push 0x7fff
push eax
lea ecx, [esi + 0x150]
push ecx
call fcn.004a5b40
mov edx, dword [esp + 0x18]
mov eax, dword [edx - 0xc]
mov dword [esi + 0x8150], eax
mov dword [esi + 0x815c], 2
mov dword [esi + 0x8154], ebx
add esp, 0xc
mov dword [esi + 0x8178], 1
mov byte [esp + 0x28], bl
lea eax, [esp + 0xc]
push eax
call fcn.00403090
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x30]
push ecx
call fcn.00403090
lea eax, [ebx + 1]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x24
ret
Function at 0x41acc0
Capabilities:
Send data
Send data on socket
Send http request

Disassembly:
push 0xffffffffffffffff
push 0x584f7a
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5f4760]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
call fcn.004030f0
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
mov ecx, dword [eax - 0xc]
push eax
push ecx
push str.HTTP_1.1_200_OK_r_nContent_Type:_text_html_charsetutf_8_r_nContent_Length:_d_r_n_r_n_s
lea edi, [esp + 0x18]
call fcn.00402e20
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
mov edx, dword [esp + 0x2c]
add esp, 0xc
push 0
push ecx
push eax
push edx
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
mov dword [esp + 0x18], 0xffffffff
mov eax, edi
push eax
call fcn.00403090
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x421000
Capabilities:
Create thread

Disassembly:
push edi
xor edi, edi
call fcn.004723b0
mov dword [esi], eax
test eax, eax
je 0x421030
push edi
push 0x10000
push esi
push 0x421140
push 0x186a0
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
test eax, eax
lea eax, [edi + 1]
jne 0x421032
mov eax, edi
pop edi
ret

Function at 0x4215d0
Capabilities:
Create thread

Disassembly:
push ebp
push esi
push edi
xor ebp, ebp
xor edi, edi
mov esi, ebx
lea esp, [esp]
call fcn.00421000
test eax, eax
je 0x42162b
inc edi
add esi, 0x30
cmp edi, 0x40
jb 0x4215e0
push 0
push 0x10000
push ebx
push 0x421ca0
push 0x6000
push 0
mov dword [ebx + 0xc00], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 0xc04], eax
test eax, eax
je 0x421625
mov ebp, 1
pop edi
pop esi
mov eax, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebp
ret
Function at 0x423490
Capabilities:
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x586e64
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x5f4760]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
cmp esi, 0xffffffff
je 0x423503
lea eax, [esp + 8]
push eax
call fcn.004030f0
mov byte [esp + 0x14], 1
mov ecx, dword [esp + 0x1c]
push ecx
push str._s_200_Connection_Established_r_n_r_n
lea edi, [esp + 0x10]
call fcn.00402e20
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
add esp, 8
push 0
push ecx
push eax
push esi
call dword [sym.imp.WS2_32.dll_send]
mov byte [esp + 0x14], 0
mov edx, edi
push edx
call fcn.00403090
mov dword [esp + 0x14], 0xffffffff
lea eax, [esp + 0x1c]
push eax
call fcn.00403090
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x10
ret

Function at 0x423530
Capabilities:
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x586e64
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x5f4760]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
test esi, esi
je 0x4235a2
lea eax, [esp + 8]
push eax
call fcn.004030f0
mov byte [esp + 0x14], 1
mov ecx, dword [esp + 0x1c]
push ecx
push str._s_407_Unauthorized_r_n_r_n
lea edi, [esp + 0x10]
call fcn.00402e20
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
add esp, 8
push 0
push ecx
push eax
push esi
call dword [sym.imp.WS2_32.dll_send]
mov byte [esp + 0x14], 0
mov edx, edi
push edx
call fcn.00403090
mov dword [esp + 0x14], 0xffffffff
lea eax, [esp + 0x1c]
push eax
call fcn.00403090
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x10
ret
Function at 0x423970
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
cmp dword [ebp + 8], 0xffffffff
push esi
push edi
je 0x423a24
cmp dword [ebp + 0xc], 0
je 0x423a24
cmp dword [ebp + 0x10], 0
je 0x423a24
cmp dword [ebx], 0
jne 0x423a24
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x603e20], 0
je 0x4239dd
mov esi, 0x602590
call fcn.0040f8a0
mov ecx, eax
mov eax, 0xcccccccd
mul dword [0x603e20]
shr edx, 3
cmp ecx, edx
jle 0x4239dd
push 0xa
call edi
cmp dword [ebx], 0
je 0x4239a5
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [ebx], 0
jne 0x423a24
mov esi, dword [ebp + 0x10]
push esi
call fcn.0040f030
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push 0
push esi
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x423a19
cmp eax, esi
jne 0x423a24
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x423a0e
mov dword [ecx], eax
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x428800
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x586d7f
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x5f4760]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor ebx, ebx
mov dword [esi], vtable.TSmartPtrBase_class_HttpsProxyConnectingParam_.0
mov dword [esi + 4], ebx
mov dword [esp + 0x14], ebx
lea eax, [esi + 0x18]
push eax
mov dword [esi], vtable.HttpsProxyConnectingParam.0
call fcn.00462370
mov byte [esp + 0x14], 1
lea ecx, [esi + 0x34]
push ecx
call fcn.004030f0
mov byte [esp + 0x14], 2
lea edx, [esi + 0x38]
push edx
call fcn.004030f0
mov byte [esp + 0x14], 3
or eax, 0xffffffff
mov dword [esi + 8], ebx
mov dword [esi + 0xc], eax
mov byte [esi + 0x10], bl
mov dword [esi + 0x14], ebx
mov dword [esi + 0x30], ebx
mov byte [esi + 0x11], bl
mov byte [esi + 0x12], bl
mov dword [esi + 0x3c], ebx
mov byte [esi + 0x13], bl
mov dword [esi + 0x40], ebx
mov dword [esp + 0x14], eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x42a120
Capabilities:
Create thread

Disassembly:
push ecx
push ebp
push esi
push edi
push str.entpublish_check_https_connect_timeout_interval
mov esi, eax
call fcn.00493bb0
add esp, 4
test eax, eax
je 0x42a168
imul eax, eax, 0x3e8
mov dword [esi + 0x198], eax
cmp eax, 0x493e0
jbe 0x42a154
mov dword [esi + 0x198], 0x493e0
mov eax, dword [esi + 0x198]
push eax
push str.Custom:dwCheckSocketPairTimeoutInterval_u
call fcn.004916b0
add esp, 8
push str.entpublish_https_connect_timeout_sec
call fcn.00493bb0
add esp, 4
test eax, eax
je 0x42a18d
push eax
push str.Custom:m_dwCheckSocketPairTimeoutSec_u
mov dword [esi + 0x19c], eax
call fcn.004916b0
add esp, 8
push str.entpublish_https_accept_timeout_sec
call fcn.00493bb0
add esp, 4
test eax, eax
je 0x42a1b2
push eax
push str.Custom:m_dwCheckSocketConnectTimeoutSec_u
mov dword [esi + 0x1a0], eax
call fcn.004916b0
add esp, 8
mov ecx, dword [esi + 0x1a0]
mov edx, dword [esi + 0x19c]
mov eax, dword [esi + 0x198]
push ecx
push edx
push eax
push str.check_interval_u__timeout_u__acc_u
call fcn.004916b0
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
add esp, 0x10
push 0
push 0x10000
push esi
push 0x42c800
push 0x6000
push 0
call edi
mov ebp, eax
test ebp, ebp
je 0x42a2f6
push ebx
push 0
push 0x10000
push esi
push 0x42c820
push 0x6000
push 0
call edi
mov ebx, eax
test ebx, ebx
je 0x42a2cf
push 0
push 0x10000
push esi
push 0x42c840
push 0x6000
push 0
call edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x42a2a3
push 0
push 0x10000
push esi
push 0x42c860
push 0x6000
push 0
call edi
test eax, eax
je 0x42a270
mov ecx, dword [esp + 0x10]
mov dword [esi + 4], ebx
pop ebx
pop edi
mov dword [esi + 8], ebp
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], ecx
pop esi
mov eax, 1
pop ebp
pop ecx
ret 8
mov edx, dword [esp + 0x18]
mov dword [edx], 0xe
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
mov dword [ecx], eax
call esi
push ebx
call esi
push ebp
call esi
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret 8
mov eax, dword [esp + 0x18]
mov dword [eax], 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
mov dword [ecx], eax
call esi
push ebp
call esi
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret 8
mov edx, dword [esp + 0x18]
mov dword [edx], 5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x1c]
push ebp
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret 8
mov edx, dword [esp + 0x14]
mov dword [edx], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword [ecx], eax
xor eax, eax
pop ebp
pop ecx
ret 8