Function at 0x49fee0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad7e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 0
cmp dword [0x502eec], 0
je 0x49ff84
mov dword [0x502eec], 0
cmp dword [0x504fb4], 0
jne 0x49ff32
mov dword [0x504fb4], 1
cmp dword [0x504fb8], 0
jne 0x49ff45
mov eax, dword [0x4b0768]
mov dword [0x504fb8], eax
cmp dword [0x504fbc], 0
jne 0x49ff5d
mov ecx, dword [0x4b0768]
add ecx, 0x20
mov dword [0x504fbc], ecx
cmp dword [0x504fac], 0
jne 0x49ff7f
push 0x4000
mov edx, dword [0x504fb8]
push edx
call fcn.004a0fc0
add esp, 8
mov dword [0x504fac], eax
call fcn.004a0f70
mov eax, 1
test eax, eax
je 0x4a0886
mov ecx, dword [0x504fb0]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov al, byte [0x504f8c]
mov byte [edx], al
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ecx
mov edx, dword [0x504fb4]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax]
mov dl, byte [ecx*4 + 0x4c45b0]
mov byte [ebp - 0x1d], dl
mov eax, dword [ebp - 0x18]
movsx ecx, word [eax*2 + 0x4c4480]
test ecx, ecx
je 0x49ffe3
mov edx, dword [ebp - 0x18]
mov dword [0x504fa0], edx
mov eax, dword [ebp - 0x10]
mov dword [0x504f94], eax
mov ecx, dword [ebp - 0x18]
movsx edx, word [ecx*2 + 0x4c4a78]
movzx eax, byte [ebp - 0x1d]
add edx, eax
movsx ecx, word [edx*2 + 0x4c4fd8]
cmp ecx, dword [ebp - 0x18]
je 0x4a0028
mov edx, dword [ebp - 0x18]
movsx eax, word [edx*2 + 0x4c4bc8]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x98
jl 0x4a0026
movzx ecx, byte [ebp - 0x1d]
mov dl, byte [ecx*4 + 0x4c49b0]
mov byte [ebp - 0x1d], dl
jmp 0x49ffe3
mov eax, dword [ebp - 0x18]
movsx ecx, word [eax*2 + 0x4c4a78]
movzx edx, byte [ebp - 0x1d]
add ecx, edx
movsx eax, word [ecx*2 + 0x4c4d18]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x18]
movsx eax, word [edx*2 + 0x4c4a78]
cmp eax, 0x12c
jne 0x49ffb3
mov ecx, dword [ebp - 0x18]
movsx edx, word [ecx*2 + 0x4c4480]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
jne 0x4a0096
mov eax, dword [0x504f94]
mov dword [ebp - 0x10], eax
mov ecx, dword [0x504fa0]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
movsx eax, word [edx*2 + 0x4c4480]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
mov dword [0x504f98], ecx
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x1c]
mov dword [0x504f90], edx
mov eax, dword [ebp - 0x10]
mov cl, byte [eax]
mov byte [0x504f8c], cl
mov edx, dword [ebp - 0x10]
mov byte [edx], 0
mov eax, dword [ebp - 0x10]
mov dword [0x504fb0], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x68], ecx
cmp dword [ebp - 0x68], 0x2d
ja case.default.0x4a00d7
mov edx, dword [ebp - 0x68]
jmp dword [edx*4 + 0x4a0894]
mov eax, dword [ebp - 0x10]
mov cl, byte [0x504f8c]
mov byte [eax], cl
mov edx, dword [0x504f94]
mov dword [ebp - 0x10], edx
mov eax, dword [0x504fa0]
mov dword [ebp - 0x18], eax
jmp 0x4a0063
push 3
call fcn.004a12e0
add esp, 4
mov eax, 0x102
jmp 0x4a0886
jmp 0x4a0881
push 4
call fcn.004a12e0
add esp, 4
mov eax, 0x109
jmp 0x4a0886
push 5
call fcn.004a12e0
add esp, 4
mov eax, 0x10f
jmp 0x4a0886
call fcn.004a1390
mov ecx, dword [0x504f98]
add ecx, dword [0x504f90]
mov byte [ecx - 2], 0
mov edx, dword [0x504f98]
push edx
mov ecx, dword [ebp + 8]
call dword [0x4b06b4]
mov eax, dword [0x504f98]
push eax
push 0x5d
call fcn.004a0dc0
add esp, 8
mov ecx, dword [0x504f98]
push ecx
push 0x5d
call fcn.004a0dc0
add esp, 8
mov eax, 0x110
jmp 0x4a0886
mov eax, 0x10d
jmp 0x4a0886
push 4
call fcn.004a12e0
add esp, 4
mov eax, 0x104
jmp 0x4a0886
push 4
call fcn.004a12e0
add esp, 4
mov eax, 0x103
jmp 0x4a0886
call fcn.004a1390
mov eax, 0x105
jmp 0x4a0886
call fcn.004a1390
mov eax, 0x106
jmp 0x4a0886
mov edx, dword [0x504f98]
push edx
mov ecx, dword [ebp + 8]
call dword [0x4b06b4]
mov eax, 0x10a
jmp 0x4a0886
mov eax, 0x10b
jmp 0x4a0886
push 0x4c5292
mov ecx, 0x504fec
call dword [0x4b06b4]
push 1
call fcn.004a12e0
add esp, 4
jmp 0x4a0881
push 0x4c5293
mov ecx, 0x504fec
call dword [0x4b06b4]
push 2
call fcn.004a12e0
add esp, 4
jmp 0x4a0881
mov eax, 0x112
jmp 0x4a0886
mov eax, dword [0x504f98]
add eax, dword [0x504f90]
mov byte [eax - 1], 0
mov ecx, dword [0x504f98]
add ecx, 1
push ecx
mov ecx, dword [ebp + 8]
call dword [0x4b06b4]
mov eax, 0x107
jmp 0x4a0886
call fcn.004a1390
mov eax, 0x108
jmp 0x4a0886
push 0x504fec
mov ecx, dword [ebp + 8]
call dword [0x4b06a8]
call fcn.004a1390
mov eax, 0x10c
jmp 0x4a0886
mov edx, dword [0x504f98]
push edx
mov ecx, 0x504fec
call dword [0x4b0518]
jmp 0x4a0881
push 0x504fec
mov ecx, dword [ebp + 8]
call dword [0x4b06a8]
call fcn.004a1390
mov eax, 0x10c
jmp 0x4a0886
mov eax, dword [0x504f98]
push eax
mov ecx, 0x504fec
call dword [0x4b0518]
jmp 0x4a0881
push 0x3c
mov ecx, 0x504fec
call dword [0x4b051c]
jmp 0x4a0881
push 0x3e
mov ecx, 0x504fec
call dword [0x4b051c]
jmp 0x4a0881
push 0x26
mov ecx, 0x504fec
call dword [0x4b051c]
jmp 0x4a0881
push 0x27
mov ecx, 0x504fec
call dword [0x4b051c]
jmp 0x4a0881
push 0x22
mov ecx, 0x504fec
call dword [0x4b051c]
jmp 0x4a0881
mov ecx, dword [0x504f98]
add ecx, dword [0x504f90]
mov byte [ecx - 1], 0
mov edx, dword [0x504f98]
add edx, 2
push edx
call dword [0x4b07b0]
add esp, 4
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xff
jg 0x4a037f
mov al, byte [ebp - 0x24]
mov byte [ebp - 0x1e], al
jmp 0x4a03dc
push 0x7d
push 0x4c5294
call sym.MANAGER.exe_public:_static_void___cdecl_WireTap::CoMsg::setModule_char_const___int_
add esp, 8
push sym.MANAGER.exe_public:_static_void___cdecl_WireTap::CoMsg::postError_char_const___char_const___char__
lea ecx, [ebp - 0x4c]
call sym.MANAGER.exe_public:_void___thiscall_WireTap::CoMsgBuilder_0_::constructor_void____cdecl___char_const___char_const___char___
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], ecx
mov dword [ebp - 4], 0
mov edx, dword [0x504f98]
push edx
push 0x4c52a4
mov eax, dword [ebp - 0x70]
push eax
call sym.MANAGER.exe_public:_void___cdecl_WireTap::CoMsgBuilder_0_::operator___char_const__
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call sym.MANAGER.exe_public_virtual:_void___thiscall_WireTap::CoMsgBuilder_0_::destructor_void_
mov eax, 1
jmp 0x4a0886
mov cl, byte [ebp - 0x1e]
push ecx
mov ecx, 0x504fec
call dword [0x4b051c]
jmp 0x4a0881
mov edx, dword [0x504f98]
add edx, dword [0x504f90]
mov byte [edx - 1], 0
push 0x10
push 0
mov eax, dword [0x504f98]
add eax, 3
push eax
call dword [0x4b0858]
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xff
jg 0x4a042a
mov cl, byte [ebp - 0x2c]
mov byte [ebp - 0x25], cl
jmp 0x4a0489
push 0x8b
push 0x4c52b8
call sym.MANAGER.exe_public:_static_void___cdecl_WireTap::CoMsg::setModule_char_const___int_
add esp, 8
push sym.MANAGER.exe_public:_static_void___cdecl_WireTap::CoMsg::postError_char_const___char_const___char__
lea ecx, [ebp - 0x54]
call sym.MANAGER.exe_public:_void___thiscall_WireTap::CoMsgBuilder_0_::constructor_void____cdecl___char_const___char_const___char___
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x78], edx
mov dword [ebp - 4], 1
mov eax, dword [0x504f98]
push eax
push 0x4c52c8
mov ecx, dword [ebp - 0x78]
push ecx
call sym.MANAGER.exe_public:_void___cdecl_WireTap::CoMsgBuilder_0_::operator___char_const__
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call sym.MANAGER.exe_public_virtual:_void___thiscall_WireTap::CoMsgBuilder_0_::destructor_void_
mov eax, 1
jmp 0x4a0886
mov dl, byte [ebp - 0x25]
push edx
mov ecx, 0x504fec
call dword [0x4b051c]
jmp 0x4a0881
mov eax, dword [0x504f98]
push eax
mov ecx, dword [ebp + 8]
call dword [0x4b06b4]
mov eax, 0x10e
jmp 0x4a0886
push 0x4c52dc
mov ecx, dword [ebp + 8]
call dword [0x4b06b4]
mov eax, 0x10e
jmp 0x4a0886
push 0x4c52e0
mov ecx, dword [ebp + 8]
call dword [0x4b06b4]
mov eax, 0x10e
jmp 0x4a0886
push 0x4c52e4
mov ecx, dword [ebp + 8]
call dword [0x4b06b4]
mov eax, 0x10e
jmp 0x4a0886
push 0x4c52e8
mov ecx, dword [ebp + 8]
call dword [0x4b06b4]
mov eax, 0x10e
jmp 0x4a0886
push 0x4c52ec
mov ecx, dword [ebp + 8]
call dword [0x4b06b4]
mov eax, 0x10e
jmp 0x4a0886
mov byte [ebp - 0x2f], 0
mov ecx, dword [0x504f98]
add ecx, dword [0x504f90]
mov byte [ecx - 1], 0
mov edx, dword [0x504f98]
add edx, 2
push edx
call dword [0x4b07b0]
add esp, 4
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xff
jg 0x4a0569
mov al, byte [ebp - 0x34]
mov byte [ebp - 0x30], al
jmp 0x4a05c9
push 0xb3
push 0x4c52f0
call sym.MANAGER.exe_public:_static_void___cdecl_WireTap::CoMsg::setModule_char_const___int_
add esp, 8
push sym.MANAGER.exe_public:_static_void___cdecl_WireTap::CoMsg::postError_char_const___char_const___char__
lea ecx, [ebp - 0x5c]
call sym.MANAGER.exe_public:_void___thiscall_WireTap::CoMsgBuilder_0_::constructor_void____cdecl___char_const___char_const___char___
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 4], 2
mov edx, dword [0x504f98]
push edx
push 0x4c5300
mov eax, dword [ebp - 0x80]
push eax
call sym.MANAGER.exe_public:_void___cdecl_WireTap::CoMsgBuilder_0_::operator___char_const__
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call sym.MANAGER.exe_public_virtual:_void___thiscall_WireTap::CoMsgBuilder_0_::destructor_void_
mov eax, 1
jmp 0x4a0886
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 8]
call dword [0x4b06b4]
mov eax, 0x10e
jmp 0x4a0886
mov byte [ebp - 0x37], 0
mov edx, dword [0x504f98]
add edx, dword [0x504f90]
mov byte [edx - 1], 0
push 0x10
push 0
mov eax, dword [0x504f98]
add eax, 3
push eax
call dword [0x4b0858]
add esp, 0xc
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xff
jg 0x4a061e
mov cl, byte [ebp - 0x3c]
mov byte [ebp - 0x38], cl
jmp 0x4a0689
push 0xc2
push str.xmlParser.lex
call sym.MANAGER.exe_public:_static_void___cdecl_WireTap::CoMsg::setModule_char_const___int_
add esp, 8
push sym.MANAGER.exe_public:_static_void___cdecl_WireTap::CoMsg::postError_char_const___char_const___char__
lea ecx, [ebp - 0x64]
call sym.MANAGER.exe_public:_void___thiscall_WireTap::CoMsgBuilder_0_::constructor_void____cdecl___char_const___char_const___char___
mov dword [ebp - 0x84], eax
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x88], edx
mov dword [ebp - 4], 3
mov eax, dword [0x504f98]
push eax
push str.Lexical_error__s
mov ecx, dword [ebp - 0x88]
push ecx
call sym.MANAGER.exe_public:_void___cdecl_WireTap::CoMsgBuilder_0_::operator___char_const__
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call sym.MANAGER.exe_public_virtual:_void___thiscall_WireTap::CoMsgBuilder_0_::destructor_void_
mov eax, 1
jmp 0x4a0886
lea edx, [ebp - 0x38]
push edx
mov ecx, dword [ebp + 8]
call dword [0x4b06b4]
mov eax, 0x10e
jmp 0x4a0886
mov eax, dword [0x504fbc]
push eax
push 1
mov ecx, dword [0x504f90]
push ecx
mov edx, dword [0x504f98]
push edx
call dword [0x4b07c8]
add esp, 0x10
jmp 0x4a0881
xor eax, eax
jmp 0x4a0886
mov eax, dword [ebp - 0x10]
sub eax, dword [0x504f98]
sub eax, 1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x10]
mov dl, byte [0x504f8c]
mov byte [ecx], dl
mov eax, dword [0x504fac]
cmp dword [eax + 0x24], 0
jne 0x4a0719
mov ecx, dword [0x504fac]
mov edx, dword [ecx + 0x10]
mov dword [0x504fa4], edx
mov eax, dword [0x504fac]
mov ecx, dword [0x504fb8]
mov dword [eax], ecx
mov edx, dword [0x504fac]
mov dword [edx + 0x24], 1
mov eax, dword [0x504fac]
mov ecx, dword [eax + 4]
add ecx, dword [0x504fa4]
cmp dword [0x504fb0], ecx
ja 0x4a0794
mov edx, dword [0x504f98]
add edx, dword [ebp - 0x40]
mov dword [0x504fb0], edx
call fcn.004a0c10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.004a0d00
add esp, 4
mov dword [ebp - 0x44], eax
mov ecx, dword [0x504f98]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x44], 0
je 0x4a0786
mov edx, dword [0x504fb0]
add edx, 1
mov dword [0x504fb0], edx
mov eax, dword [0x504fb0]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x18], ecx
jmp 0x49ffb3
mov edx, dword [0x504fb0]
mov dword [ebp - 0x10], edx
jmp 0x4a0063
call fcn.004a0950
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
je 0x4a0812
cmp dword [ebp - 0x8c], 1
je 0x4a07c3
cmp dword [ebp - 0x8c], 2
je 0x4a083f
jmp 0x4a0872
mov dword [0x504f9c], 0
call fcn.004a1d30
test eax, eax
je 0x4a07f8
mov eax, dword [0x504f98]
mov dword [0x504fb0], eax
mov eax, dword [0x504fb4]
sub eax, 1
cdq
sub eax, edx
sar eax, 1
add eax, 0x28
mov dword [ebp - 0x14], eax
jmp 0x4a00c4
cmp dword [0x504f9c], 0
jne 0x4a0810
mov ecx, dword [0x504fb8]
push ecx
call fcn.004a0ed0
add esp, 4
jmp 0x4a0872
mov edx, dword [0x504f98]
add edx, dword [ebp - 0x40]
mov dword [0x504fb0], edx
call fcn.004a0c10
mov dword [ebp - 0x18], eax
mov eax, dword [0x504fb0]
mov dword [ebp - 0x10], eax
mov ecx, dword [0x504f98]
mov dword [ebp - 0x1c], ecx
jmp 0x49ffb3
mov edx, dword [0x504fac]
mov eax, dword [edx + 4]
add eax, dword [0x504fa4]
mov dword [0x504fb0], eax
call fcn.004a0c10
mov dword [ebp - 0x18], eax
mov ecx, dword [0x504fb0]
mov dword [ebp - 0x10], ecx
mov edx, dword [0x504f98]
mov dword [ebp - 0x1c], edx
jmp 0x4a0063
jmp 0x4a0881
push str.fatal_flex_scanner_internal_error__no_action_found
call fcn.004a13d0
add esp, 4
jmp 0x49ff84
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret