Function at 0x439720
Capabilities:
Check http status code

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov esi, eax
push edi
lea edi, [esi + 0x18]
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x60], eax
mov ecx, dword [ebp]
push ecx
push 0xa
push eax
call dword [sym.imp.MSVCR80.dll_memchr]
add esp, 0xc
test eax, eax
mov dword [edi + 0x64], eax
je 0x43a16b
sub eax, dword [edi + 0x5c]
add eax, 1
mov ebx, eax
sub dword [ebp], ebx
mov eax, dword [edi + 0x64]
add eax, 1
mov dword [edi + 0x5c], eax
sub eax, dword [edi + 0x60]
mov dword [esp + 0x10], ebx
push eax
mov eax, esi
call fcn.00439660
add esp, 4
test eax, eax
jne 0x43a2df
mov edx, dword [edi + 0x54]
mov dword [edi + 0x64], edx
mov eax, dword [esi + 0x524]
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x50]
test eax, eax
jne 0x4397e0
cmp dword [edi + 0x58], 5
jbe 0x4397e0
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x204]
test dword [edx + 0x34], 0x40000
mov eax, dword [esi + 0x524]
je 0x4397cb
push 5
mov ecx, 0x4f1b20
call fcn.0043fb10
add esp, 4
neg eax
sbb eax, eax
neg eax
jmp 0x4397d8
mov ebx, eax
mov eax, esi
call fcn.004395b0
mov ebx, dword [esp + 0x10]
test eax, eax
je 0x43a1c1
mov eax, dword [edi + 0x68]
mov cl, byte [eax]
cmp cl, 0xa
je 0x439fd5
cmp cl, 0xd
je 0x439fda
mov ecx, dword [edi + 0x50]
test ecx, ecx
lea edx, [ecx + 1]
mov dword [edi + 0x50], edx
jne 0x4399dd
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0x204]
mov ecx, dword [ecx + 0x34]
test cl, 1
je 0x439891
mov ebp, edx
lea ebx, [edi + 0x78]
push ebx
add ebp, 0x110
push ebp
lea edx, [esp + 0x20]
push edx
push 0x4f1be4
push eax
call dword [sym.imp.MSVCR80.dll_sscanf]
add esp, 0x14
cmp eax, 3
jne 0x439851
mov eax, dword [esp + 0x18]
lea eax, [eax + eax*4]
add eax, eax
add dword [ebp], eax
jmp 0x4398e2
mov ecx, dword [edi + 0x68]
push ebx
push str.O_HDLBJ
push ecx
call dword [sym.imp.MSVCR80.dll_sscanf]
add esp, 0xc
test eax, eax
mov dword [ebp], 0xa
jne 0x4398e2
mov ebx, dword [edi + 0x68]
mov eax, esi
call fcn.004395b0
test eax, eax
je 0x43a1f3
mov dword [edi + 0x78], 0xc8
mov dword [ebp], 0xa
jmp 0x4398e2
test ecx, 0x40000
je 0x43a1f3
lea ecx, [edi + 0x78]
push ecx
lea ebp, [edx + 0x114]
push ebp
lea edx, [esp + 0x24]
push edx
push 0x4f1c00
push eax
call dword [sym.imp.MSVCR80.dll_sscanf]
add esp, 0x14
cmp eax, 3
jne 0x43a1f3
mov eax, dword [esp + 0x1c]
lea eax, [eax + eax*4]
add eax, eax
add dword [ebp], eax
mov ebp, dword [esp + 0x24]
add ebp, 0x110
mov dword [ebp], 0xb
mov ecx, dword [edi + 0x78]
mov eax, dword [esi + 0x860c]
mov dword [esi + 0x8674], ecx
mov edx, dword [ebp]
xor ecx, ecx
cmp eax, ecx
mov dword [esi + 0x867c], edx
je 0x439905
cmp eax, dword [ebp]
jle 0x43990e
mov eax, dword [ebp]
mov dword [esi + 0x860c], eax
cmp dword [esi + 0x2b0], ecx
je 0x439969
mov eax, dword [edi + 0x78]
cmp eax, 0x190
jl 0x439969
cmp eax, 0x191
mov ebx, dword [esp + 0x24]
jne 0x439933
cmp dword [ebx + 0x1a0], ecx
jne 0x43996d
cmp eax, 0x197
jne 0x439942
cmp dword [ebx + 0x1a4], ecx
jne 0x43996d
mov edx, dword [esi + 0x8638]
or edx, dword [esi + 0x863c]
je 0x439960
cmp dword [esi + 0x210], 1
jne 0x439960
cmp eax, 0x1a0
je 0x43996d
mov eax, dword [edi + 0x78]
push eax
jmp 0x43a22f
mov ebx, dword [esp + 0x24]
mov ebp, dword [ebp]
cmp ebp, 0xa
jne 0x439990
push 0x4f1c10
call fcn.0042de00
add esp, 4
mov dword [ebx + 0x190], 1
xor ecx, ecx
jmp 0x4399a7
cmp ebp, 0xb
jl 0x4399a7
cmp dword [ebx + 0x190], ecx
jne 0x4399a7
mov dword [ebx + 0x248], 1
mov eax, dword [edi + 0x78]
sub eax, 0xcc
je 0x4399b6
sub eax, 0x64
jne 0x4399dd
cmp dword [esi + 0x200], ecx
je 0x4399c8
mov dword [esi + 0x8684], 1
mov dword [edi], ecx
mov dword [edi + 4], ecx
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], ecx
mov dword [edi + 0xb4], 1
cmp dword [edi + 0xb4], 0
jne 0x439a94
cmp dword [esi + 0x30c], 0
jne 0x439a94
mov ebp, dword [edi + 0x68]
push 0xf
mov eax, ebp
mov ecx, 0x4f0aa0
call fcn.0043fb10
add esp, 4
test eax, eax
je 0x439a94
push 0xa
push 0
add ebp, 0xf
push ebp
call dword [sym.imp.MSVCR80.dll__strtoi64]
mov ebp, dword [esi + 0x278]
mov ecx, dword [esi + 0x27c]
mov ebx, ebp
add esp, 0xc
or ebx, ecx
je 0x439a48
cmp edx, ecx
jg 0x43a204
jl 0x439a48
cmp eax, ebp
ja 0x43a204
test edx, edx
jl 0x439a72
jg 0x439a52
test eax, eax
jb 0x439a72
push edx
mov dword [edi], eax
mov dword [edi + 0x10], eax
push eax
mov eax, esi
mov dword [edi + 4], edx
mov dword [edi + 0x14], edx
call fcn.004363c0
mov ebx, dword [esp + 0x2c]
add esp, 8
jmp 0x439f6c
mov ebx, dword [esp + 0x24]
push edx
push eax
push 0x4f1c50
mov dword [ebx + 0x190], 1
call fcn.0042de00
add esp, 0xc
jmp 0x439f6c
mov ebp, dword [edi + 0x68]
push 0xd
mov eax, ebp
mov ecx, 0x4f0ac8
call fcn.0043fb10
add esp, 4
test eax, eax
je 0x439af9
mov eax, ebp
call fcn.00436d10
mov ebp, eax
test ebp, ebp
je 0x43a21e
cmp byte [ebp], 0
jne 0x439ad6
push ebp
call dword [0x515348]
mov ebx, dword [esp + 0x28]
add esp, 4
jmp 0x439f6c
mov eax, dword [esi + 0x869c]
test eax, eax
je 0x439aea
push eax
call dword [0x515348]
add esp, 4
mov ebx, dword [esp + 0x24]
mov dword [esi + 0x869c], ebp
jmp 0x439f6c
mov ebx, dword [esp + 0x24]
cmp dword [ebx + 0x110], 0xa
jne 0x439b43
cmp dword [ebx + 0x19c], 0
je 0x439b43
push 0x4f1c88
mov eax, 0x4f1988
mov ecx, ebp
call fcn.00437a20
add esp, 4
test eax, eax
je 0x439b43
push 0x4f1c94
mov dword [ebx + 0x190], 0
call fcn.0042de00
add esp, 4
jmp 0x439f6c
cmp dword [ebx + 0x110], 0xb
jne 0x439b8a
cmp dword [ebx + 0x19c], 0
je 0x439b8a
mov ecx, dword [edi + 0x68]
push 0x4f1cc4
mov eax, 0x4f1988
call fcn.00437a20
add esp, 4
test eax, eax
je 0x439b8a
push 0x4f1ccc
mov dword [ebx + 0x190], 1
call fcn.0042de00
add esp, 4
jmp 0x439f6c
cmp dword [ebx + 0x110], 0xa
jne 0x439bc8
mov ecx, dword [edi + 0x68]
push 0x4f1c88
mov eax, 0x4f1cf4
call fcn.00437a20
add esp, 4
test eax, eax
je 0x439bc8
push 0x4f1d00
mov dword [ebx + 0x190], 0
call fcn.0042de00
add esp, 4
jmp 0x439f6c
mov ecx, dword [edi + 0x68]
push 0x4f1cc4
mov eax, 0x4f1cf4
call fcn.00437a20
add esp, 4
test eax, eax
je 0x439bf0
mov dword [ebx + 0x190], 1
jmp 0x439f6c
mov ecx, dword [edi + 0x68]
push 0x4f17e4
mov eax, 0x4f17d0
call fcn.00437a20
add esp, 4
test eax, eax
je 0x439c33
mov eax, dword [ebx + 0x204]
test dword [eax + 0x34], 0x40000
jne 0x439c33
mov eax, 1
mov dword [edi + 0xc8], eax
xor ecx, ecx
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x1c], eax
jmp 0x439f6c
mov ebp, dword [edi + 0x68]
push 0x11
mov eax, ebp
mov ecx, 0x4f1d28
call fcn.0043fb10
add esp, 4
test eax, eax
je 0x439d3f
cmp dword [esi + 0x348], 0
je 0x439d3f
mov al, byte [ebp + 0x11]
add ebp, 0x11
test al, al
je 0x439c81
movzx ecx, al
push ecx
call dword [sym.imp.MSVCR80.dll_isspace]
add esp, 4
test eax, eax
je 0x439c81
mov al, byte [ebp + 1]
add ebp, 1
test al, al
jne 0x439c66
push 8
mov eax, ebp
mov ecx, 0x4ef69c
call fcn.0043fb10
add esp, 4
test eax, eax
je 0x439ca5
mov dword [edi + 0x88], 0
jmp 0x439f6c
push 7
mov eax, ebp
mov ecx, 0x4f1d3c
call fcn.0043fb10
add esp, 4
test eax, eax
je 0x439cc9
mov dword [edi + 0x88], 1
jmp 0x439f6c
push 4
mov eax, ebp
mov ecx, 0x4f1d44
call fcn.0043fb10
add esp, 4
test eax, eax
jne 0x439d30
push 6
mov eax, ebp
mov ecx, 0x4f1d4c
call fcn.0043fb10
add esp, 4
test eax, eax
jne 0x439d30
push 8
mov eax, ebp
mov ecx, 0x4f1d54
call fcn.0043fb10
add esp, 4
test eax, eax
jne 0x439d21
push 0xa
mov eax, ebp
mov ecx, 0x4f1d60
call fcn.0043fb10
add esp, 4
test eax, eax
je 0x439f6c
mov dword [edi + 0x88], 3
jmp 0x439f6c
mov dword [edi + 0x88], 2
jmp 0x439f6c
push 0xe
mov eax, ebp
mov ecx, 0x4f18f8
call fcn.0043fb10
add esp, 4
test eax, eax
je 0x439db8
mov al, byte [ebp + 0xe]
add ebp, 0xe
test al, al
je 0x439d7b
mov edi, edi
movzx edx, al
push edx
call dword [sym.imp.MSVCR80.dll_isdigit]
add esp, 4
test eax, eax
jne 0x439d7b
mov al, byte [ebp + 1]
add ebp, 1
test al, al
jne 0x439d60
push 0xa
push 0
push ebp
call dword [sym.imp.MSVCR80.dll__strtoi64]
mov dword [edi + 0x70], eax
mov dword [edi + 0x74], edx
mov eax, dword [esi + 0x8638]
add esp, 0xc
cmp eax, dword [edi + 0x70]
jne 0x439f6c
mov ecx, dword [esi + 0x863c]
cmp ecx, edx
jne 0x439f6c
mov dword [edi + 0x6c], 1
jmp 0x439f6c
cmp dword [esi + 0x408], 0
je 0x439e1d
push 0xb
mov eax, ebp
mov ecx, 0x4ef6bc
call fcn.0043fb10
add esp, 4
test eax, eax
je 0x439e1d
mov ecx, 2
call fcn.00433360
mov eax, dword [ebx + 0x234]
test eax, eax
jne 0x439ded
mov eax, dword [ebx + 0x78]
mov edx, dword [esi + 0x8624]
mov ecx, dword [edi + 0x68]
push edx
add ecx, 0xb
push ecx
mov ecx, dword [esi + 0x408]
push 1
push esi
mov edx, eax
call fcn.0042cd60
add esp, 0x10
mov ecx, 2
call fcn.00433390
jmp 0x439f6c
push 0xe
mov eax, ebp
mov ecx, 0x4f1d6c
call fcn.0043fb10
add esp, 4
test eax, eax
je 0x439e80
cmp dword [esi + 0x200], 0
jne 0x439e44
cmp dword [esi + 0x294], 0
je 0x439e80
push 0
call dword [sym.imp.MSVCR80.dll__time64]
mov ecx, dword [edi + 0x68]
add esp, 4
add ecx, 0xe
call fcn.00448da0
mov dword [edi + 0x90], eax
mov dword [edi + 0x94], edx
cmp dword [esi + 0x294], 0
je 0x439f6c
mov edx, eax
mov dword [esi + 0x8680], edx
jmp 0x439f6c
push 0x11
mov eax, ebp
mov ecx, 0x4f1d7c
call fcn.0043fb10
add esp, 4
test eax, eax
je 0x439e9f
mov eax, dword [edi + 0x78]
cmp eax, 0x191
je 0x439ebe
push 0x13
mov eax, ebp
mov ecx, 0x4f1d90
call fcn.0043fb10
add esp, 4
test eax, eax
je 0x439ecf
mov eax, dword [edi + 0x78]
cmp eax, 0x197
jne 0x439ecf
push eax
push ebx
mov eax, ebp
call fcn.00437480
add esp, 8
jmp 0x439f64
mov eax, dword [edi + 0x78]
cmp eax, 0x12c
jl 0x439f4c
cmp eax, 0x190
jge 0x439f4c
push 9
mov eax, ebp
mov ecx, 0x4f1da4
call fcn.0043fb10
add esp, 4
test eax, eax
je 0x439f4c
cmp dword [esi + 0xd0], 0
jne 0x439f4c
mov eax, ebp
call fcn.00436d10
test eax, eax
je 0x43a21e
cmp byte [eax], 0
jne 0x439f1e
push eax
call dword [0x515348]
add esp, 4
jmp 0x439f6c
cmp dword [esi + 0x2b4], 0
mov dword [esi + 0xd0], eax
je 0x439f6c
push eax
call dword [0x515350]
add esp, 4
test eax, eax
mov dword [esi + 0xd4], eax
je 0x43a21e
call fcn.00436f20
jmp 0x439f64
mov eax, dword [ebx + 0x204]
test dword [eax + 0x34], 0x40000
je 0x439f6c
mov ecx, ebp
mov eax, ebx
call fcn.00431b20
test eax, eax
jne 0x43a2df
cmp dword [esi + 0x2bc], 0
mov ebp, 2
je 0x439f7f
mov ebp, 3
cmp dword [esi + 0x2d8], 0
je 0x439f9d
mov ecx, dword [edi + 0x58]
mov edx, dword [edi + 0x68]
push ebx
push ecx
push edx
push 1
mov ecx, esi
call fcn.0042e550
add esp, 0x10
mov eax, dword [edi + 0x68]
mov ecx, dword [edi + 0x58]
push eax
mov edx, ebp
mov eax, ebx
call fcn.0042e280
add esp, 4
test eax, eax
jne 0x43a2df
mov ecx, dword [edi + 0x58]
add dword [esi + 0x8688], ecx
mov edx, dword [edi + 0x58]
mov eax, dword [esi + 0x524]
add dword [esi + 0x48], edx
mov dword [edi + 0x54], eax
jmp 0x43a142
cmp cl, 0xd
jne 0x439fe0
add eax, 1
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x68]
cmp byte [eax], 0xa
jne 0x439fee
add eax, 1
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x78]
cmp eax, 0x64
jl 0x43a020
cmp eax, 0xc7
jg 0x43a020
xor eax, eax
cmp dword [edi + 0x84], eax
mov dword [edi + 0x48], 1
mov dword [edi + 0x50], eax
je 0x43a07a
or dword [edi + 0xa8], 2
mov dword [edi + 0x84], eax
jmp 0x43a07a
mov ecx, dword [edi]
and ecx, dword [edi + 4]
mov dword [edi + 0x48], 0
cmp ecx, 0xffffffff
jne 0x43a07a
cmp dword [edi + 0xc8], 0
jne 0x43a07a
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x190], 0
jne 0x43a07a
cmp dword [eax + 0x110], 0xb
jl 0x43a07a
mov edx, dword [eax + 0x204]
test dword [edx + 0x34], 0x40000
jne 0x43a07a
push 0x4f1b80
call fcn.0042de00
mov eax, dword [esp + 0x28]
add esp, 4
mov dword [eax + 0x190], 1
cmp dword [edi + 0x78], 0x1a1
jne 0x43a094
and dword [edi + 0xa8], 0xfffffffd
mov dword [edi + 0x84], 3
mov edx, dword [esp + 0x24]
call fcn.004375a0
test eax, eax
jne 0x43a22b
cmp dword [esi + 0x2bc], eax
lea edx, [eax + 2]
je 0x43a0b3
lea edx, [eax + 3]
mov eax, dword [esi + 0x524]
mov ebx, dword [edi + 0x68]
mov ebp, dword [esp + 0x24]
sub ebx, eax
push eax
mov ecx, ebx
mov eax, ebp
call fcn.0042e280
add esp, 4
test eax, eax
jne 0x43a2df
add dword [esi + 0x48], ebx
add dword [esi + 0x8688], ebx
mov eax, dword [edi + 0x78]
cmp eax, 0x64
mov ecx, dword [esi + 0x48]
jl 0x43a0f6
cmp eax, 0xc7
jg 0x43a0f6
mov eax, ecx
jmp 0x43a0f8
xor eax, eax
mov ecx, dword [esp + 0x2c]
cmp dword [ecx], 0
mov dword [esi + 0x4c], eax
jne 0x43a12f
mov eax, ebp
call fcn.004370a0
test eax, eax
jne 0x43a2df
cmp dword [ebp + 0x1cc], eax
je 0x43a12f
push 0x4f1bbc
call fcn.0042de00
add esp, 4
or dword [edi + 0xa8], 2
cmp dword [edi + 0x48], 0
je 0x43a249
mov edx, dword [esi + 0x524]
mov dword [edi + 0x54], edx
mov eax, dword [esp + 0x2c]
cmp dword [eax], 0
mov dword [edi + 0x58], 0
jne 0x43a2dd
mov ecx, dword [edi + 0x5c]
cmp byte [ecx], 0
je 0x43a2dd
mov ebp, dword [esp + 0x28]
jmp 0x439730
mov edx, dword [ebp]
push edx
mov eax, esi
call fcn.00439660
add esp, 4
test eax, eax
jne 0x43a2df
cmp dword [edi + 0x50], eax
jne 0x43a2dd
cmp dword [edi + 0x58], 5
jbe 0x43a2dd
mov eax, dword [esi + 0x524]
mov ecx, dword [esp + 0x24]
push esi
call fcn.00439620
add esp, 4
test eax, eax
jne 0x43a2dd
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], 2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov dword [edi + 0x48], 0
cmp dword [ebp], 0
je 0x43a1df
mov dword [edi + 0x4c], 1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov dword [edi + 0x4c], 2
mov dword [ebp], ebx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov dword [edi + 0x48], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push 0x4f1c34
call fcn.0042dec0
add esp, 4
mov eax, 0x3f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, 0x1b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov ecx, dword [edi + 0x78]
push ecx
push 0x4f15f0
call fcn.0042dec0
add esp, 8
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
cmp dword [esi + 0x2c8], 0
je 0x43a25e
mov edx, dword [esp + 0x2c]
mov dword [edx], 1
jmp 0x43a275
cmp dword [edi + 0xc8], 0
je 0x43a275
or eax, 0xffffffff
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov eax, dword [edi]
cmp eax, 0xffffffff
mov ecx, dword [edi + 4]
jne 0x43a283
cmp ecx, eax
je 0x43a29a
push ecx
push eax
mov eax, esi
call fcn.004363c0
mov eax, dword [edi]
mov ecx, dword [edi + 4]
add esp, 8
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
cmp dword [edi + 0x10], 0
jne 0x43a2b2
cmp dword [edi + 0x14], 0
jne 0x43a2b2
mov edx, dword [esp + 0x2c]
mov dword [edx], 1
jmp 0x43a2bb
mov eax, dword [esp + 0x2c]
cmp dword [eax], 0
je 0x43a2c2
and dword [edi + 0xa8], 0xfffffffe
cmp dword [esi + 0x2d8], 0
je 0x43a2dd
mov ecx, dword [edi + 0x60]
push ebp
push ebx
push ecx
push 1
mov ecx, esi
call fcn.0042e550
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret