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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x108
mov ebx, ecx
mov ecx, dword [ebp + 8]
cmp dword [edx + 0xc], 0
je 0x5259e4
movsd xmm1, qword [edx + 0x30]
movsd xmm2, qword [edx + 0x18]
movsd xmm0, qword [edx + 0x38]
movsd xmm3, qword [edx + 0x20]
mov esi, ecx
lea edi, [esp + 0xa8]
mov ecx, 0x12
movsd qword [ebx + 0x10], xmm1
movsd xmm1, qword [edx + 0x28]
movsd qword [esp + 0xa0], xmm2
movsd xmm2, qword [edx]
movsd qword [ebx + 0x18], xmm0
movsd qword [ebx], xmm3
movsd qword [ebx + 8], xmm1
movsd xmm1, qword [edx + 0x10]
movsd qword [esp + 0x88], xmm2
add ebx, 0x20
movsd qword [esp + 0x98], xmm1
movsd xmm1, qword [edx + 8]
movsd qword [esp + 0x90], xmm1
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x88]
mov ecx, 0x1a
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
jmp 0x525cd5
mov esi, dword [edx + 0x14]
lea eax, [edx + 0x20]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x34], eax
mov eax, dword [edx + 0x10]
mov dword [esp + 8], esi
mov esi, dword [edx + 0x1c]
mov dword [esp + 0x20], esi
mov esi, dword [edx + 0x20]
mov dword [esp + 0x1c], esi
mov esi, dword [edx + 0x28]
mov dword [esp + 4], esi
mov esi, dword [edx + 0x18]
mov dword [esp + 0xc], esi
mov esi, dword [edx + 0x24]
mov dword [esp + 0x18], esi
mov esi, dword [edx + 0x2c]
mov dword [esp + 0x30], esi
test eax, eax
jne 0x525cdd
mov ebx, dword [esp + 8]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0xc]
test ebx, ebx
jne 0x525cf8
cmp esi, 2
jne 0x525e3a
cmp byte [ecx + 0x38], 0
mov dword [esp + 0xc], 3
jne 0x525c81
mov eax, dword [ecx + 0x20]
mov ebx, dword [ecx + 0xc]
mov esi, dword [ecx + 0x24]
mov edi, dword [ecx + 0x34]
mov edx, dword [ecx + 0x30]
mov dword [esp + 8], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x10]
mov dword [esp + 0x1c], eax
mov dword [esp + 4], ecx
nop
cmp esi, dword [esp + 8]
je 0x525c81
mov ecx, dword [ebp + 8]
mov eax, esi
add esi, 0xffffffe0
mov dword [ecx + 0x24], esi
mov ecx, edi
cmp edx, dword [eax - 0x10]
sbb ecx, dword [eax - 0xc]
jae 0x525c7a
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esi + 8]
mov ecx, ebx
sbb ecx, dword [esi + 0xc]
jae 0x525a90
mov ebx, edx
mov edx, edi
mov edi, dword [esp + 4]
mov ecx, dword [esi + 4]
cmp dword [esi], edi
mov edi, edx
mov edx, ebx
mov ebx, dword [esp + 0x18]
sbb ecx, dword [esp + 0x1c]
jae 0x525a90
mov esi, dword [ebp + 8]
mov eax, dword [eax - 8]
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx + 0x10]
cmp eax, edx
jae 0x525ea8
imul edi, eax, 0x150
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov esi, dword [esi + 0x44]
add edi, dword [ecx + 0xc]
mov dword [esp + 8], eax
mov edx, edi
lea ecx, [esp + 0x88]
push esi
call fcn.005220b0
mov edx, dword [esp + 0xc]
add esp, 4
cmp dword [esp + 0x88], 0
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], edx
mov dword [esp + 0x84], esi
je 0x525b86
lea eax, [esp + 0x90]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [esp + 0xf8], xmm1
movsd qword [esp + 0xf0], xmm0
lea eax, [esp + 0xf0]
lea ecx, [esp + 0x48]
lea edx, [esp + 0x78]
push eax
call fcn.00522560
add esp, 4
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x10]
mov dword [esp], 0
jmp 0x525bdb
lea ecx, [esp + 0x90]
lea eax, [esp + 0x58]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp], esi
mov dword [esp + 0x2c], edi
mov esi, edx
movsd xmm0, qword [ecx + 0x20]
movsd xmm1, qword [ecx + 0x10]
movsd qword [eax + 0x18], xmm0
movsd xmm0, qword [ecx + 0x18]
movsd qword [eax + 8], xmm1
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [ecx + 8]
movsd qword [eax], xmm0
mov eax, dword [ecx + 4]
movsd xmm0, qword [ecx - 4]
mov dword [esp + 0x50], eax
movsd qword [esp + 0x48], xmm0
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
movsd xmm0, qword [esp + 0x68]
mov dword [edx], esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 8], edi
mov dword [edx + 4], esi
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x20], ecx
mov dword [edx + 8], esi
mov esi, dword [esp]
mov dword [edx + 0xc], esi
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], edi
mov edi, dword [esp + 0xc]
test esi, esi
mov dword [edx + 0x18], edi
mov dword [edx + 0x1c], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x1c], ecx
mov dword [edx + 0x20], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x18], ecx
mov dword [edx + 0x24], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov dword [edx + 0x28], ecx
mov ecx, dword [esp + 0x64]
mov dword [edx + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x74]
movsd qword [edx + 0x30], xmm0
mov dword [edx + 0x3c], ecx
mov ecx, dword [esp + 0x70]
mov dword [edx + 0x38], ecx
mov ecx, dword [ebp + 8]
je 0x525a27
jmp 0x52595e
mov eax, dword [ebp + 8]
mov byte [eax + 0x38], 1
xor edi, edi
xor eax, eax
mov ebx, dword [esp + 0x38]
mov dword [ebx], eax
mov eax, dword [esp + 0xc]
mov dword [ebx + 4], eax
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edx
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], edx
mov esi, dword [esp + 4]
mov edx, dword [esp + 0x30]
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x1c], edx
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x24], edi
mov dword [ebx + 0x28], ecx
mov dword [ebx + 0x2c], edx
mov dword [ebx + 0x30], ecx
mov ecx, dword [esp]
mov dword [ebx + 0x34], ecx
mov byte [ebx + 0x78], 2
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 8]
mov dword [esp + 0x14], eax
mov eax, 1
jmp 0x525c85
mov dword [esp + 0x88], 4
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
mov edx, 0
mov ecx, dword [ebx + 0xc]
mov ebx, dword [esp + 4]
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x525e53
mov eax, dword [esp + 8]
mov dword [esp + 0x28], 4
mov dword [esp + 0x2c], esi
mov dword [esp + 4], ebx
mov edx, dword [eax + 8]
mov dword [esp], edx
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x40], edx
xor edx, edx
mov dword [esp + 0x3c], eax
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x44], ecx
jmp 0x525d75
mov ecx, edi
mov edi, ecx
sub edi, ebx
jbe 0x525e4f
mov eax, dword [esp]
shr edi, 1
add edi, ebx
lea esi, [edi + edi*2]
cmp dword [eax + esi*8 + 0x10], edx
ja 0x525d69
jb 0x525db4
mov eax, dword [esp]
mov dword [esp + 0x24], ecx
lea ecx, [eax + esi*8]
mov eax, dword [esp + 0x2c]
cmp eax, dword [ecx]
mov eax, dword [esp + 0x10]
sbb eax, dword [ecx + 4]
jb 0x525d69
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x10]
cmp eax, dword [ecx + 8]
sbb ebx, dword [ecx + 0xc]
mov ecx, dword [esp + 0x24]
jb 0x525dc2
inc edi
mov ebx, edi
mov edi, ecx
sub edi, ebx
ja 0x525d75
jmp 0x525e4f
mov eax, dword [esp]
mov eax, dword [eax + esi*8 + 0x14]
cmp eax, dword [esp + 0x3c]
jae 0x525eb9
cmp edx, dword [esp + 0x8c]
mov dword [esp + 0x24], eax
jne 0x525dfe
lea ecx, [esp + 0x88]
call fcn.00515ff0
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x90]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
inc edi
mov ebx, dword [esp + 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov ecx, dword [esp + 0x28]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x44]
inc edx
lea eax, [edi + edi*2]
mov dword [esp + 0x90], edx
sub ecx, edi
mov edi, dword [esp]
lea edi, [edi + eax*8]
mov dword [esp], edi
jne 0x525d5f
jmp 0x525e53
mov dword [esp + 0x14], edx
mov edx, eax
xor edi, edi
mov dword [esp + 0xc], 4
jmp 0x525c83
mov ebx, dword [esp + 4]
mov ecx, dword [esp + 0x88]
mov esi, ebx
mov esi, dword [esp + 0x20]
lea eax, [ecx + edx*4]
mov edx, dword [esp + 0x1c]
mov dword [esp], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x44]
mov ebx, dword [eax + 0x40]
mov eax, dword [edi]
mov edi, dword [esp + 8]
mov dword [esp + 0x30], ebx
add eax, 8
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x34], eax
jmp 0x525c83
push 0x5ff1c4
push edx
push eax
call fcn.00425270
add esp, 0xc
ud2
push 0x5ff270
push dword [esp + 0x40]
push eax
call fcn.00425270
add esp, 0xc
ud2