Function at 0x1017e130
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x10247040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov edx, dword [ebp + 0x10]
xor ecx, ecx
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x174], edx
mov dword [ebp - 0x118], ebx
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x108], eax
xor eax, eax
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], eax
mov eax, dword [edx]
cdq
xor eax, edx
mov dword [ebp - 0x104], 0
sub eax, edx
mov dword [ebp - 0x198], 0
movzx eax, ax
mov dword [ebp - 0x12c], eax
lea eax, [ebp - 0x170]
push eax
push 0x101ae214
push ebx
movups xmmword [ebp - 0x190], xmm0
mov dword [ebp - 0x11c], ecx
call fcn.101311e0
add esp, 0xc
mov dword [ebp - 0x104], eax
test eax, eax
jne 0x1017e239
cmp dword [ebp - 0x16c], 0x774f4632
push esi
push edi
je 0x1017e232
mov ecx, dword [ebp - 0x168]
cmp ecx, dword [ebx + 4]
jne 0x1017e232
mov ax, word [ebp - 0x164]
test ax, ax
je 0x1017e232
movzx edi, ax
lea eax, [edi + edi*4]
lea eax, [eax*4 + 0x30]
cmp eax, ecx
jae 0x1017e232
mov esi, dword [ebp - 0x158]
mov edx, dword [ebp - 0x154]
test esi, esi
jne 0x1017e248
test edx, edx
jne 0x1017e232
cmp dword [ebp - 0x150], edx
je 0x1017e255
pop edi
mov eax, 8
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1018be04
mov esp, ebp
pop ebp
ret
test edx, edx
je 0x1017e255
cmp dword [ebp - 0x150], 0
je 0x1017e232
cmp esi, ecx
jae 0x1017e232
mov eax, ecx
sub eax, esi
cmp eax, edx
jb 0x1017e232
mov eax, dword [ebp - 0x14c]
mov edx, dword [ebp - 0x148]
test eax, eax
jne 0x1017e275
test edx, edx
jne 0x1017e232
cmp eax, ecx
jae 0x1017e232
sub ecx, eax
cmp ecx, edx
jb 0x1017e232
mov esi, dword [ebp - 0x108]
lea eax, [ebp - 0x104]
push eax
push 0
push edi
push 0
push 0x20
push esi
mov dword [ebp - 0x130], 0
call fcn.10133110
add esp, 0x18
mov edi, eax
cmp dword [ebp - 0x104], 0
mov dword [ebp - 0x180], edi
jne 0x1017e87d
movzx ecx, word [ebp - 0x164]
lea eax, [ebp - 0x104]
push eax
push 0
push ecx
push 0
push 4
push esi
call fcn.10133110
add esp, 0x18
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x104], 0
jne 0x1017e87d
mov cx, word [ebp - 0x164]
xor eax, eax
mov dword [ebp - 0x114], 0
cmp ax, cx
jae 0x1017e67f
lea esi, [edi + 4]
nop dword [eax + eax]
lea eax, [ebp - 0x104]
push eax
push ebx
call fcn.10131170
mov cl, al
add esp, 8
mov byte [esi - 4], cl
cmp dword [ebp - 0x104], 0
jne 0x1017e87d
and al, 0x3f
cmp al, 0x3f
jne 0x1017e364
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x118]
call fcn.10131420
add esp, 8
mov dword [esi], eax
cmp dword [ebp - 0x104], 0
jne 0x1017e87d
mov cl, byte [esi - 4]
jmp 0x1017e599
mov dword [ebp - 0x100], 0x636d6170
mov dword [ebp - 0xfc], 0x68656164
mov dword [ebp - 0xf8], 0x68686561
mov dword [ebp - 0xf4], 0x686d7478
mov dword [ebp - 0xf0], 0x6d617870
mov dword [ebp - 0xec], 0x6e616d65
mov dword [ebp - 0xe8], 0x4f532f32
mov dword [ebp - 0xe4], 0x706f7374
mov dword [ebp - 0xe0], 0x63767420
mov dword [ebp - 0xdc], 0x6670676d
mov dword [ebp - 0xd8], 0x676c7966
mov dword [ebp - 0xd4], 0x6c6f6361
mov dword [ebp - 0xd0], 0x70726570
mov dword [ebp - 0xcc], 0x43464620
mov dword [ebp - 0xc8], 0x564f5247
mov dword [ebp - 0xc4], 0x45424454
mov dword [ebp - 0xc0], 0x45424c43
mov dword [ebp - 0xbc], 0x67617370
mov dword [ebp - 0xb8], 0x68646d78
mov dword [ebp - 0xb4], 0x6b65726e
mov dword [ebp - 0xb0], 0x4c545348
mov dword [ebp - 0xac], 0x50434c54
mov dword [ebp - 0xa8], 0x56444d58
mov dword [ebp - 0xa4], 0x76686561
mov dword [ebp - 0xa0], 0x766d7478
mov dword [ebp - 0x9c], 0x42415345
mov dword [ebp - 0x98], 0x47444546
mov dword [ebp - 0x94], 0x47504f53
mov dword [ebp - 0x90], 0x47535542
mov dword [ebp - 0x8c], 0x45425343
mov dword [ebp - 0x88], 0x4a535446
mov dword [ebp - 0x84], 0x4d415448
mov dword [ebp - 0x80], 0x43424454
mov dword [ebp - 0x7c], 0x43424c43
mov dword [ebp - 0x78], 0x434f4c52
mov dword [ebp - 0x74], 0x4350414c
mov dword [ebp - 0x70], 0x53564720
mov dword [ebp - 0x6c], 0x73626978
mov dword [ebp - 0x68], 0x61636e74
mov dword [ebp - 0x64], 0x61766172
mov dword [ebp - 0x60], 0x62646174
mov dword [ebp - 0x5c], 0x626c6f63
mov dword [ebp - 0x58], 0x62736c6e
mov dword [ebp - 0x54], 0x63766172
mov dword [ebp - 0x50], 0x66647363
mov dword [ebp - 0x4c], 0x66656174
mov dword [ebp - 0x48], 0x666d7478
mov dword [ebp - 0x44], 0x66766172
mov dword [ebp - 0x40], 0x67766172
mov dword [ebp - 0x3c], 0x68737479
mov dword [ebp - 0x38], 0x6a757374
mov dword [ebp - 0x34], 0x6c636172
mov dword [ebp - 0x30], 0x6d6f7274
mov dword [ebp - 0x2c], 0x6d6f7278
mov dword [ebp - 0x28], 0x6f706264
mov dword [ebp - 0x24], 0x70726f70
mov dword [ebp - 0x20], 0x7472616b
mov dword [ebp - 0x1c], 0x5a617066
mov dword [ebp - 0x18], 0x53696c66
mov dword [ebp - 0x14], 0x476c6174
mov dword [ebp - 0x10], 0x476c6f63
mov dword [ebp - 0xc], 0x46656174
mov dword [ebp - 8], 0x53696c6c
cmp al, 0x3e
ja 0x1017e86d
movzx eax, al
mov eax, dword [ebp + eax*4 - 0x100]
mov dword [esi], eax
test eax, eax
je 0x1017e873
xor edi, edi
shr cl, 6
cmp eax, 0x676c7966
je 0x1017e5b7
cmp eax, 0x6c6f6361
je 0x1017e5b7
test cl, cl
je 0x1017e5c1
mov edi, pe_nt_image_headers32
jmp 0x1017e5c1
test cl, cl
mov eax, pe_nt_image_headers32
cmove edi, eax
movzx eax, cl
or edi, eax
lea eax, [esi + 4]
push eax
push dword [ebp - 0x118]
call fcn.101781f0
add esp, 8
mov dword [ebp - 0x104], eax
test eax, eax
jne 0x1017e87d
mov eax, dword [esi + 4]
lea ebx, [esi + 8]
mov dword [ebx], eax
test edi, 0x100
je 0x1017e623
push ebx
push dword [ebp - 0x118]
call fcn.101781f0
add esp, 8
mov dword [ebp - 0x104], eax
test eax, eax
jne 0x1017e87d
cmp dword [esi], 0x6c6f6361
jne 0x1017e623
cmp dword [ebx], eax
jne 0x1017e873
mov edx, dword [ebp - 0x11c]
mov eax, dword [ebx]
lea ecx, [eax + edx]
cmp ecx, edx
jb 0x1017e873
mov ebx, dword [ebp - 0x118]
mov dword [esi + 0xc], edi
mov edi, dword [ebp - 0x114]
mov dword [esi + 0x14], eax
lea eax, [esi - 4]
mov dword [ebp - 0x11c], ecx
mov ecx, dword [ebp - 0x110]
mov dword [esi + 0x10], edx
add esi, 0x20
mov dword [ecx + edi*4], eax
inc edi
mov cx, word [ebp - 0x164]
movzx eax, cx
mov dword [ebp - 0x114], edi
cmp edi, eax
jl 0x1017e310
mov esi, dword [ebp - 0x108]
movzx eax, cx
mov ecx, dword [ebp - 0x110]
mov edx, dword [ecx + eax*4 - 4]
mov eax, dword [edx + 0x14]
add eax, dword [edx + 0x18]
mov dword [ebp - 0x144], eax
cmp eax, dword [edx + 0x14]
jb 0x1017e873
cmp dword [ebp - 0x16c], 0x74746366
mov eax, 1
mov word [ebp - 0x138], ax
mov dword [ebp - 0x13c], 0
jne 0x1017e9d4
lea eax, [ebp - 0x104]
push eax
push ebx
call fcn.10131420
add esp, 8
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x104], 0
jne 0x1017e87d
cmp eax, 0x10000
je 0x1017e6fc
cmp eax, 0x20000
jne 0x1017e873
lea eax, [ebp - 0x138]
push eax
push ebx
call fcn.10178120
add esp, 8
mov dword [ebp - 0x104], eax
test eax, eax
jne 0x1017e87d
mov ax, word [ebp - 0x138]
test ax, ax
je 0x1017e873
lea ecx, [ebp - 0x104]
movzx eax, ax
push ecx
push 0
push eax
push 0
push 0xc
push esi
call fcn.10133110
add esp, 0x18
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x104], 0
jne 0x1017e87d
xor ecx, ecx
mov dword [ebp - 0x114], 0
cmp cx, word [ebp - 0x138]
jae 0x1017e9de
mov dword [ebp - 0x120], ecx
nop word [eax + eax]
mov edi, dword [ebp - 0x118]
lea esi, [ecx + eax]
lea ebx, [esi + 4]
mov dword [ebp - 0x11c], esi
push ebx
push edi
call fcn.10178120
add esp, 8
mov dword [ebp - 0x104], eax
test eax, eax
jne 0x1017e87d
lea eax, [ebp - 0x104]
push eax
push edi
call fcn.10131420
add esp, 8
mov dword [esi], eax
cmp dword [ebp - 0x104], 0
jne 0x1017e87d
lea eax, [ebp - 0x104]
push eax
movzx eax, word [ebx]
push 0
push eax
push 0
push 2
push dword [ebp - 0x108]
call fcn.10133110
xor ebx, ebx
mov dword [esi + 8], eax
add esp, 0x18
cmp dword [ebp - 0x104], ebx
jne 0x1017e87f
mov eax, dword [ebp - 0x11c]
xor ecx, ecx
xor edi, edi
xor esi, esi
cmp cx, word [eax + 4]
jae 0x1017e9a2
nop
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 0x118]
call fcn.10178120
add esp, 8
mov dword [ebp - 0x104], eax
test eax, eax
jne 0x1017e87d
mov cx, word [ebp - 0x10c]
cmp cx, word [ebp - 0x164]
jae 0x1017e873
mov edx, dword [ebp - 0x11c]
mov eax, dword [edx + 8]
mov word [eax + esi*2], cx
mov eax, dword [ebp - 0x110]
movzx ecx, cx
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 4]
cmp eax, 0x6c6f6361
jne 0x1017e972
mov ebx, ecx
jmp 0x1017e97a
mov dword [esi], 0
mov dword [ebp - 0x104], 8
xor ebx, ebx
push dword [ebp - 0x180]
push dword [ebp - 0x108]
call fcn.10132fc0
push dword [ebp - 0x110]
push dword [ebp - 0x108]
call fcn.10132fc0
push dword [ebp - 0x124]
push dword [ebp - 0x108]
call fcn.10132fc0
push dword [ebp - 0x190]
push dword [ebp - 0x108]
call fcn.10132fc0
mov eax, dword [ebp - 0x130]
add esp, 0x20
test eax, eax
je 0x1017e924
xor ecx, ecx
xor edi, edi
cmp cx, word [ebp - 0x138]
jae 0x1017e90b
lea esi, [eax + 8]
push dword [esi]
push dword [ebp - 0x108]
call fcn.10132fc0
mov dword [esi], 0
lea esi, [esi + 0xc]
movzx eax, word [ebp - 0x138]
inc edi
add esp, 8
cmp edi, eax
jl 0x1017e8e0
mov eax, dword [ebp - 0x130]
push eax
push dword [ebp - 0x108]
call fcn.10132fc0
add esp, 8
mov dword [ebp - 0x130], 0
cmp dword [ebp - 0x104], 0
je 0x1017e95b
push ebx
push dword [ebp - 0x108]
call fcn.10132fc0
mov ebx, dword [ebp - 0x128]
add esp, 8
test ebx, ebx
je 0x1017e95b
push ebx
call fcn.10130c30
push ebx
push dword [ebp - 0x108]
call fcn.10132fc0
add esp, 0xc
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x104]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1018be04
mov esp, ebp
pop ebp
ret
cmp eax, 0x676c7966
cmove edi, ecx
movzx eax, word [edx + 4]
inc esi
cmp esi, eax
jb 0x1017e810
test edi, edi
jne 0x1017e98f
test ebx, ebx
je 0x1017e9a2
cmp edi, ebx
ja 0x1017e873
sub ebx, edi
cmp ebx, 1
jne 0x1017e873
mov edi, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x120]
inc edi
movzx eax, word [ebp - 0x138]
add ecx, 0xc
mov dword [ebp - 0x114], edi
mov dword [ebp - 0x120], ecx
cmp edi, eax
jge 0x1017e9de
mov eax, dword [ebp - 0x130]
jmp 0x1017e780
mov dword [ebp - 0x130], 0
push dword [ebp - 0x118]
call fcn.10131060
mov ecx, dword [ebp - 0x15c]
add esp, 4
mov edx, dword [ebp - 0x168]
add ecx, 3
add ecx, eax
mov dword [ebp - 0x140], eax
and ecx, 0xfffffffc
cmp ecx, edx
ja 0x1017e873
mov esi, dword [ebp - 0x158]
test esi, esi
je 0x1017ea2c
cmp ecx, esi
jne 0x1017e873
lea ecx, [esi + 3]
add ecx, dword [ebp - 0x154]
and ecx, 0xfffffffc
mov esi, dword [ebp - 0x14c]
test esi, esi
je 0x1017ea4a
cmp ecx, esi
jne 0x1017e873
lea ecx, [esi + 3]
add ecx, dword [ebp - 0x148]
and ecx, 0xfffffffc
lea eax, [edx + 3]
and eax, 0xfffffffc
cmp ecx, eax
jne 0x1017e873
mov ecx, dword [ebp - 0x178]
mov esi, dword [ebp - 0x174]
movzx eax, word [ebp - 0x138]
mov edi, dword [ebp - 0x12c]
mov dword [ecx], eax
mov esi, dword [esi]
test esi, esi
lea ecx, [edi - 1]
cmovns ecx, edi
cmp ecx, eax
jl 0x1017ea96
test esi, esi
js 0x1017ea94
mov dword [ebp - 0x104], 6
jmp 0x1017e87d
xor ecx, ecx
cmp dword [ebp - 0x13c], 0
je 0x1017eba2
mov eax, dword [ebp - 0x130]
lea ecx, [ecx + ecx*2]
mov edi, dword [ebp - 0x108]
lea esi, [eax + ecx*4]
lea eax, [ebp - 0x104]
push eax
movzx eax, word [esi + 4]
push 0
push eax
push 0
push 4
push edi
call fcn.10133110
add esp, 0x18
mov ebx, eax
cmp dword [ebp - 0x104], 0
jne 0x1017e87d
movzx ecx, word [esi + 4]
xor edx, edx
mov dword [ebp - 0x12c], edx
mov eax, ecx
cmp dx, cx
jae 0x1017eb1e
mov edi, dword [ebp - 0x110]
nop dword [eax + eax]
mov eax, dword [esi + 8]
movzx eax, word [eax + edx*2]
mov eax, dword [edi + eax*4]
mov dword [ebx + edx*4], eax
inc edx
movzx ecx, word [esi + 4]
cmp edx, ecx
jl 0x1017eb00
mov edi, dword [ebp - 0x108]
mov eax, ecx
lea ecx, [ebp - 0x104]
movzx eax, ax
push ecx
push dword [ebp - 0x110]
push eax
movzx eax, word [ebp - 0x164]
push eax
push 4
push edi
call fcn.10133110
add esp, 0x18
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x104], 0
jne 0x1017e87d
xor ecx, ecx
xor edx, edx
cmp cx, word [esi + 4]
jae 0x1017eb77
mov edi, ebx
mov ecx, eax
sub edi, eax
mov eax, dword [edi + ecx]
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
inc edx
movzx eax, word [esi + 4]
cmp edx, eax
jl 0x1017eb65
push ebx
mov ebx, dword [ebp - 0x108]
push ebx
call fcn.10132fc0
mov eax, dword [esi]
add esp, 8
mov edx, dword [ebp - 0x168]
mov dword [ebp - 0x16c], eax
mov ax, word [esi + 4]
mov word [ebp - 0x164], ax
jmp 0x1017ebaf
mov ax, word [ebp - 0x164]
mov ebx, dword [ebp - 0x108]
mov ecx, dword [ebp - 0x160]
movzx esi, ax
shl esi, 4
add esi, 0xc
mov dword [ebp - 0x11c], esi
cmp ecx, esi
jbe 0x1017ebea
mov eax, ecx
shr eax, 6
cmp eax, edx
jbe 0x1017ebd8
mov esi, edx
shl esi, 6
jmp 0x1017ebda
mov esi, ecx
mov eax, 0x4000000
cmp esi, eax
cmovae esi, eax
mov dword [ebp - 0x11c], esi
lea eax, [ebp - 0x104]
push eax
push esi
push ebx
call fcn.10132fe0
mov edi, eax
add esp, 0xc
cmp dword [ebp - 0x104], 0
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x114], edi
jne 0x1017ed5f
lea eax, [ebp - 0x104]
push eax
push 0x28
push ebx
call fcn.10132f50
add esp, 0xc
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x104], 0
jne 0x1017ed5f
mov ecx, dword [ebp - 0x16c]
lea edx, [edi + 1]
shr ecx, 0x18
mov byte [edi], cl
mov ecx, dword [ebp - 0x16c]
shr ecx, 0x10
mov byte [edx], cl
mov eax, dword [ebp - 0x16c]
shr eax, 8
mov byte [edx + 1], al
mov al, byte [ebp - 0x16c]
mov byte [edx + 2], al
mov di, word [ebp - 0x164]
test di, di
je 0x1017ece8
movzx ebx, di
xor ecx, ecx
mov eax, ebx
test eax, eax
je 0x1017ec85
inc ecx
shr eax, 1
jne 0x1017ec80
dec ecx
shl ebx, 4
mov eax, 1
shl eax, cl
shl eax, 4
sub ebx, eax
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x164]
shr eax, 8
mov byte [edx + 3], al
mov al, byte [ebp - 0x164]
mov byte [edx + 4], al
mov eax, dword [ebp - 0x120]
shr eax, 8
mov byte [edx + 5], al
mov eax, dword [ebp - 0x120]
mov byte [edx + 6], al
mov eax, ecx
shr eax, 8
mov byte [edx + 7], al
mov eax, ebx
mov byte [edx + 8], cl
shr eax, 8
mov byte [edx + 9], al
mov byte [edx + 0xa], bl
mov di, word [ebp - 0x164]
mov ebx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x10c]
push 0xc
push eax
call fcn.10178450
push 0x10178420
mov dword [ebp - 0x198], eax
push 4
movzx eax, di
push eax
push dword [ebp - 0x110]
call sub.api_ms_win_crt_utility_l1_1_0.dll_qsort
movzx edi, word [ebp - 0x164]
mov edx, 1
add esp, 0x18
cmp edi, edx
jbe 0x1017ed4a
nop word [eax + eax]
mov eax, dword [ebp - 0x110]
mov ecx, dword [eax + edx*4 - 4]
mov eax, dword [eax + edx*4]
mov eax, dword [eax + 4]
cmp eax, dword [ecx + 4]
je 0x1017ed55
inc edx
cmp edx, edi
jl 0x1017ed30
mov eax, dword [ebp - 0x144]
cmp eax, 1
jae 0x1017ed6a
mov dword [ebp - 0x104], 8
mov ebx, dword [ebp - 0x10c]
jmp 0x1017e87f
cmp eax, esi
jbe 0x1017ed83
mov ebx, dword [ebp - 0x10c]
mov dword [ebp - 0x104], 8
jmp 0x1017e87f
lea ecx, [ebp - 0x104]
push ecx
push eax
push ebx
call fcn.10132fe0
add esp, 0xc
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x104], 0
jne 0x1017ed5f
push dword [ebp - 0x15c]
mov ebx, dword [ebp - 0x118]
push ebx
call fcn.10130c50
add esp, 8
mov dword [ebp - 0x104], eax
test eax, eax
jne 0x1017ed5f
push ebx
mov dword [ebp - 0x104], 7
call fcn.10130d30
add esp, 4
cmp dword [ebp - 0x104], 0
jne 0x1017ed5f
mov esi, dword [ebp - 0x108]
lea eax, [ebp - 0x11c]
push esi
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x170]
push eax
push dword [ebp - 0x110]
push dword [ebp - 0x144]
push dword [ebp - 0x124]
call fcn.10179c10
add esp, 0x20
mov dword [ebp - 0x104], eax
test eax, eax
jne 0x1017eed4
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 0x11c]
cmp eax, ecx
jae 0x1017ee70
lea edx, [ebp - 0x104]
push edx
push dword [ebp - 0x114]
push eax
push ecx
push 1
push esi
call fcn.10133110
add esp, 0x18
mov edi, eax
cmp dword [ebp - 0x104], 0
mov dword [ebp - 0x10c], edi
jne 0x1017ed5f
mov eax, dword [ebp - 0x134]
jmp 0x1017ee7c
mov edi, dword [ebp - 0x114]
mov dword [ebp - 0x10c], edi
mov esi, dword [ebp - 0x128]
push eax
push edi
push esi
call fcn.10131030
mov eax, dword [ebx + 0x1c]
mov ebx, dword [ebp - 0x17c]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], 0x1017b600
mov eax, dword [ebx + 8]
shr eax, 0xa
and eax, 1
push eax
push dword [ebx + 0x68]
call fcn.10130da0
mov ecx, dword [ebp - 0x174]
add esp, 0x14
and dword [ebx + 8], 0xfffffbff
mov dword [ebx + 0x68], esi
mov eax, dword [ecx]
sar eax, 0x1f
mov dword [ecx], eax
mov ebx, dword [ebp - 0x10c]
jmp 0x1017e87f
mov ebx, dword [ebp - 0x114]
jmp 0x1017e87f