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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x30]
cmp eax, dword [ecx + 8]
jbe 0x5269f9
sub esp, 0xb0
xor ebx, ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov ebx, 0x6bea40
mov dword [esp], ebx
call fcn.004ae590
mov eax, dword [esp + 0xb4]
mov dword [esp], 0x5be360
mov ebx, dword [0x6bea58]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.00409290
mov eax, dword [esp + 0xc]
movzx ebx, byte [esp + 0x10]
mov byte [esp + 0x22], bl
mov ebp, dword [eax]
mov dword [esp + 0x80], ebp
mov ebp, dword [eax + 4]
mov dword [esp + 0x84], ebp
mov ebp, dword [eax + 8]
mov dword [esp + 0x88], ebp
mov ebx, 0x6bea40
mov dword [esp], ebx
call fcn.004ae600
cmp byte [esp + 0x22], 0
je 0x526564
mov ebx, dword [esp + 0x80]
mov dword [esp + 0xb8], ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0xbc], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0xc0], ebx
add esp, 0xb0
ret
mov ebx, dword [esp + 0xb4]
mov dword [esp], ebx
call fcn.00526090
mov eax, dword [esp + 4]
xor ebp, ebp
cmp eax, ebp
jne 0x52659b
xor ebx, ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
add esp, 0xb0
ret
xor ebx, ebx
mov ecx, dword [eax + 8]
mov edx, eax
add edx, ecx
movzx ecx, word [eax + 4]
movzx ebp, word [eax + 4]
movzx ebx, cx
mov ecx, ebx
movzx ebx, bp
cmp ebx, 0x10000
ja 0x5269f2
cmp ecx, ebx
ja 0x5269f2
cmp edx, 0
je 0x5269eb
mov dword [esp + 0x74], edx
mov dword [esp + 0xa4], edx
mov dword [esp + 0x78], ecx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0xac], ebx
mov byte [esp + 0x23], 1
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0xac]
mov dword [esp + 0xa0], ebx
xor ecx, ecx
mov dword [esp + 0x9c], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x98], eax
mov ebp, dword [esp + 0x24]
cmp ecx, ebp
jge 0x5266ad
mov ebx, eax
mov dword [esp + 0x6c], eax
cmp eax, 0
je 0x5269e4
mov eax, dword [eax]
mov edi, dword [ebx + 4]
mov esi, dword [ebx + 8]
mov ebp, dword [ebx + 0xc]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x54], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x58], ebp
mov dword [esp + 0x38], ebp
mov ebx, dword [esp + 0xb4]
mov dword [esp], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 4], eax
call fcn.00525fc0
mov eax, dword [esp + 8]
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], eax
movzx ebp, byte [eax]
mov ebx, ebp
and ebx, 1
cmp bl, 0
jne 0x5269da
xor eax, eax
cmp al, 0
jne 0x5269c9
mov byte [esp + 0x23], 0
cmp byte [esp + 0x23], 0
je 0x5267f0
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0x80], ebx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 0x84], ebx
mov ebx, dword [esp + 0xac]
mov dword [esp + 0x88], ebx
mov ebx, 0x6bea40
mov dword [esp], ebx
call fcn.004ae710
mov eax, dword [0x6bea58]
xor ebx, ebx
cmp eax, ebx
jne 0x52673e
mov dword [esp], 0x5be360
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.00406050
mov ebx, dword [esp + 0x14]
cmp byte [0x6cfdf8], 0
jne 0x5267da
mov dword [0x6bea58], ebx
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0x70], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x8c], ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x90], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x94], ebx
mov dword [esp], 0x5be360
mov ebx, dword [0x6bea58]
mov dword [esp + 4], ebx
lea ebx, [esp + 0x70]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x8c]
mov dword [esp + 0xc], ebx
call fcn.00406c60
mov ebx, 0x6bea40
mov dword [esp], ebx
call fcn.004ae7e0
mov ebx, dword [esp + 0x80]
mov dword [esp + 0xb8], ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0xbc], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0xc0], ebx
add esp, 0xb0
ret
mov ebp, 0x6bea58
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.0040e410
jmp 0x52673e
mov eax, dword [esp + 0xa8]
mov dword [esp], 0x5d3e80
mov dword [esp + 4], 0
mov dword [esp + 8], 0
cdq
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
call fcn.0043b310
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x80], ebx
mov esi, dword [esp + 0x18]
mov dword [esp + 0x84], esi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x88], edi
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0xac]
mov dword [esp + 0xa0], ebx
xor ecx, ecx
mov dword [esp + 0x9c], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x98], eax
mov ebp, dword [esp + 0x24]
cmp ecx, ebp
jge 0x526951
mov ebx, eax
mov dword [esp + 0x6c], eax
cmp eax, 0
je 0x5269c2
mov eax, dword [eax]
mov edi, dword [ebx + 4]
mov esi, dword [ebx + 8]
mov ebp, dword [ebx + 0xc]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x54], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x58], ebp
mov dword [esp + 0x48], ebp
mov ebx, dword [esp + 0xb4]
mov dword [esp], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 4], eax
call fcn.00525fc0
mov edi, dword [esp + 0x88]
mov esi, dword [esp + 0x84]
mov eax, dword [esp + 8]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], eax
movzx ebp, byte [eax]
mov ebx, ebp
and ebx, 1
cmp bl, 0
jne 0x5269b8
xor eax, eax
cmp al, 0
je 0x526939
mov ecx, dword [esp + 0x80]
mov eax, esi
mov ebx, esi
inc ebx
cmp ebx, edi
ja 0x526973
mov esi, ebx
mov dword [esp + 0x84], ebx
mov ebx, ecx
mov ebp, eax
imul ebp, ebp, 0x10
add ebx, ebp
mov ebp, dword [esp + 0x3c]
mov dword [ebx], ebp
mov ebp, dword [esp + 0x40]
mov dword [ebx + 4], ebp
mov ebp, dword [esp + 0x44]
mov dword [ebx + 8], ebp
mov ebp, dword [esp + 0x48]
mov dword [ebx + 0xc], ebp
mov eax, dword [esp + 0x6c]
add eax, 0x10
mov ecx, dword [esp + 0x28]
inc ecx
mov ebp, dword [esp + 0x24]
cmp ecx, ebp
jl 0x526879
cmp esi, edi
ja 0x52696c
cmp esi, esi
ja 0x52696c
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
jmp 0x5266e2
call fcn.00427930
ud2
mov dword [esp], 0x5d3e80
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebx
call fcn.0043b4b0
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov eax, esi
inc esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], edi
mov dword [esp + 0x80], ecx
jmp 0x526915
mov eax, 1
jmp 0x5268f7
mov dword [eax], eax
jmp 0x526888
mov eax, dword [esp + 0x6c]
add eax, 0x10
mov ecx, dword [esp + 0x28]
inc ecx
jmp 0x526627
mov eax, 1
jmp 0x52669f
mov dword [eax], eax
jmp 0x52663e
mov dword [edx], eax
jmp 0x5265d1
call fcn.00427930
ud2
call fcn.0044fe90
jmp fcn.00526490