Function at 0x436919
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0x8c8
mov eax, 0x47b807
call fcn.004514b0
mov edi, ecx
xor ebx, ebx
push 7
mov dword [ebp - 0x8d4], ebx
pop esi
xor eax, eax
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], ebx
mov dword [ebp - 0x8d0], edi
mov word [edi], ax
push 0x208
lea eax, [ebp - 0x224]
push ebx
mov dword [ebp - 4], ebx
push eax
mov dword [ebp - 0x8d4], 1
call fcn.00442320
add esp, 0xc
xor eax, eax
cmp byte [ebp + 8], bl
push 1
sete al
dec eax
and eax, 0xfffffff7
add eax, 0x23
push eax
lea eax, [ebp - 0x224]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x436c48
xor eax, eax
mov word [ebp - 0x878], ax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x878]
mov dword [ebp - 0x864], esi
mov dword [ebp - 0x868], ebx
call fcn.00405689
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x878]
push eax
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.0040598c
push ebx
push 1
lea ecx, [ebp - 0x878]
mov byte [ebp - 4], bl
call fcn.0040573c
push str.BaiduCommon
mov ecx, edi
call fcn.004055c7
mov ecx, edi
call fcn.00436d7f
test al, al
jne 0x436c3c
cmp dword [edi + 0x10], ebx
je 0x436c3c
push edi
lea ecx, [ebp - 0x878]
call fcn.00405c63
mov dword [ebp - 4], 2
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
jb 0x436a22
mov edi, dword [edi]
cmp word [edi + eax*2 - 2], 0x5c
je 0x436a7a
xor eax, eax
push 0x491b68
lea ecx, [ebp - 0x85c]
mov dword [ebp - 0x848], esi
mov dword [ebp - 0x84c], ebx
mov word [ebp - 0x85c], ax
call fcn.00405689
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x85c]
push eax
lea ecx, [ebp - 0x878]
mov byte [ebp - 4], 3
call fcn.0040598c
push ebx
push 1
lea ecx, [ebp - 0x85c]
mov byte [ebp - 4], 2
call fcn.0040573c
cmp dword [ebp - 0x864], 8
mov ecx, dword [ebp - 0x878]
jae 0x436a8f
lea ecx, [ebp - 0x878]
mov eax, 0x100
push eax
lea edx, [ebp - 0x824]
push edx
push eax
lea edx, [ebp - 0x624]
push edx
push eax
lea eax, [ebp - 0x424]
push eax
push 3
lea eax, [ebp - 0x1c]
push eax
push ecx
call fcn.00461b53
add esp, 0x24
xor eax, eax
push 0x491b68
lea ecx, [ebp - 0x894]
mov dword [ebp - 0x880], esi
mov dword [ebp - 0x884], ebx
mov word [ebp - 0x894], ax
call fcn.00405689
mov byte [ebp - 4], 4
xor eax, eax
mov word [ebp - 0x85c], ax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x85c]
mov dword [ebp - 0x848], esi
mov dword [ebp - 0x84c], ebx
call fcn.00405689
lea ecx, [ebp - 0x894]
lea eax, [ebp - 0x85c]
lea edi, [ebp - 0x8b0]
mov byte [ebp - 4], 5
call fcn.00436eb7
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x85c]
call fcn.0040573c
push ebx
push edi
lea ecx, [ebp - 0x894]
mov byte [ebp - 4], 8
call fcn.0040573c
xor eax, eax
mov word [ebp - 0x840], ax
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x840]
mov dword [ebp - 0x82c], esi
mov dword [ebp - 0x830], ebx
call fcn.00405689
lea ecx, [ebp - 0x8b0]
mov byte [ebp - 4], 9
call fcn.00436d7f
test al, al
jne 0x436b9f
push ebx
push edi
lea ecx, [ebp - 0x840]
call fcn.0040573c
push ebx
push edi
lea ecx, [ebp - 0x8b0]
call fcn.0040573c
push ebx
push edi
jmp 0x436c28
cmp dword [ebp - 0x830], ebx
je 0x436b7e
cmp dword [ebp - 0x82c], 8
mov ecx, dword [ebp - 0x840]
mov eax, ecx
jae 0x436bbe
lea eax, [ebp - 0x840]
cmp word [eax], 0x5c
jne 0x436bf0
cmp dword [ebp - 0x82c], 8
mov eax, ecx
jae 0x436bd7
lea eax, [ebp - 0x840]
mov ecx, eax
cmp eax, ebx
jne 0x436bdf
xor eax, eax
jmp 0x436be3
sub eax, ecx
sar eax, 1
push edi
push eax
lea ecx, [ebp - 0x840]
call fcn.004058a4
push edi
push ebx
push 0x491b68
lea ecx, [ebp - 0x840]
call fcn.0040e74c
mov edi, eax
cmp edi, 0xffffffff
jne 0x436c53
push ebx
push 1
lea ecx, [ebp - 0x840]
call fcn.0040573c
push ebx
push 1
lea ecx, [ebp - 0x8b0]
call fcn.0040573c
push ebx
push 1
lea ecx, [ebp - 0x878]
mov byte [ebp - 4], bl
call fcn.0040573c
mov edi, dword [ebp - 0x8d0]
push str.Global.db
mov ecx, edi
call fcn.004055c7
mov eax, edi
call fcn.00451533
ret
push 7
pop esi
push edi
push ebx
lea eax, [ebp - 0x85c]
push eax
lea ecx, [ebp - 0x840]
call fcn.0040557a
inc edi
push edi
push ebx
lea ecx, [ebp - 0x840]
mov byte [ebp - 4], 0xa
call fcn.004058a4
xor eax, eax
push 0x491b68
lea ecx, [ebp - 0x894]
mov dword [ebp - 0x880], esi
mov dword [ebp - 0x884], ebx
mov word [ebp - 0x894], ax
call fcn.00405689
lea eax, [ebp - 0x8cc]
push eax
lea esi, [ebp - 0x894]
lea eax, [ebp - 0x85c]
mov byte [ebp - 4], 0xb
call fcn.00436efc
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x8b0]
mov byte [ebp - 4], 0xc
call fcn.0040598c
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x8cc]
call fcn.0040573c
push ebx
push esi
lea ecx, [ebp - 0x894]
mov byte [ebp - 4], 0xa
call fcn.0040573c
lea ecx, [ebp - 0x8b0]
call fcn.00436d7f
test al, al
jne 0x436d1e
cmp dword [ebp - 0x89c], 8
mov eax, dword [ebp - 0x8b0]
jae 0x436d13
lea eax, [ebp - 0x8b0]
push eax
call fcn.00461d65
pop ecx
test eax, eax
jne 0x436d51
push esi
push ebx
push 0x491b68
lea ecx, [ebp - 0x840]
call fcn.0040e74c
push ebx
push esi
lea ecx, [ebp - 0x85c]
mov edi, eax
mov byte [ebp - 4], 9
call fcn.0040573c
cmp edi, 0xffffffff
jne 0x436c50
jmp 0x436c09
push ebx
push esi
lea ecx, [ebp - 0x85c]
call fcn.0040573c
push ebx
push esi
lea ecx, [ebp - 0x840]
call fcn.0040573c
push ebx
push esi
lea ecx, [ebp - 0x8b0]
call fcn.0040573c
push ebx
push esi
jmp 0x436c28