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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x170
push esi
push edi
mov byte [esp + 0x10], dl
mov dword [esp + 0x30], ecx
mov byte [esp + 0xb], 0
mov eax, dword [0x101d96d0]
cmp dword [eax], 0
je 0x1005263f
mov dword [esp + 0x24], 1
jmp 0x10052647
mov dword [esp + 0x24], 0
movzx ecx, byte [esp + 0x24]
test ecx, ecx
jne 0x10052659
mov al, byte [esp + 0xb]
jmp 0x10052c4f
mov edx, dword [0x101d84b8]
mov dword [esp + 0x58], edx
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0xc]
movzx edx, byte [ecx + 0xad]
test edx, edx
je 0x1005268d
mov eax, dword [0x101d84bc]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x5c]
movzx edx, byte [ecx + 0x3966]
test edx, edx
jne 0x10052696
mov al, byte [esp + 0xb]
jmp 0x10052c4f
mov eax, dword [0x101d96d0]
mov ecx, dword [eax]
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 0x60]
mov eax, dword [edx + 0x3914]
mov dword [esp + 0xc], eax
mov ecx, dword [0x101d8c04]
mov edx, dword fs:[0x2c]
mov eax, dword [edx + ecx*4]
mov ecx, dword [0x101e3a5c]
cmp ecx, dword [eax + 4]
jle 0x10052713
push 0x101e3a5c
call fcn.1016c49a
add esp, 4
cmp dword [0x101e3a5c], 0xffffffff
jne 0x10052713
mov edx, dword [0x101d96d0]
mov eax, dword [edx]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x64]
call fcn.10051c00
mov ecx, 0x18
mov esi, eax
mov edi, 0x101e3360
rep movsd dword es:[edi], dword [esi]
push 0x101e3a5c
call fcn.1016c450
add esp, 4
mov ecx, dword [0x101d8c04]
mov edx, dword fs:[0x2c]
mov eax, dword [edx + ecx*4]
mov ecx, dword [0x101e3358]
cmp ecx, dword [eax + 4]
jle 0x10052768
push 0x101e3358
call fcn.1016c49a
add esp, 4
cmp dword [0x101e3358], 0xffffffff
jne 0x10052768
mov edx, dword [esp + 0xc]
movss xmm0, dword [edx + 0x80]
movss dword [0x101e3354], xmm0
push 0x101e3358
call fcn.1016c450
add esp, 4
mov eax, dword [0x101d84b8]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x10]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x70]
cmp ecx, dword [edx + 4]
jne 0x10052795
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x70]
sub eax, 1
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x70], eax
xor edx, edx
imul eax, edx, 0x38
add eax, 0x101e3710
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x88], edx
mov eax, dword [0x101d96d0]
mov ecx, dword [eax]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x74]
mov eax, dword [edx + 0x2980]
mov dword [esp + 0x80], eax
mov ecx, dword [0x101d96d0]
mov edx, dword [ecx]
mov dword [esp + 0x78], edx
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x298c]
mov dword [esp + 0x7c], ecx
imul edx, dword [esp + 0x7c], 0x38
add edx, dword [esp + 0x80]
mov dword [esp + 0x8c], edx
mov eax, dword [0x101d96d0]
mov ecx, dword [eax]
mov dword [esp + 0x84], ecx
mov edx, dword [esp + 0xec]
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0x2980]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x88]
push edx
mov eax, dword [esp + 0x90]
push eax
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0xf8]
call fcn.10052f80
mov ecx, dword [0x101d96d0]
mov edx, dword [ecx]
mov dword [esp + 0x90], edx
mov dword [esp + 0xf4], 0x5fcd786e
mov eax, dword [esp + 0xf8]
mov dword [esp + 0x2c], eax
mov ecx, dword [0x101d84cc]
mov dword [esp + 0x2c], ecx
push 0x5fcd786e
mov ecx, dword [esp + 0x30]
call fcn.1003fbc0
movzx edx, ax
mov eax, dword [esp + 0x90]
mov byte [eax + edx], 1
mov ecx, dword [0x101d84b8]
mov dword [esp + 0x94], ecx
mov edx, dword [esp + 0x94]
mov eax, dword [edx + 0xdc]
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0x30]
movss xmm0, dword [ecx + 0xc]
movss dword [esp + 0x98], xmm0
mov edx, dword [esp + 0x30]
movss xmm0, dword [edx + 0x10]
movss dword [esp + 0x9c], xmm0
push 0
movss xmm2, dword [esp + 0x9c]
movss xmm1, dword [esp + 0xa0]
xorps xmm0, xmm0
xor edx, edx
mov ecx, dword [esp + 0x10]
call dword [esp + 0xa4]
mov eax, dword [0x101d96d0]
mov ecx, dword [eax]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xfc], 0x5fcd786e
mov edx, dword [esp + 0x100]
mov dword [esp + 0x34], edx
mov eax, dword [0x101d84cc]
mov dword [esp + 0x34], eax
push 0x5fcd786e
mov ecx, dword [esp + 0x38]
call fcn.1003fbc0
movzx ecx, ax
mov edx, dword [esp + 0xa4]
mov byte [edx + ecx], 0
mov eax, dword [esp + 0x104]
mov dword [esp + 0x38], eax
mov ecx, dword [0x101d96d0]
mov edx, dword [ecx]
mov dword [esp + 0x38], edx
mov eax, dword [0x101d84b8]
mov dword [esp + 0xa8], eax
mov ecx, dword [esp + 0xa8]
mov edx, dword [ecx + 0x10]
movss xmm0, dword [edx + 0x10]
movss dword [esp + 0xac], xmm0
push ecx
movss xmm0, dword [esp + 0xb0]
movss dword [esp], xmm0
push 0x7ff00
push 0x100
push 0
mov ecx, dword [esp + 0x48]
call fcn.1003fd20
mov byte [esp + 0xb], al
movzx eax, byte [esp + 0x10]
test eax, eax
je 0x100529ef
mov ecx, dword [0x101d96d0]
mov edx, dword [ecx]
mov dword [esp + 0xb0], edx
mov ecx, dword [esp + 0xb0]
call fcn.10051c00
mov ecx, 0x18
mov esi, eax
mov edi, 0x101e3360
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0xc]
movss xmm0, dword [eax + 0x80]
movss dword [0x101e3354], xmm0
movss xmm0, dword [0x101ca378]
movss dword [esp + 0x40], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x48], xmm0
mov ecx, dword [esp + 0xc]
add ecx, 0xa4
mov dword [esp + 0x1c], ecx
xor edx, edx
mov byte [esp + 0x17], dl
mov al, byte [esp + 0x17]
mov byte [esp + 0x18], al
mov ecx, dword [esp + 0x1c]
movss xmm0, dword [ecx]
comiss xmm0, dword [esp + 0x40]
jbe 0x10052a3b
mov dword [esp + 0x3c], 1
jmp 0x10052a43
mov dword [esp + 0x3c], 0
movzx edx, byte [esp + 0x3c]
test edx, edx
je 0x10052a56
lea eax, [esp + 0x40]
mov dword [esp + 0x20], eax
jmp 0x10052a92
mov ecx, dword [esp + 0x1c]
movss xmm0, dword [esp + 0x48]
comiss xmm0, dword [ecx]
jbe 0x10052a6f
mov dword [esp + 0x44], 1
jmp 0x10052a77
mov dword [esp + 0x44], 0
movzx edx, byte [esp + 0x44]
test edx, edx
je 0x10052a8a
lea eax, [esp + 0x48]
mov dword [esp + 0x20], eax
jmp 0x10052a92
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov dword [edx + 0xa4], ecx
mov edx, dword [esp + 0xc]
xorps xmm0, xmm0
movss dword [edx + 0x9c], xmm0
mov eax, dword [0x101d84b8]
mov dword [esp + 0xb4], eax
mov ecx, dword [esp + 0xb4]
mov edx, dword [ecx + 0x58]
mov dword [esp + 0xb8], edx
xorps xmm0, xmm0
movss dword [esp + 0xe0], xmm0
movss xmm0, dword [0x101e3354]
movss dword [esp + 0xe4], xmm0
xorps xmm0, xmm0
movss dword [esp + 0xe8], xmm0
mov eax, dword [esp + 0x108]
mov dword [esp + 0x4c], eax
mov ecx, dword [0x101d96d0]
mov edx, dword [ecx]
mov dword [esp + 0x4c], edx
lea eax, [esp + 0xe0]
push eax
mov ecx, dword [esp + 0x50]
call dword [esp + 0xbc]
mov ecx, dword [0x101d96d0]
mov edx, dword [ecx]
mov dword [esp + 0xbc], edx
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0xbc]
mov edx, dword [ecx + 0x2980]
mov dword [esp + 0x50], edx
mov eax, 0xf
imul ecx, eax, 0x38
add ecx, 0x101e3710
mov dword [esp + 0xc0], ecx
mov edx, dword [esp + 0xc0]
mov dword [esp + 0xc4], edx
mov eax, dword [esp + 0xc4]
mov dword [esp + 0xd0], eax
xor ecx, ecx
imul edx, ecx, 0x38
add edx, 0x101e3710
mov dword [esp + 0xc8], edx
mov eax, dword [esp + 0xc8]
mov dword [esp + 0xcc], eax
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0xd4], ecx
mov edx, dword [esp + 0xd0]
push edx
mov eax, dword [esp + 0xd8]
push eax
mov ecx, dword [esp + 0x58]
call fcn.10053040
mov ecx, 0x18
mov esi, 0x101e3360
lea edi, [esp + 0x118]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x101d96d0]
mov edx, dword [ecx]
mov dword [esp + 0xd8], edx
mov ecx, dword [esp + 0xd8]
call fcn.10051c00
mov ecx, 0x18
lea esi, [esp + 0x118]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x101d96d0]
mov ecx, dword [eax]
mov dword [esp + 0xdc], ecx
mov dword [esp + 0x110], 0x5fcd786e
mov edx, dword [esp + 0x114]
mov dword [esp + 0x54], edx
mov eax, dword [0x101d84cc]
mov dword [esp + 0x54], eax
push 0x5fcd786e
mov ecx, dword [esp + 0x58]
call fcn.1003fbc0
movzx ecx, ax
mov edx, dword [esp + 0xdc]
mov byte [edx + ecx], 1
mov al, byte [esp + 0xb]
pop edi
pop esi
mov esp, ebp
pop ebp
ret