Function at 0x4062d0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x40b4ae
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 0x40f894
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.0040a5ee
cmp esi, 0xffffffff
je 0x406673
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp byte [esp + 0x7c], 0x2e
je 0x40664e
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 0x4063a1
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 0x406378
test byte [esp + 0x68], 0x10
je 0x4064ab
mov eax, dword [esp + 0x2b0]
test eax, eax
je 0x40664e
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x2ac]
push ecx
lea eax, [esp + 0x44]
push edx
push eax
call sub.MFC42.DLL_operator
push 0x40fc4c
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.0040a5ee
lea ecx, [esp + 0x40]
mov byte [esp + 0x2a0], bl
call fcn.0040a5ee
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 0x40fc4c
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 0x40fc4c
push eax
push ecx
call sub.MFC42.DLL_operator
mov ecx, edi
mov byte [esp + 0x2ac], 7
call fcn.004062d0
lea ecx, [esp + 0x34]
mov byte [esp + 0x2a0], 4
call fcn.0040a5ee
mov byte [esp + 0x2a0], bl
lea ecx, [esp + 0x28]
jmp 0x406649
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 0x40664e
lea eax, [esp + 0x7c]
push str.jyverify.dat
push eax
call esi
add esp, 8
test eax, eax
je 0x40664e
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.0040a5ee
lea ecx, [esp + 0x30]
mov byte [esp + 0x2a0], bl
call fcn.0040a5ee
mov al, byte [esp + 0x13]
test al, al
jne 0x406673
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.0040a5ee
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.0040a5ee
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.0040a732
lea ecx, [esp + 0x20]
mov byte [esp + 0x2a0], bl
call fcn.0040a5ee
lea eax, [esp + 0x14]
push eax
push 0x40fa88
call fcn.00408510
add esp, 4
lea ecx, [esp + 0x28]
push eax
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.0040a5ee
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 0x406354
push esi
call dword [sym.imp.MSVCRT.dll__findclose]
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a0], 1
call fcn.0040a5ee
lea ecx, [esp + 0x2a8]
mov byte [esp + 0x2a0], 0
call fcn.0040a5ee
lea ecx, [esp + 0x2ac]
mov dword [esp + 0x2a0], 0xffffffff
call fcn.0040a5ee
mov ecx, dword [esp + 0x298]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x294
ret 0xc