Function at 0x41e680
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x74
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov eax, 0x50
mov word [esp + 0x24], ax
xor eax, eax
push edi
mov edi, dword [ebp + 8]
mov esi, dword [esi]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], 5
mov word [esi + 0x986], ax
mov eax, 5
cmp ax, word [edi + 2]
jg 0x41e8be
mov ebx, dword [ebp + 0xc]
nop dword [eax]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi + 0x980]
add eax, 0x50
push eax
lea eax, [esp + 0x14]
push eax
push edi
call fcn.0041e4a0
test al, al
jne 0x41e708
mov eax, dword [esp + 0xc]
cwde
movzx eax, byte [eax + edi + 3]
push eax
push ebx
call sym.afont_font.exe__string_append1_8
inc dword [esp + 0xc]
jmp 0x41e8af
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi + 0x980]
add eax, 0x50
push eax
lea eax, [esp + 0x14]
push eax
push edi
call fcn.0041e4a0
test al, al
je 0x41e73b
mov eax, dword [esi + 0x980]
add eax, 0x50
push eax
push ebx
call sym.afont_font.exe__string_append_8
jmp 0x41e8af
movzx eax, word [esp + 0xc]
xor ebx, ebx
mov dword [esp + 0x10], eax
lea eax, [esp + 0x18]
push eax
movzx eax, bl
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x980]
lea eax, [eax + ecx*4]
add eax, 0x74
push eax
lea eax, [esp + 0x14]
push eax
push edi
call fcn.0041e4a0
test al, al
jne 0x41e7ad
inc ebx
test ebx, ebx
jle 0x41e746
push 1
call fcn.0040d33c
push eax
push 0x1c
push 1
push str.Unrecognized_escape_command.
call fcn.0040d5d1
push 0x42fcf4
call fcn.004015f0
mov ebx, dword [ebp + 0x10]
lea eax, [esp + 0x28]
add esp, 0x18
push eax
lea eax, [esp + 0x18]
push eax
push ebx
call fcn.0041e3e0
jmp 0x41e8ac
test bl, bl
je 0x41e7eb
push 1
call fcn.0040d33c
push eax
push 0x1d
push 1
push str.Unimplemented_escape_command.
call fcn.0040d5d1
push 0x42fcd0
call fcn.004015f0
add esp, 0x18
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
push dword [ebp + 0x10]
call fcn.0041e3e0
jmp 0x41e8ac
mov ebx, dword [ebp + 0x10]
lea eax, [esp + 0x14]
push eax
push ebx
lea eax, [esp + 0x18]
push eax
push dword [ebp + 0x14]
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x20]
push eax
push edi
push 1
call fcn.0041e540
push dword [ebp + 0x14]
call sym.afont_font.exe__sys_error_4
test al, al
jne 0x41e8ac
mov eax, dword [esp + 0x20]
cmp eax, 1
jl 0x41eb1e
cmp eax, dword [esi + 0x58]
jg 0x41eb1e
movzx eax, word [esp + 0xc]
xor ebx, ebx
mov dword [esp + 0x10], eax
nop
lea eax, [esp + 0x18]
movzx esi, bl
push eax
mov eax, dword [esp + 0x20]
lea ecx, [esi + esi*8]
mov eax, dword [eax + 0x980]
lea eax, [eax + ecx*4]
add eax, 0x98
push eax
lea eax, [esp + 0x14]
push eax
push edi
call fcn.0041e4a0
test al, al
jne 0x41e8c7
inc ebx
cmp ebx, 2
jle 0x41e840
push 1
call fcn.0040d33c
push eax
push 0x18
push 1
push str.Unrecognized_subcommand.
call fcn.0040d5d1
push 0x42fcac
call fcn.004015f0
add esp, 0x18
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
push dword [ebp + 0x10]
call fcn.0041e3e0
mov esi, dword [esp + 0x1c]
mov ebx, dword [ebp + 0xc]
mov ax, word [esp + 0xc]
cmp ax, word [edi + 2]
jle 0x41e6d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
sub esi, 0
je 0x41ea9c
sub esi, 1
je 0x41ea19
sub esi, 1
je 0x41e8fb
push 1
call fcn.0040d33c
push eax
push 0x19
push 1
push str.Unimplemented_subcommand.
call fcn.0040d5d1
push 0x42fc8c
jmp 0x41e88e
mov ebx, dword [ebp + 0x10]
lea eax, [esp + 0x14]
mov esi, dword [ebp + 0x14]
push eax
push ebx
lea eax, [esp + 0x18]
push eax
push esi
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x20]
push eax
push edi
push 1
call fcn.0041e540
push esi
call sym.afont_font.exe__sys_error_4
test al, al
jne 0x41e8a8
movzx eax, word [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xc]
cmp ax, word [edi + 2]
jg 0x41e9fb
mov ecx, dword [esi + 0x980]
cwde
mov al, byte [eax + edi + 3]
cmp al, byte [ecx + 0x24]
jne 0x41e9fb
inc dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
push ebx
lea eax, [esp + 0x18]
push eax
push dword [ebp + 0x14]
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x20]
push eax
push edi
push 1
call fcn.0041e540
push dword [ebp + 0x14]
call sym.afont_font.exe__sys_error_4
test al, al
jne 0x41e8ac
mov eax, dword [esp + 0x20]
mov edx, dword [esi + 0x54]
lea ecx, [eax + eax*2]
movzx eax, byte [edx + ecx*4 - 0xc]
sub eax, 3
je 0x41e9b7
sub eax, 1
jne 0x41eabc
mov eax, dword [edx + ecx*4 - 8]
movsd xmm0, qword [eax]
jmp 0x41e9c2
mov eax, dword [edx + ecx*4 - 8]
movss xmm0, dword [eax]
cvtps2pd xmm0, xmm0
mov ebx, dword [ebp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
push ebx
push 0x204
push eax
push eax
movsx eax, cx
push eax
movzx eax, word [0x4945dc]
push 0
push eax
push ecx
sub esp, 8
lea eax, [esp + 0x50]
movsd qword [esp], xmm0
push eax
call sym.afont_font.exe__string_f_fp_44
jmp 0x41ea83
movzx eax, word [esp + 0xc]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
push ebx
call fcn.0041e3e0
jmp 0x41e8ac
mov ebx, dword [ebp + 0x10]
lea eax, [esp + 0x14]
mov esi, dword [ebp + 0x14]
push eax
push ebx
lea eax, [esp + 0x18]
push eax
push esi
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x20]
push eax
push edi
push 0
call fcn.0041e540
push esi
call sym.afont_font.exe__sys_error_4
test al, al
je 0x41ea4b
xor ecx, ecx
jmp 0x41ea50
movzx ecx, word [esp + 0x18]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
lea edx, [eax + eax*2]
mov eax, dword [esi + 0x54]
movzx eax, byte [eax + edx*4 - 0xc]
sub eax, 2
jne 0x41eabc
mov ebx, dword [ebp + 0x14]
push ebx
push eax
mov eax, dword [esi + 0x54]
push ecx
push 0xa
mov eax, dword [eax + edx*4 - 8]
push dword [eax]
lea eax, [esp + 0x3c]
push eax
call sym.afont_font.exe__string_f_int_max_base_24
push ebx
call sym.afont_font.exe__sys_error_none_4
mov ebx, dword [ebp + 0xc]
lea eax, [esp + 0x28]
push eax
push ebx
call sym.afont_font.exe__string_append_8
jmp 0x41e8af
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov edx, dword [esi + 0x54]
lea ecx, [eax + eax*2]
movzx eax, byte [edx + ecx*4 - 0xc]
sub eax, 0
je 0x41eb0c
sub eax, 1
je 0x41eaf4
mov ebx, dword [ebp + 0x10]
push 1
call fcn.0040d33c
push eax
push 0x36
push 1
push str.Data_type_expected_in_message_doesnt_match_parameter.
call fcn.0040d5d1
push 0x42fd30
call fcn.004015f0
add esp, 0x18
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
push ebx
call fcn.0041e3e0
jmp 0x41e8ac
movzx eax, word [edx + ecx*4 - 4]
mov ebx, dword [ebp + 0xc]
push eax
push dword [edx + ecx*4 - 8]
push ebx
call sym.afont_font.exe__string_appendn_12
jmp 0x41e8af
push dword [edx + ecx*4 - 8]
mov ebx, dword [ebp + 0xc]
push ebx
call sym.afont_font.exe__string_append_8
jmp 0x41e8af
push 1
call fcn.0040d33c
push eax
push 0x1e
push 1
push str.Parameter_number_out_of_range.
call fcn.0040d5d1
push 0x42fc6c
jmp 0x41ead7