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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x7c
mov ebx, ecx
mov ecx, dword [esp + 0x98]
mov esi, edx
mov edx, dword [esp + 0x94]
mov edi, dword [esp + 0x90]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], esi
cmp ecx, 0x21
jb 0x5267b1
mov ebx, ecx
mov ebp, edi
shr ebx, 1
sub ebp, ebx
jae 0x526b89
mov ebp, edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 4
mov dword [esp + 0x1c], 0
add ebp, ecx
jb 0x526b87
test ebp, ebp
mov ebx, 0
mov dword [esp], 0
jne 0x527082
mov ebp, dword [esp + 0x94]
mov dword [esp + 0x1c], ebx
jmp 0x526975
test ecx, ecx
je 0x526b87
mov esi, dword [edx]
lea eax, [edi*4]
test edi, edi
mov dword [esp + 4], 0
mov dword [esp + 8], 4
mov dword [esp + 0xc], 0
mov dword [esp + 0x24], eax
jne 0x527101
xor edi, edi
mov ebp, 4
lea eax, [ebp + edi*4]
push dword [esp + 0x24]
push dword [esp + 0x2c]
push eax
call fcn.005c9580
add esp, 0xc
mov eax, edi
add eax, dword [esp + 0x90]
jb 0x526b87
mov ecx, dword [esp + 0x98]
mov dword [esp + 0xc], eax
je 0x526886
mov ecx, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp], eax
lea ecx, [ecx + edi*4]
xor edi, edi
nop dword [eax]
mov eax, esi
mul dword [ebp + ebx]
add eax, edi
mov edi, edx
adc edi, 0
mov dword [ebp + ebx], eax
add ebx, 4
cmp ecx, ebx
jne 0x526830
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x98]
mov eax, dword [esp]
test edi, edi
je 0x526886
cmp eax, dword [esp + 4]
jne 0x526877
lea ecx, [esp + 4]
call fcn.0051d070
mov eax, dword [esp]
mov ecx, dword [esp + 0x98]
mov ebp, dword [esp + 8]
mov dword [ebp + eax*4], edi
inc eax
je 0x526b87
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0x90]
mov eax, dword [esp + 0xc]
movsd xmm0, qword [esp + 4]
mov ebp, edi
mov dword [esp + 0x1c], eax
movsd qword [esp + 0x14], xmm0
add ebp, ecx
jb 0x526b87
mov esi, dword [esp + 0x1c]
mov eax, ebp
sub ebp, esi
jbe 0x52692a
mov eax, dword [esp + 0x14]
sub eax, esi
cmp eax, ebp
jb 0x52711d
mov edx, dword [esp + 0x18]
cmp ebp, 2
lea eax, [edx + esi*4]
jb 0x52691b
mov ebx, esi
lea edi, [ebp - 2]
mov dword [esp], edx
not ebx
mov ecx, edi
cmp ebx, edi
cmovb ecx, ebx
lea ecx, [ecx*4 + 4]
push ecx
push 0
push eax
call fcn.005c9b00
add esp, 0xc
cmp edi, ebx
jae 0x526b87
mov ecx, dword [esp]
lea eax, [esi + ebp]
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x90]
lea esi, [esi + ebp - 1]
lea eax, [ecx + eax*4 - 4]
mov ecx, dword [esp + 0x98]
inc esi
mov dword [eax], 0
je 0x526b87
mov eax, esi
cmp ecx, 1
mov dword [esp + 0x1c], eax
je 0x526a1b
mov ebp, dword [esp + 0x94]
xor ebx, ebx
lea eax, [ebp + ecx*4]
add ebp, 4
mov dword [esp + 0x2c], eax
jmp 0x526ab5
shl eax, 2
push 4
push eax
push ebp
call fcn.0049ce00
add esp, 0xc
mov ecx, dword [esp + 0x10]
lea ebp, [esi + edi*4]
mov esi, dword [esp + 0x28]
sub ecx, edi
mov edi, dword [esp + 0x90]
je 0x5269c2
cmp ecx, edi
mov eax, edi
mov dword [esp + 0x10], ecx
mov edx, esi
cmovb edi, ecx
lea ecx, [esp + 4]
push edi
mov esi, ebp
push ebp
push eax
call fcn.00526730
add esp, 0xc
mov ebp, dword [esp + 8]
mov ebx, dword [esp]
lea ecx, [esp + 0x14]
mov edx, ebp
push ebx
push dword [esp + 0x10]
call fcn.00526590
add esp, 8
add ebx, edi
mov dword [esp], ebx
jb 0x526b87
mov eax, dword [esp + 4]
test eax, eax
jne 0x526950
jmp 0x52695f
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x30]
test eax, eax
je 0x5269dd
mov ecx, dword [esp + 0x18]
cmp dword [ecx + eax*4 - 4], 0
je 0x5269f4
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
movsd xmm0, qword [esp + 0x14]
mov dword [esi + 8], eax
movsd qword [esi], xmm0
jmp 0x526a3f
xor eax, eax
jmp 0x5269d9
dec eax
mov edx, eax
nop word [eax + eax]
sub edx, 1
jb 0x5269f0
cmp dword [ecx + eax*4 - 4], 0
mov eax, edx
je 0x526a00
inc edx
mov eax, edx
jmp 0x5269d9
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x30]
test eax, eax
je 0x526a2e
mov ecx, dword [esp + 0x18]
cmp dword [ecx + eax*4 - 4], 0
je 0x526a4b
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
movsd xmm0, qword [esp + 0x14]
mov dword [ebx + 8], eax
movsd qword [ebx], xmm0
add esp, 0x7c
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
jmp 0x526a2a
dec eax
mov edx, eax
nop
sub edx, 1
jb 0x526a47
cmp dword [ecx + eax*4 - 4], 0
mov eax, edx
je 0x526a50
inc edx
mov eax, edx
jmp 0x526a2a
mov ebp, dword [esp]
xor eax, eax
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 4]
lea ecx, [esp + 0x14]
mov edx, esi
inc ebx
push ebx
push eax
call fcn.00526590
add esp, 8
test edi, edi
je 0x526aa1
shl edi, 2
push 4
push edi
push esi
call fcn.0049ce00
add esp, 0xc
add ebp, 4
mov edi, dword [esp + 0x90]
cmp ebp, dword [esp + 0x2c]
je 0x526a13
mov dword [esp], ebp
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebx
test edi, edi
mov esi, 4
mov ebx, 0
mov dword [esp + 4], 0
mov dword [esp + 8], 4
mov dword [esp + 0xc], 0
jne 0x526b6b
lea eax, [esi + ebx*4]
push dword [esp + 0x24]
push dword [esp + 0x2c]
push eax
call fcn.005c9580
add esp, 0xc
mov eax, ebx
add eax, edi
jb 0x526b87
mov dword [esp + 0xc], eax
je 0x526a70
mov ecx, dword [esp + 0x24]
xor edi, edi
mov dword [esp + 0x20], eax
lea ecx, [ecx + ebx*4]
xor ebx, ebx
mov eax, ebp
mul dword [esi + edi]
add eax, ebx
mov ebx, edx
adc ebx, 0
mov dword [esi + edi], eax
add edi, 4
cmp ecx, edi
jne 0x526b20
mov ebp, dword [esp]
mov eax, dword [esp + 0x20]
test ebx, ebx
je 0x526a75
cmp eax, dword [esp + 4]
jne 0x526b5c
lea ecx, [esp + 4]
call fcn.0051d070
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 8]
mov dword [esi + eax*4], ebx
inc eax
je 0x526b87
mov esi, dword [esp + 8]
jmp 0x526a75
lea ecx, [esp + 4]
xor edx, edx
push edi
call fcn.0071b540
add esp, 4
mov esi, dword [esp + 8]
mov ebx, dword [esp + 0xc]
jmp 0x526ae9
ud2
lea eax, [ebx*4]
mov dword [esp + 4], 0
mov dword [esp + 8], 4
mov dword [esp + 0xc], 0
lea ecx, [esp + 4]
xor edx, edx
mov dword [esp], eax
push ebx
call fcn.0071b540
add esp, 4
mov edi, dword [esp + 0xc]
lea eax, [edi*4]
add eax, dword [esp + 8]
push dword [esp]
push esi
push eax
call fcn.005c9580
add esp, 0xc
add edi, ebx
jb 0x526b87
lea edx, [esi + ebx*4]
mov dword [esp + 0xc], edi
lea ecx, [esp + 4]
mov dword [esp + 0x10], edx
push 0
push ebp
call fcn.00526590
add esp, 8
mov eax, dword [esp + 4]
mov edi, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 4], 0
mov dword [esp + 8], 4
mov dword [esp + 0xc], 0
xor edx, edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x3c], edi
lea ecx, [esp + 4]
push ebx
call fcn.0071b540
add esp, 4
mov esi, ebx
mov ebx, dword [esp + 0xc]
lea eax, [ebx*4]
add eax, dword [esp + 8]
push dword [esp]
mov ecx, dword [esp + 0x98]
push ecx
push eax
call fcn.005c9580
add esp, 0xc
add ebx, esi
jb 0x526b87
mov edi, dword [esp + 0x98]
mov eax, dword [esp + 0x94]
mov dword [esp + 0xc], ebx
lea ecx, [esp + 4]
sub edi, esi
lea edx, [eax + esi*4]
mov dword [esp], edx
push 0
push edi
call fcn.00526590
add esp, 8
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x50], eax
lea ecx, [esp + 0x58]
push esi
push dword [esp + 0x98]
mov dword [esp + 0x34], esi
push esi
call fcn.00526730
add esp, 0xc
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x64]
push dword [esp + 0x20]
mov dword [esp + 0x50], ebx
push ebx
push dword [esp + 0x2c]
call fcn.00526730
add esp, 0xc
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x70]
push edi
push dword [esp + 4]
push ebp
call fcn.00526730
add esp, 0xc
mov ebx, dword [esp + 0x78]
mov edi, dword [esp + 0x6c]
mov ebp, dword [esp + 0x74]
mov eax, dword [esp + 0x68]
cmp edi, ebx
mov ecx, ebx
mov dword [esp], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ebp
cmovb ecx, edi
test ecx, ecx
mov dword [esp + 0x10], ecx
je 0x526dc6
mov dword [esp + 0x20], edi
mov edi, dword [esp]
xor edx, edx
xor ecx, ecx
jmp 0x526d47
mov eax, dword [esp]
dec ebp
cmp esi, ebx
setbe dl
mov dword [eax + ecx*4], ebp
inc ecx
mov ebp, dword [esp + 0x28]
cmp dword [esp + 0x10], ecx
je 0x526d61
mov esi, dword [edi + ecx*4]
mov ebx, dword [ebp + ecx*4]
mov ebp, esi
sub ebp, ebx
setb al
test dl, 1
mov dword [edi + ecx*4], ebp
mov edx, eax
je 0x526d3c
jmp 0x526d30
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x20]
test dl, dl
je 0x526dc6
cmp edi, ebx
jbe 0x526b87
mov eax, dword [esp]
lea ecx, [ebx + 1]
mov edx, dword [esp + 0x2c]
sub dword [eax + ebx*4], 1
setb al
cmp ecx, edi
setb cl
and cl, al
cmp cl, 1
jne 0x526da6
mov ecx, dword [esp]
lea eax, [ebx + 2]
sub dword [ecx + eax*4 - 4], 1
jae 0x526da6
cmp eax, edi
lea eax, [eax + 1]
jb 0x526d98
mov eax, dword [esp]
cmp dword [eax + edi*4 - 4], 0
jne 0x526df7
mov ecx, dword [esp]
dec edi
mov eax, edi
sub eax, 1
jb 0x526df5
cmp dword [ecx + edi*4 - 4], 0
mov edi, eax
je 0x526db6
jmp 0x526dec
test edi, edi
je 0x526df1
mov eax, dword [esp]
mov edx, dword [esp + 0x2c]
cmp dword [eax + edi*4 - 4], 0
jne 0x526df7
mov ecx, dword [esp]
dec edi
mov eax, edi
sub eax, 1
jb 0x526df5
cmp dword [ecx + edi*4 - 4], 0
mov edi, eax
je 0x526dde
inc eax
mov edi, eax
jmp 0x526df7
mov edx, dword [esp + 0x2c]
xor edi, edi
mov eax, dword [esp + 0x60]
cmp edi, eax
mov dword [esp + 0x34], eax
cmovb eax, edi
test eax, eax
mov dword [esp + 0x10], eax
je 0x526ed8
mov eax, dword [esp + 0x5c]
xor ebx, ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], eax
xor eax, eax
jmp 0x526e43
mov edx, dword [esp]
dec ebp
cmp edi, esi
setbe bl
mov dword [edx + eax*4], ebp
inc eax
cmp dword [esp + 0x10], eax
je 0x526e63
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + eax*4]
mov ecx, dword [esp]
mov edi, dword [ecx + eax*4]
mov ebp, edi
sub ebp, esi
setb dl
test bl, 1
mov dword [ecx + eax*4], ebp
mov ebx, edx
je 0x526e3c
jmp 0x526e30
test bl, bl
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
je 0x526ed8
cmp edi, ecx
jbe 0x526b87
mov eax, dword [esp]
sub dword [eax + ecx*4], 1
mov ecx, dword [esp + 0x98]
jae 0x526eb8
mov eax, dword [esp + 0x34]
inc eax
cmp eax, edi
jae 0x526eb8
mov eax, dword [esp + 0x34]
mov esi, dword [esp]
mov edi, dword [esp + 0x20]
add eax, 2
sub dword [esi + eax*4 - 4], 1
jae 0x526eb8
cmp eax, edi
lea eax, [eax + 1]
jb 0x526eaa
mov eax, dword [esp]
cmp dword [eax + edi*4 - 4], 0
jne 0x526f16
mov esi, dword [esp]
dec edi
mov eax, edi
sub eax, 1
jb 0x526f14
cmp dword [esi + edi*4 - 4], 0
mov edi, eax
je 0x526ec8
jmp 0x526f01
test edi, edi
je 0x526f0d
mov eax, dword [esp]
mov ecx, dword [esp + 0x98]
cmp dword [eax + edi*4 - 4], 0
jne 0x526f16
mov esi, dword [esp]
dec edi
mov eax, edi
sub eax, 1
jb 0x526f14
cmp dword [esi + edi*4 - 4], 0
mov edi, eax
je 0x526ef3
inc eax
mov edi, eax
jmp 0x526f16
xor ecx, ecx
jmp 0x526fa2
mov ecx, dword [esp + 0x98]
xor edi, edi
add edx, edi
jb 0x526b87
and ecx, 0xfffffffe
mov eax, ecx
add eax, ebx
jb 0x526b87
mov esi, dword [esp + 0x34]
movsd xmm0, qword [esp + 0x58]
mov dword [esp + 0x10], ecx
cmp esi, edx
movsd qword [esp + 0x40], xmm0
cmova edx, esi
cmp edx, eax
cmovbe edx, eax
mov eax, dword [esp + 0x60]
mov ebx, edx
sub edx, eax
mov dword [esp + 0x48], eax
jb 0x526b87
mov ecx, dword [esp + 0x40]
mov esi, ecx
sub esi, eax
cmp esi, edx
mov esi, edi
jae 0x526fd1
add eax, edx
jb 0x52713c
xor edx, edx
cmp ebx, 0x20000000
lea eax, [ebx*4]
setb dl
shl edx, 2
test ecx, ecx
je 0x526f06
mov esi, dword [esp + 0x44]
shl ecx, 2
mov dword [esp + 4], esi
mov dword [esp + 0xc], ecx
mov ecx, 4
lea esi, [esp + 4]
mov dword [esp + 8], ecx
lea ecx, [esp + 0x14]
push esi
push eax
call fcn.0051cf60
add esp, 8
cmp dword [esp + 0x14], 1
je 0x527140
mov eax, dword [esp + 0x18]
mov esi, edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ebx
mov edx, dword [esp]
lea edi, [esp + 0x40]
mov ecx, edi
push dword [esp + 0x2c]
push esi
call fcn.00526590
add esp, 8
mov ecx, edi
mov edx, ebp
push dword [esp + 0x10]
push dword [esp + 0x3c]
call fcn.00526590
add esp, 8
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x30]
movsd xmm0, qword [esp + 0x40]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x70]
movsd qword [ecx], xmm0
test eax, eax
je 0x527027
shl eax, 2
push 4
push eax
push ebp
call fcn.0049ce00
add esp, 0xc
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x3c]
test eax, eax
je 0x527045
shl eax, 2
push 4
push eax
push dword [esp + 8]
call fcn.0049ce00
add esp, 0xc
mov eax, dword [esp + 0x50]
test eax, eax
je 0x52705f
shl eax, 2
push 4
push eax
push dword [esp + 0x54]
call fcn.0049ce00
add esp, 0xc
mov eax, dword [esp + 0x54]
test eax, eax
je 0x526a3f
shl eax, 2
push 4
push eax
push esi
call fcn.0049ce00
add esp, 0x88
jmp 0x526a42
lea ecx, [esp + 0x14]
xor edx, edx
push ebp
call fcn.0071b540
add esp, 4
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
cmp ebp, 1
lea eax, [ecx + ebx*4]
je 0x5270e4
mov esi, ebx
not ebx
lea edi, [ebp - 2]
mov dword [esp + 0x10], ecx
cmp ebx, edi
mov ecx, edi
cmovb ecx, ebx
lea ecx, [ecx*4 + 4]
push ecx
push 0
push eax
call fcn.005c9b00
add esp, 0xc
cmp edi, ebx
jae 0x526b87
mov ecx, dword [esp + 0x10]
lea eax, [esi + ebp]
mov edi, dword [esp + 0x90]
lea ebx, [esi + ebp - 1]
lea eax, [ecx + eax*4 - 4]
mov ecx, dword [esp + 0x98]
inc ebx
mov dword [eax], 0
je 0x526b87
mov esi, dword [esp + 0x28]
jmp 0x5267a1
lea ecx, [esp + 4]
xor edx, edx
push edi
call fcn.0071b540
add esp, 4
mov ebp, dword [esp + 8]
mov edi, dword [esp + 0xc]
jmp 0x5267ed
lea ecx, [esp + 0x14]
mov edx, esi
push ebp
call fcn.0071b540
mov ecx, dword [esp + 0x9c]
add esp, 4
mov esi, dword [esp + 0x1c]
jmp 0x5268c3
xor eax, eax
jmp 0x527148
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push ecx
push eax
call fcn.00743be0
int3