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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x452eb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push esi
mov esi, ecx
push edi
push dword [esi + 0xc]
lea eax, [esp + 0x80]
push eax
mov dword [esp + 0x18], esi
call fcn.004030ed
pop ecx
pop ecx
and dword [esp + 0x194], 0
cmp dword [esp + 0x90], 0
je 0x403e36
lea eax, [esp + 0x44]
push eax
call fcn.004140b0
mov byte [esp + 0x194], 1
cmp dword [esp + 0x94], 0x10
mov ebx, dword [esp + 0x80]
jae 0x4037f1
lea ebx, [esp + 0x80]
lea edi, [esp + 0x44]
call fcn.00426606
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x50]
push 0x1c
cdq
pop ecx
idiv ecx
xor edi, edi
inc edi
cmp eax, edi
jb 0x403e51
push 0x457618
lea ecx, [esp + 0x154]
call fcn.0040162e
lea eax, [esp + 0x150]
push eax
push 0
lea esi, [esp + 0x4c]
mov byte [esp + 0x19c], 2
call fcn.00404399
lea ecx, [esp + 0xd4]
push ecx
mov ecx, eax
call fcn.004043bd
xor ebx, ebx
push ebx
push edi
lea ecx, [esp + 0x158]
mov byte [esp + 0x19c], 4
call fcn.004017a7
lea eax, [esp + 0xd0]
push eax
call fcn.0040447e
test al, al
je 0x403e71
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0xd4]
call fcn.0040453c
mov esi, dword [esp + 0x10]
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0x10]
mov byte [esp + 0x1a0], 5
call fcn.004016f3
push ebx
push edi
lea ecx, [esp + 0x68]
mov byte [esp + 0x19c], 4
call fcn.004017a7
lea eax, [esp + 0xd0]
push eax
call fcn.0040447e
test al, al
je 0x403e75
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0xd4]
call fcn.0040453c
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x2c]
push eax
mov byte [esp + 0x1a0], 6
mov dword [esp + 0x18], ecx
call fcn.004016f3
push ebx
push edi
lea ecx, [esp + 0x68]
mov byte [esp + 0x19c], 4
call fcn.004017a7
lea eax, [esp + 0xd0]
push eax
call fcn.0040447e
test al, al
je 0x403e75
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0xd4]
call fcn.0040453c
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0x68]
mov byte [esp + 0x1a0], 7
call fcn.004016f3
push ebx
push edi
lea ecx, [esp + 0x68]
mov byte [esp + 0x19c], 4
call fcn.004017a7
push ebx
push 0x457568
push dword [esp + 0x14]
call fcn.00402bb2
add esi, 0x48
mov edi, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], esi
call fcn.00404348
cmp dword [esp + 0x14], 0xffffffff
je 0x403b10
mov esi, dword [esp + 0x14]
inc esi
push esi
push 0x4575d8
push dword [esp + 0x14]
call fcn.00402bb2
mov edi, eax
push ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], edi
mov dword [esp + 0x44], 0xf
call fcn.004019d4
mov byte [esp + 0x194], 8
cmp edi, 0xffffffff
jne 0x4039d3
push edi
push esi
push dword [esp + 0x14]
lea esi, [esp + 0x6c]
call fcn.00402ccf
mov byte [esp + 0x194], 9
jmp 0x4039f1
mov eax, edi
sub eax, dword [esp + 0x14]
dec eax
push eax
push esi
push dword [esp + 0x14]
lea esi, [esp + 0x6c]
call fcn.00402ccf
mov byte [esp + 0x194], 0xa
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x34]
call fcn.004016f3
push ebx
push 1
lea ecx, [esp + 0x68]
mov byte [esp + 0x19c], 8
call fcn.004017a7
push ebx
push 0x45763c
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x20], edi
call fcn.00402bb2
mov dword [esp + 0x5c], eax
cmp eax, 0xffffffff
je 0x403af3
push eax
push ebx
lea eax, [esp + 0x30]
push eax
lea esi, [esp + 0x178]
call fcn.00402ccf
lea ecx, [esp + 0x60]
push ecx
mov ebx, eax
mov byte [esp + 0x198], 0xb
call fcn.0042637d
pop ecx
xor edi, edi
push edi
push 1
mov ecx, esi
mov byte [esp + 0x19c], 0xd
call fcn.004017a7
mov eax, dword [esp + 0x5c]
push 0xffffffffffffffff
inc eax
push eax
lea eax, [esp + 0x30]
push eax
lea esi, [esp + 0xc0]
call fcn.00402ccf
lea ecx, [esp + 0x98]
push ecx
mov ebx, eax
mov byte [esp + 0x198], 0xe
call fcn.0042637d
pop ecx
push edi
push 1
mov ecx, esi
mov byte [esp + 0x19c], 0x10
call fcn.004017a7
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x60]
push eax
call fcn.004041c9
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0xa0]
push ecx
mov ecx, eax
call fcn.004016f3
push edi
push 1
lea ecx, [esp + 0xa0]
call fcn.004017a7
push edi
push 1
lea ecx, [esp + 0x68]
call fcn.004017a7
mov edi, dword [esp + 0x20]
xor ebx, ebx
push ebx
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x19c], 4
call fcn.004017a7
cmp edi, 0xffffffff
jne 0x403981
push ebx
push 0x457568
push dword [esp + 0x14]
call fcn.00402bb2
push eax
push ebx
push dword [esp + 0x14]
lea esi, [esp + 0xc0]
call fcn.00402ccf
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
push ebx
push eax
mov byte [esp + 0x1a0], 0x11
call fcn.004016f3
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [esp + 0xbc]
mov byte [esp + 0x19c], 4
call fcn.004017a7
mov edi, dword [esp + 0x10]
add edi, 0x84
call fcn.00404348
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x50]
push 0x1c
cdq
pop ecx
idiv ecx
mov dword [esp + 0xc], esi
cmp eax, esi
jbe 0x403d0d
push ebx
push 0x457640
push dword [esp + 0x14]
lea esi, [esp + 0x50]
call fcn.00404399
push eax
call fcn.00402bb2
mov edi, eax
cmp edi, 0xffffffff
je 0x403cf1
push edi
push ebx
push dword [esp + 0x14]
call fcn.00404399
push eax
lea esi, [esp + 0xc0]
call fcn.00402ccf
push eax
lea eax, [esp + 0x9c]
push eax
mov byte [esp + 0x19c], 0x12
call fcn.004010eb
pop ecx
pop ecx
push ebx
push 1
mov ecx, esi
mov byte [esp + 0x19c], 0x14
call fcn.004017a7
push 0xffffffffffffffff
add edi, 2
push edi
push dword [esp + 0x14]
lea esi, [esp + 0x50]
call fcn.00404399
push eax
lea esi, [esp + 0x34]
call fcn.00402ccf
mov byte [esp + 0x194], 0x15
mov edi, dword [esp + 0x3c]
dec edi
mov eax, esi
call fcn.004265c8
cmp byte [eax], 0xd
jne 0x403c61
mov eax, dword [esp + 0x3c]
dec eax
push eax
mov eax, esi
push ebx
push eax
lea esi, [esp + 0xc0]
call fcn.00402ccf
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x1a0], 0x16
call fcn.004016f3
push ebx
push 1
mov ecx, esi
mov byte [esp + 0x19c], 0x15
call fcn.004017a7
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x98]
add esi, 0x84
push eax
mov ecx, esi
call fcn.004041c9
cmp dword [eax + 0x14], ebx
lea eax, [esp + 0x98]
mov ecx, esi
push eax
je 0x403cba
call fcn.004041c9
push 0x4575c8
mov ecx, eax
call fcn.00402b8f
lea eax, [esp + 0x98]
push eax
mov ecx, esi
call fcn.004041c9
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x30]
push ecx
mov ecx, eax
call fcn.00402eb3
jmp 0x403cce
call fcn.004041c9
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x30]
push ecx
mov ecx, eax
call fcn.004016f3
push ebx
push 1
lea ecx, [esp + 0x30]
call fcn.004017a7
push ebx
push 1
lea ecx, [esp + 0xa0]
mov byte [esp + 0x19c], 4
call fcn.004017a7
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x50]
push 0x1c
cdq
pop ecx
idiv ecx
inc dword [esp + 0xc]
cmp dword [esp + 0xc], eax
jb 0x403b88
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 8]
add edi, 0x10
lea esi, [esp + 0x138]
call fcn.00404124
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 8]
add edi, 0x10
lea esi, [esp + 0x148]
call fcn.00404140
mov esi, eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x403d54
cmp eax, dword [esi]
je 0x403d59
call fcn.0043ae46
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
cmp eax, dword [esi + 4]
je 0x403d98
lea esi, [esp + 0x18]
call fcn.0040a11d
mov ecx, dword [eax]
push dword [edi + 0xc]
mov edx, dword [ecx]
lea eax, [edi + 4]
push eax
call dword [edx + 4]
cmp eax, 1
je 0x403d98
cmp eax, ebx
je 0x403eb4
lea edi, [esp + 0x130]
call fcn.0040a145
jmp 0x403d30
mov edi, dword [edi + 8]
add edi, 0x10
lea esi, [esp + 0x140]
call fcn.00404140
mov esi, eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x403db8
cmp eax, dword [esi]
je 0x403dbd
call fcn.0043ae46
mov eax, dword [esp + 0x1c]
cmp eax, dword [esi + 4]
je 0x403ecb
push ebx
push 1
lea ecx, [esp + 0x114]
call fcn.004017a7
push ebx
push 1
lea ecx, [esp + 0xf8]
call fcn.004017a7
lea esi, [esp + 0x44]
call fcn.0040436c
or dword [esp + 0x194], 0xffffffff
push ebx
push 1
lea ecx, [esp + 0x84]
call fcn.004017a7
mov eax, dword [esp + 0x10]
push dword [eax + 0xc]
lea eax, [esp + 0x80]
push eax
call fcn.004030ed
pop ecx
pop ecx
mov esi, dword [esp + 0x10]
mov dword [esp + 0x194], ebx
cmp dword [esp + 0x90], ebx
jne 0x4037c7
push 1
push dword [esi + 0xc]
call dword [sym.imp.WS2_32.dll_shutdown]
push dword [esi + 0xc]
call dword [sym.imp.WS2_32.dll_closesocket]
push 0
jmp 0x403f77
push edi
push dword [esi + 0xc]
call dword [sym.imp.WS2_32.dll_shutdown]
push dword [esi + 0xc]
call dword [sym.imp.WS2_32.dll_closesocket]
lea esi, [esp + 0x44]
call fcn.0040436c
push 0
jmp 0x403eae
mov esi, dword [esp + 0x10]
push edi
push dword [esi + 0xc]
call dword [sym.imp.WS2_32.dll_shutdown]
push dword [esi + 0xc]
call dword [sym.imp.WS2_32.dll_closesocket]
push ebx
push edi
lea ecx, [esp + 0x114]
call fcn.004017a7
push ebx
push edi
lea ecx, [esp + 0xf8]
call fcn.004017a7
lea esi, [esp + 0x44]
call fcn.0040436c
push ebx
push edi
jmp 0x403f79
push ebx
push 1
lea ecx, [esp + 0x114]
call fcn.004017a7
push ebx
push 1
jmp 0x403f61
push str.HTTP_1.0_404_Not_Found_r_n_r_n
lea ecx, [esp + 0x2c]
call fcn.0040162e
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
xor esi, esi
cmp eax, ebx
jbe 0x403f30
cmp dword [esp + 0x40], 0x10
mov ecx, dword [esp + 0x2c]
jae 0x403efd
lea ecx, [esp + 0x2c]
push ebx
sub eax, esi
push eax
add ecx, esi
push ecx
push dword [esp + 0x2c]
call dword [sym.imp.WS2_32.dll_send]
mov dword [esp + 0x24], eax
cmp eax, 0xffffffff
jne 0x403f24
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2733
jne 0x403f30
add esi, dword [esp + 0x24]
mov eax, dword [esp + 0x3c]
cmp esi, eax
jb 0x403eee
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [esp + 0x30]
call fcn.004017a7
push esi
push dword [edi + 0xc]
call dword [sym.imp.WS2_32.dll_shutdown]
push dword [edi + 0xc]
call dword [sym.imp.WS2_32.dll_closesocket]
push ebx
push esi
lea ecx, [esp + 0x114]
call fcn.004017a7
push ebx
push esi
lea ecx, [esp + 0xf8]
call fcn.004017a7
lea esi, [esp + 0x44]
call fcn.0040436c
push ebx
push 1
lea ecx, [esp + 0x84]
call fcn.004017a7
mov ecx, dword [esp + 0x18c]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret