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

Disassembly:
sub esp, 0x50
xor edx, edx
inc edx
mov ecx, 0x200000
push ebx
push ebp
push esi
mov esi, dword [esp + 0x64]
mov ebp, 0x400000
push edi
mov edi, dword [esp + 0x6c]
xor ebx, ebx
cmp edi, 0x600000
jg 0x1002da41
je 0x1002dc3c
lea eax, [edi - 0x200000]
cmp eax, 0xf
ja case.0x1002da50.6291466
jmp dword [eax*4 + 0x1002e163]
lea eax, [edi - 0x600001]
cmp eax, 0xe
ja case.0x1002da50.6291466
jmp dword [eax*4 + 0x1002e1a3]
mov eax, edi
and eax, 0xffbfffff
cmp eax, 0x20000f
je 0x1002dc61
mov dword [esp + 0x14], edx
cmp byte [esi + 0x17], bl
je 0x1002dc68
and edi, ebp
or edi, 0x200001
mov dword [esp + 0x6c], edi
jmp 0x1002da1b
mov eax, edi
and eax, 0xffbfffff
cmp eax, 0x20000e
je 0x1002ddc6
mov ebp, edx
mov dword [esp + 0x20], edx
cmp byte [esi + 0x17], bl
je 0x1002ddcd
mov ebp, 0x400000
and edi, ebp
or edi, ecx
jmp 0x1002da7e
push esi
push dword [esp + 0x68]
call fcn.1002d436
pop ecx
pop ecx
jmp 0x1002e158
push esi
push dword [esp + 0x68]
call fcn.1002d337
jmp 0x1002daba
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x1002dadd
push esi
call fcn.1002e1df
jmp 0x1002dabb
mov eax, dword [esi]
test eax, eax
jle 0x1002e158
dec eax
jmp 0x1002dc5a
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x1002db03
push esi
push dword [esp + 0x68]
call fcn.1002e1fd
pop ecx
pop ecx
jmp 0x1002db05
inc dword [esi]
push esi
push dword [esp + 0x68]
call fcn.1002d57a
jmp 0x1002daba
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x1002db25
push esi
call fcn.1002e1df
pop ecx
jmp 0x1002e15b
push dword [esi]
push dword [esp + 0x68]
call fcn.1002b430
push esi
push dword [esp + 0x70]
mov dword [esi], eax
call fcn.1002d57a
add esp, 0x10
jmp 0x1002e15b
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x1002db59
push esi
push dword [esp + 0x68]
call fcn.1002e1fd
pop ecx
jmp 0x1002db1f
push dword [esi]
push dword [esp + 0x68]
call fcn.1002b457
jmp 0x1002db30
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi], ebx
jmp 0x1002e158
mov eax, dword [esp + 0x64]
xor ebx, ebx
mov eax, dword [eax + 4]
mov dword [esi], eax
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
jmp 0x1002e158
push esi
push dword [esp + 0x68]
call fcn.1002d57a
mov eax, dword [esi + 4]
pop ecx
pop ecx
cmp eax, dword [esi + 8]
je 0x1002dbaf
jle 0x1002dba7
mov eax, dword [esi + 8]
mov dword [esi + 4], eax
mov dword [esi], eax
mov dword [esi + 8], eax
mov byte [esi + 0x16], bl
cmp byte [esi + 0x17], bl
jne 0x1002db6e
mov eax, dword [esi]
jmp 0x1002dbd7
dec eax
push eax
push dword [esp + 0x68]
call fcn.1002b23d
pop ecx
pop ecx
cmp ax, word [0x1007d1c0]
je 0x1002e158
mov eax, dword [esi]
dec eax
mov dword [esi], eax
test eax, eax
jg 0x1002dbb8
jmp 0x1002e158
mov ebp, dword [esp + 0x64]
push esi
push ebp
mov edi, dword [ebp + 4]
call fcn.1002d57a
mov eax, dword [esi + 4]
pop ecx
pop ecx
cmp eax, dword [esi + 8]
je 0x1002dc08
jle 0x1002dc00
mov eax, dword [esi + 8]
mov dword [esi + 4], eax
mov dword [esi], eax
mov dword [esi + 8], eax
mov byte [esi + 0x16], bl
cmp byte [esi + 0x17], bl
je 0x1002dc14
mov dword [esi], edi
jmp 0x1002e158
mov eax, dword [esi]
jmp 0x1002dc33
push eax
push ebp
call fcn.1002b23d
pop ecx
pop ecx
cmp ax, word [0x1007d1c0]
je 0x1002e158
mov eax, dword [esi]
inc eax
mov dword [esi], eax
cmp eax, edi
jl 0x1002dc18
jmp 0x1002e158
push esi
push dword [esp + 0x68]
call fcn.1002d57a
push esi
call fcn.1002e296
mov eax, dword [esi + 8]
add esp, 0xc
test eax, eax
jle 0x1002dc5a
dec eax
mov dword [esi + 8], eax
mov dword [esi], eax
jmp 0x1002e158
mov eax, dword [esi + 0x10]
mov dword [esp + 0x14], eax
test ebp, edi
mov ebp, dword [esp + 0x64]
je 0x1002dc78
push esi
call fcn.1002e296
jmp 0x1002dc88
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x1002dc89
push esi
push ebp
call fcn.1002e1fd
pop ecx
pop ecx
push esi
push ebp
call fcn.1002d57a
movzx eax, byte [esi + 0x17]
push eax
push dword [esi]
lea eax, [esp + 0x40]
push ebp
push eax
call fcn.1002d87d
xor ebx, ebx
add esp, 0x18
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x14], ebx
jle 0x1002e15b
mov dl, byte [esi + 0x16]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
test dl, dl
je 0x1002dccb
movss xmm0, dword [esi + 0x1c]
jmp 0x1002dcd1
movss xmm0, dword [esp + 0x30]
add eax, ecx
movss dword [esp + 0x10], xmm0
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x1002e15b
dec eax
push eax
push ebp
call fcn.1002b23d
pop ecx
pop ecx
cmp ax, word [0x1007d1c0]
jne 0x1002e15b
mov eax, dword [esp + 0x18]
push eax
mov dword [esi], eax
lea eax, [esp + 0x4c]
push ebp
push eax
call fcn.1002b3c7
mov eax, dword [esp + 0x68]
add esp, 0xc
movss xmm0, dword [esp + 0x48]
mov ecx, ebx
movss dword [esp + 0x1c], xmm0
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], eax
test eax, eax
jle 0x1002dd7f
mov ebx, dword [esp + 0x18]
mov edi, eax
push ecx
push ebx
push ebp
call fcn.1002b251
fstp dword [esp + 0x38]
movss xmm0, dword [esp + 0x38]
add esp, 0xc
ucomiss xmm0, dword [0x10062c88]
lahf
test ah, 0x44
jnp 0x1002dd79
addss xmm0, dword [esp + 0x1c]
comiss xmm0, dword [esp + 0x10]
movss dword [esp + 0x1c], xmm0
ja 0x1002dd79
mov ecx, dword [esp + 0x20]
inc dword [esi]
inc ecx
mov dword [esp + 0x20], ecx
cmp ecx, edi
jl 0x1002dd35
mov edi, dword [esp + 0x6c]
xor ebx, ebx
push esi
push ebp
call fcn.1002d57a
movss xmm0, dword [esp + 0x18]
mov byte [esi + 0x16], 1
movss dword [esi + 0x1c], xmm0
pop ecx
pop ecx
test edi, 0x400000
je 0x1002dda4
mov eax, dword [esi]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x24]
mov dl, 1
mov ecx, dword [esp + 0x28]
inc eax
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
jl 0x1002dcc0
jmp 0x1002e15b
mov ebp, dword [esi + 0x10]
mov dword [esp + 0x20], ebp
test edi, 0x400000
je 0x1002dddd
push esi
call fcn.1002e296
jmp 0x1002ddeb
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x1002ddec
push esi
call fcn.1002e1df
pop ecx
push esi
push dword [esp + 0x68]
call fcn.1002d57a
movzx eax, byte [esi + 0x17]
push eax
push dword [esi]
lea eax, [esp + 0x40]
push dword [esp + 0x74]
push eax
call fcn.1002d87d
xor ebx, ebx
add esp, 0x18
mov dword [esp + 0x24], ebx
test ebp, ebp
jle 0x1002e15b
mov ebp, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], ebp
cmp byte [esi + 0x16], 0
je 0x1002de35
movss xmm0, dword [esi + 0x1c]
jmp 0x1002de3b
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0x6c], xmm0
cmp ebp, eax
je 0x1002e15b
push ebp
push dword [esp + 0x68]
lea eax, [esp + 0x50]
mov dword [esi], ebp
push eax
call fcn.1002b3c7
movss xmm0, dword [esp + 0x54]
add esp, 0xc
cmp dword [esp + 0x5c], 0
movss dword [esp + 0x28], xmm0
mov dword [esp + 0x2c], ebx
jle 0x1002deb7
push ebx
push ebp
push dword [esp + 0x6c]
call fcn.1002b251
fstp dword [esp + 0x38]
movss xmm0, dword [esp + 0x38]
add esp, 0xc
ucomiss xmm0, dword [0x10062c88]
lahf
test ah, 0x44
jnp 0x1002deb5
addss xmm0, dword [esp + 0x28]
comiss xmm0, dword [esp + 0x6c]
movss dword [esp + 0x28], xmm0
ja 0x1002deb5
inc dword [esi]
inc ebx
cmp ebx, dword [esp + 0x5c]
jl 0x1002de74
xor ebx, ebx
push esi
push dword [esp + 0x68]
call fcn.1002d57a
movss xmm0, dword [esp + 0x74]
mov byte [esi + 0x16], 1
movss dword [esi + 0x1c], xmm0
pop ecx
pop ecx
test edi, 0x400000
je 0x1002dedf
mov eax, dword [esi]
mov dword [esi + 8], eax
lea eax, [ebp - 1]
xor ebp, ebp
cmp dword [esp + 0x18], ebp
cmovg ebp, eax
jmp 0x1002df0d
lea eax, [ebp - 1]
push eax
push dword [esp + 0x68]
mov dword [esp + 0x74], eax
call fcn.1002b23d
pop ecx
pop ecx
cmp ax, word [0x1007d1c0]
je 0x1002df11
mov ebp, dword [esp + 0x6c]
test ebp, ebp
jg 0x1002deed
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], ecx
cmp ecx, dword [esp + 0x20]
jl 0x1002de28
jmp 0x1002e15b
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jne 0x1002df40
push esi
call fcn.1002e296
pop ecx
push dword [esi]
push dword [esp + 0x68]
call fcn.1002b430
mov dword [esi + 8], eax
jmp 0x1002db30
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jne 0x1002df62
push esi
call fcn.1002e296
pop ecx
push dword [esi]
push dword [esp + 0x68]
call fcn.1002b457
jmp 0x1002df4b
push esi
call fcn.1002e296
inc dword [esi + 8]
push esi
push dword [esp + 0x6c]
call fcn.1002d57a
mov eax, dword [esi + 8]
add esp, 0xc
jmp 0x1002dc5a
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x1002df9c
push esi
push dword [esp + 0x68]
jmp 0x1002dfc9
mov ecx, dword [esp + 0x64]
mov eax, dword [esi]
cmp eax, dword [ecx + 4]
jge 0x1002e158
push edx
push eax
push esi
push ecx
call fcn.1002d5b0
add esp, 0x10
jmp 0x1002e158
mov eax, dword [esi + 4]
push esi
push dword [esp + 0x68]
cmp eax, dword [esi + 8]
je 0x1002dfd3
call fcn.1002d612
jmp 0x1002daba
call fcn.1002d57a
mov eax, dword [esi]
pop ecx
pop ecx
test eax, eax
jle 0x1002e158
push 1
dec eax
push eax
push esi
push dword [esp + 0x70]
call fcn.1002d5b0
add esp, 0x10
dec dword [esi]
jmp 0x1002e158
push esi
call fcn.1002e296
pop ecx
xor ebx, ebx
jmp 0x1002db6b
push esi
call fcn.1002e296
mov eax, dword [esp + 0x68]
pop ecx
mov eax, dword [eax + 4]
jmp 0x1002dc57
push esi
push dword [esp + 0x68]
call fcn.1002d57a
push esi
call fcn.1002e296
xor ebx, ebx
add esp, 0xc
cmp byte [esi + 0x17], bl
je 0x1002e03b
mov dword [esi], ebx
jmp 0x1002e05e
mov eax, dword [esi]
jmp 0x1002e05a
dec eax
push eax
push dword [esp + 0x68]
call fcn.1002b23d
pop ecx
pop ecx
cmp ax, word [0x1007d1c0]
je 0x1002e05e
mov eax, dword [esi]
dec eax
mov dword [esi], eax
test eax, eax
jg 0x1002e03f
mov eax, dword [esi]
mov dword [esi + 8], eax
jmp 0x1002e158
mov ebx, dword [esp + 0x64]
push esi
push ebx
mov edi, dword [ebx + 4]
call fcn.1002d57a
mov eax, dword [esi + 8]
pop ecx
pop ecx
cmp dword [esi + 4], eax
jne 0x1002e08a
mov eax, dword [esi]
mov dword [esi + 8], eax
mov dword [esi + 4], eax
jmp 0x1002e08c
mov dword [esi], eax
cmp byte [esi + 0x17], 0
je 0x1002e0ad
mov dword [esi], edi
jmp 0x1002e0b1
push eax
push ebx
call fcn.1002b23d
pop ecx
pop ecx
cmp ax, word [0x1007d1c0]
je 0x1002e0b1
mov eax, dword [esi]
inc eax
mov dword [esi], eax
cmp eax, edi
jl 0x1002e096
mov eax, dword [esi]
mov dword [esi + 8], eax
mov byte [esi + 0x16], 0
jmp 0x1002e15b
xor eax, eax
cmp edi, ecx
cmovge edi, eax
test edi, edi
jle 0x1002e15b
movzx eax, di
mov dword [esp + 0x6c], eax
cmp edi, 0xa
jne 0x1002e0df
cmp byte [esi + 0x17], bl
jne 0x1002e15b
mov edi, dword [esp + 0x64]
cmp byte [esi + 0xc], bl
je 0x1002e126
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jne 0x1002e126
mov eax, dword [esi]
cmp eax, dword [edi + 4]
jge 0x1002e126
push edx
push edx
push eax
push esi
push edi
call fcn.1002d2ea
push 1
push dword [esi]
push edi
call fcn.1002b1da
push 1
lea eax, [esp + 0x90]
push eax
push dword [esi]
push edi
call fcn.1002b29b
add esp, 0x30
test al, al
je 0x1002e15b
jmp 0x1002e156
push esi
push edi
call fcn.1002d612
push 1
lea eax, [esp + 0x78]
push eax
push dword [esi]
push edi
call fcn.1002b29b
add esp, 0x18
test al, al
je 0x1002e15b
push 1
xor ebx, ebx
lea eax, [esi + 0x20]
push ebx
push dword [esi]
push eax
call fcn.1002d145
add esp, 0x10
inc dword [esi]
mov byte [esi + 0x16], bl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret