Function at 0x410350
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb37c
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x4f86c0]
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 edi, ecx
push 4
lea ecx, [edi + 0x374]
push 0x4e72e0
call fcn.004018d0
push 9
lea ebx, [edi + 0x38c]
push 0x4e71d0
mov ecx, ebx
call fcn.004018d0
push 0xc
push str.FeiRar__Inc.
lea ecx, [edi + 0x3a4]
call fcn.004018d0
push 0x18
push str.https:__feirar.softbd.cn
lea ecx, [edi + 0x3bc]
call fcn.004018d0
push 0xa
lea ecx, [edi + 0x404]
push str.FeiRar.exe
call fcn.004018d0
push 0xa
push str.uninst.exe
lea ecx, [edi + 0x41c]
call fcn.004018d0
push 6
lea ecx, [edi + 0x434]
push str.FeiRar
call fcn.004018d0
lea ecx, [ebp - 0x230]
call fcn.0041f410
lea esi, [edi + 0x288]
mov dword [ebp - 0x264], eax
cmp esi, eax
je 0x41044a
cmp dword [esi + 0x14], 0x10
jb 0x410431
push dword [esi]
call fcn.004a7f26
mov eax, dword [ebp - 0x264]
add esp, 4
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push eax
mov byte [esi], 0
call fcn.004022c0
cmp dword [ebp - 0x21c], 0x10
jb 0x410461
push dword [ebp - 0x230]
call fcn.004a7f26
add esp, 4
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
push 0x4e6ddc
mov edx, str.SOFTWAREFeiRar
mov ecx, reloc.WS2_32.dll_bind
call fcn.00415fb0
add esp, 8
mov dword [ebp - 4], 0xffffffff
test al, al
sete al
cmp dword [ebp - 0x21c], 0x10
mov byte [ebp - 0x265], al
jb 0x4104d0
push dword [ebp - 0x230]
call fcn.004a7f26
mov al, byte [ebp - 0x265]
add esp, 4
lea ecx, [edi + 0x2ac]
mov byte [edi + 0x2a8], al
cmp ecx, ebx
je 0x4104ea
push 0xffffffffffffffff
push 0
push ebx
call fcn.00401720
push 0
call fcn.004a84b9
add esp, 4
mov dword [edi + 0x2a0], eax
mov dword [edi + 0x2a4], edx
lea ecx, [edi + 0x2c4]
cmp dword [0x4f971c], 0
je 0x410527
cmp ecx, 0x4f970c
je 0x410533
push 0xffffffffffffffff
push 0
push 0x4f970c
call fcn.00401720
jmp 0x410533
push 5
push str.blank
call fcn.004018d0
lea ecx, [ebp - 0x230]
call fcn.00403530
mov ebx, eax
lea esi, [edi + 0x2dc]
cmp esi, ebx
je 0x410573
cmp dword [esi + 0x14], 0x10
jb 0x41055a
push dword [esi]
call fcn.004a7f26
add esp, 4
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push ebx
mov byte [esi], 0
call fcn.004022c0
cmp dword [ebp - 0x21c], 0x10
jb 0x41058a
push dword [ebp - 0x230]
call fcn.004a7f26
add esp, 4
push 8
push str.standard
lea ecx, [edi + 0x328]
call fcn.004018d0
push 0xd
push str.192.168.1.102
lea ecx, [edi + 0x340]
call fcn.004018d0
push 6
push str.feirar
lea ecx, [edi + 0x358]
call fcn.004018d0
lea eax, [edi + 0x404]
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths_
push eax
lea ecx, [ebp - 0x230]
call fcn.00406740
mov ebx, eax
lea esi, [edi + 0x3ec]
add esp, 4
cmp esi, ebx
je 0x41060f
cmp dword [esi + 0x14], 0x10
jb 0x4105f6
push dword [esi]
call fcn.004a7f26
add esp, 4
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push ebx
mov byte [esi], 0
call fcn.004022c0
cmp dword [ebp - 0x21c], 0x10
jb 0x410626
push dword [ebp - 0x230]
call fcn.004a7f26
add esp, 4
lea eax, [edi + 0x374]
mov edx, 0x4e738c
push eax
lea ecx, [ebp - 0x230]
call fcn.00406740
mov ebx, eax
lea esi, [edi + 0x3d4]
add esp, 4
cmp esi, ebx
je 0x410675
cmp dword [esi + 0x14], 0x10
jb 0x41065c
push dword [esi]
call fcn.004a7f26
add esp, 4
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push ebx
mov byte [esi], 0
call fcn.004022c0
cmp dword [ebp - 0x21c], 0x10
jb 0x41068c
push dword [ebp - 0x230]
call fcn.004a7f26
add esp, 4
push 0
push 0x1c
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [ebp - 0x218], 0
jne 0x4106ad
xor ecx, ecx
jmp 0x4106c5
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4106b6
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [edi + 0x574]
call fcn.00408930
push 6
push str.TEMP_
lea ecx, [edi + 0x574]
call fcn.00405a50
lea ecx, [edi + 0x574]
call fcn.00403790
push str.feirar.zip
lea edx, [edi + 0x574]
lea ecx, [ebp - 0x230]
call fcn.00406830
mov ebx, eax
lea esi, [edi + 0x58c]
add esp, 4
cmp esi, ebx
je 0x410745
cmp dword [esi + 0x14], 8
jb 0x41072a
push dword [esi]
call fcn.004a7f26
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push ebx
mov word [esi], ax
call fcn.00408440
cmp dword [ebp - 0x21c], 8
jb 0x41075c
push dword [ebp - 0x230]
call fcn.004a7f26
add esp, 4
lea ebx, [edi + 0x5a4]
mov ecx, ebx
call fcn.00403f80
push 0x4e6770
sub esp, 0x18
lea esi, [edi + 0x434]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push esi
mov byte [ecx], 0
call fcn.00401720
xor edx, edx
lea ecx, [ebp - 0x260]
call fcn.004039a0
add esp, 0x18
mov edx, eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.00406920
add esp, 4
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.00405980
cmp dword [ebp - 0x21c], 8
jb 0x4107e2
push dword [ebp - 0x230]
call fcn.004a7f26
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x24c], 8
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
jb 0x41081d
push dword [ebp - 0x260]
call fcn.004a7f26
add esp, 4
push esi
mov edx, str.SOFTWARE_
lea ecx, [ebp - 0x260]
call fcn.00406740
lea esi, [edi + 0x53c]
mov dword [ebp - 0x264], eax
add esp, 4
cmp esi, eax
je 0x410870
cmp dword [esi + 0x14], 0x10
jb 0x410857
push dword [esi]
call fcn.004a7f26
mov eax, dword [ebp - 0x264]
add esp, 4
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push eax
mov byte [esi], 0
call fcn.004022c0
cmp dword [ebp - 0x24c], 0x10
jb 0x410887
push dword [ebp - 0x260]
call fcn.004a7f26
add esp, 4
mov dword [ebp - 0x234], 0xf
mov dword [ebp - 0x238], 0
mov byte [ebp - 0x248], 0
mov dword [ebp - 4], 3
cmp dword [esi + 0x14], 0x10
jb 0x4108b3
mov edx, dword [esi]
jmp 0x4108b5
mov edx, esi
lea eax, [ebp - 0x248]
mov ecx, reloc.WS2_32.dll_accept
push eax
push str.InstallPath
call fcn.00415fb0
add esp, 8
test al, al
je 0x410948
cmp dword [ebp - 0x238], 0
je 0x410948
lea ecx, [ebp - 0x248]
call fcn.00403d70
test al, al
je 0x410948
sub esp, 0x18
lea eax, [ebp - 0x248]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00401720
xor edx, edx
lea ecx, [ebp - 0x260]
call fcn.004039a0
add esp, 0x18
mov ecx, ebx
push eax
call fcn.004053c0
cmp dword [ebp - 0x24c], 8
jb 0x410a1c
push dword [ebp - 0x260]
call fcn.004a7f26
add esp, 4
jmp 0x410a1c
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push ebx
mov word [ecx], ax
call fcn.004085c0
xor edx, edx
lea ecx, [ebp - 0x260]
call fcn.00403b10
mov edi, eax
add esp, 0x18
lea eax, [ebp - 0x248]
cmp eax, edi
je 0x4109c3
cmp dword [ebp - 0x234], 0x10
jb 0x41099c
push dword [ebp - 0x248]
call fcn.004a7f26
add esp, 4
push edi
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], 0xf
mov dword [ebp - 0x238], 0
mov byte [ebp - 0x248], 0
call fcn.004022c0
cmp dword [ebp - 0x24c], 0x10
jb 0x4109da
push dword [ebp - 0x260]
call fcn.004a7f26
add esp, 4
sub esp, 0x18
lea eax, [ebp - 0x248]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00401720
cmp dword [esi + 0x14], 0x10
jb 0x410a08
mov esi, dword [esi]
push str.InstallPath
mov edx, esi
mov ecx, reloc.WS2_32.dll_accept
call fcn.00416120
add esp, 0x1c
cmp dword [ebp - 0x234], 0x10
jb 0x410a33
push dword [ebp - 0x248]
call fcn.004a7f26
add esp, 4
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.004a768e
mov esp, ebp
pop ebp
ret