Function at 0x10004700
Capabilities:
Check http status code

Disassembly:
sub esp, 0x464
mov eax, dword [0x10034110]
xor eax, esp
mov dword [esp + 0x460], eax
mov eax, dword [esp + 0x474]
push ebx
push ebp
mov ebp, dword [esp + 0x474]
push esi
mov esi, dword [esp + 0x474]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x484]
push edi
mov edi, ecx
mov ebx, edx
mov dword [esp + 0x1c], eax
mov dword [eax], 0
call fcn.10002b10
mov edi, eax
mov dword [esp + 0x30], edi
test edi, edi
jne 0x1000475d
lea eax, [edi + 1]
jmp 0x1000495b
call fcn.10002bc0
mov dword [esp + 0x38], eax
test eax, eax
jne 0x10004779
call fcn.10002a60
mov eax, 2
jmp 0x1000495b
mov ebx, esi
mov edi, eax
call fcn.10002dc0
mov edi, eax
push 0x20000000
mov ebx, str.Accept_Encoding:_deflate
call fcn.10002f20
push 0xa0000000
mov ebx, str.Content_Type:_application_octet_stream
call fcn.10002f20
mov ecx, dword [esp + 0x480]
push ecx
mov ebx, ebp
call fcn.10002e80
lea edx, [esp + 0x34]
push edx
push 0x20000013
lea ebx, [esp + 0x2c]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x3c], 4
call fcn.10002d10
cmp eax, 1
push 0x32
lea eax, [esp + 0x40]
push 0
push eax
sete byte [esp + 0x1e]
call fcn.10017cd0
add esp, 0xc
lea ecx, [esp + 0x2c]
push ecx
push 0x1d
lea ebx, [esp + 0x44]
mov dword [esp + 0x34], 0x32
call fcn.10002d10
cmp eax, 1
sete al
xor ebx, ebx
mov byte [esp + 0x13], al
cmp al, bl
jne 0x1000481b
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
xor ebp, ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], ebx
cmp byte [esp + 0x12], bl
je 0x10004938
cmp dword [esp + 0x24], 0x190
jae 0x10004938
lea edx, [esp + 0x14]
push edx
lea ebx, [esp + 0x74]
call fcn.100029c0
test eax, eax
je 0x100048bc
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100048bc
lea eax, [eax + esi + 1]
push eax
call fcn.1001419a
mov ecx, dword [esp + 0x18]
lea edx, [ecx + esi + 1]
push edx
mov ebx, eax
push 0
push ebx
call fcn.10017cd0
add esp, 0x10
test esi, esi
jbe 0x1000488e
push esi
push ebp
push ebx
call fcn.10017500
push ebp
call fcn.10014ad6
add esp, 0x10
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x74]
push ecx
lea edx, [ebx + esi]
push edx
call fcn.10017500
add esi, dword [esp + 0x20]
add esp, 0xc
lea eax, [esp + 0x14]
mov ebp, ebx
push eax
lea ebx, [esp + 0x74]
call fcn.100029c0
test eax, eax
jne 0x10004851
cmp byte [esp + 0x13], 0
je 0x1000492a
push str.deflate
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1000492a
lea eax, [esi + esi*4]
add eax, eax
push eax
mov dword [esp + 0x24], eax
call fcn.1001419a
push esi
push ebp
lea edx, [esp + 0x2c]
mov ebx, eax
push edx
push ebx
call fcn.1000e560
mov ecx, dword [esp + 0x30]
add esp, 0x14
test eax, eax
jne 0x10004917
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov dword [ecx], eax
push ebp
mov dword [edx], ebx
call fcn.10014ad6
add esp, 4
jmp 0x10004940
mov eax, dword [esp + 0x18]
mov dword [eax], ebp
push ebx
mov dword [ecx], esi
call fcn.10014ad6
add esp, 4
jmp 0x10004940
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [edx], ebp
mov dword [eax], esi
jmp 0x10004940
mov dword [esp + 0x28], 3
call fcn.10002a60
mov edi, dword [esp + 0x38]
call fcn.10002a60
mov edi, dword [esp + 0x30]
call fcn.10002a60
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x470]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10014a1e
add esp, 0x464
ret 0x14