Function at 0x45d68c
Capabilities:
Delete directory
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 7
add esp, 0xfffff004
push eax
dec eax
jne 0x45d695
mov eax, dword [ebp - 4]
add esp, 0xfffff504
push ebx
push esi
push edi
mov byte [ebp - 0x2642], cl
mov byte [ebp - 0x2641], dl
mov ebx, eax
mov eax, 0x4a7450
call fcn.00495294
push 0
cmp byte [0x4b908a], 0
je 0x45d6d5
mov eax, 2
jmp 0x45d6da
mov eax, 1
mov edx, 0x4badb4
mov cl, byte [ebp - 0x2641]
call fcn.0047cca0
mov byte [ebp - 0x2643], al
call fcn.0044e5e8
mov dword [ebp - 0x2648], eax
lea eax, [ebp - 0x2a4c]
push eax
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
cmp byte [ebp - 0x2642], 0
jne 0x45d771
mov edx, 0x4a705c
mov eax, 0x4a7051
xor ecx, ecx
call fcn.0046c29c
test eax, eax
je 0x45d771
push 0x4a7068
push 0x1000
lea ecx, [ebp - 0x4a4c]
mov edx, 0x4a705f
mov eax, 0x4a7051
call fcn.0046c148
cmp word [ebp - 0x4a4c], 0
je 0x45d771
cmp dword [0x4bb9b8], 0
je 0x45d771
push 0
lea eax, [ebp - 0x4a4c]
mov cl, 1
mov edx, dword [0x4bb9b8]
call fcn.00450d4c
mov al, byte [0x4b9551]
mov byte [ebp - 0x2649], al
mov byte [0x4b9551], 0
cmp byte [ebp - 0x2649], 0
je 0x45d7f9
cmp byte [0x4b908a], 0
jne 0x45d7f9
mov eax, 0x4badb4
call fcn.0040ba60
push eax
lea edx, [ebp - 0x4e4c]
push edx
call fcn.00494e64
add esp, 8
lea eax, [ebp - 0x4e4c]
xor edx, edx
call fcn.0040bd90
mov edx, 0x4a706a
lea eax, [ebp - 0x4e4c]
call fcn.0040bea8
test al, al
je 0x45d7dd
lea eax, [ebp - 0x4e4c]
xor edx, edx
call fcn.0040bd90
lea eax, [ebp - 0x4e4c]
xor ecx, ecx
xor edx, edx
call fcn.0040a0bc
lea eax, [ebp - 0x4e4c]
push eax
call fcn.004967f8
pop ecx
mov word [ebp - 0x2630], 8
mov edx, dword [0x4b996c]
mov eax, dword [ebx + edx*4 + 0x104]
mov edx, dword [eax]
call dword [edx]
mov word [ebp - 0x2630], 0
jmp 0x45d836
mov edx, 0x4a706e
mov eax, 0x4a7051
xor ecx, ecx
call fcn.0046c29c
test eax, eax
je 0x45db35
cmp byte [ebp - 0x2649], 0
jne 0x45db35
cmp dword [0x4c4ce4], 1
jne 0x45d872
cmp byte [0x4ba173], 0
je 0x45db35
mov word [ebp - 0x2630], 0x14
lea eax, [ebp - 0xf8]
call fcn.0040f5f8
add dword [ebp - 0x2624], 4
mov word [ebp - 0x2630], 0x20
mov edx, 0x4a707b
lea eax, [ebp - 0xf8]
call fcn.0040f77c
lea eax, [ebp - 0x52ec]
call fcn.004137a4
lea eax, [ebp - 0x52c0]
call fcn.004137a4
lea eax, [ebp - 0x5294]
call fcn.004137a4
mov word [ebp - 0x2630], 0x2c
push 0
push 3
lea edx, [ebp - 0xf8]
lea eax, [ebp - 0x2524]
xor ecx, ecx
call fcn.00412cdc
inc dword [ebp - 0x2624]
mov word [ebp - 0x2630], 0x20
xor edi, edi
xor esi, esi
mov byte [ebp - 0x264a], 0
lea eax, [ebp - 0x2a4c]
call fcn.0040ba60
mov ebx, eax
jmp 0x45d965
push 0x4a707d
lea eax, [ebp - 0x5f00]
push eax
call fcn.00494e18
add esp, 8
test eax, eax
je 0x45d965
push 0x4a707f
lea edx, [ebp - 0x5f00]
push edx
call fcn.00494e18
add esp, 8
test eax, eax
je 0x45d965
cmp byte [ebp - 0x52f0], 0
je 0x45d964
lea eax, [ebp - 0x5f00]
mov edx, ebx
call fcn.0040ee00
test eax, eax
jne 0x45d961
mov byte [ebp - 0x264a], 1
inc edi
jmp 0x45d965
inc esi
lea edx, [ebp - 0x5f00]
lea eax, [ebp - 0x2524]
call fcn.00412e10
test eax, eax
je 0x45d910
cmp byte [ebp - 0x264a], 0
je 0x45daff
dec edi
jne 0x45daff
test esi, esi
jne 0x45daff
lea ecx, [ebp - 0x2a4c]
push ecx
call fcn.00494e94
pop ecx
cmp eax, 0x3ec
jae 0x45daff
push ebx
call fcn.00494e94
pop ecx
cmp eax, 0x1fb
jae 0x45daff
push 0x4a707f
call fcn.004967f8
pop ecx
test eax, eax
jne 0x45daff
lea eax, [ebp - 0x2a4c]
push eax
lea edx, [ebp - 0x6300]
push edx
call fcn.00494e64
add esp, 8
push 0x4a7082
lea ecx, [ebp - 0x6300]
push ecx
call fcn.00494d88
add esp, 8
push ebx
lea eax, [ebp - 0x6700]
push eax
call fcn.00494e64
add esp, 8
lea eax, [ebp - 0x6700]
call fcn.0040bf64
push ebx
lea edx, [ebp - 0x6700]
push edx
call fcn.00494d88
add esp, 8
lea eax, [ebp - 0x6300]
xor edx, edx
call fcn.0040a504
test al, al
jne 0x45daf2
lea eax, [ebp - 0x6700]
xor edx, edx
call fcn.0040a504
test al, al
je 0x45daf2
push 0
lea ecx, [ebp - 0x6300]
push ecx
lea eax, [ebp - 0x2a4c]
push eax
call sub.KERNEL32.DLL_MoveFileExA
test eax, eax
je 0x45daf2
lea eax, [ebp - 0x6300]
call fcn.0040ba60
push eax
lea edx, [ebp - 0x6700]
push edx
call fcn.00494e64
add esp, 8
lea eax, [ebp - 0x6700]
call fcn.0040bf64
push ebx
lea edx, [ebp - 0x6700]
push edx
call fcn.00494d88
add esp, 8
lea eax, [ebp - 0x6700]
xor edx, edx
call fcn.0040a504
test al, al
je 0x45dadd
push 0
lea ecx, [ebp - 0x2a4c]
push ecx
lea eax, [ebp - 0x6700]
push eax
call sub.KERNEL32.DLL_MoveFileExA
test eax, eax
je 0x45dadd
lea edx, [ebp - 0x6300]
push edx
call sub.KERNEL32.DLL_RemoveDirectoryA
jmp 0x45daf2
push 0
lea ecx, [ebp - 0x2a4c]
push ecx
lea eax, [ebp - 0x6300]
push eax
call sub.KERNEL32.DLL_MoveFileExA
lea edx, [ebp - 0x2a4c]
push edx
call fcn.004967f8
pop ecx
dec dword [ebp - 0x2624]
lea eax, [ebp - 0x2524]
mov edx, 2
call fcn.00412db4
sub dword [ebp - 0x2624], 4
lea eax, [ebp - 0xf8]
mov edx, 2
call fcn.0040f6d0
mov word [ebp - 0x2630], 0
cmp byte [0x4b908a], 0
jne 0x45dd4b
cmp dword [0x4ba17c], 0
je 0x45dd4b
call fcn.0044e5e8
cmp eax, dword [ebp - 0x2648]
jne 0x45dd4b
cmp dword [0x4c4cf4], 0
jne 0x45dd4b
cmp dword [0x4c4cf0], 0
jne 0x45dd4b
cmp dword [0x4af020], 0
jne 0x45dd4b
xor ebx, ebx
mov eax, dword [0x4bb9b4]
call fcn.0040f944
jmp 0x45dbb1
push 0x4a707b
lea edx, [ebp - 0x6b00]
push edx
call fcn.00494e18
add esp, 8
test eax, eax
jne 0x45dbb1
mov bl, 1
jmp 0x45dbca
lea edx, [ebp - 0x6b00]
mov ecx, 0x400
mov eax, dword [0x4bb9b4]
call fcn.0040f800
test al, al
jne 0x45db95
test bl, bl
je 0x45dc13
cmp dword [0x4ba17c], 1
jne 0x45dc13
push 0x24
mov eax, 0x24e
call fcn.0041202c
push eax
mov eax, 0x578
call fcn.0041202c
push eax
cmp dword [0x4c234c], 0
je 0x45dc00
mov edx, dword [0x4c234c]
jmp 0x45dc06
mov edx, dword [0x4c2340]
push edx
call sub.USER32.DLL_MessageBoxA
cmp eax, 6
je 0x45dc13
xor ebx, ebx
mov word [ebp - 0x2630], 0x38
test bl, bl
je 0x45dd28
mov word [ebp - 0x2630], 0x44
lea eax, [ebp - 0x261c]
call fcn.0040f5f8
add dword [ebp - 0x2624], 4
mov word [ebp - 0x2630], 0x50
mov ecx, 0x4bb1b4
mov edx, 0x4badb4
lea eax, [ebp - 0x261c]
call fcn.0040f784
push 1
push 2
mov ecx, 0x4bb1b4
mov edx, 0x4badb4
mov eax, 0x4c309c
call fcn.0046109c
dec eax
jne 0x45dce8
push 0x4badb4
lea edx, [ebp - 0x6f00]
push edx
call fcn.00494e64
add esp, 8
jmp 0x45dc9f
lea edx, [ebp - 0x6f00]
lea eax, [ebp - 0x261c]
call fcn.0040f77c
lea edx, [ebp - 0x6f00]
mov eax, 0x4c309c
call fcn.00462ce4
test al, al
je 0x45dce8
lea eax, [ebp - 0x6f00]
xor edx, edx
call fcn.0040a504
test al, al
jne 0x45dc8e
jmp 0x45dce8
lea edx, [ebp - 0x7b00]
lea eax, [ebp - 0x7300]
call fcn.0040a930
lea edx, [ebp - 0x7b00]
lea eax, [ebp - 0x7300]
call fcn.0040ad38
push 0x400
lea ecx, [ebp - 0x7b00]
lea edx, [ebp - 0x7300]
lea eax, [ebp - 0x261c]
call fcn.0040f80c
test al, al
jne 0x45dcc6
sub dword [ebp - 0x2624], 4
lea eax, [ebp - 0x261c]
mov edx, 2
call fcn.0040f6d0
mov word [ebp - 0x2630], 0x38
mov word [ebp - 0x2630], 0
jmp 0x45dd4b
mov dl, byte [ebp - 0x2649]
mov byte [0x4b9551], dl
lea ecx, [ebp - 0x2a4c]
push ecx
call fcn.004967f8
pop ecx
cmp dword [0x4c4ce4], 0
jne 0x45dd81
cmp byte [ebp - 0x2643], 0
je 0x45dd81
push dword [0x4c234c]
call sub.USER32.DLL_DestroyWindow
mov eax, dword [ebp - 0x2640]
mov dword fs:[0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret