Function at 0x401537
Capabilities:
Set current directory

Disassembly:
jmp 0x43b3a0
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x452013
push eax
mov eax, 0x15ec
mov dword fs:[0], esp
call fcn.0044d7b0
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov edi, 1
mov dword [esp + 0x1604], edi
call fcn.00401717
mov ecx, dword [esp + 0x160c]
mov eax, dword [ecx - 8]
mov dl, byte [eax + ecx - 1]
lea esi, [eax - 1]
cmp dl, 0x5c
je 0x43b3f6
mov dl, byte [esi + ecx - 1]
dec esi
cmp dl, 0x5c
jne 0x43b3ec
sub eax, esi
lea ecx, [esp + 0x160c]
dec eax
push eax
lea eax, [esp + 0x1c]
push eax
call sub.MFC42.DLL_CString::Right
lea ecx, [esp + 0x14]
push esi
push ecx
lea ecx, [esp + 0x1614]
mov byte [esp + 0x160c], 2
call sub.MFC42.DLL_CString::Left
mov edx, dword [esp + 0x14]
mov byte [esp + 0x1604], 3
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
xor ebx, ebx
lea ecx, [esp + 0x10c]
push ebx
push ebx
call fcn.004015c3
push ebp
lea ecx, [esp + 0x110]
mov byte [esp + 0x1608], 4
call fcn.004010e1
push 5
lea ecx, [esp + 0x110]
call sub.MFC42.DLL_CWnd::ShowWindow
lea eax, [esp + 0x170]
push str.run
lea ecx, [esp + 0x14]
mov dword [ebp + 0x3c8], eax
call fcn.0044cea6
lea ecx, [esp + 0x18]
mov byte [esp + 0x1604], 5
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
mov dword [ebp + 0xb9cc], edi
mov dword [ebp + 0x5ec], ebx
mov dword [ebp + 0x5f4], ebx
call fcn.004017f8
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x40]
mov dword [esp + 0x80], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x30], ecx
lea edx, [esp + 0xbec]
lea eax, [esp + 0x21c]
mov ecx, ebp
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x90], 0x3e8
mov dword [ebp + 0x5c0], ebx
mov dword [ebp + 0xb9d8], ebx
mov dword [esp + 0x34], ebp
mov byte [esp + 0xbec], 1
mov dword [esp + 0x44], edi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], 0xa
call fcn.0040117c
push ebx
push 0x9600
mov ecx, ebp
call fcn.00402153
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebp
call fcn.0040202c
cmp dword [esp + 0x60], ebx
je 0x43b550
mov dword [ebp + 0xb9d8], ebx
mov dword [ebp + 0xb9f8], 0x9600
jmp 0x43b5db
push ebx
push 0x4b00
mov ecx, ebp
call fcn.00402153
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
call esi
push 0xd
lea edx, [esp + 0x20]
push str.AT_LGDMGO_c
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x1c]
push ecx
push eax
mov ecx, 0x472c70
call fcn.004019a6
push 0x3e8
call esi
lea ecx, [esp + 0x64]
push 0x14
push ecx
mov ecx, 0x472c70
call fcn.0040175d
mov byte [esp + eax + 0x64], bl
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x64]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
mov ecx, ebp
call fcn.004015a5
mov ecx, 0x472c70
mov dword [ebp + 0xb9d8], 4
call fcn.004012b2
push ebx
push 0x9600
mov ecx, ebp
call fcn.00402153
push 0x190
mov ecx, ebp
mov dword [ebp + 0x5c0], ebx
call fcn.00402185
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x46d184
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
mov dword [0x476064], ebx
call fcn.00401735
call fcn.004020a9
test al, al
je 0x43b67f
mov edi, dword [0x467714]
lea eax, [esp + 0x78]
inc edi
push eax
mov dword [0x467714], edi
call fcn.00401078
add esp, 4
mov ecx, ebp
mov byte [0x46d184], bl
call fcn.00401370
call fcn.004020a9
test al, al
jne 0x43b64f
mov ecx, 0x472c70
call fcn.00401ab4
mov eax, dword [ebp + 0xb9d0]
mov esi, 0x190
cmp eax, esi
jae 0x43b6af
mov ecx, ebp
call fcn.00401370
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp + 0xb9d0], esi
jb 0x43b698
cmp dword [0x476064], ebx
je 0x43b7d0
push ebx
lea ecx, [esp + 0xb0]
call fcn.00401820
lea ecx, [esp + 0xac]
mov byte [esp + 0x1604], 6
call sub.MFC42.DLL_CDialog::DoModal
cmp eax, 1
jne 0x43b715
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp + 0xb9d8], ebx
lea ecx, [esp + 0xac]
mov dword [0x472c5c], 1
mov byte [esp + 0x1604], 5
call fcn.0044cf84
jmp 0x43b7d6
mov ecx, ebp
call fcn.00401735
lea ecx, [esp + 0xac]
mov byte [esp + 0x1604], 5
call fcn.0044cf84
lea ecx, [esp + 0x10]
mov byte [esp + 0x1604], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1dc]
mov byte [esp + 0x1604], 8
call sub.MFC42.DLL_CAnimateCtrl::CAnimateCtrl
lea ecx, [esp + 0x170]
mov byte [esp + 0x1604], 7
call fcn.004018d4
lea ecx, [esp + 0x10c]
mov byte [esp + 0x1604], 3
call fcn.0044cf84
lea ecx, [esp + 0x14]
mov byte [esp + 0x1604], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x1604], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x160c]
mov byte [esp + 0x1604], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1610]
mov dword [esp + 0x1604], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x43b89a
mov dword [0x472c5c], ebx
lea ecx, [esp + 0x10c]
mov dword [ebp + 0xb9cc], ebx
mov dword [ebp + 0xb9d8], ebx
call sub.MFC42.DLL_CWnd::DestroyWindow
mov ecx, dword [esp + 0x1610]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [esp + 0x10]
mov byte [esp + 0x1604], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1dc]
mov byte [esp + 0x1604], 0xa
call sub.MFC42.DLL_CAnimateCtrl::CAnimateCtrl
lea ecx, [esp + 0x170]
mov byte [esp + 0x1604], 9
call fcn.004018d4
lea ecx, [esp + 0x10c]
mov byte [esp + 0x1604], 3
call fcn.0044cf84
lea ecx, [esp + 0x14]
mov byte [esp + 0x1604], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x1604], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x160c]
mov byte [esp + 0x1604], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1610]
mov dword [esp + 0x1604], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x15fc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x15f8
ret 8