Function at 0x48259e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x5385d0]
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.004b7880
add esp, 0xc
mov edx, edi
call fcn.0047ebaf
test eax, eax
je 0x4825f0
xor eax, eax
jmp 0x4828e7
and dword [esp + 0x18], 0
mov ebx, 0x104
push edi
mov ecx, ebx
lea eax, [esp + 0x34]
call fcn.0047ebe1
pop ecx
mov edx, eax
call fcn.0047f68c
cmp byte [esp + 0x30], 0x5c
jne 0x482700
cmp byte [esp + 0x31], 0x5c
jne 0x482700
cmp dword [ebp + 0x14], 0
je 0x48264d
mov eax, esi
call fcn.004824ee
cmp eax, 0xc
jge 0x48264d
push 0
xor edx, edx
mov ecx, edi
call fcn.0041cc74
cmp eax, 0x100000
pop ecx
jbe 0x482700
mov edx, edi
lea ecx, [esp + 0x30]
call fcn.004611c9
cmp dword [ebp + 0x14], 0
je 0x4826e5
call fcn.0041c5ff
test eax, eax
je 0x4826e5
push 0
lea eax, [esp + 0x34]
push eax
push edi
call fcn.0041be47
add esp, 0xc
test eax, eax
jne 0x4826e5
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.0041936e
add esp, 0x14
lea eax, [esp + 0x30]
call fcn.0041bfc0
push edi
mov ecx, ebx
lea eax, [esp + 0x34]
call fcn.0047ebe1
pop ecx
xor ebx, ebx
xor edi, edi
inc edi
cmp dword [ebp + 0x14], ebx
mov dword [esp + 0x2c], edi
lea ecx, [esp + 0x30]
je 0x482708
push ebx
xor edx, edx
call fcn.0041cc74
test eax, eax
pop ecx
jbe 0x4826d5
mov dword [esp + 0x2c], ebx
push 0x504
mov edx, 0x4e1034
lea ecx, [esp + 0x34]
jmp 0x482712
lea eax, [esp + 0x30]
push edi
push eax
call fcn.004b763f
test eax, eax
pop ecx
pop ecx
je 0x4826b2
mov dword [esp + 0x18], 1
jmp 0x4826b2
xor ebx, ebx
mov dword [esp + 0x18], ebx
jmp 0x4826b4
push 0x506
mov edx, 0x4dbf7c
push str..StringList.c
call fcn.0041e477
cmp eax, ebx
pop ecx
mov dword [esp + 0x18], eax
pop ecx
jne 0x482752
push dword [ebp + 0x14]
push dword [esp + 0x14]
push str.:4:SaveStringListToFile___FAILED:_fopen__s__FAILED:_bAppendToFile___d
call fcn.00418e96
add esp, 0xc
cmp dword [esp + 0x18], ebx
je 0x4825e9
lea eax, [esp + 0x30]
call fcn.0041bfc0
jmp 0x4825e9
mov eax, esi
call fcn.004835ca
test eax, eax
jne 0x482768
mov ecx, dword [esp + 0x14]
call fcn.0041e8bf
jmp 0x48273a
lea ecx, [esi + 0x34]
mov eax, 0x1b58
call fcn.00420dd1
call fcn.004a6bcb
cmp dword [ebp + 0x10], ebx
mov dword [esp + 0x28], eax
je 0x482788
mov eax, dword [esi + 0xc]
jmp 0x48278a
xor eax, eax
cmp eax, dword [esi + 4]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
jge 0x482885
shl eax, 4
mov edi, eax
mov eax, dword [esi]
xor ebx, ebx
cmp dword [edi + eax], ebx
je 0x48286f
cmp dword [esp + 0x24], ebx
je 0x4827c2
cmp dword [ebp + 0x14], ebx
je 0x4827d7
cmp dword [esp + 0x2c], ebx
jne 0x4827d7
push dword [esp + 0x14]
push 1
push 1
push 0x4da17c
call fcn.004b6868
add esp, 0x10
mov eax, dword [esi]
push dword [eax + edi]
mov dword [esp + 0x28], ebx
call fcn.004b68f0
mov ebx, eax
test ebx, ebx
pop ecx
jle 0x482819
mov eax, dword [esi]
push dword [eax + edi]
push 0x4d71c8
push dword [esp + 0x1c]
call fcn.00474856
add esp, 0xc
cmp eax, ebx
jge 0x482819
mov eax, dword [esi]
push dword [eax + edi]
push str.:7:SaveStringListToFile___FAILED:_fprintf_fp____s_n___FAILED_
call fcn.00418e96
pop ecx
pop ecx
jmp 0x48281d
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
push 0x19
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x48286f
call fcn.004a6bcb
sub eax, dword [esp + 0x28]
cmp eax, 0x7d0
jbe 0x48286f
mov eax, esi
call fcn.004835f6
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, esi
call fcn.004835ca
test eax, eax
je 0x4828fc
mov eax, 0x1b58
lea ecx, [esi + 0x34]
call fcn.00420dd1
call fcn.004a6bcb
mov dword [esp + 0x28], eax
inc dword [esp + 0x20]
mov eax, dword [esp + 0x20]
add edi, 0x10
cmp eax, dword [esi + 4]
jl 0x4827a4
xor ebx, ebx
mov eax, esi
call fcn.004835f6
mov ecx, dword [esp + 0x14]
call fcn.0041e8bf
cmp dword [esp + 0x18], ebx
je 0x4828e3
push ebx
push dword [esp + 0x14]
lea eax, [esp + 0x38]
push eax
call fcn.0041be47
add esp, 0xc
test eax, eax
jne 0x4828da
lea edi, [esp + 0x30]
call fcn.0041c5ff
mov edi, dword [esp + 0x10]
push eax
push ecx
call fcn.0041c5ff
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.00418e96
add esp, 0x14
lea eax, [esp + 0x30]
call fcn.0041bfc0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b7140
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x14]
call fcn.0041e8bf
push dword [esp + 0x10]
push str.:4:SaveStringListToFile___s___FAILED:_The_handle_was_deleted_while_saving_
call fcn.00418e96
cmp dword [esp + 0x20], 0
pop ecx
pop ecx
je 0x4828e3
jmp 0x482744