Function at 0x421000
Capabilities:
Send data
Send data on socket
Send http request

Disassembly:
push ecx
mov al, byte [esp + 0x10]
push ebx
push ebp
push esi
push edi
mov ebp, edx
mov esi, ecx
nop dword [eax]
mov ebx, dword [esi + 0x64]
test ebx, ebx
je 0x421020
test al, al
jne 0x421024
jmp 0x42178d
test al, al
je 0x421089
test ebx, ebx
je 0x421089
mov edi, dword [esi + 0x78]
xor ecx, ecx
nop dword [eax]
cmp ecx, edi
jae 0x42105c
xor edx, edx
lea eax, [ecx + ebp]
div edi
lea esi, [edx + edx*8]
shl esi, 5
add esi, ebx
mov eax, dword [esi + 0xcc]
cmp eax, dword [esi + 0xd0]
jb 0x421054
inc ecx
jmp 0x421030
mov al, 1
mov byte [esp + 0x20], al
jmp 0x421010
push ebp
call dword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x42177a
push 0x4a3284
push 0x897
push 0x4a32d0
push dword [0x4b03b8]
call dword [0x4b03b0]
add esp, 0x10
mov eax, dword [esi + 0xcc]
cmp eax, dword [esi + 0xd0]
je 0x421743
mov ebx, dword [esp + 0x1c]
mov ecx, esi
mov edi, dword [esp + 0x18]
mov edx, edi
push ebx
call fcn.00420250
add esp, 4
test eax, eax
je 0x421743
mov eax, dword [esi + 0x30]
test eax, eax
je 0x42110b
push ebx
push edi
push dword [esi + 0x34]
call eax
add esp, 0xc
test eax, eax
jne 0x42110b
push ebp
call dword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x4210f6
push 0x4a3474
push 0x8e6
push 0x4a34a8
push dword [0x4b03b8]
call dword [0x4b03b0]
add esp, 0x10
push ebx
mov edx, edi
mov ecx, esi
call fcn.00420410
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0xe8
push 1
call fcn.0044a9b2
mov edi, eax
add esp, 8
test edi, edi
jne 0x42118c
call fcn.0044c2cd
mov edi, dword [eax]
call fcn.0044c2cd
push dword [eax]
call fcn.0044f2f7
add esp, 4
push eax
push 0x4a34fc
push esi
call fcn.00428de0
add esp, 0xc
push ebp
call dword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x42116e
push 0x4a351c
push 0x8f8
push 0x4a3550
push dword [0x4b03b8]
call dword [0x4b03b0]
add esp, 0x10
mov edx, dword [esp + 0x18]
mov ecx, esi
push ebx
call fcn.00420410
add esp, 4
call fcn.0044c2cd
mov dword [eax], edi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov eax, dword [esi + 0x6c]
push 0x14
mov dword [esp + 0x14], eax
call fcn.00446ef7
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x421214
mov eax, dword [esp + 0x10]
cmp eax, 0x8000
ja 0x4211b6
mov dword [ebx], 0xffffffff
jmp 0x4211cc
push 4
push 0x3000
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx]
cmp ecx, 0xffffffff
je 0x4211e0
test ecx, ecx
je 0x4211e0
mov dword [ebx + 0x10], 1
jmp 0x421203
push eax
call fcn.00446ef7
add esp, 4
mov dword [ebx], eax
test eax, eax
jne 0x4211fc
push ebx
call fcn.00446c84
add esp, 4
xor ebx, ebx
jmp 0x421214
mov dword [ebx + 0x10], 0
mov eax, dword [esp + 0x10]
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], eax
mov dword [ebx + 4], eax
mov dword [edi + 0x20], ebx
test ebx, ebx
jne 0x421290
call fcn.0044c2cd
push dword [eax]
call fcn.0044f2f7
add esp, 4
push eax
push 0x4a35a4
push esi
call fcn.00428de0
add esp, 0xc
push ebp
call dword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x421262
push 0x4a35c4
push 0x907
push 0x4a35f8
push dword [0x4b03b8]
call dword [0x4b03b0]
add esp, 0x10
push dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
mov ecx, esi
call fcn.00420410
add esp, 4
push edi
call fcn.00446c84
add esp, 4
call fcn.0044c2cd
mov dword [eax], 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov eax, dword [esi + 0xd8]
mov ebx, dword [esp + 0x1c]
mov dword [edi + 0x90], eax
mov eax, dword [esi + 0xdc]
push ebx
mov dword [edi + 0x94], eax
call fcn.00446ef7
mov ecx, eax
add esp, 4
mov dword [edi + 0x4c], ecx
test ecx, ecx
jne 0x421347
call fcn.0044c2cd
mov eax, dword [eax]
mov dword [esp + 0x10], eax
call fcn.0044c2cd
push dword [eax]
call fcn.0044f2f7
add esp, 4
push eax
push 0x4a364c
push esi
call fcn.00428de0
add esp, 0xc
push ebp
call dword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x421314
push 0x4a366c
push 0x91b
push 0x4a3698
push dword [0x4b03b8]
call dword [0x4b03b0]
add esp, 0x10
mov edx, dword [esp + 0x18]
mov ecx, esi
push ebx
call fcn.00420410
mov ecx, dword [edi + 0x20]
add esp, 4
call fcn.00428d00
push edi
call fcn.00446c84
add esp, 4
call fcn.0044c2cd
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x18]
push ebx
push eax
push ecx
call fcn.00443400
mov al, byte [esp + 0x30]
add esp, 0xc
mov dword [edi + 0x84], ebx
mov dword [edi + 0xa0], ebp
mov byte [edi + 0xa4], al
mov dword [edi + 0x10], esi
call fcn.00428cd0
mov dword [edi + 0x88], eax
mov dword [edi + 0x8c], edx
test dword [esi + 0xe4], 2
jne 0x4215a4
lea eax, [esi + 0x9c]
mov dword [edi + 0xd0], 0x424b60
push eax
mov dword [edi + 0xd4], 0x424bd0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0xcc]
cmp eax, dword [esi + 0xd0]
jb 0x4213e8
lea eax, [esi + 0x9c]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call eax
push str.Server_reached_connection_limit._Closing_inbound_connection._n
push esi
call fcn.00428de0
add esp, 8
mov dword [esp + 0x10], 0x17
jmp 0x4215ac
inc eax
test dword [esi + 0xe4], 4
mov dword [esi + 0xcc], eax
jne 0x42145a
cmp dword [edi + 8], 0
je 0x42141a
push 0x4a333c
push 0x982
push 0x4a3890
push 0x4a38e4
jmp 0x4217a1
cmp dword [edi + 0xc], 0
je 0x421439
push 0x4a3404
push 0x982
push 0x4a3948
push 0x4a399c
jmp 0x4217a1
mov eax, dword [esi + 0x20]
mov dword [edi + 8], eax
mov dword [edi + 0xc], 0
cmp dword [esi + 0x24], 0
jne 0x421451
mov dword [esi + 0x24], edi
jmp 0x421457
mov eax, dword [esi + 0x20]
mov dword [eax + 0xc], edi
mov dword [esi + 0x20], edi
cmp dword [edi], 0
je 0x421478
push 0x4a348c
push 0x986
push 0x4a39e8
push 0x4a3a3c
jmp 0x4217a1
cmp dword [edi + 4], 0
je 0x421497
push 0x4a3534
push 0x986
push 0x4a3ae0
push 0x4a3b34
jmp 0x4217a1
mov eax, dword [esi + 8]
mov dword [edi], eax
mov dword [edi + 4], 0
cmp dword [esi + 0xc], 0
jne 0x4214ae
mov dword [esi + 0xc], edi
jmp 0x4214b4
mov eax, dword [esi + 8]
mov dword [eax + 4], edi
lea eax, [esi + 0x9c]
mov dword [esi + 8], edi
push eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call eax
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x4214db
push 0
lea eax, [edi + 0x28]
push eax
push edi
push dword [esi + 0x44]
call ecx
add esp, 0x10
test dword [esi + 0xe4], 4
je 0x42153a
xor al, al
je 0x4214f8
call fcn.0044c2cd
mov dword [eax], 0x16
jmp 0x421515
push edi
push 0x420910
push dword [esi + 0x74]
lea ecx, [edi + 0x50]
mov edx, str.MHD_connection
call fcn.004290f0
add esp, 0xc
test eax, eax
jne 0x421549
call fcn.0044c2cd
mov eax, dword [eax]
push eax
mov dword [esp + 0x14], eax
call fcn.0044f2f7
add esp, 4
push eax
push str.Failed_to_create_a_thread:__s_n
push esi
call fcn.00428de0
add esp, 0xc
jmp 0x4215ac
mov eax, dword [esi + 0x7c]
mov dword [edi + 0x50], eax
mov eax, dword [esi + 0x80]
mov dword [edi + 0x54], eax
test dword [esi + 0xe4], 4
jne 0x421599
cmp byte [esp + 0x20], 0
je 0x421599
cmp dword [esi + 0xbc], 0xffffffff
je 0x421599
push 0
push 1
push 0x4a3694
push dword [esi + 0xc0]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x421599
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x421599
push str.Failed_to_signal_new_connection_via_inter_thread_communication_channel.
push esi
call fcn.00428de0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov dword [esp + 0x10], 0x16
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x4215c2
push 1
lea eax, [edi + 0x28]
push eax
push edi
push dword [esi + 0x44]
call ecx
add esp, 0x10
push ebp
call dword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x4215eb
push 0x4a3914
push 0x9db
push 0x4a3c20
push dword [0x4b03b8]
call dword [0x4b03b0]
add esp, 0x10
mov edx, dword [esp + 0x18]
mov ecx, esi
push ebx
call fcn.00420410
add esp, 4
lea ebx, [esi + 0x9c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test dword [esi + 0xe4], 4
jne 0x421689
mov eax, dword [edi + 8]
test eax, eax
jne 0x421638
cmp edi, dword [esi + 0x24]
je 0x421638
push 0x4a3d18
push 0x9e4
push 0x4a3d80
push 0x4a3dd4
jmp 0x4217a1
mov ecx, dword [edi + 0xc]
test ecx, ecx
jne 0x421666
cmp edi, dword [esi + 0x20]
je 0x42165d
push 0x4a3e18
push 0x9e4
push 0x4a3e88
push 0x4a3edc
jmp 0x4217a1
test ecx, ecx
jne 0x421666
mov dword [esi + 0x20], eax
jmp 0x421669
mov dword [ecx + 8], eax
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0xc]
test ecx, ecx
jne 0x421678
mov dword [esi + 0x24], eax
jmp 0x42167b
mov dword [ecx + 0xc], eax
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov eax, dword [edi]
test eax, eax
jne 0x4216ad
cmp edi, dword [esi + 0xc]
je 0x4216ad
push 0x4a3f10
push 0x9e8
push 0x4a3f60
push 0x4a3fb4
jmp 0x4217a1
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x4216db
cmp edi, dword [esi + 8]
je 0x4216d2
push 0x4a4020
push 0x9e8
push 0x4a4070
push 0x4a40c4
jmp 0x4217a1
test ecx, ecx
jne 0x4216db
mov dword [esi + 8], eax
jmp 0x4216dd
mov dword [ecx], eax
mov ecx, dword [edi]
mov eax, dword [edi + 4]
test ecx, ecx
jne 0x4216eb
mov dword [esi + 0xc], eax
jmp 0x4216ee
mov dword [ecx + 4], eax
push ebx
mov dword [edi], 0
mov dword [edi + 4], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [edi + 0x20]
call fcn.00428d00
push dword [edi + 0x4c]
call fcn.00446c84
add esp, 4
push edi
call fcn.00446c84
mov esi, dword [esp + 0x14]
add esp, 4
call fcn.0044c2cd
test esi, esi
je 0x421735
mov dword [eax], esi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov dword [eax], 0x16
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0x4a33ac
push esi
call fcn.00428de0
add esp, 8
push ebp
call dword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x42177a
push 0x4a33ec
push 0x8d3
push 0x4a3420
push dword [0x4b03b8]
call dword [0x4b03b0]
add esp, 0x10
call fcn.0044c2cd
pop edi
pop esi
pop ebp
mov dword [eax], 0x17
xor eax, eax
pop ebx
pop ecx
ret
push str._NULL__daemon__worker_pool____external_add_
push 0x884
push 0x4a3200
push 0x4a3254
push 2
call fcn.00449f5a
add esp, 4
push eax
call fcn.00408050
add esp, 0x14
push 2
call fcn.00449f5a
add esp, 4
push eax
call fcn.0044a5b8
add esp, 4
call fcn.0044ca25
int3