Function at 0x4fd5e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
push ebx
push esi
push edi
push 0x48
xor ebx, ebx
lea eax, [esp + 0x4c]
push ebx
push eax
call fcn.005861d0
add esp, 8
mov dword [esp + 0x14], ebx
lea edx, [esp + 0x28]
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
push 1
mov dword [esp + 0x2c], ebx
call fcn.0052fa40
mov esi, eax
test esi, esi
js 0x4fd808
push ecx
push 1
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x20]
call fcn.0052fa40
mov edi, dword [esp + 0x1c]
mov esi, eax
test esi, esi
js 0x4fd7e2
mov esi, dword ds:[esp + 0x14]
xorps xmm0, xmm0
push 0x20
push 4
push dword [0x633a54]
xor eax, eax
movlpd qword [esp + 0x58], xmm0
movlpd qword [esp + 0x60], xmm0
movlpd qword [esp + 0x68], xmm0
movlpd qword [esp + 0x70], xmm0
movlpd qword [esp + 0x78], xmm0
mov dword [esp + 0x86], ebx
mov word [esp + 0x8a], ax
mov dword [esp + 0x54], 0x48
mov dword [esp + 0x80], 0x181
mov word [esp + 0x84], ax
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], esi
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
xorps xmm0, xmm0
lea ecx, [esp + 0x28]
push 8
push ecx
movups xmmword [eax], xmm0
mov edx, 0x20002
mov ecx, eax
movups xmmword [eax + 0x10], xmm0
mov dword [eax + 4], 1
mov dword [esp + 0x94], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], esi
call fcn.004fd8b0
mov esi, eax
test esi, esi
js 0x4fd7e2
mov eax, dword [ebp + 8]
test eax, eax
je 0x4fd714
mov eax, dword [eax + 4]
jmp 0x4fd716
xor eax, eax
push 0
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 0x191
lea ecx, [esp + 0x5c]
push ecx
push 0
push 0
push eax
push 0
call sym.SystemInformer.exe_Ordinal_1606
push edi
mov esi, eax
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [esp + 0x14]
xor edi, edi
push eax
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [esp + 0x10]
test esi, esi
js 0x4fd7e6
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4fd77f
push edi
push edi
push dword [eax]
push dword [eax + 4]
lea eax, [esp + 0x2c]
push eax
push edi
push edi
push edi
push dword [esp + 0x44]
call dword [sym.imp.ntdll.dll_NtWriteFile]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
lea edx, [esp + 0x18]
xor ebx, ebx
call fcn.004fcdc0
test eax, eax
js 0x4fd7bc
mov eax, dword ds:[esp + 0x1c]
mov esi, dword [esp + 0x14]
test eax, eax
je 0x4fd7ad
push eax
push esi
call sym.SystemInformer.exe_Ordinal_1315
mov ebx, eax
push esi
push 0
push dword [0x633a54]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
push 0
push 0x18
lea eax, [esp + 0x38]
push eax
push 0
push dword [esp + 0x20]
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
mov esi, eax
mov eax, dword [esp + 0x10]
test esi, esi
cmovns esi, dword [esp + 0x30]
jmp 0x4fd7e6
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4fd7f1
push eax
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4fd80c
push eax
call dword [sym.imp.ntdll.dll_NtClose]
jmp 0x4fd80c
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x4fd817
push edi
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4fd826
push eax
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x4fd846
push eax
push 0
push dword [0x633a54]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4fd85a
mov dword [eax], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
test ebx, ebx
je 0x4fd871
lea ecx, [ebx - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4fd871
call fcn.004fe1e0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc