Function at 0x41b156
Capabilities:
Delete file

Disassembly:
mov eax, 0x4a83d3
call fcn.0043cb10
sub esp, 0x280
lea eax, [ebp - 0x28c]
push ebx
push eax
push str.TypeLibC400B05B_CD0E_4ADF_9381_20A3C672B4731.10win32
push SysReAllocStringLen
call fcn.0041aa6b
add esp, 0xc
test eax, eax
jne 0x41b3f7
mov eax, dword [0x4df718]
mov dword [ebp - 0x18], eax
xor ebx, ebx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.00410906
lea eax, [ebp - 0x28c]
lea ecx, [ebp - 0x24]
push eax
mov byte [ebp - 4], 1
call fcn.00410929
test eax, eax
je 0x41b3e0
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x24]
push eax
call fcn.0041b404
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0049cafd
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0049c9c4
lea ecx, [ebp - 0x24]
call fcn.00410915
mov eax, dword [0x4df718]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x188]
push 0x104
push eax
push ebx
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x188]
push 0x5c
push eax
call fcn.0043cce0
push str.powerplayer.dll
push eax
call fcn.0043cbf0
add esp, 0x10
lea eax, [ebp - 0x188]
lea ecx, [ebp - 0x24]
push eax
call fcn.00410929
test eax, eax
je 0x41b260
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x24]
push eax
call fcn.0041b404
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.0049cafd
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0049c9c4
lea ecx, [ebp - 0x24]
call fcn.00410915
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], ebx
cmp dword [eax - 8], ebx
je 0x41b3d4
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx - 8], ebx
je 0x41b3d4
push eax
push ecx
call fcn.0043e124
pop ecx
test eax, eax
pop ecx
je 0x41b3d4
push esi
push edi
push ebx
lea ecx, [ebp - 0x54]
call fcn.00415b22
push ebx
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 5
call fcn.00415b22
mov esi, 0x4ddaec
mov byte [ebp - 4], 6
push esi
call fcn.0043cd70
pop ecx
push eax
push esi
lea ecx, [ebp - 0x50]
call fcn.00404a18
push esi
call fcn.0043cd70
pop ecx
push eax
push esi
lea ecx, [ebp - 0x80]
call fcn.00404a18
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x54]
call fcn.00415c05
push dword [ebp - 0x18]
lea ecx, [ebp - 0x84]
call fcn.00415c05
push 0x10
lea eax, [ebp - 0x64]
push ebx
push eax
call fcn.0043cd10
mov eax, dword [ebp - 0x3c]
add esp, 0xc
mov dword [ebp - 0x10], ebx
mov esi, dword [eax]
cmp esi, eax
je 0x41b331
lea edi, [ebp - 0x64]
cmp dword [ebp - 0x10], 3
jg 0x41b331
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x41b31b
mov eax, 0x4b1cbc
push eax
call fcn.0043ce76
inc dword [ebp - 0x10]
mov dword [edi], eax
mov esi, dword [esi]
add edi, 4
cmp esi, dword [ebp - 0x3c]
pop ecx
jne 0x41b309
push 0x10
lea eax, [ebp - 0x34]
push ebx
push eax
call fcn.0043cd10
mov eax, dword [ebp - 0x6c]
add esp, 0xc
mov dword [ebp - 0x10], ebx
mov esi, dword [eax]
cmp esi, eax
je 0x41b377
lea edi, [ebp - 0x34]
cmp dword [ebp - 0x10], 3
jg 0x41b377
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x41b361
mov eax, 0x4b1cbc
push eax
call fcn.0043ce76
inc dword [ebp - 0x10]
mov dword [edi], eax
mov esi, dword [esi]
add edi, 4
cmp esi, dword [ebp - 0x6c]
pop ecx
jne 0x41b34f
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp + eax - 0x34]
cmp ecx, dword [ebp + eax - 0x64]
jl 0x41b38f
add eax, 4
cmp eax, 0x10
jl 0x41b37b
jmp 0x41b396
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 5
call fcn.00415bc7
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call fcn.00415bc7
cmp dword [ebp - 0x14], ebx
je 0x41b3d4
lea eax, [ebp - 0x188]
push eax
call fcn.0041f071
test eax, eax
pop ecx
je 0x41b3d4
lea eax, [ebp - 0x28c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.0049c9c4
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.00410910
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0049c9c4
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret