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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd54
mov eax, dword [0x4f9590]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push 0x208
lea eax, [ebp - 0x824]
push 0
push eax
mov dword [ebp - 0xd50], esi
call fcn.00493f80
push 0x208
lea ecx, [ebp - 0xa2c]
push 0
push ecx
call fcn.00493f80
add esp, 0x18
cmp dword [0x50ec9c], 0
jne 0x484577
lea edx, [ebp - 0x824]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 3
lea eax, [ebp - 0x824]
push eax
lea ecx, [ebp - 0xa2c]
push ecx
call fcn.00494620
mov bl, 0x3a
add esp, 0xc
cmp byte [ebp - 0xa2b], bl
je 0x4844d1
lea edx, [ebp - 0xa2c]
push edx
jmp 0x4844f5
movsx eax, byte [ebp - 0xa2c]
push eax
call fcn.0049f25e
sub eax, 0x60
push eax
call fcn.0049f0ad
add esp, 8
test eax, eax
jne 0x4844fd
lea ecx, [ebp - 0xa2a]
push ecx
call fcn.0049ecce
add esp, 4
inc dword [0x50ec9c]
push esi
call fcn.00484440
add esp, 4
cmp byte [ebp - 0x823], bl
je 0x484535
lea edx, [ebp - 0x824]
push edx
call fcn.0049ecce
add esp, 4
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004944f9
mov esp, ebp
pop ebp
ret
movsx eax, byte [ebp - 0x824]
push eax
call fcn.0049f25e
sub eax, 0x60
push eax
call fcn.0049f0ad
add esp, 8
test eax, eax
jne 0x484a3b
lea ecx, [ebp - 0x822]
push ecx
call fcn.0049ecce
add esp, 4
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004944f9
mov esp, ebp
pop ebp
ret
push 0x208
lea edx, [ebp - 0x20c]
push 0
push edx
call fcn.00493f80
lea edx, [ebp - 0x20c]
add esp, 0xc
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x484597
push edi
cmp byte [ebp - 0x20c], cl
je 0x4845e1
lea eax, [ebp - 0x20c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4845b3
sub eax, edx
cmp byte [ebp + eax - 0x20d], 0x5c
je 0x4845e1
lea edi, [ebp - 0x20c]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4845d0
mov ax, word [0x4cd950]
mov word [edi], ax
lea edi, [ebp - 0x20c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4845e8
mov ecx, dword [0x4cdb38]
mov dword [edi], ecx
xor eax, eax
lea ebx, [ebx]
mov cl, byte [ebp + eax - 0x20c]
mov byte [ebp + eax - 0xc34], cl
inc eax
test cl, cl
jne 0x484600
lea edx, [ebp - 0xd4c]
push edx
lea eax, [ebp - 0xc34]
push eax
call fcn.0049f32a
add esp, 8
mov dword [ebp - 0xd54], eax
cmp eax, 0xffffffff
je 0x484a2b
test byte [ebp - 0xd4c], 7
je 0x484655
lea ecx, [ebp - 0xd38]
push 0x80
push ecx
call fcn.0049490b
add esp, 8
test byte [ebp - 0xd4c], 0x10
je 0x4846ea
mov ecx, 0x4cd9c8
lea eax, [ebp - 0xd38]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x484690
test dl, dl
je 0x48468c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x484690
add eax, 2
add ecx, 2
test dl, dl
jne 0x484670
xor eax, eax
jmp 0x484695
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4846f9
mov ecx, 0x4cd9c4
lea eax, [ebp - 0xd38]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4846c4
test dl, dl
je 0x4846c0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4846c4
add eax, 2
add ecx, 2
test dl, dl
jne 0x4846a4
xor eax, eax
jmp 0x4846c9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4846f9
lea edx, [ebp - 0xd38]
push edx
call fcn.00484440
lea eax, [ebp - 0xd38]
push eax
call fcn.0049f5a8
add esp, 8
jmp 0x4846f9
lea ecx, [ebp - 0xd38]
push ecx
call fcn.0049f56d
add esp, 4
mov eax, dword [ebp - 0xd54]
lea edx, [ebp - 0xd4c]
push edx
push eax
call fcn.0049f448
add esp, 8
test eax, eax
jne 0x484a2b
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ecx]
test byte [ebp - 0xd4c], 7
je 0x4847fc
push 0x208
lea ecx, [ebp - 0x414]
push 0
push ecx
call fcn.00493f80
lea edx, [ebp - 0x414]
add esp, 0xc
mov eax, esi
sub edx, esi
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x484750
mov eax, esi
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x484760
cmp byte [ebp - 0x414], cl
je 0x4847b2
lea eax, [ebp - 0x414]
lea edx, [eax + 1]
jmp 0x484780
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x484780
sub eax, edx
cmp byte [ebp + eax - 0x415], 0x5c
je 0x4847b2
lea edi, [ebp - 0x414]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4847a0
mov dx, word [0x4cd950]
mov word [edi], dx
lea eax, [ebp - 0xd38]
mov edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4847c0
lea edi, [ebp - 0x414]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4847d0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x80
lea eax, [ebp - 0x414]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebx
mov esi, dword [ebp - 0xd50]
test byte [ebp - 0xd4c], 0x10
je 0x484957
mov ecx, 0x4cd9c8
lea eax, [ebp - 0xd38]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x484834
test dl, dl
je 0x484830
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x484834
add eax, 2
add ecx, 2
test dl, dl
jne 0x484814
xor eax, eax
jmp 0x484839
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x484a0d
mov ecx, 0x4cd9c4
lea eax, [ebp - 0xd38]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x484870
test dl, dl
je 0x48486c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x484870
add eax, 2
add ecx, 2
test dl, dl
jne 0x484850
xor eax, eax
jmp 0x484875
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x484a0d
push 0x208
lea ecx, [ebp - 0x20c]
push 0
push ecx
call fcn.00493f80
lea edx, [ebp - 0x20c]
add esp, 0xc
mov eax, esi
sub edx, esi
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4848a0
cmp byte [ebp - 0x20c], cl
je 0x4848f2
lea eax, [ebp - 0x20c]
lea edx, [eax + 1]
jmp 0x4848c0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4848c0
sub eax, edx
cmp byte [ebp + eax - 0x20d], 0x5c
je 0x4848f2
lea edi, [ebp - 0x20c]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4848e0
mov dx, word [0x4cd950]
mov word [edi], dx
lea eax, [ebp - 0xd38]
mov edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x484900
lea edi, [ebp - 0x20c]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x484910
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x20c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00484440
add esp, 4
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x484a07
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x484a07
push 0x208
lea edx, [ebp - 0x61c]
push 0
push edx
call fcn.00493f80
lea edx, [ebp - 0x61c]
add esp, 0xc
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x484977
cmp byte [ebp - 0x61c], cl
je 0x4849c1
lea eax, [ebp - 0x61c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x484992
sub eax, edx
cmp byte [ebp + eax - 0x61d], 0x5c
je 0x4849c1
lea edi, [ebp - 0x61c]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4849b0
mov ax, word [0x4cd950]
mov word [edi], ax
lea eax, [ebp - 0xd38]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4849d0
lea edi, [ebp - 0x61c]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4849e0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x61c]
push ecx
call fcn.0049f56d
add esp, 4
mov esi, dword [ebp - 0xd50]
mov eax, dword [ebp - 0xd54]
lea edx, [ebp - 0xd4c]
push edx
push eax
call fcn.0049f448
add esp, 8
test eax, eax
je 0x484720
mov ecx, dword [ebp - 0xd54]
push ecx
call fcn.0049f28a
add esp, 4
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004944f9
mov esp, ebp
pop ebp
ret