Function at 0x10130180
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
mov eax, edx
mov dword [ebp - 0x10], ecx
push esi
push edi
mov ebx, eax
mov dword [ebp - 0x14], eax
mov edi, eax
and ebx, 0x1800000
and edi, 0x700000
je 0x101301ab
test ebx, ebx
jne 0x1013054c
mov ecx, str.context
call fcn.101105a0
test al, al
je 0x1013054c
mov eax, dword [0x101e6b78]
mov dword [ebp - 0x1c], eax
mov esi, dword [eax + 0x2c48]
test edi, edi
jne 0x10130235
mov edx, esi
mov ecx, 0x1017e508
shr edx, 0x14
and dl, 1
call fcn.1013b800
test al, al
je 0x101301f1
and esi, 0xff9fffff
or esi, 0x100000
mov edx, esi
mov ecx, 0x1017e504
shr edx, 0x15
and dl, 1
call fcn.1013b800
test al, al
je 0x10130213
and esi, 0xffafffff
or esi, 0x200000
mov edx, esi
mov ecx, 0x1017e57c
shr edx, 0x16
and dl, 1
call fcn.1013b800
test al, al
je 0x10130235
and esi, 0xffcfffff
or esi, 0x400000
test ebx, ebx
jne 0x10130286
test edi, edi
jne 0x10130242
call fcn.1013c910
mov edx, esi
mov ecx, str.0..255
shr edx, 0x17
and dl, 1
call fcn.1013b800
test al, al
je 0x10130264
and esi, 0xfeffffff
or esi, 0x800000
mov edx, esi
mov ecx, str.0.00..1.00
shr edx, 0x18
and dl, 1
call fcn.1013b800
test al, al
je 0x10130286
and esi, 0xff7fffff
or esi, 0x1000000
test edi, edi
je 0x1013028e
test ebx, ebx
jne 0x10130293
call fcn.1013c910
push ecx
lea edx, [ebp - 0xc]
mov dword [ebp - 0xc], 0xbf800000
mov ecx, str.Copy_as..
mov dword [ebp - 8], 0
call fcn.10137930
add esp, 4
test al, al
je 0x10130311
mov edi, dword [0x101e6b78]
mov eax, dword [edi + 0x19e4]
mov ecx, dword [eax + 0x1c0]
test ecx, ecx
jg 0x101302d4
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov eax, dword [eax + 0x1c8]
xor edx, edx
push dword [eax + ecx*4 - 4]
mov ecx, str.Copy
call fcn.1011c510
add esp, 4
cmp dword [edi + 0x1a04], eax
jne 0x101302fb
mov dword [edi + 0x1a0c], eax
cmp dword [edi + 0x1a08], eax
jne 0x1013030a
mov byte [edi + 0x1a19], 1
mov ecx, eax
call fcn.10110970
mov ecx, str.Copy
call fcn.101105a0
test al, al
je 0x1013053e
mov ecx, dword [ebp - 0x10]
xorps xmm0, xmm0
movss xmm2, dword [0x1017f0d8]
movss xmm5, dword [ecx]
comiss xmm0, xmm5
jbe 0x1013033f
xorps xmm1, xmm1
jmp 0x10130346
movaps xmm1, xmm2
minss xmm1, xmm5
movss xmm3, dword [0x1017f2b8]
movss xmm4, dword [0x1017f094]
movss xmm7, dword [ecx + 4]
comiss xmm0, xmm7
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si eax, xmm1
mov dword [ebp - 0x10], eax
jbe 0x10130374
xorps xmm1, xmm1
jmp 0x1013037b
movaps xmm1, xmm2
minss xmm1, xmm7
movss xmm6, dword [ecx + 8]
comiss xmm0, xmm6
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si eax, xmm1
mov dword [ebp - 8], eax
jbe 0x10130399
xorps xmm1, xmm1
jmp 0x101303a0
movaps xmm1, xmm2
minss xmm1, xmm6
mov ebx, dword [ebp - 0x14]
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si eax, xmm1
mov dword [ebp - 4], eax
and ebx, 2
je 0x101303be
mov edi, 0xff
jmp 0x101303de
movss xmm1, dword [ecx + 0xc]
comiss xmm0, xmm1
ja 0x101303cf
movaps xmm0, xmm2
minss xmm0, xmm1
mulss xmm0, xmm3
movaps xmm2, xmm1
addss xmm0, xmm4
cvttss2si edi, xmm0
sub esp, 0x20
lea eax, [ebp - 0x60]
cvtps2pd xmm0, xmm2
movsd qword [esp + 0x18], xmm0
cvtps2pd xmm0, xmm6
movsd qword [esp + 0x10], xmm0
cvtps2pd xmm0, xmm7
movsd qword [esp + 8], xmm0
cvtps2pd xmm0, xmm5
movsd qword [esp], xmm0
push str.__.3ff___.3ff___.3ff___.3ff_
push 0x40
push eax
call fcn.1011c600
add esp, 0x2c
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0
xor dl, dl
lea ecx, [ebp - 0x60]
push eax
push 0
call fcn.1013e5c0
add esp, 8
test al, al
je 0x1013045a
mov eax, dword [0x101e6b78]
mov ecx, dword [eax + 0xcc]
test ecx, ecx
je 0x1013045a
lea edx, [ebp - 0x60]
push edx
push dword [eax + 0xd0]
call ecx
add esp, 8
push edi
push dword [ebp - 4]
lea eax, [ebp - 0x60]
push dword [ebp - 8]
push dword [ebp - 0x10]
push str.__d__d__d__d_
push 0x40
push eax
call fcn.1011c600
add esp, 0x1c
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0
xor dl, dl
lea ecx, [ebp - 0x60]
push eax
push 0
call fcn.1013e5c0
add esp, 8
test al, al
je 0x101304ba
mov eax, dword [0x101e6b78]
mov ecx, dword [eax + 0xcc]
test ecx, ecx
je 0x101304ba
lea edx, [ebp - 0x60]
push edx
push dword [eax + 0xd0]
call ecx
add esp, 8
lea eax, [ebp - 0x60]
test ebx, ebx
je 0x101304dc
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0x10]
push str.0x_02X_02X_02X
push 0x40
push eax
call fcn.1011c600
add esp, 0x18
jmp 0x101304f6
push edi
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0x10]
push str.0x_02X_02X_02X_02X
push 0x40
push eax
call fcn.1011c600
add esp, 0x1c
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0
xor dl, dl
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x60]
call fcn.1013e5c0
add esp, 8
test al, al
je 0x10130539
mov eax, dword [0x101e6b78]
mov ecx, dword [eax + 0xcc]
test ecx, ecx
je 0x10130539
lea edx, [ebp - 0x60]
push edx
push dword [eax + 0xd0]
call ecx
add esp, 8
call fcn.10110480
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x2c48], esi
call fcn.10110480
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret