Function at 0x4d14ff
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x5f2e68]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x103
lea eax, [esp + 0x35]
push 0
push eax
mov dword [esp + 0x1c], edi
mov byte [esp + 0x3c], 0
call fcn.005306b0
add esp, 0xc
mov edx, edi
call fcn.004ccc0d
test eax, eax
je 0x4d1551
xor eax, eax
jmp 0x4d1849
and dword [esp + 0x18], 0
mov ebx, 0x104
push edi
mov ecx, ebx
lea eax, [esp + 0x34]
call fcn.004ccc3f
pop ecx
mov edx, eax
call fcn.004cd7e8
cmp byte [esp + 0x30], 0x5c
jne 0x4d1664
cmp byte [esp + 0x31], 0x5c
jne 0x4d1664
cmp dword [ebp + 0x14], 0
je 0x4d15ae
mov eax, esi
call fcn.004d1405
cmp eax, 0xc
jge 0x4d15ae
push 0
xor edx, edx
mov ecx, edi
call fcn.004328fa
cmp eax, 0x100000
pop ecx
jbe 0x4d1664
push 1
mov edx, edi
lea ecx, [esp + 0x34]
call fcn.004933cd
cmp dword [ebp + 0x14], 0
pop ecx
je 0x4d1649
call fcn.00432263
test eax, eax
je 0x4d1649
push 0
lea eax, [esp + 0x34]
push eax
push edi
call fcn.00431386
add esp, 0xc
test eax, eax
jne 0x4d1649
push str._GetLastError_
lea eax, [esp + 0x34]
push eax
push edi
push str.SaveStringListToFile
push str.:2:_s___EAP:_Failed_to_copy_locally:_CopyFile___s_____s___FAILED:__s
call fcn.0042bd38
add esp, 0x14
lea eax, [esp + 0x30]
call fcn.004314ff
push edi
mov ecx, ebx
lea eax, [esp + 0x34]
call fcn.004ccc3f
pop ecx
xor edi, edi
xor ebx, ebx
inc ebx
cmp dword [ebp + 0x14], edi
mov dword [esp + 0x2c], ebx
lea ecx, [esp + 0x30]
je 0x4d166c
push edi
xor edx, edx
call fcn.004328fa
test eax, eax
pop ecx
jbe 0x4d1639
mov dword [esp + 0x2c], edi
push 0x4f1
mov edx, 0x54f4f8
lea ecx, [esp + 0x34]
jmp 0x4d1676
lea eax, [esp + 0x30]
push edi
push eax
call fcn.005318fe
test eax, eax
pop ecx
pop ecx
je 0x4d1616
mov dword [esp + 0x18], 1
jmp 0x4d1616
xor edi, edi
mov dword [esp + 0x18], edi
jmp 0x4d1618
push 0x4f3
mov edx, 0x54f4bc
push str..StringList.c
call fcn.00434df1
cmp eax, edi
pop ecx
mov dword [esp + 0x18], eax
pop ecx
jne 0x4d16b6
push dword [ebp + 0x14]
push dword [esp + 0x14]
push str.:4:SaveStringListToFile___FAILED:_fopen__s__FAILED:_bAppendToFile___d
call fcn.0042b70b
add esp, 0xc
cmp dword [esp + 0x18], edi
je 0x4d154a
lea eax, [esp + 0x30]
call fcn.004314ff
jmp 0x4d154a
mov eax, esi
call fcn.004d253a
test eax, eax
jne 0x4d16cc
mov ecx, dword [esp + 0x14]
call fcn.00435239
jmp 0x4d169e
lea ecx, [esi + 0x34]
mov eax, 0x1b58
call fcn.0043a4fc
call fcn.004fa8e4
cmp dword [ebp + 0x10], edi
mov dword [esp + 0x28], eax
je 0x4d16ec
mov eax, dword [esi + 0xc]
jmp 0x4d16ee
xor eax, eax
cmp eax, dword [esi + 4]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
jge 0x4d17e7
shl eax, 4
mov edi, eax
mov eax, dword [esi]
xor ebx, ebx
cmp dword [edi + eax], ebx
je 0x4d17d1
cmp dword [esp + 0x24], ebx
je 0x4d1726
cmp dword [ebp + 0x14], ebx
je 0x4d173b
cmp dword [esp + 0x2c], ebx
jne 0x4d173b
push dword [esp + 0x14]
push 1
push 1
push 0x54f250
call fcn.00531aad
add esp, 0x10
mov eax, dword [esi]
push dword [eax + edi]
mov dword [esp + 0x28], ebx
call fcn.00530f70
mov ebx, eax
test ebx, ebx
pop ecx
jle 0x4d177b
push dword [esp + 0x14]
mov eax, dword [esi]
push ebx
push 1
push dword [eax + edi]
call fcn.00531aad
add esp, 0x10
cmp eax, ebx
jge 0x4d177b
mov eax, dword [esi]
push dword [eax + edi]
push str.:7:SaveStringListToFile___FAILED:_fprintf_fp____s_n___FAILED_
call fcn.0042b70b
pop ecx
pop ecx
jmp 0x4d177f
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
push 0x19
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x4d17d1
call fcn.004fa8e4
sub eax, dword [esp + 0x28]
cmp eax, 0x7d0
jbe 0x4d17d1
mov eax, esi
call fcn.004d2566
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, esi
call fcn.004d253a
test eax, eax
je 0x4d185e
mov eax, 0x1b58
lea ecx, [esi + 0x34]
call fcn.0043a4fc
call fcn.004fa8e4
mov dword [esp + 0x28], eax
inc dword [esp + 0x20]
mov eax, dword [esp + 0x20]
add edi, 0x10
cmp eax, dword [esi + 4]
jl 0x4d1708
xor edi, edi
mov eax, esi
call fcn.004d2566
mov ecx, dword [esp + 0x14]
call fcn.00435239
cmp dword [esp + 0x18], edi
je 0x4d1845
push edi
push dword [esp + 0x14]
lea eax, [esp + 0x38]
push eax
call fcn.00431386
add esp, 0xc
test eax, eax
jne 0x4d183c
lea edi, [esp + 0x30]
call fcn.00432263
mov edi, dword [esp + 0x10]
push eax
push ecx
call fcn.00432263
pop ecx
push eax
lea eax, [esp + 0x38]
push eax
push edi
push str.:6:SaveStringListToFile___s___FAILED:_Could_not_move_file_from_temp___s_:_bDoesExist___d__d
call fcn.0042b70b
add esp, 0x14
lea eax, [esp + 0x30]
call fcn.004314ff
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005317e7
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x14]
call fcn.00435239
push dword [esp + 0x10]
push str.:4:SaveStringListToFile___s___FAILED:_The_handle_was_deleted_while_saving_
call fcn.0042b70b
cmp dword [esp + 0x20], 0
pop ecx
pop ecx
je 0x4d1845
jmp 0x4d16a8