Function at 0x5e37e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6032cd
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x2c], ebx
mov edx, dword [ebx]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x24], esi
cmp edx, 0xffffffff
je 0x5e39e8
test edx, edx
je 0x5e39e8
cmp edi, 1
jge 0x5e3842
mov ecx, esi
call fcn.005d8c40
mov edi, eax
test edi, edi
je 0x5e39e8
mov eax, dword [ebx + 4]
mov dword [ebp - 0x14], 0
test al, 0x20
je 0x5e3872
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [edi + edi]
push eax
push esi
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x5e39e8
mov eax, dword [ebp - 0x14]
jmp 0x5e39ea
test al, 0x40
je 0x5e3914
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x20]
movq qword [ebp - 0x20], xmm0
call fcn.005dc5e0
push 0
push 0
push edi
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.005db9a0
xor ebx, ebx
test edi, edi
jle 0x5e38e0
nop dword [eax + eax]
movzx esi, word [esi + ebx*2]
lea ecx, [ebp - 0x20]
push ebx
call fcn.005dc440
shr si, 8
lea ecx, [ebp - 0x20]
push ebx
mov word [eax], si
call fcn.005dc440
mov esi, dword [ebp - 0x24]
mov cx, word [esi + ebx*2]
inc ebx
shl cx, 8
or word [eax], cx
cmp ebx, edi
jl 0x5e38b0
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [edi + edi]
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
mov eax, dword [ebp - 0x2c]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
lea ecx, [ebp - 0x20]
sbb esi, esi
and esi, dword [ebp - 0x14]
call fcn.005dc430
mov eax, esi
jmp 0x5e39ea
test eax, 0x188
je 0x5e3998
push 0
push 0
push 0
push 0
push edi
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
test ebx, ebx
je 0x5e39e8
xorps xmm0, xmm0
lea ecx, [ebp - 0x28]
push ebx
movlpd qword [ebp - 0x28], xmm0
call fcn.00403a80
push 0
push 0
push ebx
mov ebx, dword [ebp - 0x28]
push ebx
push edi
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x5e3985
push 0
lea ecx, [ebp - 0x14]
push ecx
push eax
mov eax, dword [ebp - 0x2c]
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x5e3985
mov esi, dword [ebp - 0x14]
jmp 0x5e3987
xor esi, esi
test ebx, ebx
je 0x5e3994
push ebx
call fcn.0041e1c3
add esp, 4
mov eax, esi
jmp 0x5e39ea
xorps xmm0, xmm0
lea ecx, [ebp - 0x28]
push edi
movlpd qword [ebp - 0x28], xmm0
call fcn.00403a80
push 0
push 0
push edi
push dword [ebp - 0x28]
push edi
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, dword [ebp - 0x28]
lea ecx, [ebp - 0x14]
push 0
push ecx
push eax
push edi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb esi, esi
and esi, dword [ebp - 0x14]
test edi, edi
je 0x5e3994
push edi
call fcn.0041e1c3
add esp, 4
mov eax, esi
jmp 0x5e39ea
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 8