Function at 0x41904f
Capabilities:
Check for time delay via gettickcount
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 0x14]
or dword [ebp - 0x18], 0xffffffff
push ebx
push esi
xor esi, esi
push edi
mov byte [ebp - 1], 0
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x2c], esi
cmp eax, esi
je 0x419078
mov eax, dword [eax]
dec eax
mov dword [ebp - 0x28], eax
push 0x820
mov dword [ebp - 8], 0x1f4
call fcn.00401000
mov dword [ebp - 0x20], eax
cmp eax, esi
je 0x4193bd
lea edi, [eax + 0x208]
lea eax, [edi + 0x30c]
mov dword [ebp - 0x10], eax
mov byte [eax + 0x104], 0
mov dword [ebp - 0x24], esi
add eax, 0x104
cmp byte [eax], 0
jne 0x4190ba
mov eax, dword [ebp + 0xc]
push 0x50
lea ecx, [ebp - 0x1c]
push ecx
lea ebx, [edi + 0x208]
push ebx
push eax
call fcn.00409be8
push 0x438554
push dword [ebp + 0xc]
mov esi, eax
mov dword [ebp - 0x30], esi
call fcn.00401956
test eax, eax
jge 0x4190f9
xor eax, eax
cmp esi, eax
jne 0x4190fb
mov ecx, dword [ebp + 0x10]
cmp ecx, eax
je 0x4190fb
cmp byte [ecx], al
je 0x4190fb
inc byte [ebp - 1]
jmp 0x4190fb
xor eax, eax
cmp byte [ebp - 1], 0
jne 0x419109
cmp esi, eax
je 0x4192ce
cmp dword [ebp + 8], eax
je 0x41917a
cmp byte [ebp - 1], 0
jne 0x419136
push eax
push eax
push eax
push eax
push esi
push dword [ebp - 0x1c]
push ebx
push 0xffffffffffffffff
call fcn.00409de1
mov esi, eax
test esi, esi
jne 0x419139
mov dword [ebp - 8], 0x1f4
jmp 0x4193bd
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x20]
mov dword [ebp - 0xc], 0x207
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
push dword [ebp - 0x1c]
push ebx
push dword [ebp + 8]
call fcn.0040a4d2
cmp byte [ebp - 1], 0
mov dword [ebp - 0x18], eax
jne 0x41916b
push esi
call fcn.00401019
cmp dword [ebp - 0x18], 0xffffffff
je 0x4192da
mov ebx, dword [ebp - 0x20]
jmp 0x4191dc
push dword [ebp - 0x1c]
push ebx
call fcn.00409851
mov esi, eax
mov dword [ebp - 0x18], esi
cmp esi, 0xffffffff
je 0x4192da
push 1
push esi
call fcn.00409583
cmp byte [ebp - 1], 0
jne 0x4191b4
xor eax, eax
push eax
push eax
push eax
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x1c]
push ebx
push esi
call fcn.00409de1
jmp 0x4191bd
push dword [ebp + 0x10]
push esi
call fcn.00409b75
mov ebx, dword [ebp - 0x20]
push 0x2710
push 0x207
push ebx
push esi
call fcn.00409b90
mov dword [ebp - 0xc], eax
test eax, eax
jle 0x4192da
mov eax, dword [ebp - 0xc]
push 0x104
mov byte [eax + ebx], 0
mov eax, dword [ebp - 0xc]
push edi
push ebx
lea esi, [eax + ebx]
call fcn.004019d3
push 0
push 1
push edi
mov ebx, eax
call fcn.00401a15
push eax
call fcn.00401547
push 5
push str.HTTP_
push edi
mov dword [ebp - 8], eax
call fcn.0040143c
test eax, eax
je 0x41929a
mov dword [ebp - 8], 0x19c
jmp 0x4193bd
push 0x104
push edi
push ebx
call fcn.004019d3
cmp byte [edi], 0
mov ebx, eax
je 0x41929f
push dword [ebp - 0x10]
push 0x443008
push edi
call fcn.0040173a
add esp, 0xc
push 1
push edi
call fcn.00401a15
push str.Content_Length:
push dword [ebp - 0x10]
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x419276
push eax
push dword [ebp - 0x30]
call fcn.00401547
mov dword [ebp - 0x2c], eax
jmp 0x41929a
push str.Location:
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x41929a
push dword [ebp - 0x30]
mov eax, dword [ebp - 0x10]
add eax, 0x104
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [ebx], 0
jne 0x419227
cmp dword [ebp - 8], 0x12e
jne 0x4192f2
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 0xa
jg 0x4192e6
mov eax, dword [ebp - 0x10]
add eax, 0x104
cmp byte [eax], 0
je 0x4192f2
push dword [ebp - 0x18]
call fcn.004096eb
mov eax, dword [ebp - 0x10]
jmp 0x4190ad
mov dword [ebp - 8], 0x190
jmp 0x4193bd
mov dword [ebp - 8], 0x1e4
jmp 0x4193bd
mov dword [ebp - 8], 0x1ec
jmp 0x4193bd
cmp dword [ebp + 0x10], 0
je 0x4193c7
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub esi, ebx
mov dword [ebp + 0xc], eax
mov eax, esi
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0xc], eax
test eax, eax
jle 0x419341
cmp eax, esi
jle 0x419335
push esi
push ebx
push dword [ebp + 0x10]
call fcn.00402c5c
add dword [ebp + 0x10], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 8], 0x1e5
jmp 0x4193bd
push eax
push ebx
push dword [ebp + 0x10]
call fcn.00402c5c
jmp 0x419357
push 0
push esi
push dword [ebp + 0x10]
push dword [ebp - 0x18]
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0xc], eax
test eax, eax
jle 0x41937b
call edi
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0xc]
add dword [ebp + 0x10], eax
add dword [ebp - 0x14], eax
sub esi, eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x419375
cmp dword [ebp - 0x14], eax
je 0x4193bd
ja 0x41939e
test esi, esi
jne 0x419341
jmp 0x419329
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x4193a7
call edi
sub eax, dword [ebp + 0xc]
cmp eax, 0x7530
ja 0x4193b6
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x419341
mov dword [ebp - 8], 0xd2
jmp 0x4193bd
cmp dword [ebp - 0x2c], 0
je 0x4193bd
mov dword [ebp - 8], 0x1e6
jmp 0x4193bd
mov dword [ebp - 8], 0x198
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4193c7
mov byte [eax], 0
mov eax, dword [ebp + 0x14]
pop edi
pop esi
pop ebx
test eax, eax
je 0x4193d6
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
push dword [ebp - 0x18]
call fcn.004096eb
push dword [ebp - 0x20]
call fcn.00401019
mov eax, dword [ebp - 8]
leave
ret 0x10