Function at 0x435920
Capabilities:
Get common file path
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x4d284a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c4
push ebx
push ebp
push esi
mov esi, dword [esp + 0x7e0]
push edi
lea edi, [ecx + 0xf4]
lea eax, [esp + 0x3c4]
mov dword [esp + 0x10], ecx
test edi, edi
mov dword [esp + 0x48], 1
mov dword [esp + 0x4c], esi
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 0x104
jne 0x435977
xor eax, eax
jmp 0x43597a
mov eax, dword [edi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x48]
push ecx
push 0
push 0x110c
push eax
call ebx
mov edx, dword [esp + 0x7e8]
test edi, edi
mov dword [esp + 0x58], edx
jne 0x4359a2
xor eax, eax
jmp 0x4359a5
mov eax, dword [edi + 0x1c]
lea ecx, [esp + 0x48]
push ecx
push 0
push 0x110d
push eax
call ebx
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [esp + 0x18], eax
test edi, edi
mov dword [esp + 0x7dc], 0
jne 0x4359df
xor eax, eax
jmp 0x4359e2
mov eax, dword [edi + 0x1c]
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 4
push edx
push 0
push 0x110c
push eax
mov dword [esp + 0x30], esi
call ebx
test eax, eax
je 0x435a0b
mov esi, dword [esp + 0x40]
test esi, esi
mov ebp, esi
jne 0x435a1c
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x436146
jmp 0x436139
test edi, edi
jne 0x435a24
xor eax, eax
jmp 0x435a27
mov eax, dword [edi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
test edi, edi
jne 0x435a36
xor eax, eax
jmp 0x435a39
mov eax, dword [edi + 0x1c]
push 0
push 0
push 0xb
push eax
call ebx
lea eax, [esp + 0x4c8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x4ed924
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov edx, dword [esp + 0x7e8]
lea ecx, [esp + 0x5cc]
push 0x104
push ecx
push 0xffffffffffffffff
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test edi, edi
jne 0x435a89
xor ecx, ecx
jmp 0x435a8c
mov ecx, dword [edi + 0x1c]
mov eax, dword [esi]
lea edi, [esi + 8]
lea esi, [esp + 0x44]
mov edx, dword [eax]
push esi
lea esi, [esp + 0x5d0]
push 0x20
push esi
mov esi, dword [edi]
push esi
push ecx
push eax
call dword [edx + 0x30]
test eax, eax
jl 0x4360f7
mov eax, dword [edi]
push eax
call fcn.00474360
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x48]
add esp, 4
mov dword [edi], ecx
lea esi, [edx + 0xf4]
test esi, esi
jne 0x435ad5
xor eax, eax
jmp 0x435ad8
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0x7e4]
push ecx
push 3
push 0x110a
push eax
call ebx
test eax, eax
je 0x435b43
test esi, esi
jne 0x435af6
xor ecx, ecx
jmp 0x435af9
mov ecx, dword [esi + 0x1c]
lea edx, [esp + 0x70]
mov dword [esp + 0x70], 4
push edx
push 0
push 0x110c
push ecx
mov dword [esp + 0x84], eax
call ebx
mov edx, dword [esp + 0x94]
mov esi, eax
mov eax, dword [ebp + 4]
neg esi
sbb esi, esi
push eax
and esi, edx
call fcn.00474360
mov ecx, dword [edi]
mov edx, dword [esi + 4]
push ecx
push edx
call fcn.00474290
add esp, 0xc
mov dword [ebp + 4], eax
jmp 0x435b7c
lea eax, [esp + 0x14]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x435b7c
mov ecx, dword [ebp + 4]
push ecx
call fcn.00474360
mov edx, dword [edi]
mov eax, dword [esp + 0x18]
push edx
push eax
call fcn.00474290
mov ecx, dword [esp + 0x20]
mov dword [ebp + 4], eax
push ecx
call fcn.00474360
add esp, 0x10
mov eax, dword [ebp + 4]
lea edx, [esp + 0xb0]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov ecx, dword [esp + 0x10]
lea eax, [ecx + 0xf4]
test eax, eax
je 0x435b9f
mov eax, dword [eax + 0x1c]
push 0
push 9
push 0x110a
push eax
call ebx
mov edi, dword [esp + 0x7e4]
mov ebp, dword [esp + 0x10]
push edi
push 3
mov edx, dword [ebp + 0x110]
push 0x110a
push edx
mov esi, eax
call ebx
push 0
push eax
mov ecx, ebp
call fcn.00434c10
cmp edi, esi
jne 0x435c98
lea esi, [ebp + 0xf4]
test esi, esi
jne 0x435be9
xor eax, eax
jmp 0x435bec
mov eax, dword [esi + 0x1c]
push 0
push 9
push 0x110a
push eax
call ebx
test eax, eax
je 0x435c98
test esi, esi
jne 0x435c08
xor ecx, ecx
jmp 0x435c0b
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call fcn.00436170
add esp, 8
test eax, eax
je 0x435c98
mov edx, dword [eax + 4]
lea ecx, [esp + 0x1b8]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x435c98
mov al, byte [esp + 0x1b8]
test al, al
je 0x435c98
mov eax, dword [ebp + 0x130]
mov eax, dword [eax + 0x14c]
test eax, eax
je 0x435c60
mov eax, dword [eax + 0x28]
lea ecx, [esp + 0x1b8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x435c98
mov ecx, dword [ebp + 0x130]
push 0
push 0
lea edx, [esp + 0x1c0]
push 0
push edx
call fcn.00413710
test eax, eax
jne 0x435c98
mov eax, dword [ebp + 0x130]
mov eax, dword [eax + 0x14c]
test eax, eax
je 0x435c98
mov eax, dword [eax + 0x28]
mov ecx, ebp
push eax
call fcn.00434a00
lea eax, [ebp + 0xf4]
test eax, eax
je 0x435ca5
mov eax, dword [eax + 0x1c]
push edi
push 4
push 0x110a
push eax
call ebx
test eax, eax
jne 0x435d0f
mov edi, dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f02
push eax
call edi
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov esi, eax
mov dword [esp + 0x14], esi
mov ecx, dword [esp + 0x7e4]
push 1
push ecx
mov ecx, ebp
mov byte [esp + 0x7e4], 1
call fcn.00434c10
test esi, esi
mov byte [esp + 0x7dc], 0
je 0x435cf8
mov eax, esi
jmp 0x435d01
push 0x7f00
push 0
call edi
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov edi, dword [esp + 0x7e4]
lea eax, [ebp + 0xf4]
test eax, eax
je 0x435d1c
mov eax, dword [eax + 0x1c]
lea edx, [esp + 0x70]
mov dword [esp + 0x70], 4
push edx
push 0
push 0x110c
push eax
mov dword [esp + 0x84], edi
call ebx
lea eax, [esp + 0xb0]
push eax
call fcn.00471a00
mov esi, eax
add esp, 4
test esi, esi
je 0x436017
lea ecx, [esp + 0xb0]
cmp esi, ecx
jbe 0x436017
lea edx, [esp + 0x1b8]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0xb0]
mov byte [esi - 1], 0
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 2
jg 0x435d9c
lea ecx, [esp + 0xb0]
push 0x4ed924
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov edx, dword [ebp + 0x130]
mov eax, dword [edx + 0x14c]
test eax, eax
je 0x435e82
mov eax, dword [eax + 0x28]
lea ecx, [esp + 0xb0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x435e82
mov eax, dword [ebp + 0x130]
lea edx, [esp + 0x3c4]
push edx
push 0
mov edi, dword [eax + 0x16c]
lea ecx, [esp + 0x78]
dec edi
mov dword [eax + 0x16c], edi
call fcn.00424810
mov eax, dword [ebp + 0x130]
lea ecx, [esp + 0x70]
mov byte [esp + 0x7dc], 2
mov esi, dword [eax + 0x14c]
add esi, 0xc
test ecx, ecx
je 0x435e6c
mov eax, dword [esi + 8]
xor edi, edi
test eax, eax
jle 0x435e6c
mov eax, dword [esi + 4]
lea edx, [esp + 0x70]
push edx
mov ecx, dword [eax + edi*4]
call fcn.00425140
test eax, eax
jne 0x435e36
mov eax, dword [esi + 8]
inc edi
cmp edi, eax
jl 0x435e18
jmp 0x435e6c
mov ecx, dword [esi + 4]
mov edi, dword [ecx + edi*4]
test edi, edi
je 0x435e6c
lea edx, [esp + 0x1b8]
mov ecx, edi
push edx
call fcn.004252f0
mov edi, dword [edi + 0x18]
test edi, edi
jl 0x435e6c
mov eax, dword [ebp + 0x130]
push edi
push edi
push 0x1015
mov ecx, dword [eax + 0xd0]
push ecx
call ebx
lea ecx, [esp + 0x70]
mov byte [esp + 0x7dc], 0
call fcn.00424b00
jmp 0x436017
lea edx, [esp + 0xb0]
push 0x4d8c08
lea eax, [esp + 0x2c4]
push edx
push eax
call fcn.00471100
push 0x4e20
mov dword [esp + 0x2c], vtable.HashTable_struct_DescEntry_.0
mov dword [esp + 0x34], 0x1388
call fcn.004bd49b
mov ecx, dword [esp + 0x34]
mov edi, eax
xor eax, eax
mov dword [esp + 0x30], edi
xor esi, esi
add esp, 0x10
rep stosd dword es:[edi], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x1c], vtable.DescTable.0
mov ecx, dword [0x4f83ec]
mov edx, dword fs:[0x2c]
mov byte [esp + 0x7dc], 3
mov dword [esp + 0x2c], 1
mov ebp, dword [edx + ecx*4]
lea ecx, [esp + 0x2c0]
mov al, byte [ebp + 0x21f]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.00423f30
push 0x14
call fcn.004bd49b
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, esi
mov byte [esp + 0x7dc], 4
je 0x435f47
lea edx, [esp + 0x3c4]
push 0x4f55a8
push edx
mov ecx, eax
call fcn.00423c00
mov edi, eax
jmp 0x435f49
xor edi, edi
cmp edi, esi
mov byte [esp + 0x7dc], 3
je 0x435fbd
mov eax, dword [esp + 0x24]
mov ecx, edi
push eax
call fcn.00423cf0
mov ecx, dword [esp + 0x20]
mov esi, dword [ecx + eax*4]
test esi, esi
je 0x435f7f
push edi
mov ecx, esi
call fcn.00423cb0
test eax, eax
jne 0x435f7f
mov esi, dword [esi + 4]
test esi, esi
jne 0x435f6c
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
test esi, esi
je 0x435fbd
mov eax, dword [esp + 0x7e8]
mov ecx, esi
push eax
call fcn.00423cd0
xor ecx, ecx
xor edx, edx
mov cl, byte [ebp + 0x21f]
mov dl, byte [ebp + 0x21e]
push ecx
lea eax, [esp + 0x2c4]
push edx
push eax
lea ecx, [esp + 0x28]
call fcn.00424140
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x7dc], 0
test eax, eax
mov dword [esp + 0x1c], vtable.HashTable_struct_DescEntry_.0
je 0x436006
mov eax, dword [esp + 0x24]
xor edi, edi
test eax, eax
jle 0x436006
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + edi*4]
test ecx, ecx
je 0x435ffd
mov esi, dword [ecx + 4]
test ecx, ecx
je 0x435ff7
mov edx, dword [ecx]
push 1
call dword [edx]
test esi, esi
mov ecx, esi
jne 0x435fea
mov eax, dword [esp + 0x24]
inc edi
cmp edi, eax
jl 0x435fdf
mov eax, dword [esp + 0x20]
push eax
call fcn.004bd4c4
mov ebp, dword [esp + 0x14]
add esp, 4
lea ecx, [esp + 0x4c8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov edx, dword [ebp + 0x110]
push 0
push 1
push 0xb
push edx
call ebx
lea edi, [ebp + 0xf4]
mov ecx, edi
call fcn.004c087d
mov eax, dword [ebp + 0x130]
mov eax, dword [eax + 0x14c]
test eax, eax
je 0x4360d5
mov edx, dword [ebp]
mov esi, dword [eax + 0x28]
mov ecx, ebp
call dword [edx + 0xc8]
test eax, eax
je 0x4360d5
mov eax, dword [ebp + 0x110]
push 0
push 0
push 0xb
push eax
call ebx
push 1
push esi
mov ecx, ebp
mov dword [ebp + 0xf0], 1
call fcn.00434aa0
mov esi, eax
test esi, esi
je 0x4360bc
test edi, edi
jne 0x436098
xor eax, eax
jmp 0x43609b
mov eax, dword [edi + 0x1c]
push esi
push 0
push 0x1114
push eax
call ebx
test edi, edi
jne 0x4360ae
xor eax, eax
jmp 0x4360b1
mov eax, dword [edi + 0x1c]
push esi
push 9
push 0x110b
push eax
call ebx
mov dword [ebp + 0xf0], 0
mov ecx, dword [ebp + 0x110]
push 0
push 1
push 0xb
push ecx
call ebx
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4360e9
push 0x7f00
push eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, 1
jmp 0x43614f
mov edx, dword [esp + 0x7e4]
mov esi, dword [esp + 0x10]
push edx
push 0
mov eax, dword [esi + 0x110]
push 0x110e
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esi + 0xf4]
call fcn.004c087d
mov ecx, dword [esi + 0x110]
push 0
push 1
push 0xb
push ecx
call ebx
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x436146
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
xor eax, eax
mov ecx, dword [esp + 0x7d4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x7d0
ret 8