Function at 0x525f20
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 0x52670d
sub esp, 0x8c
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0xac]
cmp eax, edx
jl 0x526191
test eax, eax
je 0x526163
test edx, edx
je 0x526163
cmp edx, 1
je 0x5260e7
mov ebx, dword [esp + 0x98]
test ebx, ebx
je 0x525fa1
mov ebp, dword [esp + 0x90]
lea esi, [ebp + ebx*4 - 4]
mov edi, dword [esp + 0xa4]
mov ecx, eax
mov eax, dword [esp + 0x9c]
lea eax, [eax + edi*4 - 4]
cmp eax, esi
je 0x525fd4
test ebx, ebx
jmp 0x525fb1
mov ecx, eax
mov ebp, dword [esp + 0x90]
mov edi, dword [esp + 0xa4]
je 0x525fe1
lea eax, [ebp + ebx*4 - 4]
mov esi, dword [esp + 0xb0]
mov edi, dword [esp + 0xa8]
lea edi, [edi + esi*4 - 4]
cmp edi, eax
jne 0x525fda
mov edi, dword [esp + 0xa4]
xor ebx, ebx
xor ebp, ebp
jmp 0x525fe1
mov edi, dword [esp + 0xa4]
mov eax, dword [0x9e73cc]
cmp edx, eax
jl 0x525ffb
nop
mov esi, edx
xor edx, edx
mov dword [esp + 0x68], edx
mov edx, esi
jmp 0x526251
lea eax, [ecx + edx]
cmp ebx, eax
jge 0x526091
cmp eax, 1
jne 0x52604e
lea eax, [0x67e160]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00447740
mov ebp, dword [esp + 0xc]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xac]
mov edi, dword [esp + 0xa4]
mov ebx, 1
mov eax, 1
jmp 0x526091
mov dword [esp + 0x5c], eax
lea ebx, [0x67e160]
mov dword [esp], ebx
mov dword [esp + 4], eax
lea ebx, [edx + ecx + 4]
mov dword [esp + 0x38], ebx
mov dword [esp + 8], ebx
call fcn.00447740
mov ebp, dword [esp + 0xc]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xac]
mov edi, dword [esp + 0xa4]
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x78], ebp
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov esi, dword [esp + 0x9c]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edi
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x20], ecx
call fcn.005252c0
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x30]
jmp 0x526213
mov ecx, dword [esp + 0xa8]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x90]
mov dword [esp], edx
mov edx, dword [esp + 0x94]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x98]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x9c]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0
call fcn.00525160
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
add esp, 0x8c
ret
mov eax, dword [esp + 0x90]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], 0
mov eax, dword [esp + 0x98]
mov dword [esp + 0xbc], eax
add esp, 0x8c
ret
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x98]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x20], eax
call fcn.00525f20
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
add esp, 0x8c
ret
dec ecx
test ecx, ecx
jle 0x52621f
mov edx, dword [eax + ecx*4 - 4]
test edx, edx
je 0x526212
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
mov eax, dword [esp + 0x38]
mov dword [esp + 0xbc], eax
add esp, 0x8c
ret
sar edx, 1
mov edi, dword [esp + 0x68]
inc edi
mov dword [esp + 0x68], edi
mov edi, dword [esp + 0xa4]
cmp edx, eax
jg 0x52623f
mov eax, dword [esp + 0x68]
cmp eax, 0x20
sbb edi, edi
mov ecx, eax
shl edx, cl
and edi, edx
lea eax, [edi + edi*2]
mov edx, eax
shl eax, 1
mov ecx, edx
mov edx, dword [esp + 0xa0]
add edx, esi
cmp eax, edx
jg 0x52627c
mov eax, edx
mov dword [esp + 0x40], edi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x70], ecx
cmp ebx, eax
jge 0x5262f4
cmp eax, 1
jne 0x5262c3
lea eax, [0x67e160]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00447740
mov ebp, dword [esp + 0xc]
mov edi, dword [esp + 0x40]
mov ebx, 1
mov eax, 1
jmp 0x5262f4
mov dword [esp + 0x3c], eax
lea ecx, [0x67e160]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea ecx, [eax + 4]
mov dword [esp + 0x34], ecx
mov dword [esp + 8], ecx
call fcn.00447740
mov ebp, dword [esp + 0xc]
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x74], ebp
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0xa8]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edi
mov esi, dword [esp + 0xb0]
mov dword [esp + 0x20], esi
call fcn.00525840
mov eax, dword [esp + 0x40]
mov ecx, eax
shl eax, 1
mov edx, dword [esp + 0x4c]
mov ebx, edx
sub edx, eax
mov ebp, dword [esp + 0x34]
mov esi, ebp
sub ebp, eax
mov eax, ecx
shl ecx, 3
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, ecx
mov ecx, dword [esp + 0x74]
add ebp, ecx
test edx, edx
je 0x526391
mov dword [esp], ebp
shl edx, 2
mov dword [esp + 4], edx
call fcn.0045fc90
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x74]
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0xac]
cmp edx, eax
jg 0x5263ab
mov ebp, dword [esp + 0xa0]
cmp ebp, edx
je 0x5266c5
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.00527320
mov eax, dword [esp + 4]
mov dword [esp + 0x84], eax
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
nop
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x9c]
mov edi, ebp
jmp 0x5263e2
dec ebp
mov eax, dword [esp + 0x84]
test ebp, ebp
jle 0x5263ee
mov eax, dword [esi + ebp*4 - 4]
test eax, eax
je 0x5263da
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0xb0]
sub ecx, edi
mov dword [esp + 0x48], ecx
mov ebx, ecx
neg ecx
mov ebp, edi
shl edi, 2
sar ecx, 0x1f
and ecx, edi
mov edi, dword [esp + 0xa8]
add ecx, edi
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0xac]
sub ecx, ebp
mov dword [esp + 0x44], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebx
call fcn.00525f20
mov eax, dword [esp + 0x24]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x58], edx
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
mov ebp, dword [esp + 0x4c]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x34]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov edi, dword [esp + 0x40]
mov dword [esp + 0x18], edi
call fcn.00525e40
nop
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0xa8]
mov edx, eax
jmp 0x5264ae
dec eax
test eax, eax
jle 0x5264ba
mov ebx, dword [ecx + eax*4 - 4]
test ebx, ebx
je 0x5264ad
mov dword [esp + 0x64], eax
mov ebx, dword [esp + 0xa4]
mov ebp, dword [esp + 0xa0]
mov esi, dword [esp + 0x9c]
mov edi, dword [esp + 0x88]
jmp 0x526665
mov dword [esp + 0x80], edx
mov dword [esp + 0x60], ebx
mov dword [esp], edi
mov ebp, dword [esp + 0x54]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x58]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0xb0]
mov dword [esp + 0x20], esi
call fcn.00525f20
mov eax, dword [esp + 0x24]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x58], edx
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
mov ebp, dword [esp + 0x4c]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x34]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x18], edi
call fcn.00525e40
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x20], edx
call fcn.00525f20
mov eax, dword [esp + 0x24]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x58], edx
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
mov ebp, dword [esp + 0x4c]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x34]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov edi, dword [esp + 0x6c]
mov esi, dword [esp + 0x40]
add edi, esi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x18], edi
call fcn.00525e40
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
mov ebx, dword [esp + 0x9c]
mov ebp, dword [esp + 0x88]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0xa8]
mov ebx, dword [esp + 0xa4]
mov ebp, edx
mov esi, dword [esp + 0x9c]
mov edx, dword [esp + 0x6c]
mov edi, dword [esp + 0x88]
cmp ebp, edx
jle 0x526696
mov dword [esp + 0x6c], edx
sub ebx, edx
mov dword [esp + 0x50], ebx
sub ebp, edx
neg ebx
shl edx, 2
sar ebx, 0x1f
and ebx, edx
lea edx, [esi + ebx]
mov ebx, dword [esp + 0x40]
cmp ebx, ebp
jge 0x52668e
mov ebp, ebx
jmp 0x526694
mov ebx, ebp
mov ebp, dword [esp + 0x40]
jmp 0x5266f8
lea eax, [0xa1dbe0]
mov dword [esp], eax
lea eax, [0x6b4d00]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 8], eax
call fcn.00466bc0
mov ecx, dword [esp + 0x74]
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x34]
jmp 0x5266c8
dec ebx
test ebx, ebx
jle 0x5266d4
mov eax, dword [ecx + ebx*4 - 4]
test eax, eax
je 0x5266c7
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], esi
add esp, 0x8c
ret
dec ebx
mov esi, dword [esp + 0x9c]
test ebx, ebx
jle 0x5264df
mov esi, dword [edx + ebx*4 - 4]
test esi, esi
je 0x5266f0
jmp 0x5264df
call fcn.0045e260
jmp fcn.00525f20