Function at 0x1001538c
Capabilities:
Query environment variable
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
sub esp, 0x188
mov ebx, edx
mov dword [ebp - 0x164], eax
mov ecx, dword [0x10234e38]
mov eax, dword [eax + 0xc]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
test eax, eax
je 0x10015401
cmp eax, 1
jne 0x100153c0
and byte [ebx + 0x193], 0xdf
jmp 0x10015401
cmp eax, 2
jne 0x100153ce
or byte [ebx + 0x193], 0x20
jmp 0x10015401
mov eax, 0x23d
test byte [ebx + 0x190], 0x20
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
jne 0x100153eb
mov eax, 0x30
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10016e76
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x164]
mov edx, dword [eax + 0x18]
test edx, edx
je 0x10015429
lea eax, [edx - 1]
cmp eax, 2
ja 0x10016e47
mov eax, dword [ebp - 0x164]
mov byte [ebx + 0x17e], dl
mov edx, dword [eax + 0x18]
test edx, edx
je 0x10015481
movsx eax, byte [ebx + 0x17d]
and eax, 0xfffffffe
cmp eax, 2
je 0x10015481
movzx eax, byte [ebx + 0x193]
test al, 8
jne 0x10015481
test al, 0x10
jne 0x10015481
movzx eax, byte [ebx + 0x198]
test al, 1
jne 0x10015481
test al, 2
jne 0x10015481
movzx eax, byte [ebx + 0x192]
test eax, 0x80
jne 0x10015481
cmp byte [ebx + 0x17e], 3
je 0x1001547a
mov byte [ebx + 0x17c], 6
jmp 0x10015481
mov byte [ebx + 0x17c], 5
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 0x74]
test eax, eax
je 0x100154e2
cmp eax, 2
je 0x100154e2
cmp eax, 1
jne 0x100154a1
mov byte [ebx + 0x181], 0x27
jmp 0x100154e9
cmp eax, 3
jne 0x100154af
mov byte [ebx + 0x181], 0x22
jmp 0x100154e9
mov eax, 0x2ef
test byte [ebx + 0x190], 0x20
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
jne 0x100154cc
mov eax, 0x30
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10016e76
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov byte [ebx + 0x181], 0
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 0x78]
test eax, eax
je 0x1001555a
cmp eax, 2
jne 0x10015519
movzx eax, byte [ebx + 0x196]
movzx esi, byte [ebx + 0x190]
and eax, 0xfffffffd
and esi, 2
or eax, esi
mov byte [ebx + 0x196], al
jmp 0x1001555a
cmp eax, 1
jne 0x10015527
and byte [ebx + 0x196], 0xfd
jmp 0x1001555a
mov eax, 0x2f1
test byte [ebx + 0x190], 0x20
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
jne 0x10015544
mov eax, 0x30
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10016e76
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
movzx eax, byte [ebx + 0x192]
test eax, 0x80
jne 0x1001557b
movzx eax, byte [ebx + 0x198]
test al, 1
jne 0x1001557b
test al, 2
je 0x10016199
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 0x1c]
cmp eax, 9
ja 0x10015652
movzx eax, byte [eax + 0x1020d0e0]
add eax, 0x1001559c
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 0x1001567c
call fcn.100136d0
mov ecx, dword [0x10240434]
test ecx, ecx
je 0x100156a9
mov edx, dword [0x10240438]
test edx, edx
jle 0x100156a9
xor eax, eax
cmp esi, dword [eax*4 + 0x10240220]
jl 0x100156a4
cmp esi, dword [eax*4 + 0x10240320]
jle 0x100156af
inc eax
cmp eax, edx
jl 0x10015692
mov ecx, dword [0x1024043c]
test ecx, ecx
je 0x100159c7
cmp ecx, 1
je 0x100156c3
mov ecx, str.LITTLE_ENDIAN
jmp 0x100156c8
mov ecx, str.BIG_ENDIAN
movzx eax, byte [ebx + 0x195]
and eax, 0xffffffdf
or eax, 0x10
mov byte [ebx + 0x180], 0
mov dword [ebp - 0x194], eax
mov byte [ebx + 0x195], al
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x100156ff
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x100156ea
dec eax
mov esi, eax
xor edi, edi
cmp esi, 0x14
jb 0x1001570d
mov esi, 0x14
test esi, esi
jle 0x10015738
mov dword [ebp - 0x184], ebx
mov ebx, ecx
movsx eax, byte [edi + ebx]
push eax
call fcn.101ba593
mov byte [ebp + edi - 0x17c], al
inc edi
add esp, 4
cmp edi, esi
jl 0x10015719
mov ebx, dword [ebp - 0x184]
mov byte [ebp + edi - 0x17c], 0
mov edi, str.NATIVE
lea esi, [ebp - 0x17c]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x1001576b
test dl, dl
je 0x10015767
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x1001576b
add edi, 2
add esi, 2
test dl, dl
jne 0x1001574b
xor eax, eax
jmp 0x10015770
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1001578f
mov eax, dword [ebp - 0x194]
and eax, 0xffffffef
mov byte [ebx + 0x195], al
mov byte [ebx + 0x180], 0
jmp 0x100159c7
mov edi, str.BIG_ENDIAN
lea esi, [ebp - 0x17c]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x100157ba
test dl, dl
je 0x100157b6
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x100157ba
add edi, 2
add esi, 2
test dl, dl
jne 0x1001579a
xor eax, eax
jmp 0x100157bf
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100157de
mov eax, dword [ebp - 0x194]
add eax, 0x20
mov byte [ebx + 0x195], al
mov byte [ebx + 0x180], 0
jmp 0x100159c7
mov edi, str.VAXD
lea esi, [ebp - 0x17c]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x10015809
test dl, dl
je 0x10015805
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x10015809
add edi, 2
add esi, 2
test dl, dl
jne 0x100157e9
xor eax, eax
jmp 0x1001580e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1001581e
mov byte [ebx + 0x180], 2
jmp 0x100159c7
mov edi, str.VAXG
lea esi, [ebp - 0x17c]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x10015849
test dl, dl
je 0x10015845
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x10015849
add edi, 2
add esi, 2
test dl, dl
jne 0x10015829
xor eax, eax
jmp 0x1001584e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1001585e
mov byte [ebx + 0x180], 1
jmp 0x100159c7
mov edi, 0x1020d334
lea esi, [ebp - 0x17c]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x10015889
test dl, dl
je 0x10015885
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x10015889
add edi, 2
add esi, 2
test dl, dl
jne 0x10015869
xor eax, eax
jmp 0x1001588e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1001589e
mov byte [ebx + 0x180], 5
jmp 0x100159c7
mov edi, 0x1020d338
lea esi, [ebp - 0x17c]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x100158c9
test dl, dl
je 0x100158c5
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x100158c9
add edi, 2
add esi, 2
test dl, dl
jne 0x100158a9
xor eax, eax
jmp 0x100158ce
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100158de
mov byte [ebx + 0x180], 6
jmp 0x100159c7
mov edi, str.LITTLE_ENDIAN
lea esi, [ebp - 0x17c]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x10015909
test dl, dl
je 0x10015905
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x10015909
add edi, 2
add esi, 2
test dl, dl
jne 0x100158e9
xor eax, eax
jmp 0x1001590e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1001592d
mov eax, dword [ebp - 0x194]
and eax, 0xffffffef
mov byte [ebx + 0x180], 0
mov byte [ebx + 0x195], al
jmp 0x100159c7
mov edi, 0x1020d330
lea esi, [ebp - 0x17c]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x10015958
test dl, dl
je 0x10015954
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x10015958
add edi, 2
add esi, 2
test dl, dl
jne 0x10015938
xor eax, eax
jmp 0x1001595d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10015979
mov eax, dword [ebp - 0x194]
add eax, 0x20
mov byte [ebx + 0x195], al
mov byte [ebx + 0x180], 3
jmp 0x100159c7
mov edi, str.CRAY
lea esi, [ebp - 0x17c]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x100159a4
test dl, dl
je 0x100159a0
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x100159a4
add edi, 2
add esi, 2
test dl, dl
jne 0x10015984
xor eax, eax
jmp 0x100159a9
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10015e03
mov eax, dword [ebp - 0x194]
add eax, 0x20
mov byte [ebx + 0x195], al
mov byte [ebx + 0x180], 4
movsx edx, word [ebx + 0x178]
lea eax, [ebp - 0x168]
push eax
push 0
add edx, 0xd
push edx
call fcn.10025750
add esp, 0xc
test eax, eax
jne 0x10016193
movsx ecx, word [ebx + 0x178]
mov eax, ecx
add eax, 0xc
jl 0x10015a14
xor eax, eax
mov ecx, dword [ebp - 0x168]
mov byte [ecx + eax], 0
inc eax
movsx ecx, word [ebx + 0x178]
lea edx, [ecx + 0xc]
cmp eax, edx
jle 0x100159fb
lea esi, [ecx + 0xb]
dec ecx
jl 0x10015e23
mov edx, dword [ebx + 0x74]
movsx eax, byte [edx + ecx]
cmp eax, 0x2e
jne 0x10015e0d
movsx eax, word [ebx + 0x178]
dec eax
cmp ecx, eax
je 0x10015e1b
mov edi, dword [ebp - 0x168]
movzx edx, byte [edx + ecx]
push 0x105
mov byte [esi + edi], dl
lea edi, [esi - 0xc]
mov eax, dword [ebp - 0x168]
mov dword [edi + eax], 0x54524f46
mov ecx, dword [ebp - 0x168]
mov dword [edi + ecx + 4], 0x4e4f435f
mov eax, dword [ebp - 0x168]
mov dword [edi + eax + 8], 0x54524556
lea edi, [ebp - 0x116]
mov edx, dword [edi - 0x52]
push edi
lea eax, [edx + esi - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jbe 0x10015aa5
cmp eax, 0x105
jae 0x10015aa5
movsx eax, byte [ebp - 0x116]
jmp 0x10015aae
mov byte [ebp - 0x116], 0
xor eax, eax
test eax, eax
jne 0x10015af0
mov eax, dword [ebp - 0x168]
push 0x105
push edi
mov byte [esi + eax], 0x5f
mov edx, dword [ebp - 0x168]
lea esi, [edx + esi - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jbe 0x10015ae7
cmp eax, 0x105
jae 0x10015ae7
movsx eax, byte [ebp - 0x116]
jmp 0x10015af0
mov byte [ebp - 0x116], 0
xor eax, eax
test eax, eax
je 0x10015e23
movzx eax, byte [ebx + 0x195]
mov ecx, edi
and eax, 0xffffffdf
or eax, 0x10
mov byte [ebx + 0x180], 0
mov dword [ebp - 0x194], eax
mov byte [ebx + 0x195], al
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x10015b31
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x10015b1c
dec eax
cmp eax, 0x14
jb 0x10015b3b
mov eax, 0x14
xor esi, esi
test eax, eax
jle 0x10015b68
mov dword [ebp - 0x184], ebx
mov ebx, eax
movsx edx, byte [esi + edi]
push edx
call fcn.101ba593
mov byte [ebp + esi - 0x17c], al
inc esi
add esp, 4
cmp esi, ebx
jl 0x10015b49
mov ebx, dword [ebp - 0x184]
mov byte [ebp + esi - 0x17c], 0
mov edi, str.NATIVE
lea esi, [ebp - 0x17c]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x10015b9b
test dl, dl
je 0x10015b97
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x10015b9b
add edi, 2
add esi, 2
test dl, dl
jne 0x10015b7b
xor eax, eax
jmp 0x10015ba0
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10015bbf
mov eax, dword [ebp - 0x194]
and eax, 0xffffffef
mov byte [ebx + 0x195], al
mov byte [ebx + 0x180], 0
jmp 0x10015e23
mov edi, str.BIG_ENDIAN
lea esi, [ebp - 0x17c]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x10015bea
test dl, dl
je 0x10015be6
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x10015bea
add edi, 2
add esi, 2
test dl, dl
jne 0x10015bca
xor eax, eax
jmp 0x10015bef
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10015c0e
mov eax, dword [ebp - 0x194]
add eax, 0x20
mov byte [ebx + 0x195], al
mov byte [ebx + 0x180], 0
jmp 0x10015e23
mov edi, str.VAXD
lea esi, [ebp - 0x17c]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x10015c39
test dl, dl
je 0x10015c35
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x10015c39
add edi, 2
add esi, 2
test dl, dl
jne 0x10015c19
xor eax, eax
jmp 0x10015c3e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10015c4e
mov byte [ebx + 0x180], 2
jmp 0x10015e23
mov edi, str.VAXG
lea esi, [ebp - 0x17c]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x10015c79
test dl, dl
je 0x10015c75
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x10015c79
add edi, 2
add esi, 2
test dl, dl
jne 0x10015c59
xor eax, eax
jmp 0x10015c7e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10015c8e
mov byte [ebx + 0x180], 1
jmp 0x10015e23
mov edi, 0x1020d334
lea esi, [ebp - 0x17c]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x10015cb9
test dl, dl
je 0x10015cb5
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x10015cb9
add edi, 2
add esi, 2
test dl, dl
jne 0x10015c99
xor eax, eax
jmp 0x10015cbe
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10015cce
mov byte [ebx + 0x180], 5
jmp 0x10015e23
mov edi, 0x1020d338
lea esi, [ebp - 0x17c]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x10015cf9
test dl, dl
je 0x10015cf5
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x10015cf9
add edi, 2
add esi, 2
test dl, dl
jne 0x10015cd9
xor eax, eax
jmp 0x10015cfe
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10015d0e
mov byte [ebx + 0x180], 6
jmp 0x10015e23
mov edi, str.LITTLE_ENDIAN
lea esi, [ebp - 0x17c]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x10015d39
test dl, dl
je 0x10015d35
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x10015d39
add edi, 2
add esi, 2
test dl, dl
jne 0x10015d19
xor eax, eax
jmp 0x10015d3e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10015d5d
mov eax, dword [ebp - 0x194]
and eax, 0xffffffef
mov byte [ebx + 0x180], 0
mov byte [ebx + 0x195], al
jmp 0x10015e23
mov edi, 0x1020d330
lea esi, [ebp - 0x17c]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x10015d88
test dl, dl
je 0x10015d84
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x10015d88
add edi, 2
add esi, 2
test dl, dl
jne 0x10015d68
xor eax, eax
jmp 0x10015d8d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10015da9
mov eax, dword [ebp - 0x194]
add eax, 0x20
mov byte [ebx + 0x195], al
mov byte [ebx + 0x180], 3
jmp 0x10015e23
mov edi, str.CRAY
lea esi, [ebp - 0x17c]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x10015dd4
test dl, dl
je 0x10015dd0
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x10015dd4
add edi, 2
add esi, 2
test dl, dl
jne 0x10015db4
xor eax, eax
jmp 0x10015dd9
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10015df5
mov eax, dword [ebp - 0x194]
add eax, 0x20
mov byte [ebx + 0x195], al
mov byte [ebx + 0x180], 4
jmp 0x10015e23
push dword [ebp - 0x168]
call fcn.10025800
add esp, 4
mov eax, 0x2e
jmp 0x10016e2b
cmp eax, 0x5c
je 0x10015e1b
mov edx, dword [ebp - 0x168]
mov byte [edx + esi], al
dec esi
dec ecx
jns 0x10015a1e
push dword [ebp - 0x168]
call fcn.10025800
add esp, 4
test eax, eax
jne 0x10016193
cmp dword [0x102372a0], 0
je 0x10016e7b
mov eax, dword [0x10237310]
push dword [ebx + 0x118]
push str.FORT_CONVERT_d
lea esi, [ebp - 0x156]
push esi
call eax
add esp, 0xc
push 0x105
lea edi, [ebp - 0x116]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jbe 0x10015e89
cmp eax, 0x105
jae 0x10015e89
movsx eax, byte [ebp - 0x116]
jmp 0x10015e92
mov byte [ebp - 0x116], 0
xor eax, eax
test eax, eax
je 0x10016199
movzx eax, byte [ebx + 0x195]
mov ecx, edi
and eax, 0xffffffdf
or eax, 0x10
mov byte [ebx + 0x180], 0
mov dword [ebp - 0x194], eax
mov byte [ebx + 0x195], al
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x10015ed3
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x10015ebe
dec eax
mov edi, eax
xor esi, esi
cmp edi, 0x14
jb 0x10015ee1
mov edi, 0x14
test edi, edi
jle 0x10015f02
movsx eax, byte [ebp + esi - 0x116]
push eax
call fcn.101ba593
mov byte [ebp + esi - 0x17c], al
inc esi
add esp, 4
cmp esi, edi
jl 0x10015ee5
mov byte [ebp + esi - 0x17c], 0
mov edi, str.NATIVE
lea esi, [ebp - 0x17c]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x10015f35
test dl, dl
je 0x10015f31
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x10015f35
add edi, 2
add esi, 2
test dl, dl
jne 0x10015f15
xor eax, eax
jmp 0x10015f3a
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10015f59
mov eax, dword [ebp - 0x194]
and eax, 0xffffffef
mov byte [ebx + 0x195], al
mov byte [ebx + 0x180], 0
jmp 0x10016199
mov edi, str.BIG_ENDIAN
lea esi, [ebp - 0x17c]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x10015f84
test dl, dl
je 0x10015f80
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x10015f84
add edi, 2
add esi, 2
test dl, dl
jne 0x10015f64
xor eax, eax
jmp 0x10015f89
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10015fa8
mov eax, dword [ebp - 0x194]
add eax, 0x20
mov byte [ebx + 0x195], al
mov byte [ebx + 0x180], 0
jmp 0x10016199
mov edi, str.VAXD
lea esi, [ebp - 0x17c]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x10015fd3
test dl, dl
je 0x10015fcf
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x10015fd3
add edi, 2
add esi, 2
test dl, dl
jne 0x10015fb3
xor eax, eax
jmp 0x10015fd8
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10015fe8
mov byte [ebx + 0x180], 2
jmp 0x10016199
mov edi, str.VAXG
lea esi, [ebp - 0x17c]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x10016013
test dl, dl
je 0x1001600f
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x10016013
add edi, 2
add esi, 2
test dl, dl
jne 0x10015ff3
xor eax, eax
jmp 0x10016018
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10016028
mov byte [ebx + 0x180], 1
jmp 0x10016199
mov edi, 0x1020d334
lea esi, [ebp - 0x17c]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x10016053
test dl, dl
je 0x1001604f
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x10016053
add edi, 2
add esi, 2
test dl, dl
jne 0x10016033
xor eax, eax
jmp 0x10016058
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10016068
mov byte [ebx + 0x180], 5
jmp 0x10016199
mov edi, 0x1020d338
lea esi, [ebp - 0x17c]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x10016093
test dl, dl
je 0x1001608f
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x10016093
add edi, 2
add esi, 2
test dl, dl
jne 0x10016073
xor eax, eax
jmp 0x10016098
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100160a8
mov byte [ebx + 0x180], 6
jmp 0x10016199
mov edi, str.LITTLE_ENDIAN
lea esi, [ebp - 0x17c]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x100160d3
test dl, dl
je 0x100160cf
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x100160d3
add edi, 2
add esi, 2
test dl, dl
jne 0x100160b3
xor eax, eax
jmp 0x100160d8
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100160f7
mov eax, dword [ebp - 0x194]
and eax, 0xffffffef
mov byte [ebx + 0x180], 0
mov byte [ebx + 0x195], al
jmp 0x10016199
mov edi, 0x1020d330
lea esi, [ebp - 0x17c]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x10016122
test dl, dl
je 0x1001611e
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x10016122
add edi, 2
add esi, 2
test dl, dl
jne 0x10016102
xor eax, eax
jmp 0x10016127
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10016143
mov eax, dword [ebp - 0x194]
add eax, 0x20
mov byte [ebx + 0x195], al
mov byte [ebx + 0x180], 3
jmp 0x10016199
mov edi, str.CRAY
lea esi, [ebp - 0x17c]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x1001616e
test dl, dl
je 0x1001616a
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x1001616e
add edi, 2
add esi, 2
test dl, dl
jne 0x1001614e
xor eax, eax
jmp 0x10016173
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10015e03
mov eax, dword [ebp - 0x194]
add eax, 0x20
mov byte [ebx + 0x195], al
mov byte [ebx + 0x180], 4
jmp 0x10016199
jne 0x10016e2b
cmp dword [ebx + 0x154], 1
je 0x1001623a
cmp dword [0x1024c380], 0
je 0x100161d2
movzx eax, byte [ebx + 0x198]
mov edx, dword [ebx + 0x15c]
test eax, 0x80
je 0x100161c8
cmp edx, 0xfffffffa
je 0x1001623a
cmp edx, 1
je 0x1001623a
cmp edx, 2
je 0x1001623a
test byte [ebx + 0x192], 0x40
je 0x1001623a
cmp byte [ebx + 0x17c], 0
jne 0x1001623a
mov esi, dword [ebx + 0x118]
cmp dword [0x10240420], 0
jne 0x100161f8
call fcn.10013210
mov eax, dword [0x10240424]
test eax, eax
je 0x10016224
mov ecx, dword [0x10240428]
test ecx, ecx
jle 0x10016224
xor edx, edx
cmp esi, dword [edx*4 + 0x10240020]
jl 0x1001621f
cmp esi, dword [edx*4 + 0x10240120]
jle 0x10016229
inc edx
cmp edx, ecx
jl 0x1001620d
mov eax, dword [0x1024042c]
test eax, eax
je 0x1001623a
mov byte [ebx + 0x17c], al
mov byte [ebx + 0x17e], 3
mov eax, dword [ebp - 0x164]
mov dword [ebx + 0x7c], 0
mov eax, dword [eax]
dec eax
cmp eax, 4
ja 0x100163ff
movzx eax, word [eax*2 + 0x1020d0ec]
add eax, 0x10016263
notrack jmp eax
mov eax, 0x68
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 0x70]
cmp eax, 1
je 0x1001648e
cmp eax, 3
jne 0x1001644b
test byte [ebx + 0x196], 1
jne 0x1001649b
mov dword [ebx + 0x7c], str.ACTION
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10016e76
mov eax, 0x68
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
cmp eax, 2
jne 0x1001649b
test byte [ebx + 0x191], 0x40
jne 0x10016462
test byte [ebx + 0x196], 1
je 0x1001649b
mov dword [ebx + 0x7c], str.ACTION
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10016e76
mov eax, 0x68
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
test byte [ebx + 0x191], 0x40
je 0x10016e03
mov eax, dword [ebp - 0x164]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x100164c2
mov edx, eax
mov al, byte [ebx + 0x17f]
cmp al, byte [edx + 8]
jne 0x10016dd7
cmp ecx, dword [ebx + 0x68]
jne 0x10016dd7
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 0xa4]
cmp eax, 1
je 0x100173e2
cmp eax, 2
je 0x100173b4
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 0xa0]
cmp eax, 1
je 0x10017395
cmp eax, 2
je 0x100171c6
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 0x28]
dec eax
cmp eax, 5
ja 0x100165fc
movzx eax, byte [eax + 0x1020d0f8]
add eax, 0x10016520
notrack jmp eax
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 0x34]
cmp eax, 1
je 0x10016699
cmp eax, 2
jne 0x1001665f
movzx eax, byte [ebx + 0x192]
test eax, 0x80
jne 0x100166a6
movzx eax, byte [ebx + 0x190]
test eax, 0x80
jne 0x100166a6
mov dword [ebx + 0x7c], str.FORM
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10016e76
mov eax, 0x68
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
cmp eax, 4
jne 0x100166a6
test byte [ebx + 0x198], 2
jne 0x100166a6
mov dword [ebx + 0x7c], str.FORM
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10016e76
mov eax, 0x68
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
test byte [ebx + 0x192], 0x40
je 0x10016dab
mov eax, dword [ebp - 0x164]
cmp dword [eax + 0x88], 0
je 0x10016721
cmp dword [0x1024c380], 0
je 0x100166fc
cmp dword [eax + 0x8c], 0
je 0x10016721
test byte [ebx + 0x199], 1
jne 0x10016721
mov dword [ebx + 0x7c], str.IOFOCUS
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10016e76
mov eax, 0x68
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 0x10016e76
mov eax, 0x232
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x1001675c
cmp eax, dword [ebx + 0xf0]
je 0x1001675c
mov dword [ebx + 0x7c], str.MAXREC
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10016e76
mov eax, 0x68
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 0x90]
cmp eax, 1
je 0x100167ee
cmp eax, 3
jne 0x100167ab
test byte [ebx + 0x196], 1
jne 0x100167fb
mov dword [ebx + 0x7c], str.MODE
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10016e76
mov eax, 0x68
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
cmp eax, 2
jne 0x100167fb
test byte [ebx + 0x191], 0x40
jne 0x100167c2
test byte [ebx + 0x196], 1
je 0x100167fb
mov dword [ebx + 0x7c], str.MODE
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10016e76
mov eax, 0x68
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
test byte [ebx + 0x191], 0x40
je 0x10016d7f
mov eax, dword [ebp - 0x164]
cmp dword [eax + 0x54], 0
je 0x1001683c
test byte [ebx + 0x192], 1
je 0x1001683c
mov dword [ebx + 0x7c], str.NOSHARED
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10016e76
mov eax, 0x67
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, dword [eax + 0x40]
cmp eax, 1
je 0x100168bc
cmp eax, 2
jne 0x10016882
cmp byte [ebx + 0x17d], 2
je 0x100168f1
mov dword [ebx + 0x7c], str.ORGANIZATION
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10016e76
mov eax, 0x68
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
cmp eax, 3
jne 0x100168f1
cmp byte [ebx + 0x17d], 3
je 0x100168f1
mov dword [ebx + 0x7c], str.ORGANIZATION
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10016e76
mov eax, 0x68
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
cmp byte [ebx + 0x17d], 1
je 0x100168f1
mov dword [ebx + 0x7c], str.ORGANIZATION
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10016e76
mov eax, 0x68
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 0x7c]
test eax, eax
je 0x10016990
cmp eax, 2
je 0x10016990
test byte [ebx + 0x194], 8
jne 0x1001691e
xor esi, esi
mov dword [ebp - 0x174], esi
jmp 0x10016958
push 1
xor edx, edx
lea eax, [ebp - 0x178]
push eax
push edx
push dword [ebx + 0xfc]
mov dword [eax - 4], edx
mov dword [eax], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, eax
mov dword [ebp - 0x17c], esi
cmp esi, 0xffffffff
je 0x10017131
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x174], eax
movzx eax, byte [ebx + 0x193]
test al, 8
jne 0x1001696b
test al, 0x10
je 0x10016ee0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10016e76
mov eax, 0x2e
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x164]
cmp dword [eax + 0x44], 0
je 0x100169d1
test byte [ebx + 0x191], 0x40
jne 0x100169d1
mov dword [ebx + 0x7c], str.READONLY
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10016e76
mov eax, 0x67
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov esi, dword [eax + 0x48]
mov edx, esi
mov ecx, dword [eax + 0x4c]
or edx, ecx
je 0x10016a15
mov eax, dword [ebx + 0x114]
sub esi, eax
or esi, ecx
je 0x10016a15
mov dword [ebx + 0x7c], str.RECL
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10016e76
mov eax, 0x68
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 0x50]
test eax, eax
je 0x10016a92
cmp eax, 2
jne 0x10016a5c
cmp byte [ebx + 0x17c], 4
je 0x10016a92
mov dword [ebx + 0x7c], str.RECORDTYPE
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10016e76
mov eax, 0x68
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov dl, byte [ebx + 0x17c]
cmp dl, al
je 0x10016a92
mov dword [ebx + 0x7c], str.RECORDTYPE
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10016e76
mov eax, 0x68
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 0x94]
lea edx, [eax - 1]
cmp edx, 1
jbe 0x1001717e
cmp eax, 3
je 0x10016b5d
cmp eax, 4
jne 0x10016b08
test byte [ebx + 0x192], 1
jne 0x10016adc
movzx eax, byte [ebx + 0x198]
test al, 4
jne 0x10016adc
test al, 8
jne 0x10016adc
test al, 0x10
je 0x10016adc
test al, 0x20
je 0x10016b91
mov dword [ebx + 0x7c], str.SHARE
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10016e76
mov eax, 0x68
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
cmp eax, 5
jne 0x10016b91
test byte [ebx + 0x192], 1
jne 0x10016b31
movzx eax, byte [ebx + 0x198]
test al, 4
jne 0x10016b31
test al, 8
jne 0x10016b31
test al, 0x10
jne 0x10016b31
test al, 0x20
jne 0x10016b91
mov dword [ebx + 0x7c], str.SHARE
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10016e76
mov eax, 0x68
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
test byte [ebx + 0x192], 1
jne 0x10016d53
movzx eax, byte [ebx + 0x198]
test al, 4
jne 0x10016d53
test al, 8
je 0x10016d53
test al, 0x10
jne 0x10016d53
test al, 0x20
jne 0x10016d53
mov eax, dword [ebp - 0x164]
cmp dword [eax + 0x58], 0
je 0x10016bd2
test byte [ebx + 0x192], 1
jne 0x10016bd2
mov dword [ebx + 0x7c], str.SHARED
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10016e76
mov eax, 0x67
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, dword [eax + 0x5c]
cmp eax, 1
jbe 0x10016c19
cmp eax, 4
je 0x10016c19
cmp eax, 3
jne 0x10016bed
test byte [ebx + 0x192], 4
jne 0x10016c19
mov dword [ebx + 0x7c], str.STATUS
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10016e76
mov eax, 0x68
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x164]
cmp dword [eax + 0x98], 0
je 0x10016cd6
cmp dword [0x1024c380], 0
je 0x10016d2e
mov eax, dword [ebx + 0x15c]
test eax, 0xfffffffe
je 0x1001716e
cmp eax, 2
je 0x1001716e
push dword [ebx + 0xfc]
call fcn.10066b20
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x10016cd6
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x10016c7e
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x10016c69
dec eax
mov edx, eax
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 0x9c]
cmp edx, eax
jne 0x10016caa
push eax
mov eax, dword [ebp - 0x164]
push dword [eax + 0x98]
push ecx
call fcn.101bc0e0
add esp, 0xc
test eax, eax
je 0x10016cd6
mov dword [ebx + 0x7c], str.TITLE
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10016e76
mov eax, 0x68
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov esi, dword [ebp - 0x164]
mov eax, dword [esi + 0xb8]
mov byte [ebx + 0x187], al
mov edx, dword [esi + 0xbc]
mov byte [ebx + 0x189], dl
mov ecx, dword [esi + 0xc0]
mov byte [ebx + 0x18b], cl
mov eax, dword [esi + 0xc4]
mov byte [ebx + 0x18d], al
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10016e76
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 0x10016e76
mov eax, 0x234
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov dword [ebx + 0x7c], str.SHARE
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10016e76
mov eax, 0x68
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov dword [ebx + 0x7c], str.MODE
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10016e76
mov eax, 0x68
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov dword [ebx + 0x7c], str.FORM
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10016e76
mov eax, 0x68
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov dword [ebx + 0x7c], str.ASSOCIATEVARIABLE
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10016e76
mov eax, 0x68
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov dword [ebx + 0x7c], str.ACTION
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10016e76
mov eax, 0x68
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 0x10016e76
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, 0x2f2
test byte [ebx + 0x190], 0x20
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
jne 0x10016e64
mov eax, 0x30
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10016e76
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
call fcn.101a6152
call fcn.10061c60
jmp 0x10015e46
mov eax, 0x78
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 0x7c]
cmp eax, 1
jne 0x10016f35
test byte [ebx + 0x194], 8
je 0x10016f8b
push 2
xor edx, edx
lea eax, [ebp - 0x190]
push eax
push edx
push dword [ebx + 0xfc]
mov dword [eax - 4], edx
mov dword [eax], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x194], eax
cmp eax, 0xffffffff
je 0x10017037
mov eax, dword [ebp - 0x190]
jmp 0x10016f71
cmp eax, 3
jne 0x10016f8b
xor eax, eax
lea edx, [ebp - 0x180]
push eax
push edx
push eax
push dword [ebx + 0xfc]
mov dword [edx - 4], eax
mov dword [edx], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x184], eax
cmp eax, 0xffffffff
je 0x1001709d
mov eax, dword [ebp - 0x180]
mov edx, 0xffffffff
mov ecx, eax
mov edi, dword [ebp - 0x18c]
sub ecx, edx
sub edi, edx
or edi, ecx
jne 0x10016f93
jmp 0x10017074
xor eax, eax
mov dword [ebp - 0x18c], eax
mov edi, esi
mov edx, 0xffffffff
mov ecx, dword [ebp - 0x174]
sub edi, edx
sub ecx, edx
or edi, ecx
je 0x10017074
mov edx, dword [ebp - 0x18c]
sub eax, dword [ebp - 0x174]
sub edx, esi
or edx, eax
je 0x10016990
push 0
mov edx, dword [ebp - 0x174]
lea eax, [ebp - 0x188]
push eax
push esi
push dword [ebx + 0xfc]
mov dword [eax - 4], esi
mov dword [eax], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, eax
mov dword [ebp - 0x18c], ecx
cmp ecx, 0xffffffff
je 0x10017103
mov edx, dword [ebp - 0x188]
mov eax, 0xffffffff
sub ecx, eax
sub edx, eax
or ecx, edx
je 0x100170da
mov dword [ebx + 0x7c], str.POSITION
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10016e76
mov eax, 0x68
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1001705d
mov eax, 0xffffffff
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x18c], eax
jmp 0x10016f71
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x190]
jmp 0x10016f71
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x100], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10016e76
jmp 0x10016ea5
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x100170c3
mov eax, 0xffffffff
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x18c], eax
jmp 0x10016f71
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x180]
jmp 0x10016f71
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x100], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10016e76
jmp 0x10016ea5
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x10017120
mov eax, 0xffffffff
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x188], eax
jmp 0x100170da
mov ecx, dword [ebp - 0x18c]
mov edx, dword [ebp - 0x188]
jmp 0x10016ffa
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x10017157
mov esi, 0xffffffff
mov dword [ebp - 0x17c], esi
mov dword [ebp - 0x178], esi
mov dword [ebp - 0x174], esi
jmp 0x10016958
mov eax, dword [ebp - 0x178]
mov esi, dword [ebp - 0x17c]
mov dword [ebp - 0x174], eax
jmp 0x10016958
call fcn.10066b40
push eax
call fcn.10066b20
jmp 0x10016c5e
test byte [ebx + 0x192], 1
je 0x100171a2
movzx eax, byte [ebx + 0x198]
test al, 4
je 0x100171a2
test al, 8
jne 0x100171a2
test al, 0x10
jne 0x100171a2
test al, 0x20
je 0x10016b91
mov dword [ebx + 0x7c], str.SHARE
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10016e76
jmp 0x1001628f
test byte [ebx + 0x199], 0x40
jne 0x100164fe
test byte [ebx + 0x19c], 4
jne 0x100164fe
mov ecx, dword [ebx + 0x74]
mov dword [ebp - 0x188], ecx
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x10017200
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x100171eb
dec eax
mov edx, eax
dec edx
mov esi, edx
js 0x10017219
movsx eax, byte [edx + ecx]
dec edx
cmp eax, 0x2e
je 0x10017386
test edx, edx
jns 0x10017207
xor eax, eax
mov edx, esi
and edx, 0xfffffffe
cmp edx, 2
je 0x1001722d
lea edx, [esi - 5]
cmp edx, 1
ja 0x1001729a
inc esi
lea edx, [ebp - 0x160]
push esi
push dword [ebp - 0x188]
push edx
mov dword [edx - 0x30], eax
call fcn.101c8c50
mov eax, dword [ebp - 0x190]
add esp, 0xc
xor edi, edi
mov dword [ebp - 0x194], edi
mov dword [ebp - 0x184], ebx
mov byte [ebp + esi - 0x160], 0
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x18c], esi
lea esi, [ebp - 0x160]
mov ebx, edi
lea eax, [ebx + 0x1020cc60]
push eax
push esi
call fcn.101bdadd
add esp, 8
test eax, eax
je 0x100172d4
inc edi
add ebx, 0x10
cmp edi, 0x11
jl 0x10017277
mov ebx, dword [ebp - 0x184]
test byte [ebx + 0x193], 8
je 0x100172b0
test byte [ebx + 0x190], 4
jne 0x100164fe
mov dword [ebx + 0x7c], str.BUFFERED
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10016e76
jmp 0x1001628f
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x194], ebx
mov esi, dword [ebp - 0x18c]
mov ebx, dword [ebp - 0x184]
test eax, eax
je 0x10017348
mov eax, dword [ebp - 0x188]
movsx eax, byte [eax]
add eax, 0xffffffbd
cmp eax, 0x32
ja 0x10017348
movzx eax, byte [eax + 0x1020d100]
add eax, 0x1001729a
notrack jmp eax
mov edi, dword [ebp - 0x188]
mov edx, dword [ebp - 0x194]
mov byte [esi + edi], 0
movzx eax, byte [ebx + 0x19a]
movzx esi, byte [edx + 0x1020cc6c]
and eax, 0xfffffffe
and esi, 1
or eax, esi
mov byte [ebx + 0x19a], al
cmp byte [edx + 0x1020cc6a], 0xff
je 0x1001729a
jmp 0x100164fe
dec esi
xor eax, eax
cmp edx, esi
mov esi, edx
setl al
jmp 0x1001721b
test byte [ebx + 0x199], 0x40
jne 0x100172b0
test byte [ebx + 0x19c], 4
jne 0x100172b0
jmp 0x100164fe
cmp dword [ebx + 0x20], 0
jne 0x100164e0
mov dword [ebx + 0x7c], str.ASYNCHRONOUS
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10016e76
jmp 0x1001628f
cmp dword [ebx + 0x20], 0
jne 0x100173be
jmp 0x100164e0