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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x52730d
sub esp, 0x90
mov edx, dword [esp + 0xa4]
test edx, edx
je 0x526f26
cmp edx, 1
jne 0x526d28
mov ecx, dword [esp + 0xa0]
mov eax, dword [ecx]
mov ecx, dword [esp + 0x9c]
cmp ecx, 2
jl 0x526ce2
mov edx, dword [esp + 0x94]
jmp 0x526d13
mov dword [esp + 0x70], eax
lea eax, [0x67e160]
mov dword [esp], eax
mov dword [esp + 4], 2
mov dword [esp + 8], 6
call fcn.00447740
mov eax, dword [esp + 0xc]
mov edx, eax
mov ecx, 6
mov eax, dword [esp + 0x70]
mov ebx, edx
mul eax
nop
nop
mov dword [ebx + 4], edx
mov dword [ebx], eax
mov eax, 2
jmp 0x5272e5
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x526d5c
mov ebx, dword [esp + 0x94]
lea ebp, [ebx + eax*4 - 4]
mov esi, dword [esp + 0xa8]
mov edi, dword [esp + 0xa0]
mov ecx, edi
lea edi, [edi + esi*4 - 4]
cmp edi, ebp
jne 0x526d71
xor eax, eax
xor ebx, ebx
jmp 0x526d71
mov ecx, dword [esp + 0xa0]
mov esi, dword [esp + 0xa8]
mov ebx, dword [esp + 0x94]
cmp dword [0x9e73c4], edx
jg 0x526e57
mov ebp, dword [0x9e73c8]
cmp edx, ebp
jl 0x526d97
nop
mov edi, edx
xor edx, edx
mov dword [esp + 0x6c], edx
mov edx, edi
jmp 0x526fc0
mov ecx, edx
shl edx, 1
cmp eax, edx
jge 0x526e1b
cmp edx, 1
jne 0x526de0
lea eax, [0x67e160]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00447740
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0xa4]
mov esi, dword [esp + 0xa8]
mov eax, 1
mov edx, 1
jmp 0x526e1b
mov dword [esp + 0x64], edx
lea eax, [0x67e160]
mov dword [esp], eax
mov dword [esp + 4], edx
lea eax, [edx + 4]
mov dword [esp + 0x3c], eax
mov dword [esp + 8], eax
call fcn.00447740
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0xa4]
mov esi, dword [esp + 0xa8]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x7c], ebx
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov ebp, dword [esp + 0xa0]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
call fcn.00526720
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x30]
jmp 0x526f82
mov ecx, edx
shl edx, 1
cmp eax, edx
jge 0x526edb
cmp edx, 1
jne 0x526ea0
lea eax, [0x67e160]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00447740
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0xa4]
mov esi, dword [esp + 0xa8]
mov eax, 1
mov edx, 1
jmp 0x526edb
mov dword [esp + 0x68], edx
lea eax, [0x67e160]
mov dword [esp], eax
mov dword [esp + 4], edx
lea eax, [edx + 4]
mov dword [esp + 0x40], eax
mov dword [esp + 8], eax
call fcn.00447740
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0xa4]
mov esi, dword [esp + 0xa8]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x80], ebx
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov ebp, dword [esp + 0xa0]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], esi
call fcn.005252c0
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x34]
jmp 0x526f55
mov eax, dword [esp + 0x94]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], 0
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xb4], eax
add esp, 0x90
ret
dec ecx
test ecx, ecx
jle 0x526f61
mov edx, dword [eax + ecx*4 - 4]
test edx, edx
je 0x526f54
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
mov eax, dword [esp + 0x40]
mov dword [esp + 0xb4], eax
add esp, 0x90
ret
dec ecx
test ecx, ecx
jle 0x526f8e
mov edx, dword [eax + ecx*4 - 4]
test edx, edx
je 0x526f81
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xb4], eax
add esp, 0x90
ret
sar edx, 1
mov esi, dword [esp + 0x6c]
inc esi
mov dword [esp + 0x6c], esi
mov esi, dword [esp + 0xa8]
cmp edx, ebp
jg 0x526fae
mov ebp, dword [esp + 0x6c]
cmp ebp, 0x20
sbb esi, esi
mov ecx, ebp
shl edx, cl
and edx, esi
lea ebp, [edx + edx*2]
shl ebp, 1
mov esi, edi
shl edi, 1
cmp edi, ebp
jl 0x526fe2
mov ebp, edi
mov dword [esp + 0x48], edx
mov dword [esp + 0x50], edi
cmp eax, ebp
jge 0x527056
cmp ebp, 1
jne 0x527025
lea eax, [0x67e160]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00447740
mov ebx, dword [esp + 0xc]
mov edx, dword [esp + 0x48]
mov eax, 1
mov ebp, 1
jmp 0x527056
mov dword [esp + 0x44], ebp
lea eax, [0x67e160]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [ebp + 4]
mov dword [esp + 0x38], eax
mov dword [esp + 8], eax
call fcn.00447740
mov ebx, dword [esp + 0xc]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x4c], eax
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov ebp, dword [esp + 0xa8]
mov dword [esp + 0x14], ebp
call fcn.00526900
mov eax, dword [esp + 0x48]
mov ecx, eax
shl eax, 1
mov dword [esp + 0x74], eax
mov edx, dword [esp + 0x50]
mov ebx, edx
sub edx, eax
mov ebp, dword [esp + 0x4c]
mov esi, ebp
sub ebp, eax
mov edi, ecx
shl ecx, 3
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ecx, ebp
mov ebp, dword [esp + 0x78]
add ecx, ebp
test edx, edx
je 0x5270e1
mov dword [esp], ecx
shl edx, 2
mov dword [esp + 4], edx
call fcn.0045fc90
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0xa4]
cmp ecx, edi
jle 0x5272b9
mov dword [esp], eax
call fcn.00527320
mov eax, dword [esp + 4]
mov dword [esp + 0x88], eax
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
nop
mov ebp, dword [esp + 0xa0]
mov esi, dword [esp + 0x48]
mov edi, esi
jmp 0x527123
dec esi
mov eax, dword [esp + 0x88]
test esi, esi
jle 0x52712f
mov eax, dword [ebp + esi*4 - 4]
test eax, eax
je 0x52711b
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 eax, dword [esp + 0xa8]
mov dword [esp + 0x14], eax
sub eax, edi
mov dword [esp + 0x58], eax
mov ecx, eax
neg eax
mov edx, edi
shl edi, 2
sar eax, 0x1f
and edi, eax
lea eax, [ebp + edi]
mov dword [esp + 0x84], eax
mov dword [esp + 0x18], eax
mov ebx, dword [esp + 0xa4]
sub ebx, edx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ecx
call fcn.00525f20
mov eax, dword [esp + 0x24]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x60], edx
mov ebx, dword [esp + 0x78]
mov dword [esp], ebx
mov ebp, dword [esp + 0x50]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x4c]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov edi, dword [esp + 0x48]
mov dword [esp + 0x18], edi
call fcn.00525e40
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x60]
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x48]
mov dword [esp + 0x18], edi
call fcn.00525e40
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x14], eax
call fcn.00526c90
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x78]
mov dword [esp], ebx
mov ebp, dword [esp + 0x50]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x4c]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x74]
mov dword [esp + 0x18], eax
call fcn.00525e40
lea eax, [0xa1dbe0]
mov dword [esp], eax
lea eax, [0x6b4d00]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 8], eax
call fcn.00466bc0
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x4c]
jmp 0x5272bc
dec ebx
test ebx, ebx
jle 0x5272c8
mov eax, dword [ebp + ebx*4 - 4]
test eax, eax
je 0x5272bb
mov dword [esp + 0xac], ebp
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], esi
add esp, 0x90
ret
dec eax
test eax, eax
jle 0x5272f1
mov edx, dword [ebx + eax*4 - 4]
test edx, edx
je 0x5272e4
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
add esp, 0x90
ret
call fcn.0045e260
jmp fcn.00526c90