Function at 0x526480
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x6816e0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x526a91
sub esp, 0x94
mov byte [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov byte [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov byte [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov byte [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov byte [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov byte [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
lea eax, [0x54af80]
mov dword [esp], eax
call fcn.0040ce80
mov eax, dword [esp + 4]
mov dword [esp + 0x90], eax
mov dword [eax + 4], 0
lea ecx, [0x54af80]
mov dword [esp], ecx
call fcn.0040ce80
mov eax, dword [esp + 4]
mov dword [esp + 0x8c], eax
mov dword [eax + 4], 0
lea ecx, [0x54af80]
mov dword [esp], ecx
call fcn.0040ce80
mov eax, dword [esp + 4]
mov dword [esp + 0x88], eax
mov dword [eax + 4], 0
lea ecx, [esp + 0x78]
mov dword [esp], ecx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.004b34e0
mov eax, dword [esp + 0x98]
mov ecx, dword [eax]
lea edx, [esp + 0x78]
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004b3840
lea eax, [esp + 0x68]
mov dword [esp], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.004b34e0
mov eax, dword [esp + 0x98]
mov ecx, dword [eax]
lea edx, [esp + 0x68]
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004b3840
lea eax, [esp + 0x58]
mov dword [esp], eax
lea eax, [esp + 0x68]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.004b34e0
mov eax, dword [esp + 0x98]
mov ecx, dword [eax]
lea edx, [esp + 0x58]
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004b3840
lea eax, [esp + 0x48]
mov dword [esp], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 4], eax
lea eax, [esp + 0x68]
mov dword [esp + 8], eax
call fcn.004b3040
lea eax, [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.004b34e0
lea eax, [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], eax
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
call fcn.004b3290
lea eax, [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], eax
lea eax, [esp + 0x58]
mov dword [esp + 8], eax
call fcn.004b3290
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
nop
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 1
call fcn.004bb480
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x4c], eax
test ecx, ecx
jne 0x52670b
xor eax, eax
jmp 0x526720
movzx eax, byte [esp + 0x48]
test al, al
je 0x52671b
mov eax, 0xffffffff
jmp 0x526720
mov eax, 1
test eax, eax
jge 0x526743
mov eax, dword [esp + 0x98]
mov ecx, dword [eax]
lea edx, [esp + 0x48]
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004b3040
jmp 0x526760
mov eax, dword [esp + 0x98]
mov ecx, dword [eax]
lea edx, [esp + 0x48]
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004b3840
mov eax, dword [0x6427f4]
lea ecx, [esp + 0x38]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
call fcn.004b34e0
mov eax, dword [esp + 0x98]
mov ecx, dword [eax]
lea edx, [esp + 0x38]
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004b3840
lea eax, [esp + 0x28]
mov dword [esp], eax
lea eax, [esp + 0x38]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.004b34e0
mov eax, dword [esp + 0x98]
mov ecx, dword [eax]
lea edx, [esp + 0x28]
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004b3840
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
nop
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 1
call fcn.004bb480
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x90]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
mov eax, dword [0x681788]
test eax, eax
je 0x526841
call fcn.00469390
mov dword [edi], edx
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov dword [ebx + 4], edx
movzx eax, byte [esp + 0x48]
mov byte [ebx], al
mov dword [esp], ebx
lea eax, [esp + 0x28]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.004b3290
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x526871
xor ecx, ecx
jmp 0x526884
movzx ecx, byte [eax]
test cl, cl
je 0x52687f
mov ecx, 0xffffffff
jmp 0x526884
mov ecx, 1
test ecx, ecx
jge 0x5268a3
mov ecx, dword [esp + 0x98]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004b3040
jmp 0x5268bc
mov ecx, dword [esp + 0x98]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004b3840
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
lea ecx, [esp + 0x48]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 8], ecx
call fcn.004b3290
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
lea ecx, [esp + 0x38]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004b34e0
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
nop
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 3
call fcn.004bb480
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov dword [esp + 4], eax
lea ecx, [esp + 0x58]
mov dword [esp + 8], ecx
call fcn.004b3290
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x52696f
xor ecx, ecx
jmp 0x526982
movzx ecx, byte [eax]
test cl, cl
je 0x52697d
mov ecx, 0xffffffff
jmp 0x526982
mov ecx, 1
test ecx, ecx
jge 0x5269a1
mov ecx, dword [esp + 0x98]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004b3040
jmp 0x5269ba
mov ecx, dword [esp + 0x98]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004b3840
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 8], ecx
call fcn.004b34e0
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
nop
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 1
call fcn.004bb480
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x88]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
mov eax, dword [0x681788]
test eax, eax
je 0x526a44
call fcn.00469390
mov dword [edi], edx
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov dword [ebx + 4], edx
mov eax, dword [esp + 0x98]
mov eax, dword [eax]
mov dword [esp], ebx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.004b3840
mov eax, dword [esp + 0x90]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0xb0], eax
add esp, 0x94
ret
call fcn.00467f80
jmp fcn.00526480