Function at 0x1011f960
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
cmp dword [esi + 0x28], 0
mov dword [esi + 0x5c], eax
jne case.0x1011fb29.9
cmp dword [esi + 0x2c], 0
mov dword [esi + 0x28], 1
jne 0x1011f98d
mov dword [esi + 0x2c], 1
cmp dword [esi + 4], 0
jne 0x1011f9a0
push 0
call fcn.10259b46
add esp, 4
mov dword [esi + 4], eax
cmp dword [esi + 8], 0
jne 0x1011f9b3
push 1
call fcn.10259b46
add esp, 4
mov dword [esi + 8], eax
mov edx, dword [esi + 0x14]
test edx, edx
je 0x1011f9c3
mov edi, dword [esi + 0xc]
cmp dword [edx + edi*4], 0
jne 0x1011f9e9
push esi
call fcn.1011f880
push esi
push 0x4000
push dword [esi + 4]
call fcn.1011f6b0
mov edx, dword [esi + 0xc]
add esp, 0x10
mov ecx, dword [esi + 0x14]
mov dword [ecx + edx*4], eax
mov edi, dword [esi + 0xc]
mov edx, dword [esi + 0x14]
mov eax, dword [edx + edi*4]
mov eax, dword [eax + 0x10]
mov dword [esi + 0x1c], eax
mov eax, dword [edx + edi*4]
mov ecx, dword [eax + 8]
mov dword [esi + 0x24], ecx
mov dword [esi + 0x50], ecx
mov eax, dword [edx + edi*4]
mov eax, dword [eax]
mov dword [esi + 4], eax
mov al, byte [ecx]
mov byte [esi + 0x18], al
nop dword [eax + eax]
mov edi, dword [esi + 0x24]
mov al, byte [esi + 0x18]
mov dword [ebp + 0xc], edi
mov byte [edi], al
mov ecx, dword [esi + 0x2c]
mov dword [ebp + 8], edi
movzx eax, byte [edi]
lea edx, [ecx + ecx]
cmp word [edx + 0x10294e50], 0
mov bl, byte [eax + 0x10294e98]
je 0x1011fa3d
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], edi
movsx eax, word [edx + 0x10294fa8]
movzx edi, bl
add eax, edi
movsx eax, word [eax*2 + 0x102950b8]
cmp eax, ecx
je 0x1011fa8d
nop word [eax + eax]
movsx ecx, word [edx + 0x10294ff8]
cmp ecx, 0x22
jl 0x1011fa72
mov bl, byte [edi + 0x10294f98]
lea edx, [ecx + ecx]
movzx edi, bl
movsx eax, word [edx + 0x10294fa8]
add eax, edi
movsx eax, word [eax*2 + 0x102950b8]
cmp eax, ecx
jne 0x1011fa60
movsx ecx, word [ecx*2 + 0x10294fa8]
mov edi, dword [ebp + 8]
movzx eax, bl
inc edi
add ecx, eax
mov dword [ebp + 8], edi
movsx ecx, word [ecx*2 + 0x10295048]
cmp ecx, 0x21
jne 0x1011fa21
mov edx, dword [ebp + 0xc]
mov ebx, dword [esi + 0x44]
mov eax, dword [esi + 0x40]
nop dword [eax + eax]
movsx edi, word [eax*2 + 0x10294e50]
mov eax, ebx
sub eax, edx
mov dword [esi + 0x50], edx
mov dword [esi + 0x20], eax
mov al, byte [ebx]
mov byte [esi + 0x18], al
mov byte [ebx], 0
mov dword [esi + 0x24], ebx
cmp edi, 0x14
je 0x1011fb20
cmp dword [edi*4 + 0x10295128], 0
je 0x1011fb20
xor edx, edx
cmp dword [esi + 0x20], edx
jle 0x1011fb20
mov eax, dword [esi + 0x50]
cmp byte [edx + eax], 0xa
jne 0x1011fb18
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
mov eax, dword [eax + ecx*4]
inc dword [eax + 0x20]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
mov eax, dword [eax + ecx*4]
mov dword [eax + 0x24], 0
inc edx
cmp edx, dword [esi + 0x20]
jl 0x1011faf3
nop
cmp edi, 0x17
ja case.default.0x1011fb29
jmp dword [edi*4 + 0x1011fe28]
mov eax, ebx
sub eax, dword [esi + 0x50]
mov dword [ebp + 8], eax
mov al, byte [esi + 0x18]
mov byte [ebx], al
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
mov edi, dword [ecx + eax*4]
lea edx, [ecx + eax*4]
cmp dword [edi + 0x2c], 0
jne 0x1011fb72
mov eax, dword [edi + 0x10]
mov dword [esi + 0x1c], eax
mov ecx, dword [edx]
mov eax, dword [esi + 4]
mov dword [ecx], eax
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
mov eax, dword [eax + ecx*4]
mov dword [eax + 0x2c], 1
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx + eax*4]
push esi
mov eax, dword [eax + 4]
add eax, dword [esi + 0x1c]
cmp dword [esi + 0x24], eax
jbe 0x1011fbe5
call fcn.101201d0
add esp, 4
sub eax, 0
je 0x1011fca0
sub eax, 1
jne 0x1011fbb3
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x50]
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x2c]
dec eax
cdq
sub eax, edx
mov edi, eax
sar edi, 1
add edi, 0x15
jmp 0x1011fb20
sub eax, 1
jne case.0x1011fb29.9
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
push esi
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 4]
add eax, dword [esi + 0x1c]
mov dword [esi + 0x24], eax
call fcn.10120520
mov edx, dword [esi + 0x50]
add esp, 4
mov ebx, dword [esi + 0x24]
mov dword [ebp + 0xc], edx
jmp 0x1011fac0
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0x50]
dec ecx
add eax, ecx
mov dword [esi + 0x24], eax
call fcn.10120520
mov edx, eax
add esp, 4
mov bl, 1
lea edi, [edx + edx]
cmp word [edi + 0x10294e50], 0
je 0x1011fc13
mov ecx, dword [esi + 0x24]
mov dword [esi + 0x40], edx
mov dword [esi + 0x44], ecx
movsx eax, word [edi + 0x10294fa8]
movsx eax, word [eax*2 + 0x102950ba]
cmp eax, edx
je 0x1011fc60
nop word [eax + eax]
movsx edx, word [edi + 0x10294ff8]
cmp edx, 0x22
jl 0x1011fc45
movzx eax, bl
mov bl, byte [eax + 0x10294f98]
lea edi, [edx + edx]
movzx eax, bl
movsx ecx, word [edi + 0x10294fa8]
add ecx, eax
movsx eax, word [ecx*2 + 0x102950b8]
cmp eax, edx
jne 0x1011fc30
movsx ecx, word [edx*2 + 0x10294fa8]
mov edx, dword [esi + 0x50]
movzx eax, bl
add ecx, eax
mov dword [ebp + 0xc], edx
xor eax, eax
movsx ecx, word [ecx*2 + 0x10295048]
cmp ecx, 0x21
cmove ecx, eax
test ecx, ecx
je 0x1011fab5
inc dword [esi + 0x24]
mov edi, dword [esi + 0x24]
jmp 0x1011fa1e
mov al, byte [esi + 0x18]
mov byte [ebx], al
jmp 0x1011fab2
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0x50]
dec ecx
add eax, ecx
push esi
mov dword [esi + 0x24], eax
call fcn.10120520
mov edi, dword [esi + 0x24]
mov ecx, eax
mov eax, dword [esi + 0x50]
add esp, 4
mov dword [ebp + 0xc], eax
jmp 0x1011fa1e
mov dword [esi + 0x2c], 3
jmp case.0x1011fb29.9
mov dword [esi + 0x2c], 1
jmp case.0x1011fb29.9
push dword [esi + 8]
push 1
push dword [esi + 0x20]
push dword [esi + 0x50]
call fcn.1025f581
add esp, 0x10
jmp case.0x1011fb29.9
push dword [esi + 0x50]
call fcn.100f1080
mov ecx, dword [esi + 0x5c]
add esp, 4
pop edi
mov dword [ecx], eax
mov eax, 0x102
pop esi
mov dword [ecx + 4], edx
pop ebx
pop ebp
ret
mov eax, dword [esi + 0x50]
mov byte [eax + 1], 0x30
push dword [esi + 0x50]
call fcn.100f1080
mov ecx, dword [esi + 0x5c]
add esp, 4
or eax, 0xf000
pop edi
mov dword [ecx], eax
mov eax, 0x103
pop esi
mov dword [ecx + 4], edx
pop ebx
pop ebp
ret
mov eax, dword [esi + 0x50]
mov byte [eax], 0x30
push dword [esi + 0x50]
call fcn.100f1080
mov ecx, dword [esi + 0x5c]
add esp, 4
or eax, 0xf00
pop edi
mov dword [ecx], eax
mov eax, 0x103
pop esi
mov dword [ecx + 4], edx
pop ebx
pop ebp
ret
mov eax, dword [esi + 0x5c]
pop edi
pop esi
pop ebx
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, 0x103
pop ebp
ret
mov eax, dword [ebp + 0x10]
cmp dword [eax + 4], 0
jne case.0x1011fb29.21
push 0x100
push str.uneven_number_of_digits_in_hex_string
jmp 0x1011fe00
mov dword [esi + 0x2c], 5
mov eax, dword [esi + 0x50]
pop edi
pop esi
pop ebx
movsx eax, byte [eax]
pop ebp
ret
push dword [esi + 0x50]
call fcn.1025b54f
mov ecx, dword [esi + 0x5c]
add esp, 4
cdq
pop edi
mov dword [ecx], eax
mov eax, 0x104
pop esi
mov dword [ecx + 4], edx
pop ebx
pop ebp
ret
mov eax, dword [esi + 0x50]
pop edi
mov dword [esi + 0x2c], 1
pop esi
movsx eax, byte [eax]
pop ebx
pop ebp
ret
mov eax, dword [ebp + 0x10]
cmp dword [eax + 4], 0
jne case.0x1011fb29.21
push 0x100
push str.invalid_character_in_hex_string_jump
jmp 0x1011fe00
mov eax, dword [ebp + 0x10]
cmp dword [eax + 4], 0
jne case.0x1011fb29.21
push 0x100
push str.invalid_character_in_hex_string
mov dword [eax + 4], 0xa
add eax, 8
push eax
call fcn.100f0fd0
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
push str.fatal_flex_scanner_internal_error__no_action_found
push esi
call fcn.1011f940
nop dword [eax]
xchg esi, eax
cld
adc dword [eax], edx
cmc
cld
adc dword [eax], edx
adc bh, ch
adc dword [eax], edx
cmp edi, ebp
adc dword [eax], edx
arpl bp, di
adc dword [eax], edx
jge 0x1011fe3b
adc byte [ebp - 3], bh
adc dword [eax], edx
xchg esi, eax
std
adc dword [eax], edx
vmovups ymmword [eax], ymm2
sar esp, 1
adc dword [eax], edx
adc dl, bh
adc dword [eax], edx
adc dl, bh
adc dword [eax], edx
popfd
std
adc dword [eax], edx
test al, 0xfd
adc dword [eax], edx
invalid