Function at 0x481f90
Capabilities:
Delete directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dbc7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x88
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x70], ecx
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004014c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004014a0
mov byte [ebp - 4], 2
push 0x100
lea ecx, [ebp - 0x30]
call fcn.0045c1c0
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x30]
call fcn.0045c230
push 0
lea ecx, [ebp - 0x30]
call fcn.0046d080
push eax
lea ecx, [ebp + 8]
call fcn.004656a0
cmp eax, 0xffffffff
jne 0x482042
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004014e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004014e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004014e0
jmp 0x4822fa
lea ecx, [ebp - 0x28]
call fcn.0048dd17
mov byte [ebp - 4], 3
push 1
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp + 8]
call fcn.00461e40
mov dword [ebp - 0x74], eax
push 0x4e74f4
mov edx, dword [ebp - 0x74]
push edx
call fcn.0046fb40
add esp, 8
mov byte [ebp - 0x49], al
lea ecx, [ebp - 0x50]
call fcn.004014e0
movzx eax, byte [ebp - 0x49]
test eax, eax
je 0x482090
push 0x4e74f8
lea ecx, [ebp + 8]
call fcn.0045bdf0
push 0x4e74fc
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x54]
push edx
call fcn.0046faa0
add esp, 0xc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 4
push 0
mov ecx, dword [ebp - 0x7c]
call fcn.0046d080
push eax
lea ecx, [ebp - 0x28]
call fcn.0048ddaa
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x54]
call fcn.004014e0
lea ecx, [ebp - 0x28]
call fcn.0048dc0e
test eax, eax
je 0x4821a0
lea ecx, [ebp - 0x28]
call fcn.0048dcde
test eax, eax
je 0x4820ef
jmp 0x4820d1
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0048df33
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x84], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x84]
push eax
lea ecx, [ebp + 8]
call fcn.0045c0d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.004014e0
lea ecx, [ebp - 0x28]
call fcn.00488f70
test eax, eax
je 0x482160
push ecx
mov ecx, esp
mov dword [ebp - 0x5c], esp
lea edx, [ebp + 8]
push edx
call fcn.004014c0
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x70]
call fcn.00481f90
lea ecx, [ebp + 8]
call fcn.0046d080
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x48219b
lea ecx, [ebp - 0x38]
call fcn.004b0d44
mov byte [ebp - 4], 6
mov byte [ebp - 4], 7
lea ecx, [ebp + 8]
call fcn.0046d080
push eax
call fcn.004b0e7a
jmp 0x48218c
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.0046a830
jmp 0x4820d1
lea ecx, [ebp - 0x28]
call fcn.0048dcde
test eax, eax
jne 0x48228a
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0048df33
mov dword [ebp - 0x8c], eax
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x90], edx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x90]
push eax
lea ecx, [ebp + 8]
call fcn.0045c0d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
call fcn.004014e0
lea ecx, [ebp + 8]
call fcn.0045c210
test eax, eax
je 0x48228a
push 0
lea ecx, [ebp - 0x30]
call fcn.0046d080
push eax
lea ecx, [ebp + 8]
call fcn.004656a0
cmp eax, 0xffffffff
je 0x48228a
lea ecx, [ebp - 0x28]
call fcn.00488f70
test eax, eax
je 0x48224f
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
lea edx, [ebp + 8]
push edx
call fcn.004014c0
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x70]
call fcn.00481f90
lea ecx, [ebp + 8]
call fcn.0046d080
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x48228a
lea ecx, [ebp - 0x44]
call fcn.004b0d44
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 0xb
lea ecx, [ebp + 8]
call fcn.0046d080
push eax
call fcn.004b0e7a
jmp 0x48227b
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.0046a830
push 0x4e7500
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x6c]
push edx
call fcn.0046faa0
add esp, 0xc
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
call fcn.0046d080
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x65], al
lea ecx, [ebp - 0x6c]
call fcn.004014e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.0048dd3b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004014e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004014e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004014e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4