Function at 0x4365c0
Capabilities:
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x60a4a8
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
push 0
push eax
push 0
push 0x800804
push ecx
push 0
push 0
mov ecx, ebp
call fcn.0056af06
lea eax, [ebp + 0x1c8]
mov dword [esp + 0x1c], 0
call fcn.004362a0
lea esi, [ebp + 0x1fc]
mov ecx, esi
mov dword [ebp], vtable.CSnapFileDlg.0
call fcn.0055f1a4
mov dword [esi], vtable.CButton.0
lea esi, [ebp + 0x250]
mov ecx, esi
mov byte [esp + 0x1c], 1
call fcn.0055f1a4
mov dword [esi], vtable.CButton.0
lea esi, [ebp + 0x2a4]
mov ecx, esi
mov byte [esp + 0x1c], 2
call fcn.0055f1a4
mov dword [esi], vtable.CButton.0
lea esi, [ebp + 0x2f8]
mov ecx, esi
mov byte [esp + 0x1c], 3
call fcn.0055f1a4
mov dword [esi], vtable.CButton.0
lea esi, [ebp + 0x34c]
mov ecx, esi
mov byte [esp + 0x1c], 4
call fcn.0055f1a4
mov dword [esi], vtable.CButton.0
lea esi, [ebp + 0x3a0]
mov ecx, esi
mov byte [esp + 0x1c], 5
call fcn.0055f1a4
mov dword [esi], vtable.CButton.0
lea esi, [ebp + 0x3f4]
mov ecx, esi
mov byte [esp + 0x1c], 6
call fcn.0055f1a4
mov dword [esi], vtable.CButton.0
lea esi, [ebp + 0x448]
mov ecx, esi
mov byte [esp + 0x1c], 7
call fcn.0055f1a4
mov dword [esi], vtable.CScrollBar.0
lea esi, [ebp + 0x49c]
mov ecx, esi
mov byte [esp + 0x1c], 8
call fcn.0055f1a4
mov dword [esi], vtable.CEdit.0
lea esi, [ebp + 0x4f0]
mov ecx, esi
mov byte [esp + 0x1c], 9
call fcn.0055f1a4
mov dword [esi], vtable.CComboBox.0
lea esi, [ebp + 0x544]
mov ecx, esi
mov byte [esp + 0x1c], 0xa
call fcn.0055f1a4
mov dword [esi], vtable.CButton.0
mov byte [esp + 0x1c], 0xb
lea esi, [ebp + 0x598]
mov ecx, esi
call fcn.0055f1a4
mov dword [esi], vtable.CButton.0
mov byte [esp + 0x1c], 0xc
call fcn.00564d6e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x436756
push 0x80004005
call fcn.004012a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0x1c], 0xd
mov byte [0x6abf90], 0
mov ebx, 0x192
push ebx
call fcn.0056aa5c
test eax, eax
je 0x43678c
push ebx
push eax
lea ecx, [esp + 0x34]
call fcn.00404f40
mov esi, dword [esp + 0x2c]
mov edi, 0x643268
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4367dd
mov eax, dword [esp + 0x2c]
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4367a6
mov edi, 0x6abf90
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
jmp 0x4367c0
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x4367c0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add ebx, 1
jmp 0x436777
mov edi, 0x6abf90
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x4367e5
mov ax, word [0x64326c]
mov word [edi], ax
mov eax, 0x6abf90
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x436800
sub eax, edx
lea ecx, [eax + 0x6abf90]
mov eax, 0x6abf90
cmp ecx, eax
jbe 0x43682f
lea ebx, [ebx]
cmp byte [eax], 0x7c
jne 0x436828
mov byte [eax], 0
add eax, 1
cmp eax, ecx
jb 0x436820
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov dword [ebp + 0x5fc], ecx
mov eax, 1
test byte [0x6b59dc], al
mov ecx, 0xd
mov esi, 0x6b4964
lea edi, [ebp + 0x1c8]
mov dword [ebp + 0x604], 0
rep movsd dword es:[edi], dword [esi]
mov dword [ebp + 0x5ec], eax
mov dword [ebp + 0x5f0], 0x64
mov dword [ebp + 0x5f4], eax
mov dword [ebp + 0x5f8], 0xa
mov dword [ebp + 0x600], edx
jne 0x4368ca
or dword [0x6b59dc], eax
call fcn.00564d6e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4368ac
push 0x80004005
call fcn.004012a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x618ab0
mov dword [0x6b59d8], eax
call fcn.0059e40a
add esp, 4
push 0x88
call fcn.0056aa5c
test eax, eax
je 0x4368e8
push 0x88
push eax
mov ecx, 0x6b59d8
call fcn.00404f40
mov esi, dword [0x6b59d8]
mov ecx, ebp
call fcn.00577b94
mov ecx, ebp
mov dword [eax + 0x30], esi
call fcn.00577b94
or dword [eax + 0x34], 0x88040
add eax, 0x34
call fcn.00568851
mov esi, dword [eax + 0xc]
mov ecx, ebp
call fcn.00577b94
mov ecx, ebp
mov dword [eax + 8], esi
call fcn.00577b94
mov dword [eax + 0xc], 0x6abf90
call fcn.005669f5
test eax, eax
je 0x43693f
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
mov esi, eax
jmp 0x436941
xor esi, esi
mov ecx, ebp
call fcn.00577b94
mov ecx, dword [esi + 0x20]
mov dword [eax + 4], ecx
mov ecx, ebp
call fcn.00577b94
cmp dword [eax + 0x1c], 0
je 0x436985
mov ecx, ebp
call fcn.00577b94
mov edx, dword [eax + 0x1c]
cmp byte [edx], 0
jne 0x436985
mov ecx, ebp
call fcn.00577b94
mov eax, dword [eax + 0x1c]
mov ecx, dword [str.snap]
mov dword [eax], ecx
mov dl, byte [0x63ed34]
mov byte [eax + 4], dl
mov ecx, ebp
call fcn.00577b94
mov eax, dword [eax + 0x1c]
push 0x5c
push eax
call fcn.0059eac0
add esp, 8
test eax, eax
jne 0x4369e6
mov ecx, ebp
call fcn.00577b94
mov eax, dword [eax + 0x1c]
push 0x2f
push eax
call fcn.0059eac0
add esp, 8
test eax, eax
jne 0x4369e6
mov eax, 0x6ac790
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4369c0
sub eax, edx
je 0x4369e6
push 0x6ac790
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
mov ecx, ebp
call fcn.00577b94
mov dword [eax + 0x2c], 0x6ac790
mov ecx, 0x6abf90
mov edi, 0x6abf20
mov eax, ecx
mov dword [edi], ecx
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4369f7
sub eax, esi
lea ecx, [ecx + eax + 1]
mov eax, ecx
lea esi, [eax + 1]
jmp 0x436a10
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x436a10
sub eax, esi
add edi, 4
cmp edi, 0x6abf88
lea ecx, [ecx + eax + 1]
jl 0x4369f0
lea ebx, [ebp + 0x1c8]
call fcn.004362e0
mov esi, dword [ebp + 0x1e4]
mov ecx, ebp
add esi, 1
call fcn.00577b94
mov ecx, ebp
mov dword [eax + 0x18], esi
call fcn.00577b94
mov dword [eax + 0x20], 0x104
mov byte [esp + 0x1c], 0xc
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436a7b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x10