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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1d8
push esi
push edi
mov byte [esp + 0xc], dl
mov dword [esp + 0x30], ecx
mov byte [esp + 0xb], 0
mov eax, dword [0x101d96d0]
cmp dword [eax], 0
je 0x10051e9f
mov dword [esp + 0x1c], 1
jmp 0x10051ea7
mov dword [esp + 0x1c], 0
movzx ecx, byte [esp + 0x1c]
test ecx, ecx
jne 0x10051eb9
mov al, byte [esp + 0xb]
jmp 0x10052601
mov edx, dword [0x101d84b8]
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0xc]
movzx edx, byte [ecx + 0xad]
test edx, edx
jne 0x10051ede
mov al, byte [esp + 0xb]
jmp 0x10052601
mov eax, dword [0x101d8c04]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [0x101e335c]
cmp eax, dword [edx + 4]
jle 0x10051f49
push 0x101e335c
call fcn.1016c49a
add esp, 4
cmp dword [0x101e335c], 0xffffffff
jne 0x10051f49
mov ecx, dword [0x101d96d0]
mov edx, dword [ecx]
mov dword [esp + 0x54], edx
mov eax, dword [esp + 0x54]
movss xmm0, dword [eax + 0xa370]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esp + 0x58]
movss dword [0x101e33c0], xmm0
push 0x101e335c
call fcn.1016c450
add esp, 4
mov ecx, dword [0x101d84c4]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x20], eax
mov ecx, 4
imul edx, ecx, 0x1a
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [edx + ecx]
mov dword [esp + 0x60], edx
mov ecx, dword [esp + 0x20]
call dword [esp + 0x60]
movzx eax, al
test eax, eax
je 0x10051fb3
mov ecx, dword [0x101d96d0]
mov edx, dword [ecx]
mov dword [esp + 0x64], edx
mov eax, dword [esp + 0x64]
movss xmm0, dword [eax + 0xa370]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [0x101e33c0]
ucomiss xmm0, dword [esp + 0x68]
lahf
test ah, 0x44
jnp 0x10052024
mov ecx, dword [0x101d84b8]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x6c]
mov eax, dword [edx + 0xd8]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x16c]
mov dword [esp + 0x24], ecx
mov edx, dword [0x101d96d0]
mov eax, dword [edx]
mov dword [esp + 0x24], eax
mov ecx, dword [0x101dfa98]
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0x24]
push edx
mov ecx, dword [esp + 0x74]
call dword [esp + 0x78]
mov eax, dword [0x101d96d0]
mov ecx, dword [eax]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x78]
movss xmm0, dword [edx + 0xa370]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0x7c]
movss dword [0x101e33c0], xmm0
movzx eax, byte [esp + 0xc]
test eax, eax
je 0x100525fd
xor ecx, ecx
imul edx, ecx, 0x38
add edx, 0x101e33c8
mov dword [esp + 0x80], edx
mov eax, dword [esp + 0x80]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x9c], ecx
mov edx, dword [0x101d96d0]
mov eax, dword [edx]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x2980]
mov dword [esp + 0x94], edx
mov eax, dword [0x101d96d0]
mov ecx, dword [eax]
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 0x8c]
mov eax, dword [edx + 0x298c]
mov dword [esp + 0x90], eax
imul ecx, dword [esp + 0x90], 0x38
add ecx, dword [esp + 0x94]
mov dword [esp + 0xa0], ecx
mov edx, dword [0x101d96d0]
mov eax, dword [edx]
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0x170]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x98]
mov eax, dword [edx + 0x2980]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x9c]
push ecx
mov edx, dword [esp + 0xa4]
push edx
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x158]
call fcn.10052f80
mov eax, dword [0x101d96d0]
mov ecx, dword [eax]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0xa4]
call fcn.10051c00
mov ecx, 0x18
mov esi, eax
lea edi, [esp + 0x180]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [0x101d96d0]
mov eax, dword [edx]
mov dword [esp + 0x2c], eax
mov ecx, 4
imul edx, ecx, 0xb
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov edx, dword [edx + ecx]
mov dword [esp + 0xa8], edx
mov ecx, dword [esp + 0x2c]
call dword [esp + 0xa8]
movss xmm0, dword [eax + 4]
movss dword [esp + 0x114], xmm0
mov eax, dword [0x101d96d0]
mov ecx, dword [eax]
mov dword [esp + 0xac], ecx
mov edx, dword [esp + 0xac]
mov dword [edx + 0xa68], 0
mov eax, dword [0x101d84b8]
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 0xb0]
mov edx, dword [ecx + 0xdc]
mov dword [esp + 0xc0], edx
mov eax, dword [esp + 0x30]
movss xmm0, dword [eax + 0xc]
movss dword [esp + 0xb4], xmm0
mov ecx, dword [esp + 0x30]
movss xmm0, dword [ecx + 0x10]
movss dword [esp + 0xb8], xmm0
mov edx, dword [0x101dfa98]
mov dword [esp + 0xbc], edx
push 0
movss xmm2, dword [esp + 0xb8]
movss xmm1, dword [esp + 0xbc]
xorps xmm0, xmm0
xor edx, edx
mov ecx, dword [esp + 0xc0]
call dword [esp + 0xc4]
mov eax, dword [0x101d84b8]
mov dword [esp + 0xc4], eax
mov ecx, dword [esp + 0xc4]
mov edx, dword [ecx + 0xe0]
mov dword [esp + 0xc8], edx
mov eax, dword [esp + 0x154]
mov dword [esp + 0x34], eax
mov ecx, dword [0x101d96d0]
mov edx, dword [ecx]
mov dword [esp + 0x34], edx
mov ecx, dword [esp + 0x34]
call dword [esp + 0xc8]
mov eax, dword [0x101d84b8]
mov dword [esp + 0xcc], eax
mov ecx, dword [esp + 0xcc]
mov edx, dword [ecx + 0x58]
mov dword [esp + 0xd0], edx
xorps xmm0, xmm0
movss dword [esp + 0x138], xmm0
mov eax, dword [0x101dfa98]
movss xmm0, dword [eax + 0x80]
movss dword [esp + 0x13c], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x140], xmm0
mov ecx, dword [esp + 0x158]
mov dword [esp + 0x38], ecx
mov edx, dword [0x101d96d0]
mov eax, dword [edx]
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x138]
push ecx
mov ecx, dword [esp + 0x3c]
call dword [esp + 0xd4]
mov edx, dword [0x101d96d0]
mov eax, dword [edx]
mov dword [esp + 0xd4], eax
mov ecx, dword [esp + 0x15c]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0xd4]
mov eax, dword [edx + 0x2980]
mov dword [esp + 0x3c], eax
mov ecx, 0xf
imul edx, ecx, 0x38
add edx, 0x101e33c8
mov dword [esp + 0xd8], edx
mov eax, dword [esp + 0xd8]
mov dword [esp + 0xdc], eax
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0xe8], ecx
xor edx, edx
imul eax, edx, 0x38
add eax, 0x101e33c8
mov dword [esp + 0xe0], eax
mov ecx, dword [esp + 0xe0]
mov dword [esp + 0xe4], ecx
mov edx, dword [esp + 0xe4]
mov dword [esp + 0xec], edx
mov eax, dword [esp + 0xe8]
push eax
mov ecx, dword [esp + 0xf0]
push ecx
mov ecx, dword [esp + 0x44]
call fcn.10053040
mov edx, dword [esp + 0x160]
mov dword [esp + 0x40], edx
mov eax, dword [0x101d96d0]
mov ecx, dword [eax]
mov dword [esp + 0x40], ecx
mov edx, 0xc
imul eax, edx, 0x38
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 0x2980]
movss xmm0, dword [0x101ca180]
movss dword [edx + eax + 0x20], xmm0
mov eax, dword [esp + 0x164]
mov dword [esp + 0x44], eax
mov ecx, dword [0x101d96d0]
mov edx, dword [ecx]
mov dword [esp + 0x44], edx
mov eax, dword [0x101d84b8]
mov dword [esp + 0xf0], eax
mov ecx, dword [esp + 0xf0]
mov edx, dword [ecx + 0x10]
movss xmm0, dword [edx + 0x10]
movss dword [esp + 0xf4], xmm0
mov dword [esp + 0xf8], 0x101e0258
push ecx
movss xmm0, dword [esp + 0xf8]
movss dword [esp], xmm0
push 0x7ff00
push 0x100
mov eax, dword [esp + 0x104]
push eax
mov ecx, dword [esp + 0x54]
call fcn.1003fd20
mov byte [esp + 0xb], al
mov ecx, dword [0x101d96d0]
mov edx, dword [ecx]
mov dword [esp + 0xfc], edx
mov eax, dword [esp + 0xfc]
add eax, 4
mov dword [esp + 0x48], eax
mov ecx, 4
shl ecx, 0
mov edx, dword [esp + 0x48]
mov eax, dword [edx]
mov ecx, dword [ecx + eax]
mov dword [esp + 0x100], ecx
mov ecx, dword [esp + 0x48]
call dword [esp + 0x100]
mov dword [esp + 0x18], eax
movzx edx, byte [esp + 0xb]
test edx, edx
je 0x10052562
mov dword [esp + 0x10], 0
jmp 0x1005246c
mov eax, dword [esp + 0x10]
add eax, 1
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0x100
jge 0x10052562
imul ecx, dword [esp + 0x10], 0x30
add ecx, 0x101e0258
mov dword [esp + 0x108], ecx
imul edx, dword [esp + 0x10], 0x30
add edx, 0x101e0258
mov dword [esp + 0x104], edx
lea eax, [esp + 0x174]
push eax
mov ecx, dword [esp + 0x108]
call fcn.1003f920
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
movss xmm0, dword [ecx]
subss xmm0, dword [edx]
movss dword [esp + 0x11c], xmm0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
movss xmm0, dword [eax + 4]
subss xmm0, dword [ecx + 4]
movss dword [esp + 0x120], xmm0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
movss xmm0, dword [edx + 8]
subss xmm0, dword [eax + 8]
movss dword [esp + 0x124], xmm0
mov ecx, dword [esp + 0x11c]
mov dword [esp + 0x128], ecx
mov edx, dword [esp + 0x120]
mov dword [esp + 0x12c], edx
mov eax, dword [esp + 0x124]
mov dword [esp + 0x130], eax
sub esp, 0xc
mov ecx, esp
mov edx, dword [esp + 0x134]
mov dword [ecx], edx
mov eax, dword [esp + 0x138]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0x13c]
mov dword [ecx + 8], edx
mov ecx, dword [esp + 0x114]
call fcn.10051b40
jmp 0x10052461
mov eax, dword [0x101d96d0]
mov ecx, dword [eax]
mov dword [esp + 0x10c], ecx
mov ecx, dword [esp + 0x10c]
call fcn.10051c00
mov ecx, 0x18
lea esi, [esp + 0x180]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edx, dword [0x101d84b8]
mov dword [esp + 0x110], edx
mov eax, dword [esp + 0x110]
mov ecx, dword [eax + 0x58]
mov dword [esp + 0x118], ecx
xorps xmm0, xmm0
movss dword [esp + 0x144], xmm0
movss xmm0, dword [esp + 0x114]
movss dword [esp + 0x148], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x14c], xmm0
mov edx, dword [esp + 0x168]
mov dword [esp + 0x4c], edx
mov eax, dword [0x101d96d0]
mov ecx, dword [eax]
mov dword [esp + 0x4c], ecx
lea edx, [esp + 0x144]
push edx
mov ecx, dword [esp + 0x50]
call dword [esp + 0x11c]
mov al, byte [esp + 0xb]
pop edi
pop esi
mov esp, ebp
pop ebp
ret