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

Disassembly:
sub esp, 0x1c
mov al, byte [esp + 0x28]
push ebx
push ebp
push esi
mov ebp, edx
mov esi, ecx
push edi
mov dword [esp + 0x24], ebp
mov ebx, dword [esi + 0x64]
mov byte [esp + 0x17], al
test ebx, ebx
je 0x4b9cd8
test al, al
je 0x4ba5ba
jmp 0x4b9cdc
test al, al
je 0x4b9d3a
test ebx, ebx
je 0x4b9d3a
mov edi, dword [esi + 0x78]
xor ecx, ecx
cmp ecx, edi
jae 0x4b9d0d
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 0x4b9d09
inc ecx
jmp 0x4b9ce5
mov al, 1
jmp 0x4b9cc3
push ebp
call dword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x4ba5a5
push str.Close_socket_failed._n
push 0x897
push 0x540700
push dword [0x545874]
call dword [0x545870]
add esp, 0x10
mov eax, dword [esi + 0xcc]
cmp eax, dword [esi + 0xd0]
je 0x4b9f0b
mov eax, dword [esi + 0x60]
mov ebx, esi
mov dword [esp + 0x18], ebx
test eax, eax
je 0x4b9d75
nop dword [eax]
mov ebp, eax
mov dword [esp + 0x18], ebp
mov eax, dword [ebp + 0x60]
test eax, eax
jne 0x4b9d60
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
cmp dword [ebx + 0xe0], 0
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x24], eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x20], eax
je 0x4b9dd6
push 0x18
call fcn.004cc9da
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
test edi, edi
je 0x4b9f0b
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push edi
call fcn.004b9050
add esp, 4
test eax, eax
jne 0x4b9e20
push edi
call fcn.004cc9e5
add esp, 4
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov eax, dword [esi + 0x30]
test eax, eax
je 0x4b9f8c
push edi
push ecx
push dword [esi + 0x34]
call eax
add esp, 0xc
test eax, eax
jne 0x4b9f8c
push ebp
call dword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x4b9f73
push 0x540658
push 0x8e6
push 0x540620
push dword [0x545874]
call dword [0x545870]
add esp, 0x10
lea eax, [ebx + 0x84]
push eax
mov dword [esp + 0x2c], eax
call dword [esp + 0x28]
lea edi, [ebx + 0x68]
test edi, edi
je 0x4b9f4a
mov ebx, dword [edi]
test ebx, ebx
je 0x4b9e9c
mov ecx, dword [ebx]
mov edi, 0x10
mov edx, dword [esp + 0x1c]
nop dword [eax + eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4b9e65
add edx, 4
add ecx, 4
sub edi, 4
jae 0x4b9e50
xor eax, eax
jmp 0x4b9e8a
cmp al, byte [ecx]
jne 0x4b9e85
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4b9e85
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x4b9e85
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
jne 0x4b9e85
xor eax, eax
jmp 0x4b9e8a
sbb eax, eax
or eax, 1
test eax, eax
je 0x4b9ec6
lea edi, [ebx + 4]
js 0x4b9e96
lea edi, [ebx + 8]
mov ebx, dword [edi]
test ebx, ebx
jne 0x4b9e40
push 0xc
call fcn.004cc9da
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4b9f46
mov eax, dword [esp + 0x1c]
mov dword [edi], ebx
mov dword [ebx], eax
mov dword [ebx + 8], 0
mov dword [ebx + 4], 0
test ebx, ebx
je 0x4b9f46
mov ebx, dword [ebx]
mov eax, dword [esp + 0x1c]
cmp ebx, eax
je 0x4b9edd
push eax
call fcn.004cc9e5
add esp, 4
mov eax, dword [esp + 0x18]
mov edi, dword [ebx + 0x14]
mov eax, dword [eax + 0xe0]
mov dword [esp + 0x1c], eax
cmp edi, eax
jae 0x4b9ef8
lea eax, [edi + 1]
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x28]
push eax
call dword [esp + 0x24]
cmp edi, dword [esp + 0x1c]
jb 0x4b9dce
push str.Server_reached_connection_limit._Closing_inbound_connection._n
push esi
call fcn.004c1e90
add esp, 8
push ebp
call dword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x4ba5a5
push 0x5406a8
push 0x8d3
push 0x540670
push dword [0x545874]
call dword [0x545870]
add esp, 0x10
mov ebx, dword [esp + 0x18]
push str.Failed_to_add_IP_connection_count_node_n
push ebx
call fcn.004c1e90
add esp, 8
lea eax, [ebx + 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [esp + 0x1c]
call fcn.004cc9e5
add esp, 4
jmp 0x4b9f0b
mov edx, dword [esp + 0x30]
mov ecx, esi
push edi
call fcn.004b90a0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push 0xe8
push 1
call fcn.004cead8
mov edi, eax
add esp, 8
test edi, edi
jne 0x4ba012
call fcn.004ceb5c
mov edi, dword [eax]
call fcn.004ceb5c
push dword [eax]
call fcn.004d1502
add esp, 4
push eax
push str.Error_allocating_memory:__s_n
push esi
call fcn.004c1e90
add esp, 0xc
push ebp
call dword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x4b9fef
push 0x5405e8
push 0x8f8
push 0x5405b0
push dword [0x545874]
call dword [0x545870]
add esp, 0x10
push dword [esp + 0x34]
mov edx, dword [esp + 0x34]
mov ecx, esi
call fcn.004b90a0
add esp, 4
call fcn.004ceb5c
mov dword [eax], edi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, dword [esi + 0x6c]
push 0x14
mov dword [esp + 0x20], eax
call fcn.004cc9da
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4ba097
mov eax, dword [esp + 0x1c]
cmp eax, 0x8000
ja 0x4ba039
or ecx, 0xffffffff
jmp 0x4ba04f
push 4
push 0x3000
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, eax
mov eax, dword [esp + 0x1c]
mov edx, ebx
mov dword [edx], ecx
cmp ecx, 0xffffffff
je 0x4ba063
test ecx, ecx
je 0x4ba063
mov eax, 1
jmp 0x4ba081
push eax
call fcn.004cc9da
add esp, 4
mov dword [ebx], eax
test eax, eax
jne 0x4ba07f
push ebx
call fcn.004cc9e5
add esp, 4
xor ebx, ebx
jmp 0x4ba097
xor eax, eax
mov ecx, ebx
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x1c]
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], eax
mov dword [ebx + 4], eax
mov dword [edi + 0x20], ebx
test ebx, ebx
jne 0x4ba115
call fcn.004ceb5c
push dword [eax]
call fcn.004d1502
add esp, 4
push eax
push 0x540590
push esi
call fcn.004c1e90
add esp, 0xc
push ebp
call dword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x4ba0e5
push 0x540578
push 0x907
push 0x540540
push dword [0x545874]
call dword [0x545870]
add esp, 0x10
push dword [esp + 0x34]
mov edx, dword [esp + 0x34]
mov ecx, esi
call fcn.004b90a0
add esp, 4
push edi
call fcn.004cc9e5
add esp, 4
call fcn.004ceb5c
mov dword [eax], 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, dword [esi + 0xd8]
mov ebx, dword [esp + 0x34]
mov dword [edi + 0x90], eax
mov eax, dword [esi + 0xdc]
push ebx
mov dword [edi + 0x94], eax
call fcn.004cc9da
add esp, 4
mov dword [edi + 0x4c], eax
test eax, eax
jne 0x4ba1c7
call fcn.004ceb5c
mov ebx, dword [eax]
call fcn.004ceb5c
push dword [eax]
call fcn.004d1502
add esp, 4
push eax
push 0x540520
push esi
call fcn.004c1e90
add esp, 0xc
push ebp
call dword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x4ba193
push 0x540508
push 0x91b
push 0x5404d0
push dword [0x545874]
call dword [0x545870]
add esp, 0x10
push dword [esp + 0x34]
mov edx, dword [esp + 0x34]
mov ecx, esi
call fcn.004b90a0
mov ecx, dword [edi + 0x20]
add esp, 4
call fcn.004c1d40
push edi
call fcn.004cc9e5
add esp, 4
call fcn.004ceb5c
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push ebx
push dword [esp + 0x34]
push eax
call fcn.004c5650
mov al, byte [esp + 0x48]
add esp, 0xc
mov dword [edi + 0x84], ebx
mov dword [edi + 0xa0], ebp
mov byte [edi + 0xa4], al
mov dword [edi + 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
sub eax, dword [0x545ce0]
push 0
sbb edx, dword [0x545ce4]
push 0x3e8
push edx
push eax
call fcn.004c4180
mov dword [edi + 0x88], eax
mov dword [edi + 0x8c], edx
test dword [esi + 0xe4], 2
jne 0x4ba414
lea ebx, [esi + 0x9c]
mov dword [edi + 0xd0], 0x4bda70
push ebx
mov dword [edi + 0xd4], 0x4bdae0
call dword [esp + 0x28]
mov eax, dword [esi + 0xcc]
cmp eax, dword [esi + 0xd0]
jb 0x4ba274
push ebx
call dword [esp + 0x24]
push 0x540490
push esi
call fcn.004c1e90
add esp, 8
mov ebx, 0x17
jmp 0x4ba419
inc eax
test dword [esi + 0xe4], 4
mov dword [esi + 0xcc], eax
jne 0x4ba2e6
cmp dword [edi + 8], 0
je 0x4ba2a6
push str.NULL___connection___nextX
push 0x982
push 0x540458
push 0x540428
jmp 0x4ba5ce
cmp dword [edi + 0xc], 0
je 0x4ba2c5
push str.NULL___connection___prevX
push 0x982
push 0x5403f0
push 0x5403c0
jmp 0x4ba5ce
mov eax, dword [esi + 0x20]
mov dword [edi + 8], eax
mov dword [edi + 0xc], 0
cmp dword [esi + 0x24], 0
jne 0x4ba2dd
mov dword [esi + 0x24], edi
jmp 0x4ba2e3
mov eax, dword [esi + 0x20]
mov dword [eax + 0xc], edi
mov dword [esi + 0x20], edi
cmp dword [edi], 0
je 0x4ba304
push 0x53f8dc
push 0x986
push 0x540388
push 0x540358
jmp 0x4ba5ce
cmp dword [edi + 4], 0
je 0x4ba323
push str.NULL___connection___prev
push 0x986
push 0x54027c
push 0x540328
jmp 0x4ba5ce
mov eax, dword [esi + 8]
mov dword [edi], eax
mov dword [edi + 4], 0
cmp dword [esi + 0xc], 0
jne 0x4ba33a
mov dword [esi + 0xc], edi
jmp 0x4ba340
mov eax, dword [esi + 8]
mov dword [eax + 4], edi
push ebx
mov dword [esi + 8], edi
call dword [esp + 0x24]
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x4ba35e
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 0x4ba3a8
push edi
push 0x4b95c0
push dword [esi + 0x74]
lea ecx, [edi + 0x50]
mov edx, str.MHD_connection
call fcn.004c21c0
add esp, 0xc
test eax, eax
jne 0x4ba3b7
call fcn.004ceb5c
mov ebx, dword [eax]
push ebx
call fcn.004d1502
add esp, 4
push eax
push str.Failed_to_create_a_thread:__s_n
push esi
call fcn.004c1e90
add esp, 0xc
jmp 0x4ba419
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 0x4ba407
cmp byte [esp + 0x17], 0
je 0x4ba407
cmp dword [esi + 0xbc], 0xffffffff
je 0x4ba407
push 0
push 1
push 0x53f3cc
push dword [esi + 0xc0]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x4ba407
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x4ba407
push str.Failed_to_signal_new_connection_via_inter_thread_communication_channel.
push esi
call fcn.004c1e90
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov ebx, 0x16
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x4ba430
push 1
lea eax, [edi + 0x28]
push eax
push edi
push dword [esi + 0x44]
call ecx
add esp, 0x10
nop
push ebp
call dword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x4ba459
push 0x540244
push 0x9db
push 0x54020c
push dword [0x545874]
call dword [0x545870]
add esp, 0x10
push dword [esp + 0x34]
mov edx, dword [esp + 0x34]
mov ecx, esi
call fcn.004b90a0
add esp, 4
lea ebp, [esi + 0x9c]
push ebp
call dword [esp + 0x28]
test dword [esi + 0xe4], 4
jne 0x4ba4f8
mov eax, dword [edi + 8]
test eax, eax
jne 0x4ba4a7
cmp edi, dword [esi + 0x24]
je 0x4ba4a7
push 0x5401b8
push 0x9e4
push 0x540164
push 0x540134
jmp 0x4ba5ce
mov ecx, dword [edi + 0xc]
test ecx, ecx
jne 0x4ba4d5
cmp edi, dword [esi + 0x20]
je 0x4ba4cc
push 0x5400e0
push 0x9e4
push 0x5400a8
push 0x540078
jmp 0x4ba5ce
test ecx, ecx
jne 0x4ba4d5
mov dword [esi + 0x20], eax
jmp 0x4ba4d8
mov dword [ecx + 8], eax
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0xc]
test ecx, ecx
jne 0x4ba4e7
mov dword [esi + 0x24], eax
jmp 0x4ba4ea
mov dword [ecx + 0xc], eax
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov eax, dword [edi]
test eax, eax
jne 0x4ba51c
cmp edi, dword [esi + 0xc]
je 0x4ba51c
push 0x540028
push 0x9e8
push 0x53fff0
push 0x53ffc0
jmp 0x4ba5ce
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x4ba54a
cmp edi, dword [esi + 8]
je 0x4ba541
push 0x53ff70
push 0x9e8
push 0x53ff1c
push 0x53feec
jmp 0x4ba5ce
test ecx, ecx
jne 0x4ba54a
mov dword [esi + 8], eax
jmp 0x4ba54c
mov dword [ecx], eax
mov ecx, dword [edi]
mov eax, dword [edi + 4]
test ecx, ecx
jne 0x4ba55a
mov dword [esi + 0xc], eax
jmp 0x4ba55d
mov dword [ecx + 4], eax
push ebp
mov dword [edi], 0
mov dword [edi + 4], 0
call dword [esp + 0x24]
mov ecx, dword [edi + 0x20]
call fcn.004c1d40
push dword [edi + 0x4c]
call fcn.004cc9e5
add esp, 4
push edi
call fcn.004cc9e5
add esp, 4
call fcn.004ceb5c
test ebx, ebx
jne 0x4ba599
mov ebx, 0x16
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
call fcn.004ceb5c
pop edi
pop esi
pop ebp
mov dword [eax], 0x17
xor eax, eax
pop ebx
add esp, 0x1c
ret
push str._NULL__daemon__worker_pool____external_add_
push 0x884
push 0x540780
push 0x540750
push 2
call fcn.004cb8fa
add esp, 4
push eax
call fcn.004038b0
add esp, 0x14
push 2
call fcn.004cb8fa
add esp, 4
push eax
call fcn.004cd32e
add esp, 4
call fcn.004cebb9
int3