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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x101bd92c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov edi, ecx
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x23c], 0
call fcn.10098090
mov eax, dword [0x101ed73c]
add esp, 0xc
test eax, eax
jne 0x1003f3c0
push 0xec
call fcn.10092352
add esp, 4
test eax, eax
je 0x1003f3b9
mov ecx, eax
call fcn.10056470
jmp 0x1003f3bb
xor eax, eax
mov dword [0x101ed73c], eax
mov ecx, dword [edi + 0xc8]
cmp dword [eax + 0x30], 0
mov eax, dword [ecx]
push 0x78
je 0x1003f3dd
call dword [eax + 0x20]
mov ecx, eax
mov dword [ebp - 0x234], ecx
jmp 0x1003f3e7
call dword [eax]
mov ecx, eax
mov dword [ebp - 0x234], eax
mov eax, dword [edi + 0xd0]
cmp dword [eax + 0x444], 0xa
jl 0x1003f42f
mov dword [ebp - 0x234], 0
mov eax, dword [edi + 0x84]
mov dword [ebp - 0x21c], eax
mov eax, dword [0x101ed73c]
test eax, eax
jne 0x1003f443
push 0xec
call fcn.10092352
add esp, 4
test eax, eax
je 0x1003f43c
mov ecx, eax
call fcn.10056470
jmp 0x1003f43e
cmp ecx, 1
jne 0x1003f400
mov eax, dword [edi + 0x80]
jmp 0x1003f406
xor eax, eax
mov dword [0x101ed73c], eax
mov ebx, dword [eax + 0xb0]
mov esi, dword [eax + 0xb4]
test ebx, ebx
je 0x1003f46d
mov ecx, ebx
call fcn.100474c0
mov ecx, ebx
mov dword [ebp - 0x220], eax
call fcn.10047520
mov dword [ebp - 0x224], eax
test esi, esi
je 0x1003f48b
mov ecx, esi
call fcn.100474c0
mov ecx, esi
mov dword [ebp - 0x22c], eax
call fcn.10047520
mov dword [ebp - 0x23c], eax
mov ecx, dword [edi + 0xd4]
mov eax, dword [ecx]
call dword [eax + 0x44]
mov ecx, dword [edi + 0xd4]
dec eax
mov edx, dword [ecx]
push eax
call dword [edx + 0xc]
mov esi, eax
mov al, 1
xor ecx, ecx
movzx eax, al
test esi, esi
cmove eax, ecx
xor ebx, ebx
mov dword [ebp - 0x244], esi
mov dword [ebp - 0x240], eax
test al, al
je 0x1003f4c6
mov ebx, dword [esi + 8]
mov eax, dword [0x101ed73c]
test eax, eax
jne 0x1003f4f0
push 0xec
call fcn.10092352
add esp, 4
test eax, eax
je 0x1003f4e9
mov ecx, eax
call fcn.10056470
jmp 0x1003f4eb
xor eax, eax
mov dword [0x101ed73c], eax
mov eax, dword [eax + 0xd8]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x210], eax
test ebx, ebx
je 0x1003f50c
add eax, dword [ebx + 0xc]
mov dword [ebp - 0x210], eax
mov ecx, dword [edi + 0xd4]
mov eax, dword [ecx]
call dword [eax + 0x14]
cmp dword [ebp - 0x234], 1
mov dword [ebp - 0x230], eax
jne 0x1003f5ec
mov esi, dword [0x101ed73c]
test esi, esi
jne 0x1003f558
push 0xec
call fcn.10092352
add esp, 4
test eax, eax
je 0x1003f550
mov ecx, eax
call fcn.10056470
mov esi, eax
jmp 0x1003f552
xor esi, esi
mov dword [0x101ed73c], esi
mov eax, dword [esi + 0x9c]
add eax, dword [ebp - 0x230]
cmp dword [ebp - 0x244], 0
mov dword [ebp - 0x218], eax
je 0x1003f58b
test ebx, ebx
je 0x1003f58b
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 4]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebx + 4]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x224]
cdq
sub eax, edx
mov edx, dword [ebp - 0x220]
sar eax, 1
neg eax
add dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x218]
lea ecx, [edx + eax]
add eax, dword [ebp - 0x22c]
mov dword [ebp - 0x228], ecx
mov ecx, dword [ebp - 0x214]
add eax, edx
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x230], eax
test ebx, ebx
je 0x1003f685
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + 0x2c]
add eax, dword [ebx + 0xc]
mov dword [ebp - 0x210], eax
jmp 0x1003f685
test esi, esi
je 0x1003f67f
cmp byte [ebp - 0x240], 0
je 0x1003f61b
mov eax, dword [ebx]
mov dword [ebp - 0x218], eax
call fcn.1003e790
mov ecx, dword [eax + 0xa0]
add ecx, dword [ebx + 0xc]
mov dword [ebp - 0x214], ecx
jmp 0x1003f61d
xor ecx, ecx
mov eax, dword [ebp - 0x218]
add eax, dword [ebp - 0x220]
mov esi, dword [0x101ed73c]
mov ebx, dword [ebx + 0xc]
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x238], ecx
test esi, esi
jne 0x1003f666
push 0xec
call fcn.10092352
add esp, 4
test eax, eax
je 0x1003f65e
mov ecx, eax
call fcn.10056470
mov esi, eax
jmp 0x1003f660
xor esi, esi
mov dword [0x101ed73c], esi
mov eax, dword [esi + 0xa0]
add eax, dword [ebp - 0x224]
add ebx, eax
mov eax, dword [esi + 0xd8]
add ebx, dword [eax + 0x2c]
jmp 0x1003f68b
mov esi, dword [0x101ed73c]
mov ebx, dword [ebp - 0x210]
test esi, esi
jne 0x1003f6b3
push 0xec
call fcn.10092352
add esp, 4
test eax, eax
je 0x1003f6ab
mov ecx, eax
call fcn.10056470
mov esi, eax
jmp 0x1003f6ad
xor esi, esi
mov dword [0x101ed73c], esi
mov ecx, dword [ebp - 0x21c]
mov eax, dword [esi + 0xd8]
mov edx, dword [eax + 0x28]
mov eax, dword [ecx + 0x30]
add eax, dword [ecx + 0x1c]
add edx, dword [ebp - 0x230]
add eax, dword [ecx + 8]
cmp edx, eax
cmovl edx, eax
mov eax, dword [ecx + 0x84]
add eax, dword [ecx + 0x48]
mov dword [ebp - 0x21c], edx
add eax, dword [ecx + 0xc]
cmp ebx, eax
cmovl ebx, eax
mov dword [ebp - 0x210], ebx
xor ebx, ebx
cmp dword [edi + 0xc0], ebx
je 0x1003f75c
mov ebx, edx
sub ebx, dword [edi + 0x7c]
lea eax, [ebp - 0x20c]
sub ebx, dword [edi + 0x6c]
push ebx
push 0x10191a90
push eax
call fcn.10091da4
add esp, 0xc
cmp word [ebp - 0x20c], 0
jne 0x1003f728
xor ecx, ecx
jmp 0x1003f740
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003f731
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [edi + 0xc0]
lea eax, [ebp - 0x20c]
push eax
call fcn.100048b0
mov esi, dword [0x101ed73c]
add ebx, 0xfffffffe
cmp dword [edi + 0xb8], 0
je 0x1003f7bf
sub ebx, dword [edi + 0x70]
lea eax, [ebp - 0x20c]
push ebx
push 0x10191a90
push eax
call fcn.10091da4
add esp, 0xc
cmp word [ebp - 0x20c], 0
jne 0x1003f78b
xor ecx, ecx
jmp 0x1003f7a3
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003f794
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [edi + 0xb8]
lea eax, [ebp - 0x20c]
push eax
call fcn.100048b0
mov esi, dword [0x101ed73c]
add ebx, 0xfffffffe
cmp dword [edi + 0xb0], 0
je 0x1003f822
sub ebx, dword [edi + 0x74]
lea eax, [ebp - 0x20c]
push ebx
push 0x10191a90
push eax
call fcn.10091da4
add esp, 0xc
cmp word [ebp - 0x20c], 0
jne 0x1003f7ee
xor ecx, ecx
jmp 0x1003f806
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003f7f7
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [edi + 0xb0]
lea eax, [ebp - 0x20c]
push eax
call fcn.100048b0
mov esi, dword [0x101ed73c]
add ebx, 0xfffffffe
cmp dword [edi + 0xa8], 0
je 0x1003f888
sub ebx, dword [edi + 0x78]
lea eax, [ebp - 0x20c]
push ebx
push 0x10191a90
push eax
call fcn.10091da4
add esp, 0xc
cmp word [ebp - 0x20c], 0
jne 0x1003f851
xor ecx, ecx
jmp 0x1003f86f
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003f860
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [edi + 0xa8]
lea eax, [ebp - 0x20c]
push eax
call fcn.100048b0
mov esi, dword [0x101ed73c]
mov eax, dword [ebp - 0x21c]
mov ebx, dword [ebp - 0x210]
mov dword [edi + 0x64], eax
mov dword [edi + 0x68], ebx
test esi, esi
jne 0x1003f8c8
push 0xec
call fcn.10092352
add esp, 4
test eax, eax
je 0x1003f8ba
mov ecx, eax
call fcn.10056470
mov esi, eax
jmp 0x1003f8bc
xor esi, esi
mov eax, dword [ebp - 0x21c]
mov dword [0x101ed73c], esi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov ecx, dword [ebp - 0x214]
mulss xmm0, dword [esi + 0xa4]
cvttss2si eax, xmm0
movd xmm0, ebx
mov dword [edi + 0x3c], eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esi + 0xa4]
mov dword [edi + 0x48], ecx
cvttss2si eax, xmm0
mov dword [edi + 0x40], eax
mov eax, dword [ebp - 0x218]
mov dword [edi + 0x44], eax
add eax, dword [ebp - 0x220]
mov dword [edi + 0x4c], eax
mov eax, dword [ebp - 0x224]
add eax, ecx
mov ecx, dword [ebp - 0x238]
mov dword [edi + 0x50], eax
mov eax, dword [ebp - 0x228]
mov dword [edi + 0x54], eax
add eax, dword [ebp - 0x22c]
mov dword [edi + 0x58], ecx
mov dword [edi + 0x5c], eax
mov eax, dword [ebp - 0x23c]
add eax, ecx
mov ecx, dword [ebp - 4]
mov dword [edi + 0x60], eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1009174c
mov esp, ebp
pop ebp
ret