Function at 0x47ebc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
cmp dword [0x6266d8], 0
je 0x47ec20
mov dword [0x6266d8], 0
cmp dword [0x62dd4c], 0
jne 0x47ebfa
mov dword [0x62dd4c], 1
cmp dword [0x62dd44], 0
jne 0x47ec1b
push 0x4000
mov eax, dword [0x62dd50]
push eax
call fcn.0047f6f0
add esp, 8
mov dword [0x62dd44], eax
call fcn.0047f6a0
mov ecx, 1
test ecx, ecx
je 0x47f0ba
mov edx, dword [0x62dd48]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov cl, byte [0x62dd30]
mov byte [eax], cl
mov edx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov eax, dword [0x62dd4c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx]
mov al, byte [edx*4 + 0x626758]
mov byte [ebp - 0x11], al
mov ecx, dword [ebp - 0xc]
movsx edx, word [ecx*2 + 0x626710]
test edx, edx
je 0x47ec7f
mov eax, dword [ebp - 0xc]
mov dword [0x62dd40], eax
mov ecx, dword [ebp - 4]
mov dword [0x62dd34], ecx
mov edx, dword [ebp - 0xc]
movsx eax, word [edx*2 + 0x626bd8]
movzx ecx, byte [ebp - 0x11]
add eax, ecx
movsx edx, word [eax*2 + 0x626d10]
cmp edx, dword [ebp - 0xc]
je 0x47ecc1
mov eax, dword [ebp - 0xc]
movsx ecx, word [eax*2 + 0x626c20]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0x23
jl 0x47ecbf
movzx edx, byte [ebp - 0x11]
mov al, byte [edx*4 + 0x626b58]
mov byte [ebp - 0x11], al
jmp 0x47ec7f
mov ecx, dword [ebp - 0xc]
movsx edx, word [ecx*2 + 0x626bd8]
movzx eax, byte [ebp - 0x11]
add edx, eax
movsx ecx, word [edx*2 + 0x626c68]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0xc]
movsx ecx, word [eax*2 + 0x626bd8]
cmp ecx, 0x3f
jne 0x47ec4f
mov edx, dword [ebp - 0xc]
movsx eax, word [edx*2 + 0x626710]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x47ed2e
mov ecx, dword [0x62dd34]
mov dword [ebp - 4], ecx
mov edx, dword [0x62dd40]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
movsx ecx, word [eax*2 + 0x626710]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x10]
mov dword [0x634a60], edx
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0x10]
mov dword [0x634a68], eax
mov ecx, dword [ebp - 4]
mov dl, byte [ecx]
mov byte [0x62dd30], dl
mov eax, dword [ebp - 4]
mov byte [eax], 0
mov ecx, dword [ebp - 4]
mov dword [0x62dd48], ecx
mov edx, dword [ebp - 8]
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 0x13
ja case.default.0x47ed6f
mov eax, dword [ebp - 0x20]
jmp dword [eax*4 + 0x47f0c0]
mov ecx, dword [ebp - 4]
mov dl, byte [0x62dd30]
mov byte [ecx], dl
mov eax, dword [0x62dd34]
mov dword [ebp - 4], eax
mov ecx, dword [0x62dd40]
mov dword [ebp - 0xc], ecx
jmp 0x47ecfa
mov eax, 0x109
jmp 0x47f0ba
mov eax, 0x10a
jmp 0x47f0ba
mov edx, dword [0x634a60]
push edx
call fcn.00582f3b
add esp, 4
mov dword [0x634a7c], eax
mov eax, 0x101
jmp 0x47f0ba
mov eax, dword [0x634a60]
push eax
call fcn.00582f3b
add esp, 4
mov dword [0x634a7c], eax
mov eax, 0x101
jmp 0x47f0ba
mov ecx, dword [0x634a60]
push ecx
call fcn.00582f3b
add esp, 4
mov dword [0x634a7c], eax
mov eax, 0x101
jmp 0x47f0ba
mov edx, dword [0x634a60]
push edx
call fcn.00582f3b
add esp, 4
mov dword [0x634a7c], eax
mov eax, 0x102
jmp 0x47f0ba
mov eax, dword [0x634a60]
movsx eax, byte [eax]
jmp 0x47f0ba
mov eax, 0x103
jmp 0x47f0ba
mov eax, 0x104
jmp 0x47f0ba
mov eax, 0x106
jmp 0x47f0ba
mov eax, 0x105
jmp 0x47f0ba
mov eax, 0x107
jmp 0x47f0ba
mov eax, 0x108
jmp 0x47f0ba
mov ecx, dword [0x634a60]
movsx eax, byte [ecx]
jmp 0x47f0ba
jmp 0x47f0b5
push 0x626db8
call fcn.0047b0c0
add esp, 4
jmp 0x47f0b5
mov edx, dword [0x62dd54]
push edx
push 1
mov eax, dword [0x634a68]
push eax
mov ecx, dword [0x634a60]
push ecx
call fcn.00583183
add esp, 0x10
jmp 0x47f0b5
xor eax, eax
jmp 0x47f0ba
mov edx, dword [ebp - 4]
sub edx, dword [0x634a60]
sub edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
mov cl, byte [0x62dd30]
mov byte [eax], cl
mov edx, dword [0x62dd44]
cmp dword [edx + 0x24], 0
jne 0x47ef4e
mov eax, dword [0x62dd44]
mov ecx, dword [eax + 0x10]
mov dword [0x62dd38], ecx
mov edx, dword [0x62dd44]
mov eax, dword [0x62dd50]
mov dword [edx], eax
mov ecx, dword [0x62dd44]
mov dword [ecx + 0x24], 1
mov edx, dword [0x62dd44]
mov eax, dword [edx + 4]
add eax, dword [0x62dd38]
cmp dword [0x62dd48], eax
ja 0x47efd1
mov ecx, dword [0x634a60]
add ecx, dword [ebp - 0x18]
mov dword [0x62dd48], ecx
call fcn.0047f460
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
push edx
call fcn.0047f550
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [0x634a60]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x1c], 0
je 0x47efbe
mov ecx, dword [0x62dd48]
add ecx, 1
mov dword [0x62dd48], ecx
mov edx, dword [0x62dd48]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
jmp 0x47ec4f
mov ecx, dword [0x62dd48]
mov dword [ebp - 4], ecx
jmp 0x47ecfa
call fcn.0047f110
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x47f046
cmp dword [ebp - 0x24], 1
je 0x47eff4
cmp dword [ebp - 0x24], 2
je 0x47f073
jmp 0x47f0a6
mov dword [0x62dd3c], 0
call fcn.0047eb60
test eax, eax
je 0x47f02d
mov edx, dword [0x634a60]
mov dword [0x62dd48], edx
mov eax, dword [0x62dd4c]
sub eax, 1
cdq
sub eax, edx
sar eax, 1
add eax, 0x13
mov dword [ebp - 8], eax
jmp 0x47ed5c
cmp dword [0x62dd3c], 0
jne 0x47f044
mov eax, dword [0x62dd50]
push eax
call fcn.0047f600
add esp, 4
jmp 0x47f0a6
mov ecx, dword [0x634a60]
add ecx, dword [ebp - 0x18]
mov dword [0x62dd48], ecx
call fcn.0047f460
mov dword [ebp - 0xc], eax
mov edx, dword [0x62dd48]
mov dword [ebp - 4], edx
mov eax, dword [0x634a60]
mov dword [ebp - 0x10], eax
jmp 0x47ec4f
mov ecx, dword [0x62dd44]
mov edx, dword [ecx + 4]
add edx, dword [0x62dd38]
mov dword [0x62dd48], edx
call fcn.0047f460
mov dword [ebp - 0xc], eax
mov eax, dword [0x62dd48]
mov dword [ebp - 4], eax
mov ecx, dword [0x634a60]
mov dword [ebp - 0x10], ecx
jmp 0x47ecfa
jmp 0x47f0b5
push str.fatal_flex_scanner_internal_error__no_action_found
call fcn.0047fa40
add esp, 4
jmp 0x47ec20
mov esp, ebp
pop ebp
ret