Function at 0x1e0054cf
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x1e02eb7c]
push edi
xor edi, edi
cmp eax, edi
mov dword [ebp - 4], edi
je 0x1e00572e
cmp dword [eax + 0x20], edi
je 0x1e00572e
mov eax, dword [eax + 0x24]
cmp eax, edi
je 0x1e00572e
cmp eax, 0xffffffff
je 0x1e00572e
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
and esi, 0xfffffff
dec eax
mov dword [0x1e02a9d0], edi
je 0x1e00552d
dec eax
je 0x1e0055be
dec eax
jne 0x1e00572c
push dword [ebp + 8]
mov ebx, 0x1e02a9c8
push ebx
call fcn.1e01b38e
push 4
push ebx
call fcn.1e01b25b
push dword [ebp + 0x10]
mov dword [eax], esi
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea eax, [eax + eax + 2]
push eax
push ebx
call fcn.1e01b38e
push dword [ebp + 0x10]
push ebx
call fcn.1e01b475
push 0x28
push ebx
call fcn.1e01b38e
push 0x28
push ebx
call fcn.1e01b25b
mov edx, dword [ebp + 0x14]
push 0xa
mov edi, eax
pop ecx
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [edx + 0x18]
xor edi, edi
cmp eax, edi
je 0x1e0055f8
cmp dword [edx + 0x1c], edi
je 0x1e0055f8
push eax
push ebx
call fcn.1e01b38e
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x18]
mov esi, dword [eax + 0x1c]
push ecx
push ebx
mov dword [ebp + 0x10], ecx
call fcn.1e01b25b
mov ecx, dword [ebp + 0x10]
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]
xor edi, edi
jmp 0x1e0055ff
push 2
mov ebx, 0x1e02a9c8
push ebx
call fcn.1e01b38e
push 4
push ebx
call fcn.1e01b25b
push dword [ebp + 0x10]
mov dword [eax], esi
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea eax, [eax + eax + 2]
push eax
push ebx
call fcn.1e01b38e
push dword [ebp + 0x10]
push ebx
call fcn.1e01b475
jmp 0x1e0056cb
push edi
push ebx
call fcn.1e01b38e
mov esi, dword [ebp + 0x14]
cmp dword [esi + 4], edi
je 0x1e005699
lea eax, [ebp - 0x26c]
push eax
push dword [esi + 8]
call fcn.1e0175b1
test eax, eax
je 0x1e005690
test byte [ebp - 0x26c], 0x10
jne 0x1e005690
inc dword [0x1e02a9dc]
push dword [0x1e02a9dc]
lea eax, [ebp - 0x1c]
push 0x1e0016d4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push edi
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [0x1e02eb7c]
push dword [eax + 0x20]
push edi
call fcn.1e01a608
add esp, 0x1c
push edi
push eax
push dword [esi + 8]
mov dword [ebp + 0x10], eax
call fcn.1e017b8b
push dword [ebp + 0x10]
push edi
call fcn.1e018041
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea eax, [eax + eax + 2]
push eax
push ebx
call fcn.1e01b38e
lea eax, [ebp - 0x1c]
push eax
push ebx
call fcn.1e01b475
jmp 0x1e0056c9
push edi
push ebx
call fcn.1e01b38e
jmp 0x1e0056c9
push dword [esi + 0xc]
push ebx
call fcn.1e01b38e
mov eax, dword [esi + 0xc]
cmp eax, edi
mov dword [ebp + 0x10], eax
je 0x1e0056c9
mov esi, dword [esi + 8]
push eax
push ebx
call fcn.1e01b25b
mov ecx, dword [ebp + 0x10]
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]
xor edi, edi
mov eax, dword [0x1e02a9d0]
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 4], eax
push edi
lea eax, [ebp + 8]
push eax
push 4
lea eax, [ebp - 4]
push eax
mov eax, dword [0x1e02eb7c]
push dword [eax + 0x24]
call esi
push edi
lea eax, [ebp + 8]
push eax
push dword [0x1e02a9d0]
mov eax, dword [0x1e02eb7c]
push dword [0x1e02a9c8]
push dword [eax + 0x24]
call esi
push edi
lea eax, [ebp + 8]
push eax
push 4
lea eax, [ebp - 4]
push eax
mov eax, dword [0x1e02eb7c]
push dword [eax + 0x24]
call esi
mov eax, dword [0x1e02eb7c]
push dword [eax + 0x24]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
pop esi
pop ebx
pop edi
leave
ret 0x10