Function at 0x4438d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f177
mov eax, dword fs:[0]
push eax
sub esp, 0xc68
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0xc38], ebx
mov eax, dword [ebp + 0xc]
mov ecx, 0x5e7
cmp ax, cx
jne 0x443aeb
mov dword [ebp - 0xc30], 0
mov dword [ebp - 0xc2c], 0
mov dword [ebp - 0xc28], 0
push dword [0x559304]
lea eax, [ebp - 0xc30]
mov dword [ebp - 4], 0
push eax
push str.SELECT_ERASE_FILE
push dword [ebx + 0x10]
call fcn.004045e0
add esp, 0x10
test eax, eax
je 0x443a87
lea esi, [ebx + 0x38]
mov dword [ebp - 0xc24], esi
push dword [ebp - 0xc24]
push esi
push dword [esi + 4]
push dword [esi]
call fcn.00403d30
mov eax, dword [esi]
add esp, 0x10
mov ecx, dword [ebp - 0xc2c]
mov dword [esi + 4], eax
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0xc30]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x443a68
xor edi, edi
xor ebx, ebx
nop dword [eax]
cmp dword [edi + esi + 0x14], 8
lea edx, [edi + esi]
jb 0x4439bc
mov edx, dword [edx]
xor eax, eax
mov dword [ebp - 0xc0c], 7
mov dword [ebp - 0xc10], 0
mov word [ebp - 0xc20], ax
cmp word [edx], ax
je 0x4439f2
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4439e3
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0xc20]
call fcn.004051a0
mov ecx, dword [ebp - 0xc24]
lea eax, [ebp - 0xc20]
push eax
mov byte [ebp - 4], 1
call fcn.00405410
mov eax, dword [ebp - 0xc0c]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x443a37
inc eax
lea ecx, [ebp - 0xc20]
push eax
push dword [ebp - 0xc20]
call fcn.004052a0
mov ecx, dword [ebp - 0xc2c]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0xc30]
inc ebx
sub ecx, esi
add edi, 0x18
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x4439b0
mov ebx, dword [ebp - 0xc38]
push ebx
push 0x442de0
push str.WAIT_PROCESS_INFO
call fcn.004bb8b0
add esp, 4
push eax
push dword [ebx + 0x10]
call fcn.0040e610
add esp, 0x10
push 1
mov ecx, ebx
call fcn.00443760
mov ecx, dword [ebp - 0xc30]
test ecx, ecx
je 0x443fe4
push dword [ebp - 0xc24]
lea eax, [ebp - 0xc30]
push eax
push dword [ebp - 0xc2c]
push ecx
call fcn.00403d30
mov ecx, dword [ebp - 0xc28]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0xc30]
add esp, 0x10
sub ecx, esi
imul ecx
lea ecx, [ebp - 0xc30]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.00405300
jmp 0x443fe4
mov ecx, 0x5e8
cmp ax, cx
jne 0x443b96
lea eax, [ebp - 0xc08]
push eax
push str.SELECT_ERASE_PATH
push dword [ebx + 0x10]
call fcn.00403f40
add esp, 0xc
test eax, eax
je 0x443b88
push dword [ebp - 0xc24]
lea esi, [ebx + 0x38]
push esi
push dword [esi + 4]
push dword [esi]
call fcn.00403d30
mov eax, dword [esi]
lea ecx, [ebp - 0xc20]
add esp, 0x10
mov dword [esi + 4], eax
lea eax, [ebp - 0xc08]
push eax
call fcn.00403e70
mov dword [ebp - 4], 2
lea eax, [ebp - 0xc20]
mov ecx, esi
push eax
call fcn.00405410
lea ecx, [ebp - 0xc20]
mov dword [ebp - 4], 0xffffffff
call fcn.00495b40
push ebx
push 0x442de0
push str.WAIT_PROCESS_INFO
call fcn.004bb8b0
add esp, 4
push eax
push dword [ebx + 0x10]
call fcn.0040e610
add esp, 0x10
push 1
mov ecx, ebx
call fcn.00443760
jmp 0x443fe4
mov ecx, 0x5f1
cmp ax, cx
jne 0x443bf5
push 0
push 2
lea eax, [ebp - 0xc08]
push eax
push dword [ebx + 0x10]
call fcn.004943d0
add esp, 0x10
cmp eax, 1
jne 0x443b88
push dword [ebp - 0xc24]
lea esi, [ebx + 0x38]
push esi
push dword [esi + 4]
push dword [esi]
call fcn.00403d30
mov eax, dword [esi]
lea ecx, [ebp - 0xc20]
add esp, 0x10
mov dword [esi + 4], eax
lea eax, [ebp - 0xc08]
push eax
call fcn.00403e70
mov dword [ebp - 4], 3
jmp 0x443b49
mov ecx, 0x5e9
cmp ax, cx
jne 0x443d2b
mov eax, dword [ebx]
mov ecx, ebx
push 0x5e6
call dword [eax + 0x8c]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
push 0
push 0
push 0xb
push esi
mov dword [ebp - 0xc38], esi
call edi
push 0
push 0
push 0x1004
push esi
call edi
mov esi, eax
sub esi, 1
mov dword [ebp - 0xc24], esi
js 0x443d0f
lea edi, [esi + esi*2]
shl edi, 3
mov dword [ebp - 0xc34], edi
push 2
push esi
push 0x102c
push dword [ebp - 0xc38]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x443cf1
push 0
push esi
push 0x1008
push dword [ebp - 0xc38]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx + 0x2c]
lea edi, [ebx + 0x2c]
add eax, dword [ebp - 0xc34]
lea ecx, [ebx + 0x24]
push eax
lea eax, [ebp - 0xc40]
push eax
call fcn.0043bde0
lea ecx, [ebx + 0x24]
push dword [eax]
lea eax, [ebp - 0xc3c]
push eax
call fcn.0043bb00
mov eax, dword [edi]
push dword [ebp - 0xc3c]
add eax, dword [ebp - 0xc34]
push eax
push dword [edi + 4]
add eax, 0x18
push eax
call fcn.004389e0
push dword [ebp - 0xc3c]
mov eax, dword [edi + 4]
push edi
push eax
add eax, 0xffffffe8
push eax
call fcn.00403d30
mov esi, dword [ebp - 0xc24]
add esp, 0x20
add dword [edi + 4], 0xffffffe8
mov edi, dword [ebp - 0xc34]
dec esi
sub edi, 0x18
mov dword [ebp - 0xc24], esi
mov dword [ebp - 0xc34], edi
test esi, esi
jns 0x443c52
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0xb
push dword [ebp - 0xc38]
call edi
push 1
mov ecx, ebx
call fcn.00443760
jmp 0x443fe4
mov ecx, 0x5ea
cmp ax, cx
jne 0x443d72
mov eax, dword [ebx]
mov ecx, ebx
push 0x5e6
call dword [eax + 0x8c]
push 0
push 0
push 0x1009
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebx + 0x2c]
call fcn.0043b9e0
lea ecx, [ebx + 0x24]
call fcn.0043b980
push 1
mov ecx, ebx
call fcn.00443760
jmp 0x443fe4
cmp ax, 1
jne 0x443d84
mov ecx, ebx
call fcn.004448b0
jmp 0x443fe4
mov ecx, 0x5f3
cmp ax, cx
jne 0x443f89
push 0x1ec
lea eax, [ebp - 0x1fc]
push 0
push eax
call fcn.004e46b0
push 0x208
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.004e46b0
add esp, 0x18
lea eax, [ebp - 0x1fc]
push eax
push 0xf6
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
je 0x443dec
lea eax, [ebp - 0x404]
push eax
push 0
push str.TempFile
lea eax, [ebp - 0x1fc]
push eax
call dword [sym.imp.KERNEL32.DLL_GetTempFileNameW]
mov eax, dword [ebx]
mov ecx, ebx
push 0x5e6
call dword [eax + 0x8c]
mov dword [ebp - 0xc24], eax
mov dword [ebp - 0xc30], 0
mov dword [ebp - 0xc2c], 0
mov dword [ebp - 0xc28], 0
xor esi, esi
mov dword [ebp - 4], 4
push esi
push esi
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x443eb8
xor edi, edi
push 0x34
lea eax, [ebp - 0xc74]
push 0
push eax
call fcn.004e46b0
add esp, 0xc
mov dword [ebp - 0xc74], 4
lea eax, [ebp - 0xc74]
mov dword [ebp - 0xc70], esi
push eax
push 0
push 0x104b
push dword [ebp - 0xc24]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x443e9b
cmp dword [ebp - 0xc54], 2
je 0x443e9b
mov eax, dword [ebx + 0x2c]
lea ecx, [ebp - 0xc30]
add eax, edi
push eax
call fcn.0043be70
push 0
push 0
push 0x1004
push dword [ebp - 0xc24]
inc esi
add edi, 0x18
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, eax
jl 0x443e40
mov ecx, dword [ebp - 0xc2c]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0xc30]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x443f6f
lea eax, [ebp - 0xc30]
push eax
lea eax, [ebp - 0x404]
push eax
call fcn.00416fb0
add esp, 8
xor ecx, ecx
movzx eax, word [ecx + str.__erasetool__]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x1fe], ax
test ax, ax
jne 0x443ef3
lea edx, [ebp - 0x404]
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x443f12
lea edi, [ebp - 0x1fc]
sub edx, esi
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x443f30
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x1fc]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x443f53
mov eax, dword [0x518bd8]
mov dword [edi], eax
lea eax, [ebp - 0x1fc]
push eax
jmp 0x443f74
push str.__erasetool
call fcn.0045d050
add esp, 4
lea ecx, [ebp - 0xc30]
call fcn.0040c510
jmp 0x443fe4
cmp ax, 2
je 0x443fab
cmp ax, 8
je 0x443fab
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
push dword [ebx + 0x10]
call fcn.0040d440
add esp, 0x10
xor eax, eax
jmp 0x443fe9
call fcn.004596d0
test eax, eax
je 0x443fce
push dword [ebx + 0x10]
push str.CONFIRM_WIPE_ABORT
call fcn.00419610
add esp, 8
cmp eax, 6
je 0x443fce
call fcn.004596f0
mov dword [0x56b474], 0
mov ecx, ebx
mov eax, dword [ebx]
push 2
call dword [eax + 0xf4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret 0xc