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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x510d13
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2b8
push ebx
push esi
mov esi, ecx
push edi
push dword [esi + 0xc]
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x18], esi
call fcn.0041875c
pop ecx
pop ecx
and dword [esp + 0x2cc], 0
cmp dword [esp + 0x58], 0
je 0x419595
lea ecx, [esp + 0x2c]
call fcn.00419b6e
mov byte [esp + 0x2cc], 1
cmp dword [esp + 0x5c], 0x10
mov eax, dword [esp + 0x48]
jae 0x418edc
lea eax, [esp + 0x48]
push eax
lea ebx, [esp + 0x30]
call fcn.00424d36
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x3c]
pop ecx
push 0x1c
cdq
pop ecx
idiv ecx
xor ebx, ebx
inc ebx
cmp eax, ebx
jb 0x4195b2
push 0x53a1a0
lea ecx, [esp + 0x158]
call fcn.00401644
lea eax, [esp + 0x154]
push eax
push 0
lea ecx, [esp + 0x34]
mov byte [esp + 0x2d4], 2
call fcn.00419bb5
lea ecx, [esp + 0xd4]
push ecx
mov edi, eax
call fcn.00419bdd
push 0
push ebx
lea ecx, [esp + 0x15c]
mov byte [esp + 0x2d4], 4
call fcn.004017de
lea eax, [esp + 0xd0]
call fcn.00419c94
test al, al
je 0x4195e0
lea esi, [esp + 0x2a4]
lea eax, [esp + 0xd0]
call fcn.00419d56
mov ecx, dword [esp + 0x10]
push 0xffffffffffffffff
push 0
push eax
add ecx, 0x10
mov byte [esp + 0x2d8], 5
call fcn.00401729
push 0
push ebx
mov ecx, esi
mov byte [esp + 0x2d4], 4
call fcn.004017de
lea eax, [esp + 0xd0]
call fcn.00419c94
test al, al
je 0x4195dc
lea esi, [esp + 0x1a8]
lea eax, [esp + 0xd0]
call fcn.00419d56
mov edi, dword [esp + 0x10]
push 0xffffffffffffffff
add edi, 0x2c
push 0
push eax
mov ecx, edi
mov byte [esp + 0x2d8], 6
mov dword [esp + 0x20], edi
call fcn.00401729
push 0
push ebx
mov ecx, esi
mov byte [esp + 0x2d4], 4
call fcn.004017de
lea eax, [esp + 0xd0]
call fcn.00419c94
test al, al
je 0x4195dc
lea esi, [esp + 0x1e0]
lea eax, [esp + 0xd0]
call fcn.00419d56
mov esi, dword [esp + 0x10]
push 0xffffffffffffffff
xor ebx, ebx
push ebx
push eax
lea ecx, [esi + 0x68]
mov byte [esp + 0x2d8], 7
call fcn.00401729
push ebx
push 1
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x2d4], 4
call fcn.004017de
push ebx
push 0x53a0fc
mov ecx, edi
call fcn.0040bf70
add esi, 0x48
mov edi, esi
mov dword [esp + 0x20], eax
call fcn.00419b4a
or esi, 0xffffffff
cmp dword [esp + 0x20], esi
je 0x41924c
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
inc edi
push edi
push 0x53a16c
call fcn.0040bf70
push ebx
lea ecx, [esp + 0x80]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x98], 0xf
call fcn.00401979
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x2cc], 8
cmp dword [esp + 0x18], esi
jne 0x4190ed
push esi
push edi
lea eax, [esp + 0x258]
push eax
call fcn.0040711c
push esi
push ebx
push eax
lea ecx, [esp + 0x88]
mov byte [esp + 0x2d8], 9
call fcn.00401729
lea ecx, [esp + 0x250]
jmp 0x419123
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x20]
dec eax
push eax
push edi
lea eax, [esp + 0x220]
push eax
call fcn.0040711c
push esi
push ebx
push eax
lea ecx, [esp + 0x88]
mov byte [esp + 0x2d8], 0xa
call fcn.00401729
lea ecx, [esp + 0x218]
push ebx
push 1
mov byte [esp + 0x2d4], 8
call fcn.004017de
mov eax, dword [esp + 0x18]
push ebx
push 0x53a2ac
lea ecx, [esp + 0x84]
mov dword [esp + 0x28], eax
call fcn.0040bf70
mov dword [esp + 0x1c], eax
cmp eax, esi
je 0x41922b
push eax
push ebx
lea eax, [esp + 0x290]
push eax
lea ecx, [esp + 0x88]
call fcn.0040711c
lea ecx, [esp + 0x170]
push ecx
mov edi, eax
mov byte [esp + 0x2d0], 0xb
call fcn.0042408e
pop ecx
push ebx
push 1
lea ecx, [esp + 0x290]
mov byte [esp + 0x2d4], 0xd
call fcn.004017de
mov eax, dword [esp + 0x1c]
push esi
inc eax
push eax
lea eax, [esp + 0x1cc]
push eax
lea ecx, [esp + 0x88]
call fcn.0040711c
lea ecx, [esp + 0x18c]
push ecx
mov edi, eax
mov byte [esp + 0x2d0], 0xe
call fcn.0042408e
pop ecx
push ebx
push 1
lea ecx, [esp + 0x1cc]
mov byte [esp + 0x2d4], 0x10
call fcn.004017de
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x170]
push eax
add ecx, 0x48
call fcn.004199cb
push esi
push ebx
lea ecx, [esp + 0x194]
push ecx
mov ecx, eax
call fcn.00401729
push ebx
push 1
lea ecx, [esp + 0x194]
call fcn.004017de
push ebx
push 1
lea ecx, [esp + 0x178]
call fcn.004017de
push ebx
push 1
lea ecx, [esp + 0x84]
mov byte [esp + 0x2d4], 4
call fcn.004017de
cmp dword [esp + 0x18], esi
jne 0x41907c
mov ecx, dword [esp + 0x14]
push ebx
push 0x53a0fc
call fcn.0040bf70
mov ecx, dword [esp + 0x14]
push eax
push ebx
lea eax, [esp + 0x204]
push eax
call fcn.0040711c
mov ecx, dword [esp + 0x14]
push esi
push ebx
push eax
mov byte [esp + 0x2d8], 0x11
call fcn.00401729
push ebx
push 1
lea ecx, [esp + 0x204]
mov byte [esp + 0x2d4], 4
call fcn.004017de
mov edi, dword [esp + 0x10]
add edi, 0x84
mov dword [esp + 0x1c], edi
call fcn.00419b4a
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x38]
push 0x1c
cdq
pop edi
idiv edi
xor ecx, ecx
inc ecx
mov dword [esp + 0x14], ecx
cmp eax, ecx
jbe 0x41945b
push ebx
push 0x53a2b0
push dword [esp + 0x1c]
lea ecx, [esp + 0x38]
call fcn.00419bb5
mov ecx, eax
call fcn.0040bf70
mov edi, eax
cmp edi, esi
je 0x41943f
push edi
push ebx
lea eax, [esp + 0x23c]
push eax
push dword [esp + 0x20]
lea ecx, [esp + 0x3c]
call fcn.00419bb5
mov ecx, eax
call fcn.0040711c
push eax
lea eax, [esp + 0xb8]
push eax
mov byte [esp + 0x2d4], 0x12
call fcn.004176af
pop ecx
pop ecx
push ebx
push 1
lea ecx, [esp + 0x23c]
mov byte [esp + 0x2d4], 0x14
call fcn.004017de
push esi
add edi, 2
push edi
lea eax, [esp + 0x68]
push eax
push dword [esp + 0x20]
lea ecx, [esp + 0x3c]
call fcn.00419bb5
mov ecx, eax
call fcn.0040711c
mov byte [esp + 0x2cc], 0x15
mov eax, dword [esp + 0x74]
dec eax
push eax
lea ecx, [esp + 0x64]
call fcn.004242b9
cmp byte [eax], 0xd
jne 0x4193b7
mov eax, dword [esp + 0x74]
dec eax
push eax
push ebx
lea eax, [esp + 0x274]
push eax
lea ecx, [esp + 0x6c]
call fcn.0040711c
push esi
push ebx
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x2d8], 0x16
call fcn.00401729
push ebx
push 1
lea ecx, [esp + 0x274]
mov byte [esp + 0x2d4], 0x15
call fcn.004017de
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0xb4]
push eax
mov ecx, edi
call fcn.004199cb
cmp dword [eax + 0x14], ebx
lea eax, [esp + 0xb4]
mov ecx, edi
push eax
je 0x419409
call fcn.004199cb
push 0x53a15c
mov ecx, eax
call fcn.0040c0b4
lea eax, [esp + 0xb4]
push eax
mov ecx, edi
call fcn.004199cb
push esi
push ebx
lea ecx, [esp + 0x68]
push ecx
mov ecx, eax
call fcn.00409cc4
jmp 0x41941c
call fcn.004199cb
push esi
push ebx
lea ecx, [esp + 0x68]
push ecx
mov ecx, eax
call fcn.00401729
push ebx
push 1
lea ecx, [esp + 0x68]
call fcn.004017de
push ebx
push 1
lea ecx, [esp + 0xbc]
mov byte [esp + 0x2d4], 4
call fcn.004017de
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x38]
push 0x1c
cdq
pop ecx
idiv ecx
inc dword [esp + 0x14]
cmp dword [esp + 0x14], eax
jb 0x4192c9
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 8]
add edi, 0x10
lea esi, [esp + 0x134]
call fcn.004198d6
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 8]
add edi, 0x10
lea esi, [esp + 0x144]
call fcn.004198f2
mov esi, eax
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x4194a2
cmp eax, dword [esi]
je 0x4194a7
call fcn.0049af27
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
cmp eax, dword [esi + 4]
je 0x4194f6
mov eax, dword [edi + 0xa4]
test eax, eax
jne 0x4194f6
lea esi, [esp + 0x24]
call fcn.0041dfb3
mov ecx, dword [eax]
push dword [edi + 0xc]
mov edx, dword [ecx]
lea eax, [edi + 4]
push eax
call dword [edx + 4]
xor esi, esi
inc esi
cmp eax, esi
je 0x4194f6
cmp eax, ebx
je 0x4196c6
lea edi, [esp + 0x13c]
lea esi, [esp + 0x24]
call fcn.0041dfdb
jmp 0x41947e
mov edi, dword [edi + 8]
add edi, 0x10
lea esi, [esp + 0x14c]
call fcn.004198f2
mov esi, eax
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x419516
cmp eax, dword [esi]
je 0x41951b
call fcn.0049af27
mov eax, dword [esp + 0x28]
cmp eax, dword [esi + 4]
je 0x41962b
push ebx
push 1
lea ecx, [esp + 0x114]
call fcn.004017de
push ebx
push 1
lea ecx, [esp + 0xf8]
call fcn.004017de
lea ecx, [esp + 0x2c]
call fcn.0041a20d
push dword [esp + 0x2c]
call fcn.0049a490
or dword [esp + 0x2d0], 0xffffffff
pop ecx
push ebx
push 1
lea ecx, [esp + 0x4c]
call fcn.004017de
mov eax, dword [esp + 0x10]
push dword [eax + 0xc]
lea eax, [esp + 0x48]
push eax
call fcn.0041875c
pop ecx
pop ecx
mov esi, dword [esp + 0x10]
mov dword [esp + 0x2cc], ebx
cmp dword [esp + 0x58], ebx
jne 0x418ebc
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
push 1
jmp 0x4196f7
push ebx
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 ecx, [esp + 0x2c]
call fcn.0041a20d
push dword [esp + 0x2c]
call fcn.0049a490
pop ecx
push 0
jmp 0x419625
mov esi, dword [esp + 0x10]
push ebx
push dword [esi + 0xc]
call dword [sym.imp.WS2_32.dll_shutdown]
push dword [esi + 0xc]
call dword [sym.imp.WS2_32.dll_closesocket]
xor esi, esi
push esi
push ebx
lea ecx, [esp + 0x114]
call fcn.004017de
push esi
push ebx
lea ecx, [esp + 0xf8]
call fcn.004017de
lea ecx, [esp + 0x2c]
call fcn.0041a20d
push dword [esp + 0x2c]
call fcn.0049a490
pop ecx
push esi
push ebx
jmp 0x4196f7
push str.HTTP_1.0_404_Not_Found_r_n_r_n
lea ecx, [esp + 0x9c]
call fcn.00401644
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xac]
xor esi, esi
cmp eax, ebx
jbe 0x4196a2
cmp dword [esp + 0xb0], 0x10
mov ecx, dword [esp + 0x9c]
jae 0x41966c
lea ecx, [esp + 0x9c]
push ebx
sub eax, esi
push eax
add ecx, esi
push ecx
push dword [esp + 0x28]
call dword [sym.imp.WS2_32.dll_send]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
jne 0x419693
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2733
jne 0x4196a2
add esi, dword [esp + 0x18]
mov eax, dword [esp + 0xac]
cmp esi, eax
jb 0x419654
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [esp + 0xa0]
call fcn.004017de
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.004017de
push ebx
push esi
lea ecx, [esp + 0xf8]
call fcn.004017de
lea ecx, [esp + 0x2c]
call fcn.0041a20d
push dword [esp + 0x2c]
call fcn.0049a490
pop ecx
push ebx
push esi
lea ecx, [esp + 0x4c]
call fcn.004017de
mov ecx, dword [esp + 0x2c4]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret