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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [0x70a034]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
push dword [ebp + 0x18]
lea esi, [ebp + 8]
mov ebx, ecx
lea edi, [esp + 0x2c]
mov dword [esp + 0x48], ebx
movsd dword es:[edi], dword [esi]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [esp + 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.005136fd
lea esi, [ebx + 0x158]
lea edi, [esp + 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x2c]
add eax, dword [ebx + 0x564]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
add esi, dword [ebx + 0x560]
sub edi, dword [ebx + 0x568]
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
sub eax, dword [ebx + 0x56c]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x6c0]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], edi
cmp byte [eax + 0x6c4], 0
je 0x524295
mov ecx, dword [ebx + 0x584]
test ecx, ecx
jne 0x5242b1
mov ecx, dword [ebx + 0x584]
test ecx, ecx
je 0x5242bc
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x5242bc
mov ecx, dword [ebx + 0x584]
mov eax, dword [ecx]
call dword [eax + 0x7c]
sub edi, eax
mov dword [esp + 0x30], edi
mov ecx, dword [ebx + 0x588]
test ecx, ecx
je 0x5242ec
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x5242ec
mov ecx, dword [ebx + 0x588]
mov eax, dword [ecx]
call dword [eax + 0x84]
mov ecx, dword [esp + 0x34]
sub ecx, eax
mov dword [esp + 0x34], ecx
jmp 0x5242f0
mov ecx, dword [esp + 0x34]
sub edi, esi
mov esi, edi
mov dword [esp + 0x40], edi
mov edi, ecx
mov dword [esp + 0x3c], esi
sub edi, dword [esp + 0x14]
mov ecx, dword [ebx + 0x588]
mov dword [esp + 0x18], edi
test ecx, ecx
je 0x52432c
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x52432c
mov eax, dword [ebx + 0x588]
add esi, dword [eax + 0x554]
mov dword [esp + 0x3c], esi
xor eax, eax
mov edx, eax
mov esi, eax
mov ecx, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
cmp dword [ebx + 0x558], eax
jle 0x524497
mov eax, dword [ebx + 0x554]
mov edi, dword [eax + ecx*4]
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0xf4]
test al, al
je 0x52447a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x120]
test al, al
jne 0x52447a
push dword [esp + 0x18]
mov eax, dword [edi]
lea ecx, [esp + 0x68]
push dword [esp + 0x40]
push ecx
mov ecx, edi
call dword [eax + 0x140]
cmp dword [esp + 0x68], 0
jne 0x5243a5
inc dword [esp + 0x38]
jmp 0x5243e1
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
cmp dword [esp + 0x68], eax
jge 0x5243c3
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
mov dword [esp + 0x68], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa4]
cmp dword [esp + 0x68], eax
jle 0x5243e1
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa4]
mov dword [esp + 0x68], eax
mov eax, dword [edi]
lea ecx, [esp + 0x54]
push ecx
mov ecx, edi
call dword [eax + 0x6c]
lea ecx, [esp + 0x6c]
push ecx
mov ecx, edi
lea esi, [eax + 0xc]
mov eax, dword [edi]
call dword [eax + 0x6c]
mov ecx, dword [esi]
add ecx, dword [esp + 0x68]
add ecx, dword [eax + 4]
add dword [esp + 0xc], ecx
lea ecx, [esp + 0x7c]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x6c]
xor eax, eax
mov ecx, edi
cmp dword [esp + 0x64], eax
cmovg eax, dword [esp + 0x64]
mov dword [esp + 0x64], eax
mov eax, dword [edi]
call dword [eax + 0x8c]
cmp dword [esp + 0x64], eax
jge 0x524442
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x8c]
mov dword [esp + 0x64], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x94]
mov ecx, dword [esp + 0x64]
cmp ecx, eax
jle 0x524464
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x94]
mov ecx, eax
mov dword [esp + 0x64], ecx
cmp dword [esp + 0x1c], ecx
mov esi, dword [esp + 0x24]
cmovg ecx, dword [esp + 0x1c]
inc esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], esi
mov ecx, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x20], ecx
cmp ecx, dword [ebx + 0x558]
jl 0x524354
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
mov eax, dword [ebx + 0x570]
lea ecx, [esi - 1]
imul eax, ecx
mov dword [esp + 0x50], ecx
mov ecx, dword [ebx + 0x6c0]
add edx, eax
mov dword [esp + 0xc], edx
test ecx, ecx
je 0x52457e
add ecx, 0x6c0
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov esi, eax
mov dword [esp + 0x48], esi
test esi, esi
je 0x52457a
lea ecx, [esi + 0x550]
mov edx, dword [ecx]
call dword [edx + 0xc]
test eax, eax
jle 0x52457a
mov eax, dword [esi]
lea ecx, [esp + 0x64]
push edi
push dword [esp + 0x44]
push ecx
mov ecx, esi
call dword [eax + 0x140]
cmp dword [eax], 0
jge 0x524507
and dword [esp + 0x1c], 0
jmp 0x524521
mov eax, dword [esi]
lea ecx, [esp + 0x7c]
push edi
push dword [esp + 0x44]
push ecx
mov ecx, esi
call dword [eax + 0x140]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
mov ecx, dword [ebx + 0x588]
test ecx, ecx
je 0x52457a
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x52457a
mov eax, dword [ebx + 0x588]
mov ecx, esi
mov ebx, dword [eax + 0x558]
mov eax, dword [esi]
call dword [eax + 0x50]
mov esi, eax
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
lea edi, [esp + 0x54]
push 1
sub esp, 0x10
sub eax, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x68], eax
lea esi, [esp + 0x68]
mov eax, dword [ecx]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x54]
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x38]
xor edi, edi
and dword [esp + 0x48], edi
mov dword [esp + 0x10], edi
test ecx, ecx
jle 0x5245a4
mov eax, dword [esp + 0x18]
sub eax, edx
cdq
idiv ecx
xor ecx, ecx
test eax, eax
cmovs eax, ecx
mov dword [esp + 0x48], eax
mov ecx, dword [ebx + 0x584]
test ecx, ecx
je 0x5245ce
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x5245ce
mov eax, dword [ebx + 0x584]
mov ecx, dword [esp + 0x14]
sub ecx, dword [eax + 0x558]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebx + 0x588]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x20], esi
test ecx, ecx
je 0x5245fe
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x5245fe
mov eax, dword [ebx + 0x588]
mov edx, esi
sub edx, dword [eax + 0x558]
mov dword [esp + 0x20], edx
and dword [esp + 0x44], edi
xor ecx, ecx
mov dword [esp + 0x24], ecx
cmp dword [ebx + 0x558], ecx
jle 0x524660
mov eax, dword [ebx + 0x554]
mov edi, dword [eax + ecx*4]
mov ecx, edi
mov dword [esp + 0x7c], edi
mov eax, dword [edi]
call dword [eax + 0xf4]
test al, al
je 0x524647
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x120]
test al, al
je 0x5246b4
mov eax, dword [ebx]
mov ecx, ebx
push dword [esp + 0x24]
call dword [eax + 0x1f8]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
inc ecx
mov dword [esp + 0x24], ecx
cmp ecx, dword [ebx + 0x558]
jl 0x524610
mov esi, dword [esp + 0x4c]
mov eax, dword [ebx + 0x570]
imul eax, dword [esp + 0x50]
mov ecx, dword [ebx + 0x588]
add edi, eax
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x1c]
test ecx, ecx
je 0x5248f8
mov eax, dword [ecx]
call dword [eax + 0xf4]
cmp edi, dword [esp + 0x40]
jle 0x5248b9
mov ecx, dword [ebx + 0x588]
test al, al
je 0x52487c
sub esi, dword [esp + 0x30]
add esi, edi
push esi
call fcn.00544667
jmp 0x5248f8
mov eax, dword [edi]
lea ecx, [esp + 0x6c]
push ecx
mov ecx, edi
call dword [eax + 0x6c]
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x64]
sub esi, dword [esp + 0x70]
mov eax, dword [edi]
push esi
push dword [esp + 0x40]
mov dword [esp + 0x20], esi
push ecx
mov ecx, edi
call dword [eax + 0x140]
cmp dword [esp + 0x68], 0
jne 0x524750
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
inc ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x68], eax
cmp ecx, dword [esp + 0x38]
jne 0x524712
mov eax, esi
sub eax, dword [esp + 0x78]
sub eax, dword [esp + 0xc]
push 0
pop ecx
cmovs eax, ecx
mov dword [esp + 0x68], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
cmp dword [esp + 0x68], eax
jge 0x524730
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
mov dword [esp + 0x68], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa4]
cmp dword [esp + 0x68], eax
jle 0x524794
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa4]
mov dword [esp + 0x68], eax
jmp 0x524794
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
cmp dword [esp + 0x68], eax
jge 0x52476e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
mov dword [esp + 0x68], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa4]
mov ecx, dword [esp + 0x68]
cmp ecx, eax
jle 0x524790
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa4]
mov ecx, eax
mov dword [esp + 0x68], ecx
sub dword [esp + 0xc], ecx
mov eax, dword [esp + 0x3c]
mov ecx, edi
sub eax, dword [esp + 0x74]
sub eax, dword [esp + 0x6c]
cmp dword [esp + 0x1c], eax
cmovg eax, dword [esp + 0x1c]
mov dword [esp + 0x64], eax
mov eax, dword [edi]
call dword [eax + 0x8c]
cmp dword [esp + 0x64], eax
jge 0x5247cb
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x8c]
mov dword [esp + 0x64], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x94]
cmp dword [esp + 0x64], eax
jle 0x5247eb
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x94]
mov dword [esp + 0x64], eax
jmp 0x5247ef
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x6c]
lea esi, [esp + 0x54]
add eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
add ecx, dword [esp + 0x6c]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x78]
add eax, dword [esp + 0x68]
add eax, dword [esp + 0x70]
add eax, dword [esp + 0x14]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x14]
add ecx, dword [esp + 0x70]
mov dword [esp + 0x60], eax
mov eax, dword [edi]
push 1
sub esp, 0x10
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x90]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x54]
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x68]
mov esi, dword [ebx + 0x570]
mov edi, dword [esp + 0x10]
lea eax, [edx + ecx]
add eax, dword [esp + 0x70]
add eax, esi
add dword [esp + 0x14], eax
lea eax, [edx + ecx]
add eax, dword [esp + 0x70]
add edi, eax
lea eax, [edx + ecx]
add eax, esi
mov dword [esp + 0x10], edi
sub dword [esp + 0x18], eax
jmp 0x52464b
mov eax, dword [ecx]
push 1
call dword [eax + 0xf8]
sub esi, dword [esp + 0x30]
mov ecx, dword [ebx + 0x588]
add esi, edi
push esi
call fcn.00544667
mov ecx, dword [ebx + 0x588]
push 0
call fcn.005446ae
mov ecx, dword [ebx + 0x588]
mov eax, dword [ecx]
call dword [eax + 0x84]
sub dword [esp + 0x34], eax
jmp 0x5248f8
test al, al
je 0x5248f8
mov ecx, dword [ebx + 0x588]
xor esi, esi
push esi
mov eax, dword [ecx]
call dword [eax + 0xf8]
mov ecx, dword [ebx + 0x588]
push esi
call fcn.00544667
mov ecx, dword [ebx + 0x588]
push esi
call fcn.005446ae
mov ecx, dword [ebx + 0x588]
mov eax, dword [ecx]
call dword [eax + 0x84]
add dword [esp + 0x34], eax
mov ecx, dword [ebx + 0x6c0]
add ecx, 0x6c0
mov eax, dword [ecx]
call dword [eax]
test eax, eax
jne 0x52495a
mov eax, dword [ebx + 0x558]
mov dword [esp + 0x50], eax
test eax, eax
jle 0x52495a
mov ecx, dword [ebx + 0x554]
mov esi, dword [ecx]
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x7c]
mov ecx, eax
test ecx, ecx
jle 0x52495a
mov eax, dword [esp + 0x40]
cdq
idiv ecx
mov dword [esp + 0x7c], eax
test eax, eax
jle 0x52495a
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x84]
mov ecx, eax
mov eax, dword [esp + 0x50]
dec eax
cdq
idiv dword [esp + 0x7c]
inc eax
imul ecx, eax
jmp 0x52495e
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx]
lea esi, [esp + 0x28]
push ecx
push edi
sub esp, 0x10
mov ecx, ebx
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1fc]
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.006255fe
mov esp, ebp
pop ebp
ret 0x14