Function at 0x404430
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x34a0
call fcn.00406c20
mov eax, 0x2000
mov word [esp + 0x149c], ax
mov eax, 0x20
mov word [esp + 0xc], ax
mov eax, 0x400
push edi
mov edi, dword [esp + 0x34a8]
mov word [esp + 0x34], ax
lea eax, [esp + 0x438]
push eax
lea eax, [esp + 0x14a4]
push eax
push edi
call sym.fxh.exe__file_read_env_12
lea eax, [esp + 0x438]
push eax
call sym.fxh.exe__file_eof_4
test al, al
jne 0x404a36
push ebx
mov ebx, dword [esp + 0x34b4]
push ebp
mov ebp, dword [esp + 0x34bc]
push esi
mov esi, dword [esp + 0x34b8]
nop word [eax + eax]
lea eax, [esp + 0x444]
push eax
call sym.fxh.exe__sys_error_4
test al, al
je 0x4044c7
push edi
call fcn.004042c0
lea eax, [esp + 0x444]
mov dword [esp + 0x14], 1
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x14b8]
push eax
call sym.fxh.exe__string_token_16
lea eax, [esp + 0x444]
push eax
call sym.fxh.exe__sys_error_4
test al, al
je 0x404505
push edi
call fcn.004042c0
lea eax, [esp + 0x1c]
push eax
call sym.fxh.exe__string_upcase_4
lea eax, [esp + 0x18]
push eax
push str.LANGUAGE_ENV_PATH_DEL_ENV_PATH_ADD
lea eax, [esp + 0x24]
push eax
call sym.fxh.exe__string_tkpick80_12
mov eax, dword [esp + 0x18]
sub eax, 1
je 0x404720
sub eax, 1
je 0x4046bd
sub eax, 1
je 0x4045de
push 1
call fcn.00409fbc
push eax
push 0x16
push 1
push 0x42c600
call fcn.0040a251
mov ax, word [esp + 0x32]
add esp, 0x14
cmp ax, 0x20
jle 0x404582
cwde
push 0x42f861
sub eax, 0x20
push eax
push 0x42c618
call fcn.004011e0
mov ax, word [esp + 0x2a]
add esp, 0xc
test ax, ax
jle 0x404599
cmp ax, 0x20
jge 0x404592
movsx esi, ax
jmp 0x40459b
mov esi, 0x20
jmp 0x40459b
xor esi, esi
push 1
call fcn.00409fbc
push eax
push esi
lea eax, [esp + 0x2c]
push 1
push eax
call fcn.0040a251
push 1
call fcn.00409fbc
push eax
push 2
push 1
push 0x42c61c
call fcn.0040a251
push 0x42c620
call fcn.004011e0
add esp, 0x2c
push edi
call fcn.004042c0
jmp 0x404786
lea eax, [esp + 0x444]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x14b8]
push eax
call sym.fxh.exe__string_token_16
lea eax, [esp + 0x444]
push eax
call sym.fxh.exe__string_eos_4
test al, al
jne 0x404890
lea eax, [esp + 0x444]
push eax
call sym.fxh.exe__sys_error_4
test al, al
jne 0x404927
cmp word [esp + 0x42], 0
jle 0x404927
push ebp
push ebx
lea eax, [esp + 0x48]
push eax
call fcn.00404240
mov eax, dword [ebx]
xor esi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x40465c
nop dword [eax + eax]
mov esi, eax
mov eax, dword [eax]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x404650
lea eax, [esp + 0x10]
push eax
push 1
push dword [ebp]
push 0x40c
call sym.fxh.exe__util_mem_grab_16
mov eax, dword [esp + 0x10]
mov ecx, 0x400
mov word [eax + 8], cx
mov eax, dword [esp + 0x10]
add eax, 8
push eax
lea eax, [esp + 0x44]
push eax
call sym.fxh.exe__string_copy_8
mov eax, dword [esp + 0x10]
mov dword [eax], 0
mov eax, dword [esp + 0x10]
test esi, esi
jne 0x4046af
mov dword [eax + 4], esi
mov eax, dword [esp + 0x10]
mov dword [ebx], eax
jmp 0x404786
mov dword [eax + 4], esi
mov eax, dword [esp + 0x10]
mov dword [esi], eax
jmp 0x404786
lea eax, [esp + 0x444]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x14b8]
push eax
call sym.fxh.exe__string_token_16
lea eax, [esp + 0x444]
push eax
call sym.fxh.exe__string_eos_4
test al, al
jne 0x404890
lea eax, [esp + 0x444]
push eax
call sym.fxh.exe__sys_error_4
test al, al
jne 0x404927
cmp word [esp + 0x42], 0
jle 0x404927
push ebp
push ebx
lea eax, [esp + 0x48]
push eax
call fcn.00404240
jmp 0x404786
lea eax, [esp + 0x444]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x14b8]
push eax
call sym.fxh.exe__string_token_16
lea eax, [esp + 0x444]
push eax
call sym.fxh.exe__string_eos_4
test al, al
jne 0x404890
lea eax, [esp + 0x444]
push eax
call sym.fxh.exe__sys_error_4
test al, al
jne 0x404927
cmp word [esp + 0x42], 0
jle 0x404927
push esi
lea eax, [esp + 0x44]
push eax
call sym.fxh.exe__string_copy_8
push esi
call sym.fxh.exe__string_upcase_4
lea eax, [esp + 0x444]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x14b8]
push eax
call sym.fxh.exe__string_token_16
lea eax, [esp + 0x444]
push eax
call sym.fxh.exe__string_eos_4
test al, al
jne 0x404851
push 1
call fcn.00409fbc
push eax
push 0x21
push 1
push str.Too_many_parameters_for_command__
call fcn.0040a251
mov ax, word [esp + 0x32]
add esp, 0x14
cmp ax, 0x20
jle 0x4047fa
cwde
push 0x42f862
sub eax, 0x20
push eax
push 0x42c648
call fcn.004011e0
mov ax, word [esp + 0x2a]
add esp, 0xc
test ax, ax
jle 0x404811
cmp ax, 0x20
jge 0x40480a
movsx esi, ax
jmp 0x404813
mov esi, 0x20
jmp 0x404813
xor esi, esi
push 1
call fcn.00409fbc
push eax
push esi
lea eax, [esp + 0x2c]
push 1
push eax
call fcn.0040a251
push 1
call fcn.00409fbc
push eax
push 2
push 1
push 0x42c64c
call fcn.0040a251
push 0x42c650
call fcn.004011e0
add esp, 0x2c
push edi
call fcn.004042c0
lea eax, [esp + 0x444]
push eax
lea eax, [esp + 0x14b0]
push eax
push edi
call sym.fxh.exe__file_read_env_12
lea eax, [esp + 0x444]
push eax
call sym.fxh.exe__file_eof_4
mov esi, dword [esp + 0x34b8]
test al, al
je 0x4044b0
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x34a0
ret 0x10
push 1
call fcn.00409fbc
push eax
push 0x1d
push 1
push str.Missing_argument_to_command__
call fcn.0040a251
mov ax, word [esp + 0x32]
add esp, 0x14
cmp ax, 0x20
jle 0x4048d0
cwde
push 0x42f863
sub eax, 0x20
push eax
push 0x42c674
call fcn.004011e0
mov ax, word [esp + 0x2a]
add esp, 0xc
test ax, ax
jle 0x4048e7
cmp ax, 0x20
jge 0x4048e0
movsx esi, ax
jmp 0x4048e9
mov esi, 0x20
jmp 0x4048e9
xor esi, esi
push 1
call fcn.00409fbc
push eax
push esi
lea eax, [esp + 0x2c]
push 1
push eax
call fcn.0040a251
push 1
call fcn.00409fbc
push eax
push 2
push 1
push 0x42c678
call fcn.0040a251
push 0x42c67c
call fcn.004011e0
add esp, 0x2c
push edi
call fcn.004042c0
push 1
call fcn.00409fbc
push eax
push 0xf
push 1
push 0x42c680
call fcn.0040a251
mov ax, word [esp + 0x56]
mov ecx, 0x400
add esp, 0x14
cmp ax, cx
jle 0x40496f
cwde
push 0x42f8d8
sub eax, ecx
push eax
push 0x42c690
call fcn.004011e0
mov ax, word [esp + 0x4e]
add esp, 0xc
mov ecx, 0x400
test ax, ax
jle 0x404985
cmp ax, cx
jge 0x40497e
movsx esi, ax
jmp 0x404987
mov esi, 0x400
jmp 0x404987
xor esi, esi
push 1
call fcn.00409fbc
push eax
push esi
lea eax, [esp + 0x50]
push 1
push eax
call fcn.0040a251
push 1
call fcn.00409fbc
push eax
push 0xe
push 1
push 0x42c694
call fcn.0040a251
mov ax, word [esp + 0x46]
add esp, 0x28
cmp ax, 0x20
jle 0x4049dc
cwde
push 0x42f8d9
sub eax, 0x20
push eax
push 0x42c6a4
call fcn.004011e0
mov ax, word [esp + 0x2a]
add esp, 0xc
test ax, ax
jle 0x4049f3
cmp ax, 0x20
jge 0x4049ec
movsx esi, ax
jmp 0x4049f5
mov esi, 0x20
jmp 0x4049f5
xor esi, esi
push 1
call fcn.00409fbc
push eax
push esi
lea eax, [esp + 0x2c]
push 1
push eax
call fcn.0040a251
push 1
call fcn.00409fbc
push eax
push 2
push 1
push 0x42c6a8
call fcn.0040a251
push 0x42c6ac
call fcn.004011e0
add esp, 0x2c
push edi
call fcn.004042c0
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x34a0
ret 0x10