Function at 0x406750
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x40b7ae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x288
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x2a0], 1
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x2a8]
push 0x4108f8
lea ecx, [esp + 0x1c]
mov bl, 2
push eax
push ecx
mov byte [esp + 0x2ac], bl
call sub.MFC42.DLL_operator
mov eax, dword [eax]
lea edx, [esp + 0x68]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__findfirst]
mov esi, eax
add esp, 8
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], esi
call fcn.0040a86e
cmp esi, 0xffffffff
je 0x406aea
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp byte [esp + 0x7c], 0x2e
je 0x406ac5
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
push 1
push 0
push 0
lea eax, [esp + 0x58]
push 0
push eax
call esi
test eax, eax
je 0x406821
lea ecx, [esp + 0x4c]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
lea edx, [esp + 0x4c]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
push 1
push 0
push 0
lea eax, [esp + 0x58]
push 0
push eax
call esi
test eax, eax
jne 0x4067f8
test byte [esp + 0x68], 0x10
je 0x40692b
mov eax, dword [esp + 0x2b0]
test eax, eax
je 0x406ac5
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x2ac]
push ecx
lea eax, [esp + 0x44]
push edx
push eax
call sub.MFC42.DLL_operator
push 0x410b10
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x2ac], 3
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push 0
push eax
call ebp
lea ecx, [esp + 0x18]
call fcn.0040a86e
lea ecx, [esp + 0x40]
mov byte [esp + 0x2a0], bl
call fcn.0040a86e
lea edx, [esp + 0x7c]
push 1
lea eax, [esp + 0x2b0]
push edx
lea ecx, [esp + 0x30]
push eax
push ecx
call sub.MFC42.DLL_operator
push ecx
mov byte [esp + 0x2a8], 4
mov edx, esp
mov dword [esp + 0x4c], esp
push 0x410b10
push eax
push edx
call sub.MFC42.DLL_operator
lea eax, [esp + 0x84]
lea ecx, [esp + 0x2b0]
push eax
lea edx, [esp + 0x40]
push ecx
push edx
mov byte [esp + 0x2b4], 5
call sub.MFC42.DLL_operator
push ecx
mov byte [esp + 0x2ac], 6
mov ecx, esp
mov dword [esp + 0x54], esp
push 0x410b10
push eax
push ecx
call sub.MFC42.DLL_operator
mov ecx, edi
mov byte [esp + 0x2ac], 7
call fcn.00406750
lea ecx, [esp + 0x34]
mov byte [esp + 0x2a0], 4
call fcn.0040a86e
mov byte [esp + 0x2a0], bl
lea ecx, [esp + 0x28]
jmp 0x406ac0
mov esi, dword [sym.imp.MSVCRT.dll__stricmp]
lea edx, [esp + 0x7c]
push str.tqcookie.dat
push edx
call esi
add esp, 8
test eax, eax
je 0x406ac5
lea eax, [esp + 0x7c]
push str.jyverify.dat
push eax
call esi
add esp, 8
test eax, eax
je 0x406ac5
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x2ac]
push ecx
lea eax, [esp + 0x34]
push edx
push eax
call sub.MFC42.DLL_operator
mov esi, dword [eax]
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x2a8]
push ecx
lea eax, [esp + 0x3c]
push edx
push eax
mov byte [esp + 0x2ac], 8
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
lea ecx, [esp + 0x38]
sete byte [esp + 0x13]
call fcn.0040a86e
lea ecx, [esp + 0x30]
mov byte [esp + 0x2a0], bl
call fcn.0040a86e
mov al, byte [esp + 0x13]
test al, al
jne 0x406aea
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x2ac]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
lea ecx, [esp + 0x180]
push ecx
push eax
mov byte [esp + 0x2a8], 9
call sub.MFC42.DLL_CFile::GetStatus
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], bl
call fcn.0040a86e
lea edx, [esp + 0x7c]
lea eax, [esp + 0x2ac]
push edx
lea ecx, [esp + 0x40]
push eax
push ecx
mov byte [esp + 0x19c], 0x20
call sub.MFC42.DLL_operator
mov eax, dword [eax]
lea edx, [esp + 0x180]
push edx
push eax
mov byte [esp + 0x2a8], 0xa
call sub.MFC42.DLL_CFile::SetStatus
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2a0], bl
call fcn.0040a86e
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x2ac]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2a4], 0xb
call fcn.0040a9d6
lea ecx, [esp + 0x20]
mov byte [esp + 0x2a0], bl
call fcn.0040a86e
lea eax, [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
push 0x410b2c
push ecx
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
lea ecx, [edi + 0x60]
push eax
mov byte [esp + 0x2a4], 0xc
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov byte [esp + 0x2a0], bl
lea ecx, [esp + 0x24]
call fcn.0040a86e
mov esi, dword [esp + 0x2c]
lea edx, [esp + 0x68]
push edx
push esi
call dword [sym.imp.MSVCRT.dll__findnext]
add esp, 8
test eax, eax
je 0x4067d4
push esi
call dword [sym.imp.MSVCRT.dll__findclose]
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a0], 1
call fcn.0040a86e
lea ecx, [esp + 0x2a8]
mov byte [esp + 0x2a0], 0
call fcn.0040a86e
lea ecx, [esp + 0x2ac]
mov dword [esp + 0x2a0], 0xffffffff
call fcn.0040a86e
mov ecx, dword [esp + 0x298]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x294
ret 0xc