Function at 0x10137f50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
push ebx
push esi
push edi
mov edi, dword [0x101e6b78]
mov esi, ecx
movss dword [ebp - 0x14], xmm3
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x24], esi
mov eax, dword [edi + 0x19e4]
mov byte [eax + 0x7c], 1
mov ecx, dword [edi + 0x19e4]
mov dword [ebp - 0xc], ecx
cmp byte [ecx + 0x7f], 0
jne 0x101385f6
movss xmm0, dword [ebp + 0x18]
ucomiss xmm0, dword [0x1017f158]
lahf
test ah, 0x44
jnp 0x10137fb2
cmp dword [ebp + 0xc], 0
je case.default.0x101382a9
cmp dword [ebp + 0x10], 0
je case.default.0x101382a9
push ecx
push esi
call fcn.1011d170
mov ecx, dword [0x101e6b78]
xorps xmm7, xmm7
mov ebx, eax
mov ecx, dword [ecx + 0x19e4]
movss xmm1, dword [ecx + 0x16c]
comiss xmm7, xmm1
movss dword [ebp - 0x28], xmm1
jbe 0x10137ffc
lea ecx, [ebp - 0x44]
call fcn.10111300
movss xmm0, dword [ebp - 0x28]
xorps xmm7, xmm7
movss xmm1, dword [0x1017f158]
addss xmm0, dword [eax]
maxss xmm1, xmm0
mov edx, dword [ebp - 0x24]
mov ecx, edx
cvttss2si esi, xmm1
cmp edx, 0xffffffff
jae 0x10138029
nop word [eax + eax]
mov dl, byte [ecx]
test dl, dl
je 0x10138026
cmp dl, 0x23
jne 0x10138020
cmp byte [ecx + 1], dl
je 0x10138026
inc ecx
cmp ecx, 0xffffffff
jb 0x10138010
mov edx, dword [ebp - 0x24]
mov eax, dword [0x101e6b78]
movss xmm0, dword [eax + 0x1900]
cmp edx, ecx
jne 0x1013803f
movaps xmm6, xmm7
jmp 0x10138084
movss xmm3, dword [0x1017f3c0]
movaps xmm2, xmm0
push ecx
push ecx
push edx
push ecx
lea ecx, [ebp - 0x20]
mov dword [esp], 0xbf800000
push ecx
mov ecx, dword [eax + 0x18fc]
call fcn.10129e60
movss xmm0, dword [ebp - 0x20]
xorps xmm7, xmm7
addss xmm0, dword [0x1017f150]
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x1c]
movd xmm6, eax
cvtdq2ps xmm6, xmm6
comiss xmm6, xmm7
mov eax, dword [ebp - 0xc]
movss xmm3, dword [eax + 0xc8]
movss xmm5, dword [edi + 0x153c]
movaps xmm2, xmm3
movd xmm1, esi
mov esi, eax
cvtdq2ps xmm1, xmm1
movss xmm4, dword [esi + 0xcc]
addss xmm2, xmm1
movss dword [ebp - 0x28], xmm6
movaps xmm1, xmm5
movss dword [ebp - 0x3c], xmm3
addss xmm1, xmm5
movss dword [ebp - 0x38], xmm4
movss dword [ebp - 0x34], xmm2
addss xmm1, xmm0
addss xmm1, xmm4
movss dword [ebp - 0x30], xmm1
jbe 0x101380e9
movaps xmm0, xmm6
addss xmm0, dword [edi + 0x1550]
jmp 0x101380ec
movaps xmm0, xmm7
addss xmm1, xmm7
movss dword [ebp - 0x4c], xmm3
addss xmm2, xmm0
movss dword [ebp - 0x48], xmm4
lea ecx, [ebp - 0x20]
movss dword [ebp - 0x40], xmm1
subss xmm1, xmm4
movss dword [ebp - 0x44], xmm2
subss xmm2, xmm3
movss dword [ebp - 0x1c], xmm1
movaps xmm1, xmm5
movss dword [ebp - 0x20], xmm2
call fcn.10119760
lea eax, [ebp - 0x3c]
mov edx, ebx
push eax
lea ecx, [ebp - 0x4c]
call fcn.1011ce30
add esp, 4
test al, al
je 0x101385f6
mov edx, ebx
lea ecx, [ebp - 0x3c]
call fcn.10119580
mov byte [ebp - 5], al
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x10138161
mov eax, dword [ebp - 0x18]
lea ecx, [eax + eax*2]
mov eax, dword [ecx*4 + 0x101790dc]
jmp 0x101381a1
cmp dword [ebp - 0x18], 0
jne 0x101381a4
mov ecx, 0x101728a0
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10138190
test dl, dl
je 0x1013818c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10138190
add eax, 2
add ecx, 2
test dl, dl
jne 0x10138170
xor eax, eax
jmp 0x10138195
sbb eax, eax
or eax, 1
test eax, eax
je 0x101381a4
mov ecx, dword [ebp + 0x14]
call fcn.10136e40
mov dword [ebp + 0x14], eax
push 1
mov edx, ebx
mov ecx, esi
call fcn.10119440
add esp, 4
mov byte [ebp - 0xd], al
test al, al
jne 0x101381e6
cmp byte [ebp - 5], al
je 0x101381ce
cmp byte [edi + 0x3d0], al
jne 0x101381e6
cmp byte [edi + 0x3d5], al
jne 0x101381e6
cmp dword [edi + 0x1b00], ebx
je 0x101381e6
cmp dword [edi + 0x1b0c], ebx
jne 0x10138235
cmp dword [edi + 0x2c44], ebx
je 0x10138235
mov edx, esi
mov ecx, ebx
call fcn.10119ac0
call fcn.101199f0
mov ecx, esi
call fcn.10111e20
cmp byte [ebp - 0xd], 0
mov dword [edi + 0x1a1c], 0xc
jne 0x101385a5
cmp byte [edi + 0xf8], 0
jne 0x101385a5
cmp byte [edi + 0x3d5], 0
jne 0x101385a5
cmp dword [edi + 0x1b0c], ebx
je 0x101385a5
cmp dword [edi + 0x1a04], ebx
jne 0x10138249
cmp dword [edi + 0x2c44], ebx
je 0x101385af
mov esi, dword [0x101e6b78]
cmp dword [esi + 0x1a04], ebx
jne 0x1013828e
mov eax, dword [esi + 0x1a34]
cmp eax, 1
jne 0x1013826d
cmp byte [esi + 0xe8], 0
je 0x10138283
jmp 0x10138288
cmp eax, 2
jne 0x10138288
cmp dword [esi + 0x1b08], ebx
jne 0x10138288
cmp byte [esi + 0x1a14], 0
jne 0x10138288
call fcn.10119990
cmp dword [esi + 0x1a04], ebx
mov edx, dword [ebp + 8]
je 0x1013829d
xor al, al
mov byte [ebp - 5], al
jmp 0x101384a6
mov ecx, dword [ebp - 0x18]
cmp ecx, 5
ja case.default.0x101382a9
jmp dword [ecx*4 + 0x10138600]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x101382bb
mov esi, dword [eax]
jmp 0x101382c0
mov esi, bind
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x101382cb
mov eax, dword [eax]
jmp 0x101382d0
mov eax, bind
movss xmm0, dword [ebp + 0x18]
sub esp, 8
movss xmm2, dword [ebp - 0x14]
movss dword [esp], xmm0
push dword [ebp + 0x14]
push esi
push eax
call fcn.1003d320
add esp, 0x14
jmp 0x10138498
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x101382ff
mov esi, dword [eax]
jmp 0x10138302
or esi, 0xffffffff
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1013830d
mov eax, dword [eax]
jmp 0x1013830f
xor eax, eax
movss xmm0, dword [ebp + 0x18]
sub esp, 8
movss xmm2, dword [ebp - 0x14]
movss dword [esp], xmm0
push dword [ebp + 0x14]
push esi
push eax
call fcn.1003d860
add esp, 0x14
jmp 0x10138498
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10138347
mov esi, dword [eax]
mov dword [ebp - 0x1c], esi
mov esi, dword [eax + 4]
mov dword [ebp - 0xc], esi
jmp 0x10138355
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0xc], bind
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x10138363
mov esi, dword [eax]
mov eax, dword [eax + 4]
jmp 0x1013836a
xor esi, esi
mov eax, bind
movss xmm0, dword [ebp + 0x18]
sub esp, 8
movss xmm2, dword [ebp - 0x14]
movss dword [esp], xmm0
push dword [ebp + 0x14]
push dword [ebp - 0xc]
push dword [ebp - 0x1c]
push eax
push esi
call fcn.1003de10
jmp 0x10138495
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x101383a5
mov esi, dword [eax]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], esi
jmp 0x101383b3
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0x1c], 0xffffffff
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x101383c1
mov esi, dword [eax]
mov eax, dword [eax + 4]
jmp 0x101383cf
xorps xmm0, xmm0
movlpd qword [ebp - 0x44], xmm0
mov eax, dword [ebp - 0x40]
mov esi, dword [ebp - 0x44]
movss xmm0, dword [ebp + 0x18]
sub esp, 8
movss xmm2, dword [ebp - 0x14]
movss dword [esp], xmm0
push dword [ebp + 0x14]
push dword [ebp - 0x1c]
push dword [ebp - 0xc]
push eax
push esi
call fcn.1003e4b0
jmp 0x10138495
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10138403
movss xmm0, dword [eax]
jmp 0x1013840b
movss xmm0, dword [0x1017f3c0]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x10138418
movss xmm3, dword [eax]
jmp 0x10138420
movss xmm3, dword [0x1017f440]
movss xmm1, dword [ebp + 0x18]
sub esp, 8
movss xmm2, dword [ebp - 0x14]
movss dword [esp], xmm1
push dword [ebp + 0x14]
push ecx
movss dword [esp], xmm0
call fcn.1003ebe0
add esp, 0x10
jmp 0x10138498
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10138452
movsd xmm1, qword [eax]
jmp 0x1013845a
movsd xmm1, qword [0x1017f3d0]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x10138467
movsd xmm0, qword [eax]
jmp 0x1013846f
movsd xmm0, qword [0x1017f450]
movss xmm2, dword [ebp - 0x14]
sub esp, 0x18
movsd qword [esp + 0x10], xmm1
movsd qword [esp + 8], xmm0
movss xmm0, dword [ebp + 0x18]
movss dword [esp], xmm0
push dword [ebp + 0x14]
call fcn.1003f150
add esp, 0x1c
mov byte [ebp - 5], al
test al, al
je 0x101384a6
mov ecx, ebx
call fcn.101198e0
cmp dword [edi + 0x1a04], ebx
jne 0x101384b5
mov ecx, 0xb
jmp 0x101384c3
xor ecx, ecx
cmp dword [edi + 0x19f0], ebx
sete cl
add ecx, 9
movss xmm1, dword [0x1017f158]
call fcn.1011b650
push 1
mov edx, ebx
lea ecx, [ebp - 0x3c]
mov esi, eax
call fcn.1011a5d0
movss xmm2, dword [edi + 0x1540]
add esp, 4
mov ecx, esi
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call fcn.1011ab40
push dword [ebp + 0x14]
mov edx, 0x40
lea ecx, [ebp - 0x8c]
push dword [ebp + 8]
push dword [ebp - 0x18]
call fcn.10136db0
add esp, 0x1c
mov dword [ebp - 0x44], 0x3f000000
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x40], 0x3f000000
add eax, ecx
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x44]
push 0
push ecx
push 0
push eax
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x3c]
call fcn.1011ac60
movss xmm0, dword [ebp - 0x28]
add esp, 0x14
comiss xmm0, dword [0x1017f060]
jbe 0x10138593
movss xmm0, dword [ebp - 0x34]
xor edx, edx
addss xmm0, dword [edi + 0x1550]
mov ecx, dword [ebp - 0x24]
movss dword [ebp - 0x2c], xmm0
movss xmm0, dword [ebp - 0x38]
addss xmm0, dword [edi + 0x153c]
movss dword [ebp - 0x28], xmm0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push 1
call fcn.1011b150
add esp, 0xc
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [edi + 0x2c44], 0
push dword [ebp + 0x14]
movss xmm0, dword [ebp - 0x3c]
lea ecx, [ebp - 0x3c]
push dword [ebp + 8]
dec dword [esi + 0x328]
mov edx, ebx
dec dword [esi + 0x32c]
push dword [ebp - 0x18]
movss dword [esi + 0xc8], xmm0
movss xmm0, dword [ebp - 0x38]
movss dword [esi + 0xcc], xmm0
mov esi, dword [ebp - 0x24]
push esi
call fcn.10135b60
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret