Function at 0x100dd5f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x31c
mov eax, dword [0x1023018]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 0x314], edx
lea edx, [ebp - 0x2c0]
mov dword [ebp - 0x2d8], ecx
mov dword [ebp - 0x2e8], eax
mov dword [ebp - 0x2e0], edx
mov dword [ebp - 0x300], 0x15e
mov dword [ebp - 0x2fc], esi
mov dword [ebp - 0x2c4], esi
mov dword [ebp - 0x31c], esi
cmp eax, esi
jne 0x100d466
call dword [sym.imp.msvcrt.dll__errno]
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0100b8a2
add esp, 0x14
or eax, 0xffffffff
jmp 0x100e302
push edi
cmp ecx, esi
jne 0x100d48e
call dword [sym.imp.msvcrt.dll__errno]
or edi, 0xffffffff
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0100b8a2
add esp, 0x14
mov eax, edi
jmp 0x100e301
movzx eax, word [eax]
mov byte [ebp - 0x2d9], 0
mov dword [ebp - 0x2cc], esi
mov dword [ebp - 0x2f8], esi
cmp ax, si
je 0x100e2fb
mov esi, dword [ebp - 0x2e8]
xor edi, edi
push ebx
mov ebx, dword [sym.imp.msvcrt.dll_iswctype]
push 8
push eax
call ebx
pop ecx
pop ecx
test eax, eax
je 0x100d507
push dword [ebp - 0x2d8]
dec dword [ebp - 0x2cc]
push dword [ebp - 0x2d8]
lea edi, [ebp - 0x2cc]
call fcn.0100d084
movzx eax, ax
pop ecx
push eax
call fcn.0100d067
pop ecx
pop ecx
inc esi
inc esi
movzx eax, word [esi]
push 8
push eax
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x100d4f0
xor edi, edi
jmp 0x100e252
push 0x25
pop eax
cmp ax, word [esi]
jne 0x100e212
mov dword [ebp - 0x310], edi
mov dword [ebp - 0x2e4], edi
mov dword [ebp - 0x2f4], edi
mov dword [ebp - 0x2d0], edi
mov dword [ebp - 0x308], edi
mov byte [ebp - 0x2da], 0
mov byte [ebp - 0x2d3], 0
mov byte [ebp - 0x2c5], 0
mov byte [ebp - 0x2d2], 0
mov byte [ebp - 0x2d1], 1
mov dword [ebp - 0x30c], edi
inc esi
inc esi
movzx ebx, word [esi]
mov dword [ebp - 0x2e8], esi
test ebx, 0xff00
jne 0x100d59a
movzx eax, bl
push eax
call dword [sym.imp.msvcrt.dll_isdigit]
pop ecx
test eax, eax
je 0x100d59a
mov eax, dword [ebp - 0x2d0]
inc dword [ebp - 0x2f4]
imul eax, eax, 0xa
lea eax, [eax + ebx - 0x30]
mov dword [ebp - 0x2d0], eax
jmp 0x100d674
cmp ebx, 0x4e
jg 0x100d63a
je 0x100d674
cmp ebx, 0x2a
je 0x100d632
cmp ebx, 0x46
je 0x100d674
cmp ebx, 0x49
je 0x100d5d4
cmp ebx, 0x4c
jne 0x100d649
inc byte [ebp - 0x2d1]
jmp 0x100d674
movzx ecx, word [esi + 2]
cmp cx, 0x36
jne 0x100d603
lea eax, [esi + 4]
cmp word [eax], 0x34
jne 0x100d603
inc dword [ebp - 0x30c]
mov dword [ebp - 0x2f0], edi
mov dword [ebp - 0x2ec], edi
mov dword [ebp - 0x2e8], eax
mov esi, eax
jmp 0x100d674
cmp cx, 0x33
jne 0x100d612
lea eax, [esi + 4]
cmp word [eax], 0x32
je 0x100d5f9
cmp cx, 0x64
je 0x100d674
cmp cx, 0x69
je 0x100d674
cmp cx, 0x6f
je 0x100d674
cmp cx, 0x78
je 0x100d674
cmp cx, 0x58
jne 0x100d649
jmp 0x100d674
inc byte [ebp - 0x2d3]
jmp 0x100d674
cmp ebx, 0x68
je 0x100d668
cmp ebx, 0x6c
je 0x100d651
cmp ebx, 0x77
je 0x100d660
inc byte [ebp - 0x2c5]
jmp 0x100d674
lea eax, [esi + 2]
cmp word [eax], 0x6c
je 0x100d5e7
inc byte [ebp - 0x2d1]
inc byte [ebp - 0x2d2]
jmp 0x100d674
dec byte [ebp - 0x2d1]
dec byte [ebp - 0x2d2]
cmp byte [ebp - 0x2c5], 0
je 0x100d55a
cmp byte [ebp - 0x2d3], 0
jne 0x100d6a3
mov eax, dword [ebp - 0x314]
mov ebx, dword [eax]
mov dword [ebp - 0x318], eax
add eax, 4
mov dword [ebp - 0x314], eax
jmp 0x100d6a5
xor ebx, ebx
cmp byte [ebp - 0x2d2], 0
mov dword [ebp - 0x304], ebx
mov byte [ebp - 0x2c5], 0
jne 0x100d6d8
movzx eax, word [esi]
cmp ax, 0x53
je 0x100d6d1
mov byte [ebp - 0x2d2], 1
cmp ax, 0x43
jne 0x100d6d8
mov byte [ebp - 0x2d2], 0xff
mov eax, dword [ebp - 0x2e8]
movzx esi, word [eax]
or esi, 0x20
cmp esi, 0x6e
je 0x100d733
cmp esi, 0x63
je 0x100d706
cmp esi, 0x7b
je 0x100d706
push dword [ebp - 0x2d8]
lea edi, [ebp - 0x2cc]
call fcn.0100d084
jmp 0x100d717
push dword [ebp - 0x2d8]
inc dword [ebp - 0x2cc]
call fcn.0100fb0c
movzx eax, ax
mov dword [ebp - 0x2c4], eax
mov eax, 0xffff
pop ecx
cmp ax, word [ebp - 0x2c4]
je 0x100e2a6
cmp dword [ebp - 0x2f4], 0
je 0x100d749
cmp dword [ebp - 0x2d0], 0
je 0x100e260
mov cl, byte [ebp - 0x2d3]
test cl, cl
jne 0x100d7a9
cmp esi, 0x63
je 0x100d762
cmp esi, 0x73
je 0x100d762
cmp esi, 0x7b
jne 0x100d7a9
mov eax, dword [ebp - 0x318]
mov ebx, dword [eax]
add eax, 4
mov dword [ebp - 0x318], eax
add eax, 4
xor edi, edi
mov dword [ebp - 0x314], eax
mov eax, dword [eax - 4]
inc edi
mov dword [ebp - 0x304], ebx
mov dword [ebp - 0x308], eax
cmp eax, edi
jae 0x100d7ac
cmp byte [ebp - 0x2d2], 0
jle 0x100e26e
xor eax, eax
mov word [ebx], ax
jmp 0x100e271
xor edi, edi
inc edi
cmp esi, 0x6f
jg 0x100dc89
je 0x100dea4
cmp esi, 0x63
je 0x100dc6e
cmp esi, 0x64
je 0x100dea4
jle 0x100dcb3
cmp esi, 0x67
jle 0x100d818
cmp esi, 0x69
je 0x100d7f9
cmp esi, 0x6e
jne 0x100dcb3
mov eax, dword [ebp - 0x2cc]
test cl, cl
je 0x100e1cf
jmp 0x100e1fb
push CreateThread
pop esi
push 0x2d
pop eax
cmp ax, word [ebp - 0x2c4]
jne 0x100dcef
mov byte [ebp - 0x2da], 1
jmp 0x100dcfb
push 0x2d
pop eax
xor ebx, ebx
cmp ax, word [ebp - 0x2c4]
jne 0x100d833
mov ecx, dword [ebp - 0x2e0]
mov word [ecx], ax
mov ebx, edi
jmp 0x100d83f
push 0x2b
pop eax
cmp ax, word [ebp - 0x2c4]
jne 0x100d860
dec dword [ebp - 0x2d0]
push dword [ebp - 0x2d8]
inc dword [ebp - 0x2cc]
call fcn.0100fb0c
movzx eax, ax
pop ecx
mov dword [ebp - 0x2c4], eax
cmp dword [ebp - 0x2f4], 0
jne 0x100d870
or dword [ebp - 0x2d0], 0xffffffff
test dword [ebp - 0x2c4], 0xff00
jne 0x100d90d
movzx eax, byte [ebp - 0x2c4]
push eax
call dword [sym.imp.msvcrt.dll_isdigit]
pop ecx
test eax, eax
je 0x100d90d
mov eax, dword [ebp - 0x2d0]
dec dword [ebp - 0x2d0]
test eax, eax
je 0x100d90d
movsx ax, byte [ebp - 0x2c4]
mov ecx, dword [ebp - 0x2e0]
inc dword [ebp - 0x2e4]
mov word [ecx + ebx*2], ax
lea eax, [ebp - 0x2fc]
push eax
lea eax, [ebp - 0x2c0]
push eax
inc ebx
push ebx
lea edi, [ebp - 0x2e0]
lea esi, [ebp - 0x300]
call fcn.0100cf8e
add esp, 0xc
test eax, eax
je 0x100e2a6
push dword [ebp - 0x2d8]
inc dword [ebp - 0x2cc]
call fcn.0100fb0c
movzx eax, ax
pop ecx
mov dword [ebp - 0x2c4], eax
test eax, 0xff00
je 0x100d880
call dword [sym.imp.msvcrt.dll_localeconv]
mov eax, dword [eax + 0x30]
movzx eax, word [eax]
movsx ecx, byte [ebp - 0x2c4]
mov dword [ebp - 0x308], eax
movzx eax, ax
cmp eax, ecx
jne 0x100da38
mov eax, dword [ebp - 0x2d0]
dec dword [ebp - 0x2d0]
test eax, eax
je 0x100da38
push dword [ebp - 0x2d8]
inc dword [ebp - 0x2cc]
call fcn.0100fb0c
mov ecx, dword [ebp - 0x2e0]
movzx eax, ax
mov dword [ebp - 0x2c4], eax
mov ax, word [ebp - 0x308]
mov word [ecx + ebx*2], ax
lea eax, [ebp - 0x2fc]
push eax
lea eax, [ebp - 0x2c0]
push eax
inc ebx
push ebx
lea edi, [ebp - 0x2e0]
lea esi, [ebp - 0x300]
call fcn.0100cf8e
add esp, 0x10
test eax, eax
je 0x100e2a6
test dword [ebp - 0x2c4], 0xff00
jne 0x100da38
movzx eax, byte [ebp - 0x2c4]
push eax
call dword [sym.imp.msvcrt.dll_isdigit]
pop ecx
test eax, eax
je 0x100da38
mov eax, dword [ebp - 0x2d0]
dec dword [ebp - 0x2d0]
test eax, eax
je 0x100da38
mov eax, dword [ebp - 0x2e0]
mov cx, word [ebp - 0x2c4]
inc dword [ebp - 0x2e4]
mov word [eax + ebx*2], cx
lea eax, [ebp - 0x2fc]
push eax
lea eax, [ebp - 0x2c0]
push eax
inc ebx
push ebx
lea edi, [ebp - 0x2e0]
lea esi, [ebp - 0x300]
call fcn.0100cf8e
add esp, 0xc
test eax, eax
je 0x100e2a6
push dword [ebp - 0x2d8]
inc dword [ebp - 0x2cc]
call fcn.0100fb0c
movzx eax, ax
pop ecx
mov dword [ebp - 0x2c4], eax
test eax, 0xff00
je 0x100d9ac
cmp dword [ebp - 0x2e4], 0
je 0x100dbda
push reloc.KERNEL32.dll_CreateThread
pop eax
cmp ax, word [ebp - 0x2c4]
je 0x100da61
push 0x45
pop eax
cmp ax, word [ebp - 0x2c4]
jne 0x100dbda
mov eax, dword [ebp - 0x2d0]
dec dword [ebp - 0x2d0]
test eax, eax
je 0x100dbda
mov ecx, dword [ebp - 0x2e0]
push reloc.KERNEL32.dll_CreateThread
pop eax
mov word [ecx + ebx*2], ax
lea eax, [ebp - 0x2fc]
push eax
lea eax, [ebp - 0x2c0]
push eax
inc ebx
push ebx
lea edi, [ebp - 0x2e0]
lea esi, [ebp - 0x300]
call fcn.0100cf8e
add esp, 0xc
test eax, eax
je 0x100e2a6
push dword [ebp - 0x2d8]
inc dword [ebp - 0x2cc]
call fcn.0100fb0c
pop ecx
movzx eax, ax
push 0x2d
pop ecx
mov dword [ebp - 0x2c4], eax
cmp cx, ax
jne 0x100daff
push ecx
mov ecx, dword [ebp - 0x2e0]
pop eax
mov word [ecx + ebx*2], ax
lea eax, [ebp - 0x2fc]
push eax
lea eax, [ebp - 0x2c0]
push eax
inc ebx
push ebx
call fcn.0100cf8e
add esp, 0xc
test eax, eax
je 0x100e2a6
jmp 0x100db0b
push 0x2b
pop eax
cmp ax, word [ebp - 0x2c4]
jne 0x100db3e
mov eax, dword [ebp - 0x2d0]
dec dword [ebp - 0x2d0]
test eax, eax
jne 0x100db23
and dword [ebp - 0x2d0], eax
jmp 0x100db3e
push dword [ebp - 0x2d8]
inc dword [ebp - 0x2cc]
call fcn.0100fb0c
movzx eax, ax
pop ecx
mov dword [ebp - 0x2c4], eax
test dword [ebp - 0x2c4], 0xff00
jne 0x100dbda
movzx eax, byte [ebp - 0x2c4]
push eax
call dword [sym.imp.msvcrt.dll_isdigit]
pop ecx
test eax, eax
je 0x100dbda
mov eax, dword [ebp - 0x2d0]
dec dword [ebp - 0x2d0]
test eax, eax
je 0x100dbda
mov eax, dword [ebp - 0x2e0]
mov cx, word [ebp - 0x2c4]
inc dword [ebp - 0x2e4]
mov word [eax + ebx*2], cx
lea eax, [ebp - 0x2fc]
push eax
lea eax, [ebp - 0x2c0]
push eax
inc ebx
push ebx
lea edi, [ebp - 0x2e0]
lea esi, [ebp - 0x300]
call fcn.0100cf8e
add esp, 0xc
test eax, eax
je 0x100e2a6
push dword [ebp - 0x2d8]
inc dword [ebp - 0x2cc]
call fcn.0100fb0c
movzx eax, ax
pop ecx
mov dword [ebp - 0x2c4], eax
test eax, 0xff00
je 0x100db4e
push dword [ebp - 0x2d8]
dec dword [ebp - 0x2cc]
push dword [ebp - 0x2c4]
call fcn.0100d067
cmp dword [ebp - 0x2e4], 0
pop ecx
pop ecx
je 0x100e2a6
cmp byte [ebp - 0x2d3], 0
jne 0x100e1fb
mov edi, dword [ebp - 0x300]
mov esi, dword [ebp - 0x2e0]
inc dword [ebp - 0x2f8]
xor eax, eax
lea edi, [edi + edi + 2]
push edi
mov word [esi + ebx*2], ax
call dword [sym.imp.msvcrt.dll_malloc]
mov ebx, eax
pop ecx
test ebx, ebx
je 0x100e2a6
push edi
push esi
push ebx
call dword [sym.imp.msvcrt.dll_wcstombs]
push dword [ebp - 0x308]
movsx eax, byte [ebp - 0x2d1]
push ebx
push dword [ebp - 0x304]
dec eax
push eax
call fcn.0100f949
push ebx
call dword [sym.imp.msvcrt.dll_free]
add esp, 0x20
jmp 0x100e1fb
cmp dword [ebp - 0x2f4], 0
push 0x10
pop eax
jne 0x100de00
inc dword [ebp - 0x2d0]
jmp 0x100de00
mov eax, esi
sub eax, 0x70
je 0x100de9d
sub eax, 3
je 0x100ddf4
dec eax
dec eax
je 0x100dea4
sub eax, 3
je 0x100d7fc
sub eax, 3
je 0x100dce8
mov ax, word [ebp - 0x2c4]
mov edx, dword [ebp - 0x2e8]
cmp word [edx], ax
jne 0x100e27f
dec byte [ebp - 0x2d9]
test cl, cl
jne 0x100e1fb
mov eax, dword [ebp - 0x318]
mov dword [ebp - 0x314], eax
jmp 0x100e1fb
push 0x40
jmp 0x100ddf6
push 0x2b
pop eax
cmp ax, word [ebp - 0x2c4]
jne 0x100dd30
dec dword [ebp - 0x2d0]
jne 0x100dd15
cmp dword [ebp - 0x2f4], 0
je 0x100dd15
mov byte [ebp - 0x2c5], 1
jmp 0x100dd30
push dword [ebp - 0x2d8]
inc dword [ebp - 0x2cc]
call fcn.0100fb0c
movzx eax, ax
pop ecx
mov dword [ebp - 0x2c4], eax
push 0x30
pop eax
cmp ax, word [ebp - 0x2c4]
jne 0x100defa
push dword [ebp - 0x2d8]
inc dword [ebp - 0x2cc]
call fcn.0100fb0c
pop ecx
movzx eax, ax
push reloc.KERNEL32.dll_GetFileSize
pop ecx
mov dword [ebp - 0x2c4], eax
cmp cx, ax
je 0x100ddb3
push 0x58
pop ecx
cmp cx, ax
je 0x100ddb3
mov dword [ebp - 0x2e4], edi
cmp esi, 0x78
je 0x100dd91
cmp dword [ebp - 0x2f4], 0
je 0x100dd8d
dec dword [ebp - 0x2d0]
jne 0x100dd8d
inc byte [ebp - 0x2c5]
push 0x6f
jmp 0x100ddee
push dword [ebp - 0x2d8]
dec dword [ebp - 0x2cc]
push eax
call fcn.0100d067
pop ecx
mov dword [ebp - 0x2c4], 0x30
jmp 0x100def9
push dword [ebp - 0x2d8]
inc dword [ebp - 0x2cc]
call fcn.0100fb0c
cmp dword [ebp - 0x2f4], 0
movzx eax, ax
pop ecx
mov dword [ebp - 0x2c4], eax
je 0x100ddec
sub dword [ebp - 0x2d0], 2
cmp dword [ebp - 0x2d0], edi
jge 0x100ddec
inc byte [ebp - 0x2c5]
push reloc.KERNEL32.dll_GetFileSize
pop esi
jmp 0x100defa
push 0x20
cmp dword [ebp - 0x2f4], 0
pop eax
je 0x100de02
or eax, edi
cmp byte [ebp - 0x2d2], 0
jle 0x100de0e
or eax, 2
test cl, cl
je 0x100de15
or eax, 4
cmp esi, 0x7b
jne 0x100de5a
lea ecx, [ebp - 0x2f8]
push ecx
push dword [ebp - 0x308]
lea ecx, [ebp - 0x304]
push dword [ebp - 0x2d8]
push dword [ebp - 0x2d0]
push ecx
lea ecx, [ebp - 0x2cc]
push ecx
lea ecx, [ebp - 0x2c4]
push ecx
lea ecx, [ebp - 0x2e8]
push ecx
push eax
call fcn.0100d2a6
add esp, 0x24
jmp 0x100de90
push dword [ebp - 0x308]
lea ecx, [ebp - 0x2c4]
push dword [ebp - 0x2d0]
lea edx, [ebp - 0x2f8]
push ecx
mov ecx, dword [ebp - 0x2d8]
push 0
push eax
lea ebx, [ebp - 0x304]
lea edi, [ebp - 0x2cc]
call fcn.0100d0bc
add esp, 0x14
test eax, eax
jne 0x100e2a6
jmp 0x100e1fb
mov byte [ebp - 0x2d1], 1
push 0x2d
pop eax
cmp ax, word [ebp - 0x2c4]
jne 0x100deb9
mov byte [ebp - 0x2da], 1
jmp 0x100dec5
push 0x2b
pop eax
cmp ax, word [ebp - 0x2c4]
jne 0x100defa
dec dword [ebp - 0x2d0]
jne 0x100dedf
cmp dword [ebp - 0x2f4], 0
je 0x100dedf
mov byte [ebp - 0x2c5], 1
jmp 0x100defa
push dword [ebp - 0x2d8]
inc dword [ebp - 0x2cc]
call fcn.0100fb0c
movzx eax, ax
mov dword [ebp - 0x2c4], eax
pop ecx
cmp dword [ebp - 0x30c], 0
je 0x100e092
cmp byte [ebp - 0x2c5], 0
jne 0x100e061
mov ebx, 0xff00
cmp esi, 0x78
je 0x100dfa3
cmp esi, 0x70
je 0x100dfa3
test dword [ebp - 0x2c4], ebx
jne 0x100e048
movzx eax, byte [ebp - 0x2c4]
push eax
call dword [sym.imp.msvcrt.dll_isdigit]
pop ecx
test eax, eax
je 0x100e048
cmp esi, 0x6f
jne 0x100df80
push 0x38
pop eax
cmp ax, word [ebp - 0x2c4]
jbe 0x100e048
mov eax, dword [ebp - 0x2f0]
mov ecx, dword [ebp - 0x2ec]
shld ecx, eax, 3
shl eax, 3
mov dword [ebp - 0x2f0], eax
mov dword [ebp - 0x2ec], ecx
jmp 0x100dffa
push 0
push 0xa
push dword [ebp - 0x2ec]
push dword [ebp - 0x2f0]
call fcn.0100e3c0
mov dword [ebp - 0x2f0], eax
mov dword [ebp - 0x2ec], edx
jmp 0x100dffa
test dword [ebp - 0x2c4], ebx
jne 0x100e048
movzx eax, byte [ebp - 0x2c4]
push eax
call dword [sym.imp.msvcrt.dll_isxdigit]
pop ecx
test eax, eax
je 0x100e048
mov eax, dword [ebp - 0x2f0]
mov ecx, dword [ebp - 0x2ec]
push dword [ebp - 0x2c4]
shld ecx, eax, 4
shl eax, 4
mov dword [ebp - 0x2f0], eax
mov dword [ebp - 0x2ec], ecx
call fcn.0100d02b
movzx eax, ax
pop ecx
mov dword [ebp - 0x2c4], eax
movzx eax, word [ebp - 0x2c4]
inc dword [ebp - 0x2e4]
sub eax, 0x30
cdq
add dword [ebp - 0x2f0], eax
adc dword [ebp - 0x2ec], edx
cmp dword [ebp - 0x2f4], 0
je 0x100e028
dec dword [ebp - 0x2d0]
je 0x100e061
push dword [ebp - 0x2d8]
inc dword [ebp - 0x2cc]
call fcn.0100fb0c
movzx eax, ax
pop ecx
mov dword [ebp - 0x2c4], eax
jmp 0x100df19
push dword [ebp - 0x2d8]
dec dword [ebp - 0x2cc]
push dword [ebp - 0x2c4]
call fcn.0100d067
pop ecx
pop ecx
cmp byte [ebp - 0x2da], 0
je 0x100e19b
mov eax, dword [ebp - 0x2f0]
mov ecx, dword [ebp - 0x2ec]
neg eax
adc ecx, 0
neg ecx
mov dword [ebp - 0x2f0], eax
mov dword [ebp - 0x2ec], ecx
jmp 0x100e19b
cmp byte [ebp - 0x2c5], 0
mov ebx, dword [ebp - 0x310]
jne 0x100e18a
mov edi, 0xff00
cmp esi, 0x78
je 0x100e0f6
cmp esi, 0x70
je 0x100e0f6
test dword [ebp - 0x2c4], edi
jne 0x100e171
movzx eax, byte [ebp - 0x2c4]
push eax
call dword [sym.imp.msvcrt.dll_isdigit]
pop ecx
test eax, eax
je 0x100e171
cmp esi, 0x6f
jne 0x100e0f1
push 0x38
pop eax
cmp ax, word [ebp - 0x2c4]
jbe 0x100e171
shl ebx, 3
jmp 0x100e129
imul ebx, ebx, 0xa
jmp 0x100e129
test dword [ebp - 0x2c4], edi
jne 0x100e171
movzx eax, byte [ebp - 0x2c4]
push eax
call dword [sym.imp.msvcrt.dll_isxdigit]
pop ecx
test eax, eax
je 0x100e171
push dword [ebp - 0x2c4]
shl ebx, 4
call fcn.0100d02b
movzx eax, ax
pop ecx
mov dword [ebp - 0x2c4], eax
movzx eax, word [ebp - 0x2c4]
inc dword [ebp - 0x2e4]
cmp dword [ebp - 0x2f4], 0
lea ebx, [ebx + eax - 0x30]
mov dword [ebp - 0x310], ebx
je 0x100e151
dec dword [ebp - 0x2d0]
je 0x100e18a
push dword [ebp - 0x2d8]
inc dword [ebp - 0x2cc]
call fcn.0100fb0c
movzx eax, ax
pop ecx
mov dword [ebp - 0x2c4], eax
jmp 0x100e0aa
push dword [ebp - 0x2d8]
dec dword [ebp - 0x2cc]
push dword [ebp - 0x2c4]
call fcn.0100d067
pop ecx
pop ecx
cmp byte [ebp - 0x2da], 0
je 0x100e19b
neg ebx
mov dword [ebp - 0x310], ebx
cmp esi, 0x46
jne 0x100e1a7
and dword [ebp - 0x2e4], 0
cmp dword [ebp - 0x2e4], 0
je 0x100e2a6
cmp byte [ebp - 0x2d3], 0
jne 0x100e1fb
inc dword [ebp - 0x2f8]
mov ebx, dword [ebp - 0x304]
mov eax, dword [ebp - 0x310]
cmp dword [ebp - 0x30c], 0
je 0x100e1eb
mov eax, dword [ebp - 0x2f0]
mov dword [ebx], eax
mov eax, dword [ebp - 0x2ec]
mov dword [ebx + 4], eax
jmp 0x100e1fb
cmp byte [ebp - 0x2d1], 0
je 0x100e1f8
mov dword [ebx], eax
jmp 0x100e1fb
mov word [ebx], ax
add dword [ebp - 0x2e8], 2
inc byte [ebp - 0x2d9]
mov esi, dword [ebp - 0x2e8]
xor edi, edi
jmp 0x100e237
push dword [ebp - 0x2d8]
inc dword [ebp - 0x2cc]
call fcn.0100fb0c
pop ecx
mov cx, word [esi]
movzx eax, ax
inc esi
inc esi
mov dword [ebp - 0x2c4], eax
cmp cx, ax
jne 0x100e298
mov eax, 0xffff
cmp ax, word [ebp - 0x2c4]
jne 0x100e252
cmp word [esi], 0x25
jne 0x100e2a6
cmp word [esi + 2], 0x6e
jne 0x100e2a6
movzx eax, word [esi]
cmp ax, di
jne 0x100d4b6
jmp 0x100e2a6
push dword [ebp - 0x2d8]
push dword [ebp - 0x2c4]
jmp 0x100e29f
mov byte [ebx], 0
call dword [sym.imp.msvcrt.dll__errno]
mov dword [eax], 0xc
jmp 0x100e2a6
push dword [ebp - 0x2d8]
push dword [ebp - 0x2c4]
call fcn.0100d067
mov dword [ebp - 0x31c], edi
jmp 0x100e2a4
push dword [ebp - 0x2d8]
push eax
call fcn.0100d067
pop ecx
pop ecx
cmp dword [ebp - 0x2fc], 1
pop ebx
jne 0x100e2bd
push dword [ebp - 0x2e0]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
mov eax, 0xffff
cmp ax, word [ebp - 0x2c4]
jne 0x100e2df
mov eax, dword [ebp - 0x2f8]
test eax, eax
jne 0x100e301
cmp byte [ebp - 0x2d9], al
jne 0x100e301
jmp 0x100e301
cmp dword [ebp - 0x31c], 1
jne 0x100e2fb
call dword [sym.imp.msvcrt.dll__errno]
mov edi, dword [ebp - 0x2f8]
xor esi, esi
jmp 0x100d474
mov eax, dword [ebp - 0x2f8]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0100b8c5
leave
ret