Function at 0x42dd70
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd508
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x4fcb54]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0xc]
xor esi, esi
push str.Content_Type:_application_x_www_form_urlencoded
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], esi
call fcn.00402520
xor bl, bl
xor eax, eax
cmp edi, esi
mov byte [ebp - 4], 1
je 0x42e14a
cmp dword [ebp + 0x14], esi
je 0x42e14a
mov dword [ebp - 0x18], esi
lea esp, [esp]
test bl, bl
jne 0x42e077
cmp eax, 0xa
jge 0x42e077
add eax, 1
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea eax, [ebp - 0x1c]
mov bl, 1
push eax
mov ecx, edi
mov byte [ebp - 0x11], bl
call fcn.00493ad3
test eax, eax
je 0x42e01f
mov esi, dword [ebp + 8]
add esi, 0x18
push esi
mov ecx, edi
call fcn.00492fa3
mov eax, dword [esi]
sub eax, 0xc8
je 0x42df7c
sub eax, 0xc9
je 0x42dedc
sub eax, 6
jne 0x42e026
mov esi, dword [ebp + 0x18]
test esi, esi
je 0x42de81
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42de46
sub eax, edx
je 0x42de81
push 0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
push esi
push 0x2b
mov ecx, edi
call fcn.00492f00
test eax, eax
jne 0x42de81
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], eax
mov dword [ebp - 0x18], 0xd
mov esi, dword [ebp + 0x1c]
test esi, esi
je 0x42decb
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42de90
sub eax, edx
je 0x42decb
push 0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
push esi
push 0x2c
mov ecx, edi
call fcn.00492f00
test eax, eax
jne 0x42decb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], eax
mov dword [ebp - 0x18], 0xe
mov eax, dword [ebp - 0x28]
xor bl, bl
mov dword [ebp - 4], 1
jmp 0x42ddd0
mov esi, dword [ebp + 0x20]
test esi, esi
je 0x42df23
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42dee8
sub eax, edx
je 0x42df23
push 0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
push esi
push 0x1c
mov ecx, edi
call fcn.00492f00
test eax, eax
jne 0x42df23
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], eax
mov dword [ebp - 0x18], 4
mov esi, dword [ebp + 0x24]
test esi, esi
je 0x42df6b
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42df30
sub eax, edx
je 0x42df6b
push 0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
push esi
push 0x1d
mov ecx, edi
call fcn.00492f00
test eax, eax
jne 0x42df6b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], eax
mov dword [ebp - 0x18], 4
mov eax, dword [ebp - 0x28]
xor bl, bl
mov dword [ebp - 4], 1
jmp 0x42ddd0
lea ecx, [ebp - 0x24]
call fcn.00402970
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.00491023
xor esi, esi
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.0042c750
mov ecx, dword [ebp + 8]
push esi
push eax
lea eax, [ebp - 0x44]
push eax
mov edx, edi
call fcn.0042c7d0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x3c]
cmp eax, 0x7fffffff
jge 0x42dfdc
mov ecx, dword [ebp - 0x40]
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.0042f840
mov ecx, dword [ebp + 0x14]
push eax
mov byte [ebp - 4], 5
call fcn.004028d0
lea ecx, [ebp - 0x20]
call fcn.004012b0
mov bl, 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x11], bl
mov byte [ebp - 4], 3
call fcn.0049103a
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42e026
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], 1
jmp 0x42ddd0
mov dword [ebp - 0x18], 4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], 1
jmp 0x42ddd0
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x18]
cmp eax, 0xc8
je 0x42e0ea
push eax
lea edx, [esi + 0x10]
push str.Incorrect_HTTP_status_returned_by_server:__d
push edx
call fcn.00404460
mov eax, dword [esi + 0x18]
add esp, 0xc
cmp eax, 0x194
mov ecx, 6
ja 0x42e0d1
je 0x42e0ca
sub eax, 0xc8
je 0x42e0c6
sub eax, 0xc8
je 0x42e0bf
sub eax, 3
jne 0x42e0e7
lea ecx, [eax + 0x10]
jmp 0x42e0e7
mov ecx, 0xf
jmp 0x42e0e7
xor ecx, ecx
jmp 0x42e0e7
mov ecx, 0x11
jmp 0x42e0e7
sub eax, 0x1f4
je 0x42e0e2
sub eax, 3
jne 0x42e0e7
lea ecx, [eax + 0x13]
jmp 0x42e0e7
mov ecx, 0x12
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e10d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e133
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
push ecx
mov dword [eax + 0x14], 3
add eax, 0x10
push str.Could_not_open_HTTP_file:__s
push eax
call fcn.00404460
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42e18c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e1b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20