Function at 0x401360
Capabilities:
Read file on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x40a064]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push str.hptgHMTl:o:r:s:S:X:
push eax
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x120], edi
call fcn.00403270
mov esi, dword [ebp - 0x11c]
add esp, 0xc
cmp eax, 0xffffffff
je 0x40164d
add eax, 0xffffffb8
cmp eax, 0x2c
ja case.0x4013c3.73
movzx eax, byte [eax + 0x401b60]
jmp dword [eax*4 + 0x401b2c]
mov ecx, dword [0x40a81c]
mov edx, ecx
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4013d5
sub edx, esi
jne 0x4013f7
push 0x40716c
push str.empty_suffix_ignored__using___s__instead
call fcn.00402480
add esp, 8
jmp 0x40162d
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401400
sub ecx, edx
push 0x162
push str.C:GitLab_Runner_builds36ed7dc10ITVFlameMaster_srcToolsListToolListToolListTool.c
lea eax, [ecx + 1]
push eax
call fcn.004032f0
mov dword [ebx], eax
add esp, 0xc
mov edx, dword [0x40a81c]
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x401427
jmp 0x40162d
mov ecx, dword [0x40a81c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401443
sub ecx, edx
push 0x166
push str.C:GitLab_Runner_builds36ed7dc10ITVFlameMaster_srcToolsListToolListToolListTool.c
lea eax, [ecx + 1]
push eax
call fcn.004032f0
mov dword [ebx + 4], eax
add esp, 0xc
mov edx, dword [0x40a81c]
nop dword [eax + eax]
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x401470
jmp 0x401633
mov ecx, dword [0x40a81c]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401490
sub ecx, edx
push 0x16a
push str.C:GitLab_Runner_builds36ed7dc10ITVFlameMaster_srcToolsListToolListToolListTool.c
lea eax, [ecx + 1]
push eax
call fcn.004032f0
mov dword [ebx + 8], eax
add esp, 0xc
mov edx, dword [0x40a81c]
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x4014b8
jmp 0x401633
xor eax, eax
cmp dword [ebx + 0x1c], eax
sete al
mov dword [ebx + 0x1c], eax
jmp 0x401633
xor eax, eax
cmp dword [ebx + 0x18], eax
sete al
mov dword [ebx + 0x18], eax
jmp 0x401633
xor eax, eax
cmp dword [ebx + 0x2c], eax
sete al
mov dword [ebx + 0x2c], eax
jmp 0x401633
xor eax, eax
cmp dword [ebx + 0x20], eax
sete al
mov dword [ebx + 0x20], eax
jmp 0x401633
xor eax, eax
cmp dword [ebx + 0x24], eax
sete al
mov dword [ebx + 0x24], eax
jmp 0x401633
xor eax, eax
cmp dword [ebx + 0x28], eax
sete al
mov dword [ebx + 0x28], eax
jmp 0x401633
xor eax, eax
cmp dword [ebx + 0x30], eax
sete al
mov dword [ebx + 0x30], eax
jmp 0x401633
mov ecx, dword [0x40a81c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401544
sub ecx, edx
push 0x183
push str.C:GitLab_Runner_builds36ed7dc10ITVFlameMaster_srcToolsListToolListToolListTool.c
lea eax, [ecx + 1]
push eax
call fcn.004032f0
mov edx, dword [0x40a81c]
mov edi, eax
add esp, 0xc
mov esi, edi
nop dword [eax]
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [esi], cl
lea esi, [esi + 1]
test cl, cl
jne 0x401570
push 0x4076b8
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok]
mov esi, eax
add esp, 8
test esi, esi
jne 0x4015aa
push 0x186
push str.C:GitLab_Runner_builds36ed7dc10ITVFlameMaster_srcToolsListToolListToolListTool.c
push str.error_in__l_argument
call fcn.00403350
add esp, 0xc
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4015b0
sub ecx, edx
push 0x18a
push str.C:GitLab_Runner_builds36ed7dc10ITVFlameMaster_srcToolsListToolListToolListTool.c
lea eax, [ecx + 1]
push eax
call fcn.004032f0
add esp, 0xc
mov dword [ebx + 0x14], eax
mov cl, byte [esi]
lea esi, [esi + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x4015d2
push 0x4076b8
push 0
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok]
mov esi, eax
add esp, 8
test esi, esi
jne 0x40160d
push 0x18d
push str.C:GitLab_Runner_builds36ed7dc10ITVFlameMaster_srcToolsListToolListToolListTool.c
push str.error_in__l_argument
call fcn.00403350
add esp, 0xc
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
add esp, 4
fstp qword [ebx + 0x48]
test edi, edi
je 0x401627
push edi
call fcn.004032d0
add esp, 4
mov edi, dword [ebp - 0x120]
mov esi, dword [ebp - 0x11c]
push str.hptgHMTl:o:r:s:S:X:
push esi
push dword [ebp + 8]
call fcn.00403270
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4013b0
mov eax, dword [section..data]
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
cmp eax, dword [ebp + 8]
jge 0x401819
push 0x4076d4
push dword [esi + eax*4]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
je 0x4017f0
push edi
push 0x13
lea esi, [ebp - 0x18]
mov eax, esi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp eax, 0x13
jne 0x4017c9
cmp byte [ebp - 0x18], 0
mov byte [ebp - 5], 0
je 0x4016b6
movsx eax, byte [esi]
push eax
call ebx
add esp, 4
test eax, eax
je 0x4016b6
inc esi
cmp byte [esi], 0
jne 0x4016a3
mov al, byte [esi]
cmp al, 0x48
je 0x4016c4
cmp al, 0x68
jne 0x4017c9
mov al, byte [esi + 1]
cmp al, 0x45
je 0x4016d3
cmp al, 0x65
jne 0x4017c9
mov al, byte [esi + 2]
cmp al, 0x41
je 0x4016e2
cmp al, 0x61
jne 0x4017c9
mov al, byte [esi + 3]
cmp al, 0x44
je 0x4016f1
cmp al, 0x64
jne 0x4017c9
mov al, byte [esi + 4]
cmp al, 0x45
je 0x401700
cmp al, 0x65
jne 0x4017c9
mov al, byte [esi + 5]
cmp al, 0x52
je 0x40170f
cmp al, 0x72
jne 0x4017c9
mov eax, dword [section..data]
mov esi, dword [ebp - 0x11c]
mov ecx, dword [esi + eax*4]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401720
sub ecx, edx
push 0x1ab
push str.C:GitLab_Runner_builds36ed7dc10ITVFlameMaster_srcToolsListToolListToolListTool.c
lea eax, [ecx + 1]
push eax
call fcn.004032f0
mov ecx, dword [section..data]
add esp, 0xc
mov edx, dword [esi + ecx*4]
mov esi, eax
nop word [eax + eax]
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [esi], cl
lea esi, [esi + 1]
test cl, cl
jne 0x401750
push 1
push eax
mov eax, dword [ebp - 0x124]
push dword [eax + 0x50]
call fcn.004033a0
mov esi, dword [ebp - 0x11c]
add esp, 0xc
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
jmp 0x401805
mov edx, dword [0x40a81c]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401792
sub ecx, esi
cmp ecx, 8
jb 0x40162d
push 8
push edx
lea eax, [ebx + 0x3c]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
add esp, 0xc
mov byte [ebx + 0x44], 0
jmp 0x40162d
inc edi
mov dword [ebp - 0x120], edi
jmp 0x401633
mov eax, dword [section..data]
mov esi, dword [ebp - 0x11c]
push dword [esi + eax*4]
push str.__s__is_not_a_flamelet_file
call fcn.00402480
add esp, 8
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
jmp 0x401805
mov eax, dword [section..data]
push dword [esi + eax*4]
push str.Couldnt_access_flamelet_file___s_
call fcn.00402480
add esp, 8
mov eax, dword [section..data]
inc eax
mov dword [section..data], eax
cmp eax, dword [ebp + 8]
jl 0x401661
cmp dword [ebp - 0x120], 0
mov edi, dword [ebp - 0x124]
jne 0x401b01
cmp dword [edi + 0x24], 0
jne 0x401b01
cmp dword [edi + 0x18], 0
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
je 0x40185c
push str.checking_input_files
push str.__s..._n
push 2
call esi
add esp, 4
push eax
call fcn.00402540
add esp, 0xc
push dword [edi + 0x50]
call fcn.00403510
add esp, 4
test eax, eax
jne 0x40189a
push 1
call esi
push eax
mov eax, dword [ebp - 0x11c]
push dword [eax]
call fcn.00401ed0
push edi
call fcn.004012f0
push 0x1c3
push str.C:GitLab_Runner_builds36ed7dc10ITVFlameMaster_srcToolsListToolListToolListTool.c
push str.flamelet_input_file_required___
call fcn.00403350
add esp, 0x1c
cmp dword [edi], 0
jne 0x4018d3
cmp dword [edi + 4], 0
jne 0x4018ce
push 0x1ca
push str.C:GitLab_Runner_builds36ed7dc10ITVFlameMaster_srcToolsListToolListToolListTool.c
push 4
call fcn.004032f0
add esp, 0xc
mov dword [edi], eax
mov edx, 0x40716c
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x4018c0
cmp dword [edi], 0
je 0x4018fb
cmp dword [edi + 4], 0
je 0x4018fb
push 2
call esi
push eax
push str._either_output_file_or_report_file_option_is_possible__only_output_file_is_generated._n
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputs]
push dword [edi + 4]
call fcn.004032d0
add esp, 0x10
mov dword [edi + 4], 0
cmp dword [edi + 0x18], 0
je 0x40194b
push 2
call esi
mov esi, eax
add esp, 4
mov eax, dword [edi]
test eax, eax
je 0x40191f
push eax
push str._output_suffix__:__._s__n
push esi
call fcn.00402540
add esp, 0xc
mov eax, dword [edi + 4]
test eax, eax
je 0x401935
push eax
push str._report_filename__:___s__n
push esi
call fcn.00402540
add esp, 0xc
mov eax, dword [edi + 8]
test eax, eax
je 0x40194b
push eax
push str._symbol_filename__:___s__n
push esi
call fcn.00402540
add esp, 0xc
mov eax, dword [edi + 8]
test eax, eax
je 0x401ab5
push 0x4076d4
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov esi, eax
add esp, 8
mov dword [ebp - 0x11c], esi
test esi, esi
jne 0x401988
push 0x1e6
push str.C:GitLab_Runner_builds36ed7dc10ITVFlameMaster_srcToolsListToolListToolListTool.c
push str.couldnt_open_symbol_file
call fcn.00403350
add esp, 0xc
mov ecx, dword [edi + 8]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401990
sub ecx, edx
push 0x1e9
push str.C:GitLab_Runner_builds36ed7dc10ITVFlameMaster_srcToolsListToolListToolListTool.c
lea eax, [ecx + 5]
push eax
call fcn.004032f0
push str..out
push dword [edi + 8]
mov dword [edi + 0xc], eax
push str._s_s
push eax
call fcn.00402700
mov eax, dword [edi + 0x54]
push esi
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0x118]
push 0xff
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
add esp, 0x28
test eax, eax
je 0x401aab
nop dword [eax]
cmp byte [ebp - 0x118], 0
lea esi, [ebp - 0x118]
je 0x401a15
nop
movsx eax, byte [esi]
push eax
call ebx
add esp, 4
test eax, eax
je 0x401a15
inc esi
cmp byte [esi], 0
jne 0x401a00
jmp 0x401a81
mov al, byte [esi]
test al, al
je 0x401a81
cmp al, 0x23
je 0x401a81
mov edi, esi
movsx eax, byte [esi]
push eax
call ebx
add esp, 4
test eax, eax
jne 0x401a33
inc esi
cmp byte [esi], al
jne 0x401a21
mov byte [esi], 0
test edi, edi
je 0x401a81
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401a40
sub ecx, edx
push 0x142
push str.C:GitLab_Runner_builds36ed7dc10ITVFlameMaster_srcToolsListToolListToolListTool.c
lea eax, [ecx + 1]
push eax
call fcn.004032f0
mov edx, eax
add esp, 0xc
sub edx, edi
mov cl, byte [edi]
lea edi, [edi + 1]
mov byte [edi + edx - 1], cl
test cl, cl
jne 0x401a63
push 1
push eax
push dword [ebp - 0x120]
call fcn.004033a0
add esp, 0xc
mov esi, dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
push esi
push 0xff
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
add esp, 0xc
test eax, eax
jne 0x4019f0
mov edi, dword [ebp - 0x124]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x401af0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401ac0
sub ecx, edx
push 0x1f0
push str.C:GitLab_Runner_builds36ed7dc10ITVFlameMaster_srcToolsListToolListToolListTool.c
lea eax, [ecx + 4]
push eax
call fcn.004032f0
push dword [edi + 0x14]
mov dword [edi + 0x10], eax
push str._s.kg
push eax
call fcn.00402700
add esp, 0x18
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406236
mov esp, ebp
pop ebp
ret
push 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push eax
push dword [esi]
call fcn.00401ed0
push edi
call fcn.004012f0
xor eax, eax
add esp, 0x10
cmp dword [ebp - 0x120], eax
setne al
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
retf