Function at 0x40b3c0
Capabilities:
Access peb ldr_data
Create directory
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x487a00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov dword [esp + 0x38], 2
call fcn.004834fa
mov eax, dword [eax + 4]
push 0x4ad9cc
add eax, 0xd0
push eax
lea eax, [esp + 0x10]
push eax
call fcn.0047c388
mov ecx, dword [esp + 8]
push 0
push ecx
mov byte [esp + 0x40], 3
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push str.PCClear_Report.txt
lea ecx, [esp + 0xc]
call fcn.0047c4cf
lea edx, [esp + 0x10]
push edx
call fcn.00476352
lea eax, [esp + 0xc]
push str._Y__m__d__H:_M:_S
push eax
lea ecx, [esp + 0x18]
call fcn.00476365
push 0x4ad9a0
push 0x4ad5e8
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 4
call fcn.00475ae6
push 0x4ad9a0
push 0x4ad5e8
lea ecx, [esp + 0x48]
call fcn.00475ae6
push 0x4ad9a0
push 0x4ad5e8
lea ecx, [esp + 0x4c]
call fcn.00475ae6
lea ecx, [esp + 0xc]
push 0x4ad5e8
lea edx, [esp + 0x2c]
push ecx
push edx
call fcn.0047c388
lea ecx, [esp + 0x40]
lea edx, [esp + 0x24]
push ecx
push eax
push edx
mov byte [esp + 0x44], 5
call fcn.0047c322
push 0x4ad5e8
push eax
lea eax, [esp + 0x28]
mov byte [esp + 0x40], 6
push eax
call fcn.0047c388
lea ecx, [esp + 0x44]
lea edx, [esp + 0x1c]
push ecx
push eax
push edx
mov byte [esp + 0x44], 7
call fcn.0047c322
push 0x4ad5e8
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0x40], 8
push eax
call fcn.0047c388
lea ecx, [esp + 0x48]
lea edx, [esp + 0x14]
push ecx
push eax
push edx
mov byte [esp + 0x44], 9
call fcn.0047c322
push 0x4ad99c
push eax
lea eax, [esp + 0xc]
mov byte [esp + 0x40], 0xa
push eax
call fcn.0047c388
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0x11
call fcn.0047c0f3
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 0x10
call fcn.0047c0f3
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 0xf
call fcn.0047c0f3
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0xe
call fcn.0047c0f3
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 0xd
call fcn.0047c0f3
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 0xc
call fcn.0047c0f3
mov ecx, dword [esp + 8]
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40b5e8
lea ecx, [esp + 4]
mov byte [esp + 0x38], 4
call fcn.0047c0f3
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 3
call fcn.0047c0f3
lea ecx, [esp + 8]
mov byte [esp + 0x38], 2
call fcn.0047c0f3
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 1
call fcn.0047c0f3
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 0
call fcn.0047c0f3
lea ecx, [esp + 0x48]
mov dword [esp + 0x38], esi
call fcn.0047c0f3
pop esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 0xc
push edi
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [esp + 8]
mov edi, eax
push 0
mov eax, dword [edx - 8]
add eax, edi
push eax
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LockFile]
mov eax, dword [esp + 8]
lea ecx, [esp + 0x30]
push 0
push ecx
mov eax, dword [eax - 8]
lea ecx, [esp + 0x10]
push eax
push 0
call fcn.0047c523
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [esp + 8]
push 0
mov eax, dword [edx - 8]
add eax, edi
push eax
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_UnlockFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 8]
mov byte [esp + 0x3c], 4
call fcn.0047c0f3
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 3
call fcn.0047c0f3
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 2
call fcn.0047c0f3
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 1
call fcn.0047c0f3
lea ecx, [esp + 0x48]
mov byte [esp + 0x3c], 0
call fcn.0047c0f3
lea ecx, [esp + 0x4c]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0047c0f3
mov ecx, dword [esp + 0x34]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 0xc