Function at 0x436330
Capabilities:
Access peb ldr_data
Check http status code
Encode data using xor
Hash data using fnv
Read http header
Receive http response
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x672494]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 4
push eax
mov ebx, ecx
push 0
push 0x20000013
mov dword [ebp - 0x18], ebx
push dword [ebx + 4]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x436382
call fcn.0043aff0
mov dword [ebp - 0x10], eax
test eax, eax
js 0x436420
mov eax, dword [ebp - 8]
cmp eax, 0x197
jne 0x436398
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
jmp 0x43641b
cmp eax, 0x191
jne 0x4363a8
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x28]
jmp 0x43641b
cmp eax, 0xc8
je 0x4363d2
cmp eax, 0xce
je 0x4363d2
mov ecx, 0x2f79
mov dword [ebx + 0x1cc], 1
mov dword [ebx + 0x1c8], eax
call fcn.0043ac00
jmp 0x43641b
mov dword [ebx + 0x1c8], eax
mov ecx, ebx
lea eax, [ebx + 0x1d0]
mov dword [ebx + 0x1cc], 1
push eax
call fcn.0043a5c0
push 0
push dword [ebx + 0x180]
push dword [ebx + 0x17c]
push dword [ebx + 4]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x436419
call fcn.0043aff0
mov dword [ebp - 0x10], eax
test eax, eax
jns 0x43641b
jmp 0x43641e
xor eax, eax
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x436578
mov eax, dword fs:[0x30]
push esi
push edi
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
movzx edx, word [eax + 0x2c]
xor esi, esi
mov edi, dword [eax + 0x30]
xor ebx, ebx
shr edx, 1
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0x811c9dc5
lea ecx, [edi + edx*2]
cmp edi, ecx
cmova edx, esi
mov dword [ebp - 0x14], edx
test edx, edx
je 0x436492
mov eax, edx
nop dword [eax]
mov dl, byte [edi]
lea edi, [edi + 2]
movsx esi, dl
sub dl, 0x41
mov ecx, esi
or ecx, 0x20
cmp dl, 0x19
cmova ecx, esi
inc ebx
xor ecx, dword [ebp - 8]
imul ecx, ecx, 0x1000193
mov dword [ebp - 8], ecx
cmp ebx, eax
jne 0x436460
mov eax, dword [ebp - 0xc]
cmp ecx, 0xc0323159
je 0x436496
mov eax, dword [eax]
jmp 0x436434
mov ebx, dword [eax + 0x18]
mov eax, dword [0x67f4b8]
mov dword [ebp - 0xc], ebx
test eax, eax
jne 0x436558
test ebx, ebx
je 0x436551
mov eax, dword [ebx + 0x3c]
mov edx, dword [eax + ebx + 0x78]
mov eax, dword [eax + ebx + 0x7c]
add edx, ebx
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x1c], edx
cmp edx, ebx
je 0x436553
mov ecx, dword [edx + 0x18]
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x436551
mov edi, dword [edx + 0x20]
add edi, ebx
mov edx, dword [edi]
mov esi, 0x811c9dc5
add edx, ebx
mov bl, byte [edx]
inc edx
test bl, bl
je 0x436521
movsx ecx, bl
lea edx, [edx + 1]
sub bl, 0x41
mov eax, ecx
or eax, 0x20
cmp bl, 0x19
mov bl, byte [edx - 1]
cmova eax, ecx
xor eax, esi
imul esi, eax, 0x1000193
test bl, bl
jne 0x4364f0
cmp esi, 0x6a89ce83
je 0x436531
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
inc eax
add edi, 4
mov dword [ebp - 8], eax
cmp eax, ecx
je 0x436551
mov ebx, dword [ebp - 0xc]
jmp 0x4364e0
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [esi + 0x24]
lea eax, [eax + ecx*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
jmp 0x436553
xor eax, eax
mov dword [0x67f4b8], eax
mov ecx, dword [ebp - 0x18]
push dword [ecx + 0x1d0]
push 0x81f5
push 0x81f4
push dword [ecx + 0x210]
call eax
mov eax, dword [ebp - 0x10]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004d0a85
mov esp, ebp
pop ebp
ret 0x10