Function at 0x42d4f0
Capabilities:
Check http status code
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7fb0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
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 esi, dword [ebp + 8]
xor edi, edi
xor bl, bl
cmp dword [ebp + 0xc], edi
jne 0x42d55a
mov eax, dword [esi + 0x30]
push eax
mov dword [esi + 0x14], 3
push str.Could_not_open_HTTP_file:__s
add esi, 0x10
push esi
call fcn.00404460
add esp, 0xc
lea eax, [edi + 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 0x18
call fcn.00484590
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42d574
push 0x80004005
call fcn.004021e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], eax
jmp 0x42d590
test bl, bl
jne 0x42d971
cmp edi, 0xa
jge 0x42d971
mov bl, 1
add edi, 1
push str.Content_Type:_application_x_www_form_urlencoded
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x24], edi
mov byte [ebp - 0x11], bl
mov byte [ebp - 4], bl
call fcn.00402520
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x1c]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
lea edi, [esi - 1]
sub eax, edi
or eax, ecx
jge 0x42d5e6
push edi
lea ecx, [ebp - 0x1c]
call fcn.00402260
mov edx, dword [ebp - 0x1c]
mov edi, dword [ebp + 0xc]
push 0
push 0
push esi
push edx
mov ecx, edi
call fcn.00493aa6
mov esi, dword [ebp - 0x1c]
test esi, esi
mov dword [ebp - 0x20], eax
jne 0x42d604
xor ecx, ecx
jmp 0x42d621
mov ecx, esi
lea eax, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x42d610
sub ecx, eax
js 0x42d8c2
cmp ecx, dword [esi - 8]
jg 0x42d8c2
cmp dword [ebp - 0x20], 0
mov dword [esi - 0xc], ecx
mov edx, dword [ebp - 0x1c]
mov byte [ecx + edx], 0
je 0x42d886
mov esi, dword [ebp + 8]
add esi, 0x18
push esi
mov ecx, edi
call fcn.00492fa3
mov eax, dword [esi]
cmp eax, 0x197
ja 0x42d806
je 0x42d755
cmp eax, 0xc8
je 0x42d740
cmp eax, 0x191
jne 0x42d88d
mov esi, dword [ebp + 0x18]
mov eax, esi
call fcn.0042d4c0
test eax, eax
mov ebx, dword [ebp + 0x1c]
jne 0x42d6c7
mov eax, ebx
call fcn.0042d4c0
test eax, eax
jne 0x42d6c7
mov eax, dword [ebp + 8]
cmp dword [eax + 0x54], 0
je 0x42d6c7
call fcn.0040d6c0
push 0
push 7
push 0
push eax
mov ecx, edi
call fcn.00492f48
test eax, eax
je 0x42d882
cmp eax, 0x4c7
je 0x42d882
xor bl, bl
jmp 0x42d88d
mov eax, esi
call fcn.0042d4c0
test eax, eax
je 0x42d700
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 0x42d700
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], eax
mov dword [ebp - 0x18], 4
mov eax, ebx
call fcn.0042d4c0
test eax, eax
je 0x42d739
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
push ebx
push 0x1d
mov ecx, edi
call fcn.00492f00
test eax, eax
jne 0x42d739
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], eax
mov dword [ebp - 0x18], 4
xor bl, bl
jmp 0x42d88d
mov eax, dword [ebp + 8]
xor ecx, ecx
mov bl, 1
mov dword [ebp - 0x18], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x20], ecx
jmp 0x42d88d
mov esi, dword [ebp + 0x10]
mov eax, esi
call fcn.0042d4c0
test eax, eax
mov ebx, dword [ebp + 0x14]
jne 0x42d78d
mov eax, ebx
call fcn.0042d4c0
test eax, eax
jne 0x42d78d
mov eax, dword [ebp + 8]
cmp dword [eax + 0x54], 0
je 0x42d78d
call fcn.0040d6c0
push 0
push 7
push 0x2eee
jmp 0x42d6a5
mov eax, esi
call fcn.0042d4c0
test eax, eax
je 0x42d7c6
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 0x42d7c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], eax
mov dword [ebp - 0x18], 0xd
mov eax, ebx
call fcn.0042d4c0
test eax, eax
je 0x42d7ff
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
push ebx
push 0x2c
mov ecx, edi
call fcn.00492f00
test eax, eax
jne 0x42d7ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], eax
mov dword [ebp - 0x18], 0xe
xor bl, bl
jmp 0x42d88d
sub eax, 0x2f0c
je 0x42d84a
sub eax, 1
jne 0x42d88d
mov eax, dword [ebp + 8]
cmp dword [eax + 0x54], 0
je 0x42d7ff
call fcn.0048eebe
test eax, eax
je 0x42d83b
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
push 0
push 7
push 0x2f0d
jmp 0x42d6a5
xor eax, eax
push eax
push 7
push 0x2f0d
jmp 0x42d6a5
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x54], 0
je 0x42d7ff
call fcn.0048eebe
test eax, eax
je 0x42d873
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
push 0
push 7
push 0x2f0c
jmp 0x42d6a5
xor eax, eax
push eax
push 7
push 0x2f0c
jmp 0x42d6a5
mov bl, 1
jmp 0x42d88d
mov dword [ebp - 0x18], 4
mov byte [ebp - 4], 1
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 0x42d8b0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
jmp 0x42d590
push 0x80070057
call fcn.004021e0
mov ebx, dword [ebp + 8]
mov edi, dword [ebp - 0x2c]
mov esi, ebx
call fcn.0042e220
mov ecx, dword [ebx + 0x14]
push ecx
lea edx, [ebx + 0x10]
push str.Send_request_failed:__u
push edx
call fcn.00404460
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
add esp, 0xc
push eax
mov eax, dword [ebx + 0x14]
push ecx
mov ecx, dword [ebp + 0x18]
lea edx, [ebp - 0x11]
push edx
mov edx, dword [ebp + 0x10]
push ebx
call fcn.0042da20
cmp byte [ebp - 0x11], 0
mov dword [ebp - 0x18], eax
jne 0x42d91c
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
mov eax, 0x42d963
ret
mov eax, dword [esi + 0x18]
cmp eax, 0xc8
je 0x42d9e1
push eax
lea eax, [esi + 0x10]
push str.Incorrect_HTTP_status_returned_by_server:__d
push eax
call fcn.00404460
mov eax, dword [esi + 0x18]
add esp, 0xc
cmp eax, 0x194
mov ecx, 6
ja 0x42d9c8
je 0x42d9c1
sub eax, 0xc8
je 0x42d9bd
sub eax, 0xc8
je 0x42d9b6
sub eax, 3
jne 0x42d9de
lea ecx, [eax + 0x10]
jmp 0x42d9de
mov ecx, 0xf
jmp 0x42d9de
xor ecx, ecx
jmp 0x42d9de
mov ecx, 0x11
jmp 0x42d9de
sub eax, 0x1f4
je 0x42d9d9
sub eax, 3
jne 0x42d9de
lea ecx, [eax + 0x13]
jmp 0x42d9de
mov ecx, 0x12
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42da07
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 0x18