Function at 0x1e005cee
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x280
mov eax, dword [0x1e02e028]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x27c], eax
mov eax, dword [0x1e032b9c]
xor ecx, ecx
cmp eax, ecx
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x278], ecx
je 0x1e005f87
cmp dword [eax + 0x20], ecx
je 0x1e005f87
mov eax, dword [eax + 0x24]
cmp eax, ecx
je 0x1e005f87
cmp eax, 0xffffffff
je 0x1e005f87
mov eax, dword [ebp + 8]
push ebx
push edi
mov edi, dword [ebp + 0xc]
and edi, 0xfffffff
dec eax
mov dword [0x1e02e9f0], ecx
je 0x1e005d65
dec eax
je 0x1e005e02
dec eax
jne 0x1e005f85
push dword [ebp + 8]
mov ebx, 0x1e02e9e8
push ebx
call fcn.1e01f526
push 4
push ebx
call fcn.1e01f419
push esi
mov dword [eax], edi
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea eax, [eax + eax + 2]
push eax
push ebx
call fcn.1e01f526
push esi
push ebx
call fcn.1e01f624
push 0x28
push ebx
call fcn.1e01f526
push 0x28
push ebx
call fcn.1e01f419
mov esi, dword [ebp - 0x27c]
push 0xa
mov edi, eax
pop ecx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x27c]
mov eax, dword [esi + 0x18]
xor edi, edi
cmp eax, edi
je 0x1e005e38
cmp dword [esi + 0x1c], edi
je 0x1e005e38
push eax
push ebx
call fcn.1e01f526
mov eax, dword [esi + 0x18]
mov esi, dword [esi + 0x1c]
push eax
push ebx
mov dword [ebp - 0x274], eax
call fcn.1e01f419
mov ecx, dword [ebp - 0x274]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x27c]
xor edi, edi
jmp 0x1e005e3f
push 2
mov ebx, 0x1e02e9e8
push ebx
call fcn.1e01f526
push 4
push ebx
call fcn.1e01f419
push esi
mov dword [eax], edi
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea eax, [eax + eax + 2]
push eax
push ebx
call fcn.1e01f526
push esi
push ebx
call fcn.1e01f624
jmp 0x1e005f10
push edi
push ebx
call fcn.1e01f526
cmp dword [esi + 4], edi
je 0x1e005ed9
lea eax, [ebp - 0x270]
push eax
push dword [esi + 8]
call fcn.1e01b304
test eax, eax
je 0x1e005ed0
test byte [ebp - 0x270], 0x10
jne 0x1e005ed0
inc dword [0x1e02e9fc]
push dword [0x1e02e9fc]
lea eax, [ebp - 0x20]
push 0x1e0016e0
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push edi
lea eax, [ebp - 0x20]
push eax
mov eax, dword [0x1e032b9c]
push dword [eax + 0x20]
push edi
call fcn.1e01e6b4
add esp, 0x1c
push edi
push eax
push dword [esi + 8]
mov dword [ebp - 0x274], eax
call fcn.1e01bb1e
push dword [ebp - 0x274]
push edi
call fcn.1e01c0cf
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea eax, [eax + eax + 2]
push eax
push ebx
call fcn.1e01f526
lea eax, [ebp - 0x20]
push eax
jmp 0x1e005e2d
push edi
push ebx
call fcn.1e01f526
jmp 0x1e005f10
push dword [esi + 0xc]
push ebx
call fcn.1e01f526
cmp dword [esi + 0xc], edi
je 0x1e005f10
mov eax, dword [esi + 0xc]
mov esi, dword [esi + 8]
push eax
push ebx
mov dword [ebp - 0x274], eax
call fcn.1e01f419
mov ecx, dword [ebp - 0x274]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x1e02e9f0]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x278], eax
xor esi, esi
push esi
lea eax, [ebp - 0x280]
push eax
push 4
lea eax, [ebp - 0x278]
push eax
mov eax, dword [0x1e032b9c]
push dword [eax + 0x24]
call edi
push esi
lea eax, [ebp - 0x280]
push eax
push dword [0x1e02e9f0]
mov eax, dword [0x1e032b9c]
push dword [0x1e02e9e8]
push dword [eax + 0x24]
call edi
push esi
lea eax, [ebp - 0x280]
push eax
push 4
lea eax, [ebp - 0x278]
push eax
mov eax, dword [0x1e032b9c]
push dword [eax + 0x24]
call edi
mov eax, dword [0x1e032b9c]
push dword [eax + 0x24]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
pop esi
call fcn.1e01abd2
leave
ret 0x10