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

Disassembly:
push 0xffffffffffffffff
push 0x619970
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x69e3d4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
push 0
push eax
push 0
push 0x800004
push ecx
push 0x64b100
push 1
mov ecx, ebp
call fcn.0057290f
lea esi, [ebp + 0x1c8]
mov dword [esp + 0x20], 0
mov ecx, esi
mov dword [ebp], vtable.CSnapOpenDlg.0
call fcn.00566b84
mov dword [esi], vtable.CSpinButtonCtrl.0
lea esi, [ebp + 0x21c]
mov ecx, esi
mov byte [esp + 0x20], 1
call fcn.00566b84
mov dword [esi], vtable.CButton.0
lea esi, [ebp + 0x270]
mov ecx, esi
mov byte [esp + 0x20], 2
call fcn.00566b84
mov dword [esi], vtable.CStatic.0
lea esi, [ebp + 0x2c4]
mov ecx, esi
mov byte [esp + 0x20], 3
call fcn.00566b84
mov dword [esi], vtable.CButton.0
lea esi, [ebp + 0x318]
mov ecx, esi
mov byte [esp + 0x20], 4
call fcn.00566b84
mov dword [esi], vtable.CStatic.0
lea esi, [ebp + 0x36c]
mov ecx, esi
mov byte [esp + 0x20], 5
call fcn.00566b84
mov dword [esi], vtable.CEdit.0
lea esi, [ebp + 0x3c0]
mov ecx, esi
mov byte [esp + 0x20], 6
call fcn.00566b84
mov dword [esi], vtable.CStatic.0
lea edx, [ebp + 0x418]
push edx
mov byte [esp + 0x24], 7
call fcn.004e6580
mov byte [esp + 0x20], 8
call fcn.0056d592
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43a008
push 0x80004005
call fcn.004012f0
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 + 0x20], 9
mov byte [0x6b4330], 0
mov ebx, 0x190
lea esp, [esp]
push ebx
call fcn.0057245e
test eax, eax
je 0x43a045
push ebx
push eax
lea ecx, [esp + 0x34]
call fcn.00404fe0
mov esi, dword [esp + 0x2c]
mov edi, 0x64ad10
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x43a092
mov eax, dword [esp + 0x2c]
mov ecx, eax
nop
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x43a060
mov edi, 0x6b4330
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x43a075
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 0x43a030
mov ebx, 0x1af
push ebx
call fcn.0057245e
test eax, eax
je 0x43a0ac
push ebx
push eax
lea ecx, [esp + 0x34]
call fcn.00404fe0
mov eax, dword [esp + 0x2c]
mov edi, 0x64ad10
mov esi, eax
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x43a0fd
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x43a0c4
mov edi, 0x6b4330
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
lea esp, [esp]
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x43a0e0
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 0x43a097
mov edi, 0x6b4330
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x43a105
mov ax, word [0x64ad14]
mov word [edi], ax
mov eax, 0x6b4330
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x43a120
sub eax, edx
lea ecx, [eax + 0x6b4330]
mov eax, 0x6b4330
cmp ecx, eax
jbe 0x43a14f
lea ebx, [ebx]
cmp byte [eax], 0x7c
jne 0x43a148
mov byte [eax], 0
add eax, 1
cmp eax, ecx
jb 0x43a140
mov eax, 1
test byte [0x6bedac], al
mov dword [ebp + 0x414], eax
jne 0x43a1a0
or dword [0x6bedac], eax
call fcn.0056d592
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43a182
push 0x80004005
call fcn.004012f0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x620a80
mov dword [0x6beda8], eax
call fcn.005a5c9a
add esp, 4
push 0x8c
call fcn.0057245e
test eax, eax
je 0x43a1be
push 0x8c
push eax
mov ecx, 0x6beda8
call fcn.00404fe0
mov esi, dword [0x6beda8]
mov ecx, ebp
call fcn.005724ec
mov ecx, ebp
mov dword [eax + 0x30], esi
call fcn.005724ec
or dword [eax + 0x34], 0x81040
add eax, 0x34
call fcn.005702dd
mov esi, dword [eax + 0xc]
mov ecx, ebp
call fcn.005724ec
mov ecx, ebp
mov dword [eax + 8], esi
call fcn.005724ec
mov ecx, ebp
mov dword [eax + 0xc], 0x6b4330
call fcn.005724ec
mov ecx, dword [0x6a6ebc]
mov dword [eax + 0x18], ecx
mov ecx, ebp
call fcn.005724ec
mov dword [eax + 0x20], 0x104
call fcn.0056efb5
test eax, eax
je 0x43a233
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
mov esi, eax
jmp 0x43a235
xor esi, esi
mov ecx, ebp
call fcn.005724ec
mov ecx, dword [esi + 0x20]
mov dword [eax + 4], ecx
mov ecx, ebp
call fcn.005724ec
mov eax, dword [eax + 0x1c]
push 0x5c
push eax
call fcn.005a6320
add esp, 8
test eax, eax
jne 0x43a2b6
mov ecx, ebp
call fcn.005724ec
mov eax, dword [eax + 0x1c]
push 0x2f
push eax
call fcn.005a6320
add esp, 8
test eax, eax
jne 0x43a2b6
mov eax, 0x6b4b30
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x43a280
sub eax, edx
je 0x43a2b6
push 0x6b4b30
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
push 0x6b4b30
push 0x104
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
mov ecx, ebp
call fcn.005724ec
mov dword [eax + 0x2c], 0x6b4b30
mov byte [esp + 0x20], 8
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43a2db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8