Function at 0x43fd35
Capabilities:
Check http status code
Receive http response

Disassembly:
push 0x68c
mov eax, 0x4565d0
call fcn.00444eac
mov esi, ecx
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edi, dword [esi + 0x3c]
xor eax, eax
and dword [ebp - 0x68c], eax
mov dword [ebp - 0x680], eax
xor al, al
push 7
mov byte [ebp - 0x678], al
xor eax, eax
and dword [ebp - 0x38], eax
pop ebx
mov dword [ebp - 0x67c], edx
mov dword [ebp - 0x688], ecx
mov byte [ebp - 0x677], 0
mov dword [ebp - 0x684], eax
mov dword [ebp - 0x34], ebx
mov word [ebp - 0x48], ax
and dword [ebp - 4], eax
and dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x2c], ax
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 4], 1
mov byte [ebp - 0x676], al
cmp dword [ecx + 0x10], 0
mov byte [ebp - 0x675], 0
jne 0x43fdbb
xor eax, eax
jmp 0x43fdc7
cmp dword [ecx + 0x14], 8
jb 0x43fdc5
mov eax, dword [ecx]
jmp 0x43fdc7
mov eax, ecx
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push 0xffffffffffffffff
push eax
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x43fdf9
call ebx
cmp eax, 0x2f00
jne 0x440012
push 0x41b8b8
push 3
call fcn.0044074e
jmp 0x43ffe8
push 0
push dword [ebp - 0x67c]
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x43fe59
call ebx
cmp eax, 0x2eef
jne 0x440061
cmp byte [ebp - 0x677], 0
jne 0x440061
push 0x41b938
push 3
call fcn.004407a8
xor eax, eax
push eax
push eax
push eax
push 2
push eax
push dword [ebp - 0x67c]
call dword [sym.imp.WINHTTP.dll_WinHttpSetCredentials]
test eax, eax
je 0x440047
mov byte [ebp - 0x677], 1
jmp 0x43ffe8
push 0
push 0x13
push dword [ebp - 0x67c]
lea eax, [ebp - 0x64]
push eax
mov ecx, esi
call fcn.00440101
cmp dword [ebp - 0x50], 8
mov eax, dword [ebp - 0x64]
mov byte [ebp - 4], 2
jae 0x43fe7e
lea eax, [ebp - 0x64]
push 0xa
push 0
push eax
call fcn.00445aea
mov ecx, dword [ebp - 0x688]
mov ecx, dword [ecx + 0x10]
add esp, 0xc
neg ecx
sbb ecx, ecx
and ecx, 6
mov edx, 0xc8
add ecx, edx
mov dword [ebp - 0x684], eax
cmp ecx, eax
je 0x43ff66
cmp eax, edx
je 0x43ff66
cmp eax, 0x191
jne 0x43ff01
mov eax, dword [ebp - 0x68c]
inc eax
mov dword [ebp - 0x68c], eax
cmp eax, 3
jg 0x440078
cmp eax, 1
setle al
movzx eax, al
push eax
lea eax, [esi + 0x40]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x67c]
mov ecx, esi
call fcn.00440284
mov byte [ebp - 0x676], 1
jmp 0x43ff1c
mov eax, dword [ebp - 0x680]
inc eax
mov dword [ebp - 0x680], eax
cmp eax, 3
jle 0x43ff1c
inc edi
xor eax, eax
mov dword [ebp - 0x680], eax
mov al, byte [esi + 0xb0]
mov byte [ebp - 0x675], 1
test al, al
jne 0x43ff52
sub esp, 0x1c
lea eax, [esi + 0x78]
mov ecx, esp
mov dword [ebp - 0x690], esp
push eax
call fcn.00420613
push dword [esi + 0xb8]
lea ecx, [esi + 0x94]
call fcn.004420a7
push dword [esi + 0xb8]
lea ecx, [esi + 0x94]
push edi
call fcn.0044235e
jmp 0x43ffcb
cmp byte [ebp - 0x676], 0
mov byte [ebp - 0x678], 1
je 0x43ffcb
cmp byte [ebp + 0x10], 0
je 0x43ffcb
sub esp, 0x1c
lea eax, [ebp - 0x2c]
mov ecx, esp
mov dword [ebp - 0x690], esp
push eax
call fcn.00420613
sub esp, 0x1c
lea eax, [ebp - 0x48]
mov ecx, esp
mov dword [ebp - 0x694], esp
push eax
mov byte [ebp - 4], 3
call fcn.00420613
sub esp, 0x1c
lea eax, [esi + 0x40]
mov ecx, esp
mov dword [ebp - 0x698], esp
push eax
mov byte [ebp - 4], 4
call fcn.00420613
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004404d5
push 0
push 1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.004214d1
cmp byte [ebp - 0x675], 0
je 0x440088
lea ecx, [esi + 0xa0]
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
push 0x1c
cdq
pop ecx
idiv ecx
cmp edi, eax
jae 0x440088
mov ecx, dword [ebp - 0x688]
mov edx, dword [ebp - 0x67c]
jmp 0x43fdaa
push 0x41b900
call ebx
push eax
push 0x7d
lea ecx, [ebp - 0x674]
call fcn.0042ea97
mov esi, eax
push 0x457f20
lea eax, [ebp - 0x36c]
mov ecx, 0xc2
lea edi, [ebp - 0x36c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00444df7
push 0x41b990
call ebx
push eax
push 0x85
lea ecx, [ebp - 0x674]
call fcn.00425a40
jmp 0x440027
push 0x41b9d8
call ebx
push eax
push 0x7e
lea ecx, [ebp - 0x674]
call fcn.00440802
jmp 0x440027
push 0
push 1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.004214d1
mov al, byte [ebp - 0x678]
test al, al
jne 0x4400d1
cmp byte [ebp + 0x14], al
je 0x4400b5
mov eax, dword [ebp - 0x684]
push 0x41ba18
push eax
push 0x7d
lea ecx, [ebp - 0x674]
call fcn.00440881
jmp 0x440027
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.004214d1
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.004214d1
xor al, al
jmp 0x4400f9
test edi, edi
jne 0x4400d9
xor eax, eax
jmp 0x4400dc
lea eax, [edi - 1]
push 0
push 1
lea ecx, [ebp - 0x2c]
mov dword [esi + 0x3c], eax
call fcn.004214d1
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.004214d1
mov al, 1
call fcn.00444f2f
ret 0x10