Function at 0x43ef10
Capabilities:
Check http status code
Make an http request with a cookie
Resolve function by parsing pe exports
Send data
Send http request
Send http request with host header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444c98
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2a204
call fcn.0042a390
mov eax, dword [0x45a400]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x3c], 0
jne 0x43ef5c
mov eax, 4
jmp 0x43f85e
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x3c]
call fcn.00441050
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x43ef7a
mov eax, 4
jmp 0x43f85e
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x18]
mov eax, dword [edx + 0x20]
call eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0x2328
jle 0x43efa2
mov eax, 7
jmp 0x43f85e
cmp dword [ebp + 0x14], 1
jle 0x43efb2
mov eax, 3
jmp 0x43f85e
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x68]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x70], 0
je 0x43efcf
mov eax, dword [ebp - 0x20]
or eax, 0x80000
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x4c], 0
jne 0x43efe3
mov eax, dword [ebp - 0x20]
or eax, 0x200000
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], 0x44b130
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], 0x44b12c
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x74], 0
je 0x43f00a
mov dword [ebp - 0x2c], str.POST
jmp 0x43f01a
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x64], 0
je 0x43f01a
mov dword [ebp - 0x2c], str.HEAD
push 0
mov eax, dword [ebp - 0x20]
or eax, 0x80000000
or eax, 0x100
or eax, 0x4000000
push eax
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x60]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x6c]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x38], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x38], 0
jne 0x43f06c
call fcn.0043b6b0
jmp 0x43f85e
mov ecx, dword [ebp - 0x18]
call fcn.0043e910
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x43f092
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x18]
mov eax, dword [edx + 0x20]
call eax
mov eax, dword [ebp - 0x30]
jmp 0x43f85e
mov al, byte [0x44b696]
mov byte [ebp - 0x4e50], al
push 0x4e1f
push 0
lea eax, [ebp - 0x4e4f]
push eax
call fcn.0042a4a0
add esp, 0xc
mov eax, dword [ebp + 0xc]
or eax, dword [ebp + 0x10]
je 0x43f0d7
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str.Range:_bytes_I64u__r_n
lea edx, [ebp - 0x4e50]
push edx
call fcn.0042884f
add esp, 0x10
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x70], 0
je 0x43f109
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x70]
push ecx
push str.Cookie:__s_r_n
lea edx, [ebp - 0x4e50]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp + eax - 0x4e50]
push eax
call fcn.0042884f
add esp, 0xc
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x74], 0
je 0x43f126
push str.Content_Type:_application_x_www_form_urlencoded_r_n
lea eax, [ebp - 0x4e50]
push eax
call fcn.0042a2a0
add esp, 8
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x78], 0
je 0x43f145
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x78]
push ecx
lea edx, [ebp - 0x4e50]
push edx
call fcn.0042a2a0
add esp, 8
cmp dword [ebp + 0x14], 0
jne 0x43f363
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x60], 0
je 0x43f166
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x60]
mov dword [ebp - 0x2a214], edx
jmp 0x43f170
mov dword [ebp - 0x2a214], 0x448878
mov eax, dword [ebp - 0x2a214]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x6c]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push str._s__s__s_r_nReferer:__s
lea edx, [ebp - 0x1ade0]
push edx
call fcn.0042884f
add esp, 0x18
movsx eax, byte [ebp - 0x4e50]
test eax, eax
je 0x43f1e6
push 0x44ca0c
lea eax, [ebp - 0x1ade0]
push eax
call fcn.0042a2a0
add esp, 8
lea eax, [ebp - 0x4e50]
push eax
lea ecx, [ebp - 0x1ade0]
push ecx
call fcn.0042a2a0
add esp, 8
lea eax, [ebp - 0x1ade0]
push eax
call fcn.0042a410
add esp, 4
mov byte [ebp + eax - 0x1ade2], 0
mov eax, dword [ebp - 0x20]
and eax, 0x80000
jne 0x43f2eb
mov dword [ebp - 0x1d4f4], 0x2710
lea ecx, [ebp - 0x20158]
call fcn.00436ad0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1d4f4]
push eax
lea ecx, [ebp - 0x1d4f0]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
push 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x3c]
call fcn.00441130
movzx ecx, ax
push ecx
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 0x3c]
call fcn.00441110
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x68]
and ecx, 0x800000
neg ecx
sbb ecx, ecx
neg ecx
add ecx, 3
push ecx
lea ecx, [ebp - 0x20158]
call fcn.00437180
mov dword [ebp - 0x1d4f4], 0x2710
mov byte [ebp - 0x22868], 0
lea eax, [ebp - 0x1d4f4]
push eax
lea ecx, [ebp - 0x22868]
push ecx
push 0
lea edx, [ebp - 0x1d4f0]
push edx
call dword [sym.imp.WININET.dll_InternetGetCookieA]
movsx eax, byte [ebp - 0x22868]
test eax, eax
je 0x43f2d9
push 0x44ca0c
lea eax, [ebp - 0x1ade0]
push eax
call fcn.0042a2a0
add esp, 8
push str.Cookie:
lea eax, [ebp - 0x1ade0]
push eax
call fcn.0042a2a0
add esp, 8
lea eax, [ebp - 0x22868]
push eax
lea ecx, [ebp - 0x1ade0]
push ecx
call fcn.0042a2a0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20158]
call fcn.00436af0
push str._r_nHost:
lea eax, [ebp - 0x1ade0]
push eax
call fcn.0042a2a0
add esp, 8
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x3c]
call fcn.00441110
push eax
lea ecx, [ebp - 0x1ade0]
push ecx
call fcn.0042a2a0
add esp, 8
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x74], 0
je 0x43f34d
push 0x44ca0c
lea eax, [ebp - 0x1ade0]
push eax
call fcn.0042a2a0
add esp, 8
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x74]
push ecx
lea edx, [ebp - 0x1ade0]
push edx
call fcn.0042a2a0
add esp, 8
lea eax, [ebp - 0x1ade0]
push eax
push 0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x18]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0x18]
call fcn.0043f8a0
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x74], 0
je 0x43f389
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x2a214], eax
jmp 0x43f393
mov dword [ebp - 0x2a214], 0
mov eax, dword [ebp - 0x2a214]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x74]
push edx
push 0xffffffffffffffff
movsx eax, byte [ebp - 0x4e50]
neg eax
sbb eax, eax
lea ecx, [ebp - 0x4e50]
and eax, ecx
push eax
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x38]
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x43f3f4
call fcn.0043b6b0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x38]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00440e20
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x18]
mov eax, dword [edx + 0x20]
call eax
mov eax, dword [ebp - 0x30]
jmp 0x43f85e
mov dword [ebp - 0x24f7c], 0x2710
mov dword [ebp - 0x24f80], 0
lea eax, [ebp - 0x24f80]
push eax
lea ecx, [ebp - 0x24f7c]
push ecx
lea edx, [ebp - 0x24f78]
push edx
push 0x16
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x38]
push ecx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x43f4e9
mov dword [ebp - 0x24f84], 0
lea eax, [ebp - 0x24f78]
mov dword [ebp - 0x24f88], eax
cmp dword [ebp - 0x24f88], 0
je 0x43f4b1
push 0xa
mov eax, dword [ebp - 0x24f88]
push eax
call fcn.0042a1a0
add esp, 8
mov dword [ebp - 0x24f88], eax
cmp dword [ebp - 0x24f88], 0
je 0x43f4af
mov eax, dword [ebp - 0x24f88]
movsx ecx, byte [eax]
cmp ecx, 0xd
je 0x43f48f
mov eax, dword [ebp - 0x24f88]
movsx ecx, byte [eax]
cmp ecx, 0xa
jne 0x43f4a0
mov eax, dword [ebp - 0x24f88]
add eax, 1
mov dword [ebp - 0x24f88], eax
jmp 0x43f473
mov eax, dword [ebp - 0x24f84]
add eax, 1
mov dword [ebp - 0x24f84], eax
jmp 0x43f44a
cmp dword [ebp - 0x24f84], 0
je 0x43f4c3
cmp dword [ebp - 0x24f84], 1
jne 0x43f4e9
mov eax, dword [ebp + 0x14]
add eax, 1
mov dword [ebp + 0x14], eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.0043ef10
jmp 0x43f85e
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x38]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00440e20
mov dword [ebp - 0x24f90], 4
push 0
lea eax, [ebp - 0x24f90]
push eax
lea ecx, [ebp - 0x24f8c]
push ecx
push 0x20000013
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x38]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x43f532
call fcn.0043b6b0
jmp 0x43f85e
cmp dword [ebp - 0x24f8c], 0xc8
jb 0x43f54e
cmp dword [ebp - 0x24f8c], 0x12c
jb 0x43f689
mov eax, dword [ebp - 0x24f8c]
push eax
call fcn.0043b6d0
add esp, 4
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x12
jne 0x43f681
mov dword [ebp - 0x24f94], 0
push 0
lea eax, [ebp - 0x24f94]
push eax
push 0
push 0x21
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x38]
push edx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x43f677
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x18], 0
je 0x43f5cb
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x2a210], ecx
mov edx, dword [ebp - 0x2a210]
push edx
call fcn.00428258
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x18], 0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x24f94]
add eax, 1
mov dword [ebp - 0x24f94], eax
mov ecx, dword [ebp - 0x24f94]
push ecx
call fcn.004283fe
add esp, 4
mov dword [ebp - 0x2a20c], eax
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2a20c]
mov dword [edx + 0x18], eax
jmp 0x43f621
mov dword [ebp - 4], 0xffffffff
jmp 0x43f635
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x18], 0
jne 0x43f648
mov eax, 0x17
jmp 0x43f85e
push 0
lea eax, [ebp - 0x24f94]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x18]
push edx
push 0x21
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x38]
push ecx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x43f675
mov eax, 0x15
jmp 0x43f85e
jmp 0x43f681
mov eax, 0x15
jmp 0x43f85e
mov eax, dword [ebp - 0x30]
jmp 0x43f85e
mov dword [ebp - 0x25380], 0x3e8
push 0
lea eax, [ebp - 0x25380]
push eax
lea ecx, [ebp - 0x2537c]
push ecx
push 5
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x38]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x43f706
lea eax, [ebp - 0x2537c]
push eax
call fcn.004295b0
add esp, 4
mov dword [ebp - 0x25388], eax
mov dword [ebp - 0x25384], edx
cmp dword [ebp - 0x25384], 0
jg 0x43f6ef
jl 0x43f6e5
cmp dword [ebp - 0x25388], 0
jae 0x43f6ef
mov eax, 0x15
jmp 0x43f85e
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x25388]
mov dword [eax + 0x30], ecx
mov edx, dword [ebp - 0x25384]
mov dword [eax + 0x34], edx
jmp 0x43f717
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x30], 0xffffffff
mov dword [eax + 0x34], 0xffffffff
mov dword [ebp - 0x30], 0
mov eax, dword [ebp + 0xc]
or eax, dword [ebp + 0x10]
je 0x43f741
mov ecx, dword [ebp - 0x18]
call fcn.0043e970
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xf
jne 0x43f73f
mov eax, dword [ebp - 0x30]
jmp 0x43f85e
jmp 0x43f7a8
mov dword [ebp - 0x27a9c], 0x2710
push 0
lea eax, [ebp - 0x27a9c]
push eax
lea ecx, [ebp - 0x27a98]
push ecx
push 0x2a
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x38]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x43f79e
push str.bytes
lea eax, [ebp - 0x27a98]
push eax
call fcn.00433f46
add esp, 8
test eax, eax
jne 0x43f792
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x14], 0
jmp 0x43f79c
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x14], 1
jmp 0x43f7a8
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x14], 2
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x20], 0
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x2c], 0
mov dword [ebp - 0x2a1b0], 0x2710
push 0
lea eax, [ebp - 0x2a1b0]
push eax
lea ecx, [ebp - 0x2a1ac]
push ecx
push 1
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x38]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x43f805
lea eax, [ebp - 0x2a1ac]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x1c
call fcn.0041c501
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x20], 1
mov dword [ebp - 0x2a1c4], 0x10
push 0
lea eax, [ebp - 0x2a1c4]
push eax
lea ecx, [ebp - 0x2a1c0]
push ecx
push 0x4000000b
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x38]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x43f853
mov eax, dword [ebp - 0x18]
add eax, 0x24
push eax
lea ecx, [ebp - 0x2a1c0]
push ecx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x2c], 1
mov ecx, dword [ebp - 0x18]
call fcn.0043ec20
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00428263
mov esp, ebp
pop ebp
ret 0x10