Function at 0x437ba0
Capabilities:
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x611ee6
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x69e3d4]
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.0057290f
lea eax, [ebp + 0x1c8]
mov dword [esp + 0x1c], 0
call fcn.00437830
lea esi, [ebp + 0x200]
mov ecx, esi
mov dword [ebp], vtable.CSnapFileDlg.0
call fcn.00566b84
mov dword [esi], vtable.CButton.0
lea esi, [ebp + 0x254]
mov ecx, esi
mov byte [esp + 0x1c], 1
call fcn.00566b84
mov dword [esi], vtable.CButton.0
lea esi, [ebp + 0x2a8]
mov ecx, esi
mov byte [esp + 0x1c], 2
call fcn.00566b84
mov dword [esi], vtable.CButton.0
lea esi, [ebp + 0x2fc]
mov ecx, esi
mov byte [esp + 0x1c], 3
call fcn.00566b84
mov dword [esi], vtable.CButton.0
lea esi, [ebp + 0x350]
mov ecx, esi
mov byte [esp + 0x1c], 4
call fcn.00566b84
mov dword [esi], vtable.CButton.0
lea esi, [ebp + 0x3a4]
mov ecx, esi
mov byte [esp + 0x1c], 5
call fcn.00566b84
mov dword [esi], vtable.CButton.0
lea esi, [ebp + 0x3f8]
mov ecx, esi
mov byte [esp + 0x1c], 6
call fcn.00566b84
mov dword [esi], vtable.CButton.0
lea esi, [ebp + 0x44c]
mov ecx, esi
mov byte [esp + 0x1c], 7
call fcn.00566b84
mov dword [esi], vtable.CButton.0
lea esi, [ebp + 0x4a0]
mov ecx, esi
mov byte [esp + 0x1c], 8
call fcn.00566b84
mov dword [esi], vtable.CScrollBar.0
lea esi, [ebp + 0x4f4]
mov ecx, esi
mov byte [esp + 0x1c], 9
call fcn.00566b84
mov dword [esi], vtable.CEdit.0
lea esi, [ebp + 0x548]
mov ecx, esi
mov byte [esp + 0x1c], 0xa
call fcn.00566b84
mov dword [esi], vtable.CComboBox.0
mov byte [esp + 0x1c], 0xb
lea esi, [ebp + 0x59c]
mov ecx, esi
call fcn.00566b84
mov dword [esi], vtable.CButton.0
lea esi, [ebp + 0x5f0]
mov ecx, esi
mov byte [esp + 0x1c], 0xc
call fcn.00566b84
mov dword [esi], vtable.CButton.0
mov byte [esp + 0x1c], 0xd
call fcn.0056d592
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x437d4e
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 + 0x1c], 0xe
mov byte [0x6b4330], 0
mov ebx, 0x192
nop
push ebx
call fcn.0057245e
test eax, eax
je 0x437d85
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 0x437dd2
mov eax, dword [esp + 0x2c]
mov ecx, eax
nop
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x437da0
mov edi, 0x6b4330
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x437db5
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 0x437d70
mov edi, 0x6b4330
add edi, 0xffffffff
lea ebx, [ebx]
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x437de0
mov ax, word [0x64ad14]
mov word [edi], ax
mov eax, 0x6b4330
lea edx, [eax + 1]
jmp 0x437e00
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x437e00
sub eax, edx
lea ecx, [eax + 0x6b4330]
mov eax, 0x6b4330
cmp ecx, eax
jbe 0x437e2f
lea ebx, [ebx]
cmp byte [eax], 0x7c
jne 0x437e28
mov byte [eax], 0
add eax, 1
cmp eax, ecx
jb 0x437e20
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov dword [ebp + 0x654], ecx
mov eax, 1
test byte [0x6be7a4], al
mov ecx, 0xe
mov esi, 0x6bd744
lea edi, [ebp + 0x1c8]
mov dword [ebp + 0x65c], 0
rep movsd dword es:[edi], dword [esi]
mov dword [ebp + 0x644], eax
mov dword [ebp + 0x648], 0x64
mov dword [ebp + 0x64c], eax
mov dword [ebp + 0x650], 0xa
mov dword [ebp + 0x658], edx
jne 0x437eca
or dword [0x6be7a4], eax
call fcn.0056d592
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x437eac
push 0x80004005
call fcn.004012f0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x620a50
mov dword [0x6be7a0], eax
call fcn.005a5c9a
add esp, 4
push 0x88
call fcn.0057245e
test eax, eax
je 0x437ee8
push 0x88
push eax
mov ecx, 0x6be7a0
call fcn.00404fe0
mov esi, dword [0x6be7a0]
mov ecx, ebp
call fcn.005724ec
mov ecx, ebp
mov dword [eax + 0x30], esi
call fcn.005724ec
or dword [eax + 0x34], 0x88040
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 dword [eax + 0xc], 0x6b4330
call fcn.0056efb5
test eax, eax
je 0x437f3f
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
mov esi, eax
jmp 0x437f41
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
cmp dword [eax + 0x1c], 0
je 0x437f85
mov ecx, ebp
call fcn.005724ec
mov edx, dword [eax + 0x1c]
cmp byte [edx], 0
jne 0x437f85
mov ecx, ebp
call fcn.005724ec
mov eax, dword [eax + 0x1c]
mov ecx, dword [str.snap]
mov dword [eax], ecx
mov dl, byte [0x646e7c]
mov byte [eax + 4], dl
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 0x437fe6
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 0x437fe6
mov eax, 0x6b4b30
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x437fc0
sub eax, edx
je 0x437fe6
push 0x6b4b30
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
mov ecx, ebp
call fcn.005724ec
mov dword [eax + 0x2c], 0x6b4b30
mov ecx, 0x6b4330
mov edi, 0x6b42c0
mov eax, ecx
mov dword [edi], ecx
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x437ff7
sub eax, esi
lea ecx, [ecx + eax + 1]
mov eax, ecx
lea esi, [eax + 1]
jmp 0x438010
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x438010
sub eax, esi
add edi, 4
cmp edi, 0x6b4328
lea ecx, [ecx + eax + 1]
jl 0x437ff0
lea ebx, [ebp + 0x1c8]
call fcn.00437870
mov esi, dword [ebp + 0x1e8]
mov ecx, ebp
add esi, 1
call fcn.005724ec
mov ecx, ebp
mov dword [eax + 0x18], esi
call fcn.005724ec
mov dword [eax + 0x20], 0x104
mov byte [esp + 0x1c], 0xd
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 0x43807b
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