Function at 0x100521a0
Capabilities:
Check http status code

Disassembly:
push 0xffffffffffffffff
push 0x1012b440
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101636d0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov byte [esp + 0x1c], bl
mov dword [esp + 0x18], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x20], vtable.t_mutex::t_locker.0
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x54], 1
call fcn.100657b0
test al, al
je 0x1005222c
mov eax, dword [edi + 0x224]
mov dword [esp + 0x24], edi
cmp eax, ebx
jne 0x10052268
mov byte [esp + 0x50], bl
call fcn.100658f0
lea ecx, [esp + 0x18]
call fcn.10061940
xor al, al
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
lea ecx, [esp + 0x18]
call fcn.100619a0
push str.m_ProcOpenFilemapmutex
push 0x1013c7e4
mov edx, eax
call fcn.10062cd0
add esp, 8
lea ecx, [esp + 0x18]
call fcn.10061940
xor al, al
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov esi, dword [eax + 0x24]
cmp esi, ebx
jne 0x1005229b
lea ecx, [esp + 0x20]
mov byte [esp + 0x50], bl
call fcn.10065480
lea ecx, [esp + 0x18]
call fcn.10061940
xor al, al
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
xor ebp, ebp
cmp esi, ebx
mov byte [esp + 0x17], bl
jle 0x100523ab
lea ecx, [eax + 0x41]
or edi, 0xffffffff
cmp ebp, 0xc8
jge 0x1005239b
mov esi, dword [ecx - 0xd]
cmp esi, ebx
je 0x100522ee
cmp dword [ecx - 5], 0x64
jne 0x100522de
cmp byte [ecx - 9], 1
jne 0x100522de
cmp byte [ecx], 1
jne 0x100522de
cmp byte [ecx + 1], 1
jne 0x100522de
mov byte [esp + 0x17], 1
cmp esi, ebx
je 0x100522ee
cmp byte [ecx - 9], bl
jne 0x100522ee
mov byte [esp + 0x17], 1
jmp 0x100522f8
cmp byte [esp + 0x17], bl
je 0x1005238e
mov edx, dword [eax + 0x24]
lea esi, [edx - 1]
cmp ebp, esi
jne 0x1005232c
xor edx, edx
mov dword [ecx - 0xd], edx
mov byte [esp + 0x2c], bl
mov edx, dword [esp + 0x2c]
mov dword [ecx - 9], edx
mov esi, edi
mov byte [esp + 0x34], bl
mov byte [esp + 0x35], bl
mov byte [esp + 0x36], bl
mov edx, dword [esp + 0x34]
mov dword [ecx - 5], esi
mov dword [ecx - 1], edx
jmp 0x1005237f
shl edx, 4
mov esi, dword [edx + eax + 0x24]
mov dword [ecx - 0xd], esi
mov esi, dword [edx + eax + 0x28]
lea edx, [edx + eax + 0x24]
mov dword [ecx - 9], esi
mov esi, dword [edx + 8]
mov dword [ecx - 5], esi
mov edx, dword [edx + 0xc]
mov dword [ecx - 1], edx
mov edx, dword [eax + 0x24]
xor esi, esi
shl edx, 4
lea edx, [edx + eax + 0x24]
mov dword [edx], esi
mov byte [esp + 0x3c], bl
mov esi, dword [esp + 0x3c]
mov dword [edx + 4], esi
mov byte [esp + 0x44], bl
mov byte [esp + 0x45], bl
mov byte [esp + 0x46], bl
mov esi, dword [esp + 0x44]
mov dword [edx + 8], edi
mov dword [edx + 0xc], esi
or edi, 0xffffffff
add dword [eax + 0x24], edi
mov edx, dword [eax + 0x24]
cmp edx, ebx
jge 0x10052392
mov dword [eax + 0x24], ebx
jmp 0x10052392
inc ebp
add ecx, 0x10
cmp ebp, dword [eax + 0x24]
jl 0x100522af
cmp byte [esp + 0x17], bl
je 0x100523ab
push 0x13
call fcn.10069fb0
add esp, 4
lea ecx, [esp + 0x20]
mov byte [esp + 0x50], bl
call fcn.10065480
lea ecx, [esp + 0x18]
call fcn.10061940
mov al, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret