Function at 0x4ab7c0
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.0x4ab979.6
cmp dword [esi + 0x2c], 0
mov dword [esi + 0x28], 1
jne 0x4ab7ed
mov dword [esi + 0x2c], 1
cmp dword [esi + 4], 0
jne 0x4ab7fb
call fcn.004bdd06
mov dword [esi + 4], eax
cmp dword [esi + 8], 0
jne 0x4ab80c
call fcn.004bdd06
add eax, 0x20
mov dword [esi + 8], eax
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x4ab81c
mov eax, dword [esi + 0xc]
cmp dword [ecx + eax*4], 0
jne 0x4ab83c
push esi
call fcn.004ab6f0
push esi
push 0x4000
push dword [esi + 4]
call fcn.004ab4d0
mov edx, dword [esi + 0xc]
add esp, 0x10
mov ecx, dword [esi + 0x14]
mov dword [ecx + edx*4], eax
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0xc]
lea ecx, [eax + ecx*4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
mov dword [esi + 0x1c], eax
mov eax, dword [ecx]
mov eax, dword [eax + 8]
mov dword [esi + 0x24], eax
mov dword [esi + 0x50], eax
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x24]
mov al, byte [eax]
mov byte [esi + 0x18], al
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
jmp 0x4ab880
movzx eax, byte [edi]
lea edx, [ecx + ecx]
cmp word [edx + 0x4e9d68], 0
mov bl, byte [eax + 0x4e9db0]
je 0x4ab89c
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], edi
movzx eax, word [edx + 0x4e9ec0]
movzx edi, bl
add eax, edi
movsx eax, word [eax*2 + 0x4e9fd8]
cmp eax, ecx
je 0x4ab8e1
movsx ecx, word [edx + 0x4e9f10]
cmp ecx, 0x23
jl 0x4ab8c6
mov bl, byte [edi + 0x4e9eb0]
lea edx, [ecx + ecx]
movzx edi, bl
movzx eax, word [edx + 0x4e9ec0]
add eax, edi
movsx eax, word [eax*2 + 0x4e9fd8]
cmp eax, ecx
jne 0x4ab8b4
movzx ecx, word [ecx*2 + 0x4e9ec0]
mov edi, dword [ebp + 8]
movzx eax, bl
inc edi
add ecx, eax
mov dword [ebp + 8], edi
movzx ecx, word [ecx*2 + 0x4e9f60]
cmp ecx, 0x22
jne 0x4ab880
mov edx, dword [ebp + 0xc]
mov ebx, dword [esi + 0x44]
mov eax, dword [esi + 0x40]
nop
movsx edi, word [eax*2 + 0x4e9d68]
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, 0x11
je 0x4ab970
cmp dword [edi*4 + 0x4ea050], 0
je 0x4ab970
xor edx, edx
cmp dword [esi + 0x20], edx
jbe 0x4ab970
mov eax, dword [esi + 0x50]
cmp byte [edx + eax], 0xa
jne 0x4ab968
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]
jb 0x4ab943
mov edi, edi
cmp edi, 0x14
ja case.default.0x4ab979
jmp dword [edi*4 + 0x4abbd4]
mov al, byte [esi + 0x18]
mov edi, ebx
sub edi, dword [esi + 0x50]
mov byte [ebx], al
dec edi
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0xc]
lea ecx, [eax + ecx*4]
mov eax, dword [ecx]
cmp dword [eax + 0x2c], 0
jne 0x4ab9b9
mov eax, dword [eax + 0x10]
mov dword [esi + 0x1c], eax
mov ecx, dword [ecx]
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 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]
cmp dword [esi + 0x24], eax
jbe 0x4aba2e
call fcn.004abe50
add esp, 4
sub eax, 0
je 0x4aba6a
dec eax
jne 0x4ab9fe
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, 0x12
jmp 0x4ab970
dec eax
jne case.0x4ab979.6
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.004ac170
mov edx, dword [esi + 0x50]
add esp, 4
mov ebx, dword [esi + 0x24]
mov dword [ebp + 0xc], edx
jmp 0x4ab910
mov eax, dword [esi + 0x50]
add eax, edi
mov dword [esi + 0x24], eax
call fcn.004ac170
push esi
push eax
call fcn.004ac290
mov edx, dword [esi + 0x50]
mov ecx, eax
add esp, 0xc
mov dword [ebp + 0xc], edx
test ecx, ecx
je 0x4ab909
inc dword [esi + 0x24]
mov edi, dword [esi + 0x24]
jmp 0x4ab875
mov al, byte [esi + 0x18]
mov byte [ebx], al
jmp 0x4ab906
mov eax, dword [esi + 0x50]
add eax, edi
push esi
mov dword [esi + 0x24], eax
call fcn.004ac170
mov edi, dword [esi + 0x24]
mov ecx, eax
mov eax, dword [esi + 0x50]
add esp, 4
mov dword [ebp + 0xc], eax
jmp 0x4ab875
push dword [esi + 8]
push 1
push dword [esi + 0x20]
push dword [esi + 0x50]
call fcn.004bdf3b
add esp, 0x10
jmp case.0x4ab979.6
push dword [esi + 0x50]
call fcn.004a67a0
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.004a67a0
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.004a67a0
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 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.004c03b6
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 + 8], 0
jne case.0x4ab979.18
push 0x100
mov dword [eax + 8], 0xa
add eax, 0xc
push str.invalid_character_in_hex_string_jump
push eax
call fcn.004a66f0
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
mov eax, dword [ebp + 0x10]
cmp dword [eax + 8], 0
jne case.0x4ab979.18
push 0x100
mov dword [eax + 8], 0xa
add eax, 0xc
push str.invalid_character_in_hex_string
push eax
call fcn.004a66f0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
push str.fatal_flex_scanner_internal_error__no_action_found
push esi
call fcn.004aa270
mov edi, edi
pushal
mov edx, -1163722678
dec edx
add al, al
mov edx, 0xbae9004a
dec edx
add byte [ecx], dl
mov ebx, 0xbb2b004a
dec edx
add byte [edi - 0x48], ah
dec edx
add byte [edi - 0x48], ah
dec edx
add byte [edx], dh
mov ebx, 0xbb3d004a
dec edx
add byte [ebx - 0x45], bl
dec edx
add byte [edi - 0x48], ah
dec edx
add byte [ebp - 0x45], ch
dec edx
add byte [edi - 0x48], ah
dec edx
add byte [edx], dh
mov ebx, 0xbb9a004a
dec edx
add byte [ebx - 0x7fffb546], cl
mov ecx, 0xbb93004a
dec edx
add byte [ebx - 0x6cffb545], dl
mov ebx, 0xcccc004a
int3