Function at 0x10130090
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 0x101300bb
test ebx, ebx
jne 0x1013045c
mov ecx, str.context
call fcn.10110460
test al, al
je 0x1013045c
mov eax, dword [0x101e6b78]
mov dword [ebp - 0x1c], eax
mov esi, dword [eax + 0x2c48]
test edi, edi
jne 0x10130145
mov edx, esi
mov ecx, 0x1017e50c
shr edx, 0x14
and dl, 1
call fcn.1013b6f0
test al, al
je 0x10130101
and esi, 0xff9fffff
or esi, 0x100000
mov edx, esi
mov ecx, 0x1017e558
shr edx, 0x15
and dl, 1
call fcn.1013b6f0
test al, al
je 0x10130123
and esi, 0xffafffff
or esi, 0x200000
mov edx, esi
mov ecx, 0x1017e554
shr edx, 0x16
and dl, 1
call fcn.1013b6f0
test al, al
je 0x10130145
and esi, 0xffcfffff
or esi, 0x400000
test ebx, ebx
jne 0x10130196
test edi, edi
jne 0x10130152
call fcn.1013c800
mov edx, esi
mov ecx, str.0..255
shr edx, 0x17
and dl, 1
call fcn.1013b6f0
test al, al
je 0x10130174
and esi, 0xfeffffff
or esi, 0x800000
mov edx, esi
mov ecx, str.0.00..1.00
shr edx, 0x18
and dl, 1
call fcn.1013b6f0
test al, al
je 0x10130196
and esi, 0xff7fffff
or esi, 0x1000000
test edi, edi
je 0x1013019e
test ebx, ebx
jne 0x101301a3
call fcn.1013c800
push ecx
lea edx, [ebp - 0xc]
mov dword [ebp - 0xc], 0xbf800000
mov ecx, str.Copy_as..
mov dword [ebp - 8], 0
call fcn.10137820
add esp, 4
test al, al
je 0x10130221
mov edi, dword [0x101e6b78]
mov eax, dword [edi + 0x19e4]
mov ecx, dword [eax + 0x1c0]
test ecx, ecx
jg 0x101301e4
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.1011c390
add esp, 4
cmp dword [edi + 0x1a04], eax
jne 0x1013020b
mov dword [edi + 0x1a0c], eax
cmp dword [edi + 0x1a08], eax
jne 0x1013021a
mov byte [edi + 0x1a19], 1
mov ecx, eax
call fcn.10110830
mov ecx, str.Copy
call fcn.10110460
test al, al
je 0x1013044e
mov ecx, dword [ebp - 0x10]
xorps xmm0, xmm0
movss xmm2, dword [0x1017f158]
movss xmm5, dword [ecx]
comiss xmm0, xmm5
jbe 0x1013024f
xorps xmm1, xmm1
jmp 0x10130256
movaps xmm1, xmm2
minss xmm1, xmm5
movss xmm3, dword [0x1017f338]
movss xmm4, dword [0x1017f114]
movss xmm7, dword [ecx + 4]
comiss xmm0, xmm7
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si eax, xmm1
mov dword [ebp - 0x10], eax
jbe 0x10130284
xorps xmm1, xmm1
jmp 0x1013028b
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 0x101302a9
xorps xmm1, xmm1
jmp 0x101302b0
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 0x101302ce
mov edi, 0xff
jmp 0x101302ee
movss xmm1, dword [ecx + 0xc]
comiss xmm0, xmm1
ja 0x101302df
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.1011c480
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.1013e4b0
add esp, 8
test al, al
je 0x1013036a
mov eax, dword [0x101e6b78]
mov ecx, dword [eax + 0xcc]
test ecx, ecx
je 0x1013036a
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.1011c480
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.1013e4b0
add esp, 8
test al, al
je 0x101303ca
mov eax, dword [0x101e6b78]
mov ecx, dword [eax + 0xcc]
test ecx, ecx
je 0x101303ca
lea edx, [ebp - 0x60]
push edx
push dword [eax + 0xd0]
call ecx
add esp, 8
lea eax, [ebp - 0x60]
test ebx, ebx
je 0x101303ec
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0x10]
push str.0x_02X_02X_02X
push 0x40
push eax
call fcn.1011c480
add esp, 0x18
jmp 0x10130406
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.1011c480
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.1013e4b0
add esp, 8
test al, al
je 0x10130449
mov eax, dword [0x101e6b78]
mov ecx, dword [eax + 0xcc]
test ecx, ecx
je 0x10130449
lea edx, [ebp - 0x60]
push edx
push dword [eax + 0xd0]
call ecx
add esp, 8
call fcn.10110340
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x2c48], esi
call fcn.10110340
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret