Function at 0x5d0810
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x60a190
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x667050]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [ebp + 0x440]
mov eax, dword [ecx]
mov edx, dword [eax + 0xcc]
push 1
call edx
mov ecx, dword [ebp + 0x43c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xcc]
push 0
call edx
mov ecx, dword [0x610ef4]
mov edx, dword [0x610ef8]
lea eax, [esp + 0x30]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x610efc]
mov dword [eax + 4], edx
mov edx, dword [0x610f00]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0x440]
mov dword [esp + 0x44], 0
mov dword [eax + 0xc], edx
call fcn.005d8750
cmp dword [esp + 0x30], 0
jne 0x5d0925
mov esi, dword [ebp + 0x440]
cmp byte [esi + 0x419], 0
je 0x5d08e2
cmp byte [esi + 0x418], 0
jne 0x5d08db
lea ecx, [esi + 0x408]
mov eax, 0x611104
call fcn.004634e0
test eax, eax
jne 0x5d08db
call fcn.005d8430
mov byte [esi + 0x419], 0
mov ecx, dword [0x610ef4]
mov edx, dword [0x610ef8]
lea eax, [esp + 0x30]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x610efc]
mov dword [eax + 4], edx
mov edx, dword [0x610f00]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0x440]
mov dword [eax + 0xc], edx
call fcn.005d8750
cmp dword [esp + 0x30], 0
je 0x5d0ad4
lea eax, [esp + 0x14]
push eax
mov edi, str.http:__
call fcn.004ea930
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov eax, dword [eax]
cmp eax, ecx
je 0x5d0942
mov ecx, dword [eax]
mov eax, dword [esp + 0x30]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x58]
call eax
or esi, 0xffffffff
lea edi, [esp + 0x14]
mov dword [esp + 0x24], esi
call fcn.004eaa90
cmp dword [ebx + 0x18], 8
jb 0x5d096a
mov edi, dword [ebx + 4]
jmp 0x5d096d
lea edi, [ebx + 4]
lea ecx, [esp + 0x14]
push ecx
call fcn.004ea930
mov dword [esp + 0x24], 1
mov eax, dword [eax]
test eax, eax
je 0x5d0989
mov ecx, dword [eax]
jmp 0x5d098b
xor ecx, ecx
mov eax, dword [esp + 0x30]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x58]
call eax
lea edi, [esp + 0x14]
mov dword [esp + 0x24], esi
call fcn.004eaa90
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x38]
push 0
push eax
call edx
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x40]
push 0
push eax
call edx
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push esi
push eax
call edx
lea eax, [esp + 0x14]
push eax
mov edi, str.High
call fcn.004ea930
mov dword [esp + 0x24], 2
mov eax, dword [eax]
test eax, eax
je 0x5d09ef
mov eax, dword [eax]
jmp 0x5d09f1
xor eax, eax
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0xe4]
push ecx
call eax
lea edi, [esp + 0x14]
mov dword [esp + 0x24], esi
call fcn.004eaa90
lea ecx, [esp + 0x14]
push ecx
mov edi, str.exactFit
call fcn.004ea930
mov dword [esp + 0x24], 3
mov eax, dword [eax]
test eax, eax
je 0x5d0a2f
mov eax, dword [eax]
jmp 0x5d0a31
xor eax, eax
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0xc4]
push ecx
call eax
lea edi, [esp + 0x14]
mov dword [esp + 0x24], esi
call fcn.004eaa90
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xb4]
push 0
push eax
call edx
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
cmp dword [esp + 0x18], 4
jne 0x5d0ac8
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x2c]
mov dword [esp + 0x2c], 0
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
cmp dword [esp + 0x2c], 0
mov ecx, dword [ebp + 0x440]
mov edx, dword [ecx]
mov eax, dword [edx + 0xcc]
je 0x5d0aa9
push 1
jmp 0x5d0aab
push 0
call eax
mov ecx, dword [ebp + 0x440]
call fcn.005bcc80
mov ecx, dword [ebp + 0x440]
mov edx, dword [ecx]
mov eax, dword [edx + 0x114]
call eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, ebp
call fcn.005d0b90
mov byte [ebp + 0x448], al
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8