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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x527149
sub esp, 0x8c
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov ecx, dword [esp + 0x9c]
mov dword [esp + 4], ecx
call fcn.00525640
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
test eax, eax
jne 0x527116
mov dword [esp + 0x20], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x9c]
cmp eax, 5
jge 0x5270d0
xor ebp, ebp
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x527006
mov ebx, dword [esp + 0x98]
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], eax
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
mov edx, dword [esp + 0x94]
mov dword [esp + 4], edx
call fcn.004848b0
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x90]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x98]
mov dword [esp + 0x70], edx
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0x74], ebx
lea ebp, [0x5a5c80]
mov dword [esp], ebp
lea esi, [esp + 0x78]
mov dword [esp + 4], esi
call fcn.0040bf70
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x48], ecx
lea edx, [0x5a5c80]
mov dword [esp], edx
lea ebx, [esp + 0x70]
mov dword [esp + 4], ebx
call fcn.0040bf70
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x6eefb0]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
call fcn.00458b50
mov eax, dword [esp + 0x40]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x98]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x64], edx
lea edx, [0x5a5c80]
mov dword [esp], edx
lea ebx, [esp + 0x68]
mov dword [esp + 4], ebx
call fcn.0040bf70
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x48], ecx
lea edx, [0x5a5c80]
mov dword [esp], edx
lea ebx, [esp + 0x60]
mov dword [esp + 4], ebx
call fcn.0040bf70
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x6eefd0]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
call fcn.00458b50
lea eax, [0x7015a0]
mov dword [esp], eax
call fcn.00459900
lea eax, [0x7015a0]
mov dword [esp + 8], eax
mov dword [esp], 4
lea eax, [0x5ee028]
mov dword [esp + 4], eax
call fcn.00425f10
test eax, eax
jne 0x526ff9
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x54], ecx
lea edx, [0x6eef90]
mov dword [esp], edx
lea ebx, [0x5a5c80]
mov dword [esp + 4], ebx
lea ebp, [esp + 0x50]
mov dword [esp + 8], ebp
call fcn.004588e0
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test al, al
je 0x526fe8
lea eax, [0x59a020]
cmp ecx, eax
jne 0x527131
mov ecx, dword [edx]
mov ebx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x4c], ecx
mov ebp, ecx
xor esi, esi
jmp 0x526e2a
add ecx, 8
inc esi
lea eax, [0x59a020]
mov ebp, dword [esp + 0x4c]
cmp esi, ebx
jge 0x526e9d
mov edi, dword [ecx]
mov eax, dword [ecx + 4]
mov ebp, dword [esp + 0x2c]
cmp eax, ebp
jne 0x526e1c
mov dword [esp + 0x34], esi
mov dword [esp + 0x44], ecx
mov dword [esp], edi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
call fcn.0044bd60
movzx eax, byte [esp + 0x10]
test al, al
jne 0x526e7a
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x34]
jmp 0x526e1c
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
nop
call fcn.00426700
add esp, 0x8c
ret
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x5c], ecx
lea ecx, [ebx + 1]
cmp ecx, edx
jg 0x526fac
lea esi, [ebp + ebx*8 + 4]
mov edi, dword [esp + 0x2c]
mov dword [esi], edi
mov esi, dword [0x7016d0]
lea ebx, [ebp + ebx*8]
test esi, esi
jne 0x526f7f
mov esi, dword [esp + 0x40]
mov dword [ebx], esi
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
lea eax, [0x5a5c80]
mov dword [esp], eax
lea eax, [esp + 0x58]
mov dword [esp + 4], eax
call fcn.0040bf70
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x48], ecx
lea edx, [0x59a020]
mov dword [esp], edx
lea edx, [esp + 0x80]
mov dword [esp + 4], edx
call fcn.0040c000
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x6eef90]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
call fcn.00458b50
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
nop
call fcn.00426700
add esp, 0x8c
ret
mov dword [esp + 0x44], ebp
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], edx
mov dword [esp], ebx
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
call fcn.0040ef10
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x44]
jmp 0x526eda
lea eax, [0x5a5c80]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.00438c30
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ecx, [eax + 1]
lea eax, [0x59a020]
mov ebx, dword [esp + 0x24]
jmp 0x526eb8
lea eax, [0x59a020]
xor ebx, ebx
xor edx, edx
xor ecx, ecx
jmp 0x526e0a
nop
call fcn.00426700
add esp, 0x8c
ret
lea eax, [0x5a7c00]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea ecx, [0x5dbfff]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 7
call fcn.004097a0
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
test eax, eax
je 0x527048
mov ebx, dword [esp + 0x98]
mov eax, dword [esp + 0x9c]
jmp 0x526c1b
lea eax, [0x5a7c00]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
lea ecx, [0x5dbfff]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 7
call fcn.0040a7c0
mov eax, dword [esp + 0x10]
mov dword [eax + 4], 5
mov ecx, dword [0x7016d0]
test ecx, ecx
jne 0x5270bc
lea ecx, [0x5dbbcb]
mov dword [eax], ecx
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
call fcn.00524d80
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
jmp 0x526c1b
mov dword [esp], eax
lea eax, [0x5dbbcb]
mov dword [esp + 4], eax
call fcn.0040ef10
jmp 0x52708d
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov dword [esp + 4], 5
lea ecx, [0x5dbbb7]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 5
call fcn.0044bd60
movzx ebp, byte [esp + 0x10]
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
jmp 0x526c0a
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ebp
nop
call fcn.00426700
add esp, 0x8c
ret
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x5a5680]
mov dword [esp + 8], eax
call fcn.0040bbd0
ud2
call fcn.0044a520
jmp fcn.00526b80