Function at 0x10017690
Capabilities:
Query environment variable

Disassembly:
endbr32
push ebp
mov ebp, esp
push esi
push edi
push ebx
sub esp, 0x168
mov edx, dword [ebp + 0xc]
mov eax, dword [0x10234e38]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 0x1c]
mov ebx, dword [ebp + 8]
cmp eax, 9
ja 0x10017781
movzx eax, byte [eax + 0x1020d188]
add eax, 0x100176cb
notrack jmp eax
push 0xbd6
push str.for_open.c
push 2
push 8
call fcn.10022aa0
add esp, 0x10
mov esi, dword [ebx + 0x118]
cmp dword [0x10240430], 0
jne 0x100177ab
call fcn.100136d0
mov ecx, dword [0x10240434]
test ecx, ecx
je 0x100177d8
mov edx, dword [0x10240438]
test edx, edx
jle 0x100177d8
xor eax, eax
cmp esi, dword [eax*4 + 0x10240220]
jl 0x100177d3
cmp esi, dword [eax*4 + 0x10240320]
jle 0x100177de
inc eax
cmp eax, edx
jl 0x100177c1
mov ecx, dword [0x1024043c]
test ecx, ecx
je 0x10017b10
cmp ecx, 1
je 0x100177f2
mov ecx, str.LITTLE_ENDIAN
jmp 0x100177f7
mov ecx, str.BIG_ENDIAN
movzx eax, byte [ebx + 0x195]
and eax, 0xffffffdf
or eax, 0x10
mov byte [ebx + 0x180], 0
mov dword [ebp - 0x174], eax
mov byte [ebx + 0x195], al
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x1001782e
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x10017819
dec eax
mov esi, eax
xor edi, edi
cmp esi, 0x14
jb 0x1001783c
mov esi, 0x14
test esi, esi
jle 0x1001785e
mov ebx, ecx
movsx eax, byte [edi + ebx]
push eax
call fcn.101ba593
mov byte [ebp + edi - 0x170], al
inc edi
add esp, 4
cmp edi, esi
jl 0x10017842
mov ebx, dword [ebp + 8]
mov byte [ebp + edi - 0x170], 0
mov edi, str.NATIVE
lea esi, [ebp - 0x170]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x10017891
test dl, dl
je 0x1001788d
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x10017891
add edi, 2
add esi, 2
test dl, dl
jne 0x10017871
xor eax, eax
jmp 0x10017896
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100178b5
mov eax, dword [ebp - 0x174]
and eax, 0xffffffef
mov byte [ebx + 0x195], al
mov byte [ebx + 0x180], 0
jmp 0x10017b10
mov edi, str.BIG_ENDIAN
lea esi, [ebp - 0x170]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x100178e0
test dl, dl
je 0x100178dc
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x100178e0
add edi, 2
add esi, 2
test dl, dl
jne 0x100178c0
xor eax, eax
jmp 0x100178e5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10017904
mov eax, dword [ebp - 0x174]
add eax, 0x20
mov byte [ebx + 0x195], al
mov byte [ebx + 0x180], 0
jmp 0x10017b10
mov edi, str.VAXD
lea esi, [ebp - 0x170]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x1001792f
test dl, dl
je 0x1001792b
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x1001792f
add edi, 2
add esi, 2
test dl, dl
jne 0x1001790f
xor eax, eax
jmp 0x10017934
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10017944
mov byte [ebx + 0x180], 2
jmp 0x10017b10
mov edi, str.VAXG
lea esi, [ebp - 0x170]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x1001796f
test dl, dl
je 0x1001796b
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x1001796f
add edi, 2
add esi, 2
test dl, dl
jne 0x1001794f
xor eax, eax
jmp 0x10017974
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10017984
mov byte [ebx + 0x180], 1
jmp 0x10017b10
mov edi, 0x1020d334
lea esi, [ebp - 0x170]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x100179af
test dl, dl
je 0x100179ab
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x100179af
add edi, 2
add esi, 2
test dl, dl
jne 0x1001798f
xor eax, eax
jmp 0x100179b4
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100179c4
mov byte [ebx + 0x180], 5
jmp 0x10017b10
mov edi, 0x1020d338
lea esi, [ebp - 0x170]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x100179ef
test dl, dl
je 0x100179eb
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x100179ef
add edi, 2
add esi, 2
test dl, dl
jne 0x100179cf
xor eax, eax
jmp 0x100179f4
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10017a04
mov byte [ebx + 0x180], 6
jmp 0x10017b10
mov edi, str.LITTLE_ENDIAN
lea esi, [ebp - 0x170]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x10017a2f
test dl, dl
je 0x10017a2b
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x10017a2f
add edi, 2
add esi, 2
test dl, dl
jne 0x10017a0f
xor eax, eax
jmp 0x10017a34
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10017a53
mov eax, dword [ebp - 0x174]
and eax, 0xffffffef
mov byte [ebx + 0x180], 0
mov byte [ebx + 0x195], al
jmp 0x10017b10
mov edi, 0x1020d330
lea esi, [ebp - 0x170]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x10017a7e
test dl, dl
je 0x10017a7a
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x10017a7e
add edi, 2
add esi, 2
test dl, dl
jne 0x10017a5e
xor eax, eax
jmp 0x10017a83
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10017a9f
mov eax, dword [ebp - 0x174]
add eax, 0x20
mov byte [ebx + 0x195], al
mov byte [ebx + 0x180], 3
jmp 0x10017b10
mov edi, str.CRAY
lea esi, [ebp - 0x170]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x10017aca
test dl, dl
je 0x10017ac6
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x10017aca
add edi, 2
add esi, 2
test dl, dl
jne 0x10017aaa
xor eax, eax
jmp 0x10017acf
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10017aeb
mov eax, dword [ebp - 0x174]
add eax, 0x20
mov byte [ebx + 0x195], al
mov byte [ebx + 0x180], 4
jmp 0x10017b10
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10018344
mov eax, 0x2e
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
movsx edx, word [ebx + 0x178]
lea eax, [ebp - 0x170]
push eax
push 0
add edx, 0xd
push edx
call fcn.10025750
add esp, 0xc
test eax, eax
jne 0x10018328
movsx ecx, word [ebx + 0x178]
mov eax, ecx
add eax, 0xc
jl 0x10017b5d
xor eax, eax
mov ecx, dword [ebp - 0x170]
mov byte [ecx + eax], 0
inc eax
movsx ecx, word [ebx + 0x178]
lea edx, [ecx + 0xc]
cmp eax, edx
jle 0x10017b44
lea edi, [ecx + 0xb]
dec ecx
jl 0x10017f81
mov edx, dword [ebx + 0x74]
movsx eax, byte [edx + ecx]
cmp eax, 0x2e
jne 0x10017f6b
movsx eax, word [ebx + 0x178]
dec eax
cmp ecx, eax
je 0x10017f79
mov esi, dword [ebp - 0x170]
movzx edx, byte [edx + ecx]
push 0x105
mov byte [edi + esi], dl
lea esi, [edi - 0xc]
mov eax, dword [ebp - 0x170]
mov dword [esi + eax], 0x54524f46
mov ecx, dword [ebp - 0x170]
mov dword [esi + ecx + 4], 0x4e4f435f
mov eax, dword [ebp - 0x170]
mov dword [esi + eax + 8], 0x54524556
lea esi, [ebp - 0x12c]
mov edx, dword [esi - 0x44]
push esi
lea eax, [edx + edi - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jbe 0x10017bee
cmp eax, 0x105
jae 0x10017bee
movsx eax, byte [ebp - 0x12c]
jmp 0x10017bf7
mov byte [ebp - 0x12c], 0
xor eax, eax
test eax, eax
jne 0x10017c39
mov eax, dword [ebp - 0x170]
push 0x105
push esi
mov byte [edi + eax], 0x5f
mov edx, dword [ebp - 0x170]
lea edi, [edx + edi - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jbe 0x10017c30
cmp eax, 0x105
jae 0x10017c30
movsx eax, byte [ebp - 0x12c]
jmp 0x10017c39
mov byte [ebp - 0x12c], 0
xor eax, eax
test eax, eax
je 0x10017f81
movzx eax, byte [ebx + 0x195]
mov ecx, esi
and eax, 0xffffffdf
or eax, 0x10
mov byte [ebx + 0x180], 0
mov dword [ebp - 0x174], eax
mov byte [ebx + 0x195], al
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x10017c7a
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x10017c65
dec eax
cmp eax, 0x14
jb 0x10017c84
mov eax, 0x14
xor edi, edi
test eax, eax
jle 0x10017ca8
mov ebx, eax
movsx edx, byte [edi + esi]
push edx
call fcn.101ba593
mov byte [ebp + edi - 0x16c], al
inc edi
add esp, 4
cmp edi, ebx
jl 0x10017c8c
mov ebx, dword [ebp + 8]
mov byte [ebp + edi - 0x16c], 0
mov edi, str.NATIVE
lea esi, [ebp - 0x16c]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x10017cdb
test dl, dl
je 0x10017cd7
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x10017cdb
add edi, 2
add esi, 2
test dl, dl
jne 0x10017cbb
xor eax, eax
jmp 0x10017ce0
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10017cff
mov eax, dword [ebp - 0x174]
and eax, 0xffffffef
mov byte [ebx + 0x195], al
mov byte [ebx + 0x180], 0
jmp 0x10017f81
mov edi, str.BIG_ENDIAN
lea esi, [ebp - 0x16c]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x10017d2a
test dl, dl
je 0x10017d26
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x10017d2a
add edi, 2
add esi, 2
test dl, dl
jne 0x10017d0a
xor eax, eax
jmp 0x10017d2f
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10017d4e
mov eax, dword [ebp - 0x174]
add eax, 0x20
mov byte [ebx + 0x195], al
mov byte [ebx + 0x180], 0
jmp 0x10017f81
mov edi, str.VAXD
lea esi, [ebp - 0x16c]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x10017d79
test dl, dl
je 0x10017d75
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x10017d79
add edi, 2
add esi, 2
test dl, dl
jne 0x10017d59
xor eax, eax
jmp 0x10017d7e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10017d8e
mov byte [ebx + 0x180], 2
jmp 0x10017f81
mov edi, str.VAXG
lea esi, [ebp - 0x16c]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x10017db9
test dl, dl
je 0x10017db5
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x10017db9
add edi, 2
add esi, 2
test dl, dl
jne 0x10017d99
xor eax, eax
jmp 0x10017dbe
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10017dce
mov byte [ebx + 0x180], 1
jmp 0x10017f81
mov edi, 0x1020d334
lea esi, [ebp - 0x16c]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x10017df9
test dl, dl
je 0x10017df5
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x10017df9
add edi, 2
add esi, 2
test dl, dl
jne 0x10017dd9
xor eax, eax
jmp 0x10017dfe
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10017e0e
mov byte [ebx + 0x180], 5
jmp 0x10017f81
mov edi, 0x1020d338
lea esi, [ebp - 0x16c]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x10017e39
test dl, dl
je 0x10017e35
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x10017e39
add edi, 2
add esi, 2
test dl, dl
jne 0x10017e19
xor eax, eax
jmp 0x10017e3e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10017e4e
mov byte [ebx + 0x180], 6
jmp 0x10017f81
mov edi, str.LITTLE_ENDIAN
lea esi, [ebp - 0x16c]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x10017e79
test dl, dl
je 0x10017e75
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x10017e79
add edi, 2
add esi, 2
test dl, dl
jne 0x10017e59
xor eax, eax
jmp 0x10017e7e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10017e9d
mov eax, dword [ebp - 0x174]
and eax, 0xffffffef
mov byte [ebx + 0x180], 0
mov byte [ebx + 0x195], al
jmp 0x10017f81
mov edi, 0x1020d330
lea esi, [ebp - 0x16c]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x10017ec8
test dl, dl
je 0x10017ec4
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x10017ec8
add edi, 2
add esi, 2
test dl, dl
jne 0x10017ea8
xor eax, eax
jmp 0x10017ecd
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10017eec
mov eax, dword [ebp - 0x174]
add eax, 0x20
mov byte [ebx + 0x195], al
mov byte [ebx + 0x180], 3
jmp 0x10017f81
mov edi, str.CRAY
lea esi, [ebp - 0x16c]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x10017f17
test dl, dl
je 0x10017f13
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x10017f17
add edi, 2
add esi, 2
test dl, dl
jne 0x10017ef7
xor eax, eax
jmp 0x10017f1c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10017f38
mov eax, dword [ebp - 0x174]
add eax, 0x20
mov byte [ebx + 0x195], al
mov byte [ebx + 0x180], 4
jmp 0x10017f81
push dword [ebp - 0x170]
call fcn.10025800
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10018344
mov eax, 0x2e
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
cmp eax, 0x5c
je 0x10017f79
mov edx, dword [ebp - 0x170]
mov byte [edx + edi], al
dec edi
dec ecx
jns 0x10017b67
push dword [ebp - 0x170]
call fcn.10025800
add esp, 4
test eax, eax
jne 0x1001830c
cmp dword [0x102372a0], 0
je 0x10018349
mov eax, dword [0x10237310]
push dword [ebx + 0x118]
push str.FORT_CONVERT_d
lea esi, [ebp - 0x16c]
push esi
call eax
add esp, 0xc
push 0x105
lea edi, [ebp - 0x12c]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jbe 0x10017fe7
cmp eax, 0x105
jae 0x10017fe7
movsx eax, byte [ebp - 0x12c]
jmp 0x10017ff0
mov byte [ebp - 0x12c], 0
xor eax, eax
test eax, eax
je 0x100182cd
movzx eax, byte [ebx + 0x195]
mov ecx, edi
and eax, 0xffffffdf
or eax, 0x10
mov byte [ebx + 0x180], 0
mov dword [ebp - 0x174], eax
mov byte [ebx + 0x195], al
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x10018031
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x1001801c
dec eax
mov edi, eax
xor esi, esi
cmp edi, 0x14
jb 0x1001803f
mov edi, 0x14
test edi, edi
jle 0x10018060
movsx eax, byte [ebp + esi - 0x12c]
push eax
call fcn.101ba593
mov byte [ebp + esi - 0x27], al
inc esi
add esp, 4
cmp esi, edi
jl 0x10018043
mov ebx, dword [ebp + 8]
mov byte [ebp + esi - 0x27], 0
mov edi, str.NATIVE
lea esi, [ebp - 0x27]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x1001808d
test dl, dl
je 0x10018089
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x1001808d
add edi, 2
add esi, 2
test dl, dl
jne 0x1001806d
xor eax, eax
jmp 0x10018092
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100180b1
mov eax, dword [ebp - 0x174]
and eax, 0xffffffef
mov byte [ebx + 0x195], al
mov byte [ebx + 0x180], 0
jmp 0x100182cd
mov edi, str.BIG_ENDIAN
lea esi, [ebp - 0x27]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x100180d9
test dl, dl
je 0x100180d5
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x100180d9
add edi, 2
add esi, 2
test dl, dl
jne 0x100180b9
xor eax, eax
jmp 0x100180de
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100180fd
mov eax, dword [ebp - 0x174]
add eax, 0x20
mov byte [ebx + 0x195], al
mov byte [ebx + 0x180], 0
jmp 0x100182cd
mov edi, str.VAXD
lea esi, [ebp - 0x27]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x10018125
test dl, dl
je 0x10018121
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x10018125
add edi, 2
add esi, 2
test dl, dl
jne 0x10018105
xor eax, eax
jmp 0x1001812a
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1001813a
mov byte [ebx + 0x180], 2
jmp 0x100182cd
mov edi, str.VAXG
lea esi, [ebp - 0x27]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x10018162
test dl, dl
je 0x1001815e
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x10018162
add edi, 2
add esi, 2
test dl, dl
jne 0x10018142
xor eax, eax
jmp 0x10018167
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10018177
mov byte [ebx + 0x180], 1
jmp 0x100182cd
mov edi, 0x1020d334
lea esi, [ebp - 0x27]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x1001819f
test dl, dl
je 0x1001819b
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x1001819f
add edi, 2
add esi, 2
test dl, dl
jne 0x1001817f
xor eax, eax
jmp 0x100181a4
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100181b4
mov byte [ebx + 0x180], 5
jmp 0x100182cd
mov edi, 0x1020d338
lea esi, [ebp - 0x27]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x100181dc
test dl, dl
je 0x100181d8
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x100181dc
add edi, 2
add esi, 2
test dl, dl
jne 0x100181bc
xor eax, eax
jmp 0x100181e1
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100181f1
mov byte [ebx + 0x180], 6
jmp 0x100182cd
mov edi, str.LITTLE_ENDIAN
lea esi, [ebp - 0x27]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x10018219
test dl, dl
je 0x10018215
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x10018219
add edi, 2
add esi, 2
test dl, dl
jne 0x100181f9
xor eax, eax
jmp 0x1001821e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1001823d
mov eax, dword [ebp - 0x174]
and eax, 0xffffffef
mov byte [ebx + 0x180], 0
mov byte [ebx + 0x195], al
jmp 0x100182cd
mov edi, 0x1020d330
lea esi, [ebp - 0x27]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x10018265
test dl, dl
je 0x10018261
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x10018265
add edi, 2
add esi, 2
test dl, dl
jne 0x10018245
xor eax, eax
jmp 0x1001826a
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10018286
mov eax, dword [ebp - 0x174]
add eax, 0x20
mov byte [ebx + 0x195], al
mov byte [ebx + 0x180], 3
jmp 0x100182cd
mov edi, str.CRAY
lea esi, [ebp - 0x27]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x100182ae
test dl, dl
je 0x100182aa
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x100182ae
add edi, 2
add esi, 2
test dl, dl
jne 0x1001828e
xor eax, eax
jmp 0x100182b3
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100182eb
mov eax, dword [ebp - 0x174]
add eax, 0x20
mov byte [ebx + 0x195], al
mov byte [ebx + 0x180], 4
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10018344
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10018344
mov eax, 0x2e
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10018344
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10018344
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
call fcn.101a6152
call fcn.10061c60
jmp 0x10017fa4