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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a5278
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x71a00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], vtable.viewtrans::CWriteVB.0
mov dword [ebp - 4], 0
xor edi, edi
mov eax, dword [esi + 0x3c]
add eax, 0xe0
mov ecx, dword [esi + 8]
mov dword [ebp - 0x10], edi
movd xmm0, eax
mov eax, dword [esi + 0x40]
cvtdq2ps xmm0, xmm0
add eax, 0xe0
mulss xmm0, xmm1
cvttss2si ebx, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
add ebx, 0xf
and ebx, 0xfffffff0
add ebx, 0xffffff20
mov dword [ebp - 0x28], ebx
mulss xmm0, xmm1
cvttss2si eax, xmm0
add eax, 0xf
and eax, 0xfffffff0
add eax, 0xffffff20
mov dword [ebp - 0x1c], eax
test ecx, ecx
je 0x6136e7
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, eax
test ecx, ecx
je 0x6136e7
movss xmm2, dword [0x6db8c0]
mov eax, ebx
mov ebx, dword [ebp - 0x1c]
mov edx, 0xf
add ebx, edx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], ebx
xorps xmm5, xmm5
mov ebx, eax
mov dword [ebp - 0x20], edx
mov edi, ebx
mov dword [ebp - 0x18], eax
sub edi, dword [ebp - 0x1c]
mov dword [ebp - 0x30], edi
mov edi, dword [ebp - 0x1c]
sub edi, ebx
mov bl, byte [ebp + 8]
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x10]
test eax, eax
js 0x613215
mov edi, dword [esi + 0x3c]
cmp eax, edi
jge 0x6136d7
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x30]
cmp eax, edi
mov eax, dword [ebp - 0x14]
jle 0x612d7b
mov edx, edi
mov edi, dword [ebp - 0x28]
sub edx, eax
sub edx, edi
jmp 0x612d7e
mov edi, dword [ebp - 0x28]
movd xmm3, dword [ebp - 0x18]
movd xmm1, dword [esi + 0x38]
cvtdq2ps xmm3, xmm3
cvtdq2ps xmm1, xmm1
movaps xmm0, xmm3
test bl, bl
je 0x612d9d
subss xmm0, xmm2
subss xmm1, xmm2
movss dword [ecx + 4], xmm1
add eax, edx
movss dword [ecx], xmm0
movaps xmm1, xmm3
mov dword [ecx + 8], 0x3f000000
add eax, edi
mov dword [ecx + 0xc], 0x3f800000
mov dword [ecx + 0x10], 0xffffffff
movd xmm0, dword [esi + 0x3c]
movd xmm4, eax
mov dword [ecx + 0x18], 0
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm4, xmm4
divss xmm1, xmm0
movaps xmm0, xmm4
movss dword [ecx + 0x14], xmm1
movd xmm1, dword [esi + 0x38]
cvtdq2ps xmm1, xmm1
test bl, bl
je 0x612df8
subss xmm0, xmm2
subss xmm1, xmm2
movss dword [ecx + 0x20], xmm1
movaps xmm1, xmm4
movss dword [ecx + 0x1c], xmm0
mov dword [ecx + 0x24], 0x3f000000
mov dword [ecx + 0x28], 0x3f800000
mov dword [ecx + 0x2c], 0xffffffff
movd xmm0, dword [esi + 0x3c]
cvtdq2ps xmm0, xmm0
mov dword [ecx + 0x34], 0
divss xmm1, xmm0
movaps xmm0, xmm3
movss dword [ecx + 0x30], xmm1
mov eax, dword [esi + 0x40]
add eax, dword [esi + 0x38]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
test bl, bl
je 0x612e4e
subss xmm0, xmm2
subss xmm1, xmm2
movss dword [ecx + 0x3c], xmm1
movaps xmm1, xmm3
movss dword [ecx + 0x38], xmm0
mov dword [ecx + 0x40], 0x3f000000
mov dword [ecx + 0x44], 0x3f800000
mov dword [ecx + 0x48], 0xffffffff
movd xmm0, dword [esi + 0x3c]
mov dword [ecx + 0x50], 0x3f800000
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movaps xmm0, xmm4
movss dword [ecx + 0x4c], xmm1
movd xmm1, dword [esi + 0x38]
cvtdq2ps xmm1, xmm1
test bl, bl
je 0x612e9f
subss xmm0, xmm2
subss xmm1, xmm2
movss dword [ecx + 0x58], xmm1
movaps xmm1, xmm4
movss dword [ecx + 0x54], xmm0
mov dword [ecx + 0x5c], 0x3f000000
mov dword [ecx + 0x60], 0x3f800000
mov dword [ecx + 0x64], 0xffffffff
movd xmm0, dword [esi + 0x3c]
cvtdq2ps xmm0, xmm0
mov dword [ecx + 0x6c], 0
divss xmm1, xmm0
movaps xmm0, xmm4
movss dword [ecx + 0x68], xmm1
mov eax, dword [esi + 0x40]
add eax, dword [esi + 0x38]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
test bl, bl
je 0x612ef5
subss xmm0, xmm2
subss xmm1, xmm2
movss dword [ecx + 0x70], xmm0
movss dword [ecx + 0x74], xmm1
mov dword [ecx + 0x78], 0x3f000000
mov dword [ecx + 0x7c], 0x3f800000
mov dword [ecx + 0x80], 0xffffffff
movd xmm0, dword [esi + 0x3c]
cvtdq2ps xmm0, xmm0
mov dword [ecx + 0x88], 0x3f800000
divss xmm4, xmm0
movaps xmm0, xmm3
movss dword [ecx + 0x84], xmm4
mov eax, dword [esi + 0x40]
add eax, dword [esi + 0x38]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
test bl, bl
je 0x612f51
subss xmm0, xmm2
subss xmm1, xmm2
movss dword [ecx + 0x8c], xmm0
movss dword [ecx + 0x90], xmm1
mov dword [ecx + 0x94], 0x3f000000
mov dword [ecx + 0x98], 0x3f800000
mov dword [ecx + 0x9c], 0xffffffff
movd xmm0, dword [esi + 0x3c]
cvtdq2ps xmm0, xmm0
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
add edi, 6
mov eax, dword [ebp - 0x18]
mov dword [ecx + 0xa4], 0x3f800000
mov dword [ebp - 0x10], edi
divss xmm3, xmm0
movss dword [ecx + 0xa0], xmm3
add ecx, 0xa8
add edx, eax
js 0x613212
mov eax, dword [esi + 0x40]
cmp edx, eax
mov edx, dword [ebp - 0x20]
jge 0x6136df
cmp dword [ebp - 0x24], eax
jle 0x612fd5
mov edx, eax
sub edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x18]
movd xmm0, dword [esi + 0x34]
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp - 0x10]
movd xmm4, eax
cvtdq2ps xmm4, xmm4
cvtdq2ps xmm0, xmm0
movaps xmm1, xmm4
test bl, bl
je 0x612fff
subss xmm0, xmm2
subss xmm1, xmm2
movss dword [ecx], xmm0
movss dword [ecx + 4], xmm1
movaps xmm1, xmm4
mov dword [ecx + 8], 0x3f000000
mov dword [ecx + 0xc], 0x3f800000
mov dword [ecx + 0x10], 0xffffffff
movd xmm0, dword [esi + 0x40]
cvtdq2ps xmm0, xmm0
mov dword [ecx + 0x14], 0
divss xmm1, xmm0
movss dword [ecx + 0x18], xmm1
movaps xmm1, xmm4
mov eax, dword [esi + 0x34]
add eax, dword [esi + 0x3c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
test bl, bl
je 0x613054
subss xmm0, xmm2
subss xmm1, xmm2
movss dword [ecx + 0x20], xmm1
movaps xmm1, xmm4
movss dword [ecx + 0x1c], xmm0
mov dword [ecx + 0x24], 0x3f000000
mov dword [ecx + 0x28], 0x3f800000
mov dword [ecx + 0x2c], 0xffffffff
movd xmm0, dword [esi + 0x40]
mov eax, dword [ebp - 0x14]
cvtdq2ps xmm0, xmm0
add eax, edx
mov dword [ecx + 0x30], 0x3f800000
add eax, dword [ebp - 0x1c]
movd xmm3, eax
divss xmm1, xmm0
cvtdq2ps xmm3, xmm3
movss dword [ecx + 0x34], xmm1
movd xmm0, dword [esi + 0x34]
movaps xmm1, xmm3
cvtdq2ps xmm0, xmm0
test bl, bl
je 0x6130b4
subss xmm0, xmm2
subss xmm1, xmm2
movss dword [ecx + 0x3c], xmm1
movaps xmm1, xmm3
movss dword [ecx + 0x38], xmm0
mov dword [ecx + 0x40], 0x3f000000
mov dword [ecx + 0x44], 0x3f800000
mov dword [ecx + 0x48], 0xffffffff
movd xmm0, dword [esi + 0x40]
mov dword [ecx + 0x4c], 0
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [ecx + 0x50], xmm1
movaps xmm1, xmm3
movd xmm0, dword [esi + 0x34]
cvtdq2ps xmm0, xmm0
test bl, bl
je 0x613105
subss xmm0, xmm2
subss xmm1, xmm2
movss dword [ecx + 0x54], xmm0
movss dword [ecx + 0x58], xmm1
movaps xmm1, xmm3
mov dword [ecx + 0x5c], 0x3f000000
mov dword [ecx + 0x60], 0x3f800000
mov dword [ecx + 0x64], 0xffffffff
movd xmm0, dword [esi + 0x40]
cvtdq2ps xmm0, xmm0
mov dword [ecx + 0x68], 0
divss xmm1, xmm0
movss dword [ecx + 0x6c], xmm1
movaps xmm1, xmm4
mov eax, dword [esi + 0x34]
add eax, dword [esi + 0x3c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
test bl, bl
je 0x61315b
subss xmm0, xmm2
subss xmm1, xmm2
movss dword [ecx + 0x70], xmm0
movss dword [ecx + 0x74], xmm1
movaps xmm1, xmm3
mov dword [ecx + 0x78], 0x3f000000
mov dword [ecx + 0x7c], 0x3f800000
mov dword [ecx + 0x80], 0xffffffff
movd xmm0, dword [esi + 0x40]
cvtdq2ps xmm0, xmm0
mov dword [ecx + 0x84], 0x3f800000
divss xmm4, xmm0
movss dword [ecx + 0x88], xmm4
mov eax, dword [esi + 0x34]
add eax, dword [esi + 0x3c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
test bl, bl
je 0x6131b7
subss xmm0, xmm2
subss xmm1, xmm2
movss dword [ecx + 0x8c], xmm0
movss dword [ecx + 0x90], xmm1
mov dword [ecx + 0x94], 0x3f000000
mov dword [ecx + 0x98], 0x3f800000
mov dword [ecx + 0x9c], 0xffffffff
movd xmm0, dword [esi + 0x40]
cvtdq2ps xmm0, xmm0
mov eax, dword [ebp - 0x18]
mov dword [ecx + 0xa0], 0x3f800000
divss xmm3, xmm0
movss dword [ecx + 0xa4], xmm3
add ecx, 0xa8
add edi, 6
mov dword [ebp - 0x10], edi
mov edx, dword [ebp - 0x20]
add dword [ebp - 0x24], 0xf
dec edx
add dword [ebp - 0x14], 0x10
add eax, 0x10
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x18], eax
test edx, edx
jg 0x612d50
mov edx, dword [ebp - 0x28]
movss xmm4, dword [0x6dba88]
test edx, edx
jle 0x613447
mov eax, dword [esi + 0x3c]
test eax, eax
jle 0x613447
movd xmm0, dword [esi + 0x38]
cmp edx, eax
movaps xmm1, xmm5
cmovg edx, eax
cvtdq2ps xmm0, xmm0
test bl, bl
je 0x613268
movaps xmm1, xmm4
subss xmm0, xmm2
movss dword [ecx], xmm1
movss dword [ecx + 4], xmm0
movd xmm3, edx
mov dword [ecx + 8], 0x3f000000
mov dword [ecx + 0xc], 0x3f800000
mov dword [ecx + 0x10], 0xffffffff
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
movd xmm1, dword [esi + 0x38]
cvtdq2ps xmm3, xmm3
cvtdq2ps xmm1, xmm1
movaps xmm0, xmm3
test bl, bl
je 0x6132b2
subss xmm0, xmm2
subss xmm1, xmm2
movss dword [ecx + 0x1c], xmm0
movss dword [ecx + 0x20], xmm1
movaps xmm1, xmm3
mov dword [ecx + 0x24], 0x3f000000
mov dword [ecx + 0x28], 0x3f800000
mov dword [ecx + 0x2c], 0xffffffff
movd xmm0, dword [esi + 0x3c]
cvtdq2ps xmm0, xmm0
mov dword [ecx + 0x34], 0
divss xmm1, xmm0
movss dword [ecx + 0x30], xmm1
movaps xmm1, xmm5
mov eax, dword [esi + 0x40]
add eax, dword [esi + 0x38]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
test bl, bl
je 0x613307
movaps xmm1, xmm4
subss xmm0, xmm2
movss dword [ecx + 0x38], xmm1
movss dword [ecx + 0x3c], xmm0
movaps xmm0, xmm3
mov dword [ecx + 0x40], 0x3f000000
mov dword [ecx + 0x44], 0x3f800000
mov dword [ecx + 0x48], 0xffffffff
mov dword [ecx + 0x4c], 0
mov dword [ecx + 0x50], 0x3f800000
movd xmm1, dword [esi + 0x38]
cvtdq2ps xmm1, xmm1
test bl, bl
je 0x61334b
subss xmm0, xmm2
subss xmm1, xmm2
movss dword [ecx + 0x58], xmm1
movaps xmm1, xmm3
movss dword [ecx + 0x54], xmm0
mov dword [ecx + 0x5c], 0x3f000000
mov dword [ecx + 0x60], 0x3f800000
mov dword [ecx + 0x64], 0xffffffff
movd xmm0, dword [esi + 0x3c]
cvtdq2ps xmm0, xmm0
mov dword [ecx + 0x6c], 0
divss xmm1, xmm0
movaps xmm0, xmm3
movss dword [ecx + 0x68], xmm1
mov eax, dword [esi + 0x40]
add eax, dword [esi + 0x38]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
test bl, bl
je 0x6133a1
subss xmm0, xmm2
subss xmm1, xmm2
movss dword [ecx + 0x70], xmm0
movss dword [ecx + 0x74], xmm1
movaps xmm1, xmm5
mov dword [ecx + 0x78], 0x3f000000
mov dword [ecx + 0x7c], 0x3f800000
mov dword [ecx + 0x80], 0xffffffff
movd xmm0, dword [esi + 0x3c]
cvtdq2ps xmm0, xmm0
mov dword [ecx + 0x88], 0x3f800000
divss xmm3, xmm0
movss dword [ecx + 0x84], xmm3
mov eax, dword [esi + 0x40]
add eax, dword [esi + 0x38]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
test bl, bl
je 0x6133fc
movaps xmm1, xmm4
subss xmm0, xmm2
movss dword [ecx + 0x8c], xmm1
movss dword [ecx + 0x90], xmm0
mov dword [ecx + 0x94], 0x3f000000
mov dword [ecx + 0x98], 0x3f800000
mov dword [ecx + 0x9c], 0xffffffff
mov dword [ecx + 0xa0], 0
mov dword [ecx + 0xa4], 0x3f800000
add ecx, 0xa8
add edi, 6
mov edx, dword [ebp - 0x1c]
test edx, edx
jle 0x613654
mov eax, dword [esi + 0x40]
test eax, eax
jle 0x613654
movd xmm0, dword [esi + 0x34]
cmp edx, eax
cvtdq2ps xmm0, xmm0
cmovg edx, eax
movaps xmm1, xmm5
test bl, bl
je 0x613478
subss xmm0, xmm2
movaps xmm1, xmm4
movss dword [ecx], xmm0
movss dword [ecx + 4], xmm1
movaps xmm1, xmm5
mov dword [ecx + 8], 0x3f000000
mov dword [ecx + 0xc], 0x3f800000
mov dword [ecx + 0x10], 0xffffffff
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov eax, dword [esi + 0x34]
add eax, dword [esi + 0x3c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
test bl, bl
je 0x6134bf
subss xmm0, xmm2
movaps xmm1, xmm4
movss dword [ecx + 0x1c], xmm0
movss dword [ecx + 0x20], xmm1
movd xmm3, edx
mov dword [ecx + 0x24], 0x3f000000
mov dword [ecx + 0x28], 0x3f800000
mov dword [ecx + 0x2c], 0xffffffff
mov dword [ecx + 0x30], 0x3f800000
mov dword [ecx + 0x34], 0
movd xmm0, dword [esi + 0x34]
cvtdq2ps xmm3, xmm3
cvtdq2ps xmm0, xmm0
movaps xmm1, xmm3
test bl, bl
je 0x61350a
subss xmm0, xmm2
subss xmm1, xmm2
movss dword [ecx + 0x3c], xmm1
movaps xmm1, xmm3
movss dword [ecx + 0x38], xmm0
mov dword [ecx + 0x40], 0x3f000000
mov dword [ecx + 0x44], 0x3f800000
mov dword [ecx + 0x48], 0xffffffff
movd xmm0, dword [esi + 0x40]
mov dword [ecx + 0x4c], 0
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [ecx + 0x50], xmm1
movaps xmm1, xmm3
movd xmm0, dword [esi + 0x34]
cvtdq2ps xmm0, xmm0
test bl, bl
je 0x61355b
subss xmm0, xmm2
subss xmm1, xmm2
movss dword [ecx + 0x54], xmm0
movss dword [ecx + 0x58], xmm1
movaps xmm1, xmm3
mov dword [ecx + 0x5c], 0x3f000000
mov dword [ecx + 0x60], 0x3f800000
mov dword [ecx + 0x64], 0xffffffff
movd xmm0, dword [esi + 0x40]
cvtdq2ps xmm0, xmm0
mov dword [ecx + 0x68], 0
divss xmm1, xmm0
movss dword [ecx + 0x6c], xmm1
mov eax, dword [esi + 0x34]
add eax, dword [esi + 0x3c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
test bl, bl
je 0x6135ad
subss xmm0, xmm2
movaps xmm5, xmm4
movss dword [ecx + 0x70], xmm0
movaps xmm1, xmm3
movss dword [ecx + 0x74], xmm5
mov dword [ecx + 0x78], 0x3f000000
mov dword [ecx + 0x7c], 0x3f800000
mov dword [ecx + 0x80], 0xffffffff
mov dword [ecx + 0x84], 0x3f800000
mov dword [ecx + 0x88], 0
mov eax, dword [esi + 0x34]
add eax, dword [esi + 0x3c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
test bl, bl
je 0x6135ff
subss xmm0, xmm2
subss xmm1, xmm2
movss dword [ecx + 0x8c], xmm0
movss dword [ecx + 0x90], xmm1
mov dword [ecx + 0x94], 0x3f000000
mov dword [ecx + 0x98], 0x3f800000
mov dword [ecx + 0x9c], 0xffffffff
movd xmm0, dword [esi + 0x40]
cvtdq2ps xmm0, xmm0
mov dword [ecx + 0xa0], 0x3f800000
divss xmm3, xmm0
movss dword [ecx + 0xa4], xmm3
add ecx, 0xa8
add edi, 6
cmp edi, dword [esi + 0xc]
jge 0x6136af
movss xmm1, dword [0x6dbad0]
movss xmm2, dword [0x6dbad4]
nop dword [eax]
movaps xmm0, xmm1
test bl, bl
je 0x61367a
movaps xmm0, xmm2
movss dword [ecx], xmm0
inc edi
movss dword [ecx + 4], xmm0
mov dword [ecx + 8], 0x3f000000
mov dword [ecx + 0xc], 0x3f800000
mov dword [ecx + 0x10], 0xffffffff
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
add ecx, 0x1c
cmp edi, dword [esi + 0xc]
jl 0x613670
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x6136e7
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
test al, al
je 0x6136e7
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x10]
jmp 0x613215
mov eax, dword [ebp - 0x18]
jmp 0x613215
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4