Function at 0x4151a0
Capabilities:
Access peb ldr_data
Delete file
Read file on windows
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x44dd9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x22c
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x139]
mov byte [esp + 0x138], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x35]
mov byte [esp + 0x34], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor ebp, ebp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], ebp
stosb byte es:[edi], al
mov dword [esp + 0xc], ebp
mov dword [esp + 0x14], ebp
call fcn.0043b811
mov eax, dword [esp + 0x24c]
mov edx, dword [esi + 0x858]
lea ecx, [esp + 0x30]
push ebp
push ecx
push eax
push edx
mov dword [esp + 0x250], ebp
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x415251
lea ecx, [esp + 0x1c]
mov dword [esp + 0x240], eax
call fcn.0043b906
xor eax, eax
jmp 0x415466
mov esi, dword [esp + 0x248]
push ebx
mov eax, dword [esi + 0x28]
push eax
call fcn.0043b7dd
mov ebx, eax
add esp, 4
cmp ebx, ebp
jne 0x415281
mov ecx, dword [esi + 0x28]
push ecx
call fcn.0043b7dd
mov ebx, eax
add esp, 4
cmp ebx, ebp
je 0x41544d
mov eax, dword [esi + 0x24]
add eax, 0x400
push eax
mov dword [esp + 0x14], eax
call fcn.0043b7dd
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x4152b3
mov edx, dword [esp + 0x10]
push edx
call fcn.0043b7dd
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x415440
mov ecx, dword [esi + 0x28]
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x14]
xor eax, eax
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x18]
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esi + 0x28]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [edx + 0x858]
push ecx
push ebx
push eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [esi + 0x28]
mov eax, dword [esp + 0x18]
cmp esi, eax
jne 0x415433
push esi
lea ecx, [esp + 0x14]
push ebx
push ecx
push ebp
call fcn.0042efb0
test eax, eax
jne 0x415433
mov esi, dword [esp + 0x254]
push 0x104
lea edx, [esp + 0x3c]
push esi
push edx
call fcn.00423d60
lea eax, [esp + 0x148]
lea ecx, [esp + 0x44]
push eax
push 0
push 0
push 0
push ecx
call fcn.00423b43
lea edi, [esp + 0x15c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x58]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x58]
sub edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push str..eed
mov dword [esp + 0x38], 0x20000086
mov byte [edx + ecx], al
lea eax, [esp + 0x160]
push eax
call fcn.00423ec5
add esp, 0x28
test eax, eax
je 0x4153ab
mov dword [esp + 0x14], 0x20000087
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x80
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x38]
push 0x80
push ecx
call edi
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea eax, [esp + 0x3c]
push 0x1001
push eax
lea ecx, [esp + 0x2c]
call fcn.0043b9c3
test eax, eax
je 0x415433
mov ecx, dword [esp + 0x10]
push ecx
push ebp
lea ecx, [esp + 0x28]
call fcn.0043bb1a
lea ecx, [esp + 0x20]
call fcn.0043bbbd
lea ecx, [esp + 0x20]
call fcn.0043bbde
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x38]
push edx
push eax
call edi
lea ecx, [esp + 0x38]
push esi
push ecx
call fcn.004244e4
add esp, 8
mov dword [esp + 0x1c], 1
test ebp, ebp
je 0x415440
push ebp
call fcn.0043b806
add esp, 4
test ebx, ebx
je 0x41544d
push ebx
call fcn.0043b806
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x244], 0xffffffff
call fcn.0043b906
mov eax, dword [esp + 0x1c]
pop ebx
mov ecx, dword [esp + 0x238]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x238
ret 0xc