Function at 0x4fd4c0
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.005861b0
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.0052f980
mov esi, eax
test esi, esi
js 0x4fd6e8
push ecx
push 1
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x20]
call fcn.0052f980
mov edi, dword [esp + 0x1c]
mov esi, eax
test esi, esi
js 0x4fd6c2
mov esi, dword ds:[esp + 0x14]
xorps xmm0, xmm0
push 0x20
push 4
push dword [0x633a74]
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.004fd790
mov esi, eax
test esi, esi
js 0x4fd6c2
mov eax, dword [ebp + 8]
test eax, eax
je 0x4fd5f4
mov eax, dword [eax + 4]
jmp 0x4fd5f6
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 0x4fd6c6
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4fd65f
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.004fccc0
test eax, eax
js 0x4fd69c
mov eax, dword ds:[esp + 0x1c]
mov esi, dword [esp + 0x14]
test eax, eax
je 0x4fd68d
push eax
push esi
call sym.SystemInformer.exe_Ordinal_1315
mov ebx, eax
push esi
push 0
push dword [0x633a74]
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 0x4fd6c6
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4fd6d1
push eax
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4fd6ec
push eax
call dword [sym.imp.ntdll.dll_NtClose]
jmp 0x4fd6ec
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x4fd6f7
push edi
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4fd706
push eax
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x4fd726
push eax
push 0
push dword [0x633a74]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4fd73a
mov dword [eax], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
test ebx, ebx
je 0x4fd751
lea ecx, [ebx - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4fd751
call fcn.004fe0c0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc