Function at 0x450da0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4d8ae9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x524
mov eax, dword [0x50ba00]
push ebx
push ebp
mov ebp, dword [esp + 0x540]
xor ebx, ebx
mov dword [esp + 0x528], eax
lea eax, [esp + 0x304]
push esi
mov esi, ecx
mov dword [ebp], ebx
mov dword [esp + 0x304], eax
mov dword [esp + 0x388], ebx
mov word [esp + 0x308], bx
push 0x104
push ebx
lea ecx, [esp + 0x30c]
mov dword [esp + 0x540], ebx
call fcn.00401550
mov ecx, dword [esp + 0x304]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edx, [esp + 0x280]
mov dword [esp + 0x27c], edx
mov dword [esp + 0x300], ebx
mov word [esp + 0x280], bx
mov eax, dword [esp + 0x304]
push eax
lea ecx, [esp + 0x280]
push str._s_attrib.exe
push ecx
mov byte [esp + 0x544], 1
call fcn.00401720
mov eax, dword [eax]
push 1
push str._R__S__H
push eax
call fcn.00454260
mov eax, dword [esp + 0x294]
lea edx, [esp + 0x298]
add esp, 0x18
cmp eax, edx
je 0x450e8d
push eax
call fcn.00482838
add esp, 4
mov eax, dword [esp + 0x304]
lea ecx, [esp + 0x308]
cmp eax, ecx
je 0x450ea8
push eax
call fcn.00482838
add esp, 4
lea edx, [esp + 0x304]
push edx
mov ecx, esi
call fcn.0044f730
mov eax, dword [eax]
push ebx
push ebx
push eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x548], 2
call fcn.00440f60
add esp, 0x10
mov eax, dword [esp + 0x304]
lea ecx, [esp + 0x308]
cmp eax, ecx
mov byte [esp + 0x538], 4
je 0x450ef7
push eax
call fcn.00482838
add esp, 4
mov eax, dword [esp + 0xc]
cmp byte [eax], bl
jne 0x450f19
lea edx, [esp + 0x10]
cmp eax, edx
je 0x4512f8
push eax
call fcn.00482838
add esp, 4
jmp 0x4512f8
push 0x4de610
lea ecx, [esp + 0x10]
call fcn.00415680
mov edx, dword [esp + 0xc]
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
push edx
call dword [eax + 0x18]
test eax, eax
je 0x450f43
mov edx, dword [esi + 0x6e8]
cmp byte [edx], bl
jne 0x450f61
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
cmp eax, ecx
je 0x4512f8
push eax
call fcn.00482838
add esp, 4
jmp 0x4512f8
lea edx, [esp + 0x1f0]
push edi
mov dword [esp + 0x1f0], edx
mov dword [esp + 0x234], ebx
mov byte [esp + 0x1f4], bl
lea eax, [esp + 0x23c]
mov dword [esp + 0x238], eax
mov dword [esp + 0x27c], ebx
mov byte [esp + 0x23c], bl
mov ecx, dword [esp + 0x10]
push 0x4de610
push str.app_replacer_url
push ecx
lea edx, [esp + 0x244]
push edx
mov byte [esp + 0x54c], 6
call fcn.00453500
mov eax, dword [esp + 0x20]
push 0x4de610
push str.app_replacer_md5
push eax
lea ecx, [esp + 0x20c]
push ecx
call fcn.00453500
mov eax, dword [esp + 0x210]
add esp, 0x20
lea edx, [esp + 0x284]
push eax
lea ecx, [esp + 0x284]
mov dword [esp + 0x284], edx
mov dword [esp + 0x308], ebx
mov word [esp + 0x288], bx
call fcn.00401650
mov edi, dword [esp + 0x544]
mov ecx, dword [esp + 0x280]
mov edx, dword [esp + 0x238]
push edi
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x548], 7
call fcn.0044eaa0
mov eax, dword [esp + 0x280]
lea ecx, [esp + 0x284]
cmp eax, ecx
je 0x451050
push eax
call fcn.00482838
add esp, 4
mov eax, dword [esp + 0x238]
lea edx, [esp + 0x23c]
cmp eax, edx
je 0x45106b
push eax
call fcn.00482838
add esp, 4
mov eax, dword [esp + 0x1f0]
lea ecx, [esp + 0x1f4]
cmp eax, ecx
mov byte [esp + 0x53c], 4
je 0x45108e
push eax
call fcn.00482838
add esp, 4
lea edx, [esp + 0x168]
push edx
call fcn.00453ba0
add esp, 4
push 0xffffffffffffffff
lea eax, [esp + 0x60]
push 0x4ea320
lea ecx, [esp + 0x60]
mov dword [esp + 0x60], eax
mov dword [esp + 0xe4], ebx
mov word [esp + 0x64], bx
call fcn.00401550
mov ecx, dword [esp + 0x58]
push ecx
push edi
mov ecx, esi
mov byte [esp + 0x544], 9
call fcn.00450910
test eax, eax
je 0x4510e7
mov dword [ebp], 1
jmp 0x451216
lea eax, [esp + 0xe4]
mov dword [esp + 0xe0], eax
mov dword [esp + 0x164], ebx
mov word [esp + 0xe4], bx
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x168]
push ecx
push edx
lea eax, [esp + 0xe8]
push 0x4dba7c
push eax
mov byte [esp + 0x54c], 0xa
call fcn.00401720
mov eax, dword [esi + 0x648]
add esp, 0x10
lea edi, [esi + 0x4d0]
push eax
mov ecx, edi
call fcn.0044de20
test eax, eax
je 0x451166
push 0x30
push 0x4dbc9c
push str.S_MR
push ebx
call fcn.00451b00
mov edi, dword [sym.imp.USER32.dll_MessageBoxW]
add esp, 4
push eax
call edi
jmp 0x45119f
mov eax, dword [esi + 0x690]
push eax
mov ecx, edi
call fcn.0044de20
test eax, eax
je 0x451297
push 0x24
push 0x4dbc9c
push str._fT
push ebx
call fcn.00451b00
mov edi, dword [sym.imp.USER32.dll_MessageBoxW]
add esp, 4
push eax
call edi
cmp eax, 6
jne 0x4511fb
mov ecx, dword [esp + 0xe0]
mov eax, dword [esi + 0x730]
push ecx
push eax
lea ecx, [esp + 0x398]
call fcn.00450ca0
mov edx, dword [esi + 8]
push edx
push 0x74
push ebx
lea ecx, [esp + 0x39c]
mov byte [esp + 0x548], 0xb
call fcn.00455c80
dec eax
je 0x451255
dec eax
mov byte [esp + 0x53c], 0xa
lea ecx, [esp + 0x390]
je 0x4511ef
sub eax, 3
jne 0x4511f6
mov dword [ebp], 1
call fcn.0044da90
mov eax, dword [esp + 0xe0]
lea ecx, [esp + 0xe4]
cmp eax, ecx
je 0x451216
push eax
call fcn.00482838
add esp, 4
mov eax, dword [esp + 0x58]
lea edx, [esp + 0x5c]
cmp eax, edx
je 0x45122b
push eax
call fcn.00482838
add esp, 4
mov eax, dword [esp + 0x168]
lea ecx, [esp + 0x16c]
cmp eax, ecx
je 0x451246
push eax
call fcn.00482838
add esp, 4
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
cmp eax, edx
jmp 0x4512ec
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x544]
push eax
push ecx
mov ecx, esi
call fcn.00450910
test eax, eax
jne 0x45127c
push 0x10
push 0x4dbc9c
push 0x4ea2b8
push ebx
call edi
lea ecx, [esp + 0x390]
mov byte [esp + 0x53c], 0xa
mov dword [ebp], 1
call fcn.0044da90
mov eax, dword [esp + 0xe0]
lea edx, [esp + 0xe4]
cmp eax, edx
je 0x4512b2
push eax
call fcn.00482838
add esp, 4
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x5c]
cmp eax, ecx
je 0x4512c7
push eax
call fcn.00482838
add esp, 4
mov eax, dword [esp + 0x168]
lea edx, [esp + 0x16c]
cmp eax, edx
je 0x4512e2
push eax
call fcn.00482838
add esp, 4
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
cmp eax, ecx
je 0x4512f7
push eax
call fcn.00482838
add esp, 4
pop edi
mov ecx, dword [esp + 0x530]
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x524]
pop ebx
call fcn.00482423
add esp, 0x530
ret 8