Function at 0x4076c0
Capabilities:
Create directory
Get file attributes

Disassembly:
sub esp, 0x214
push ebx
push ebp
push esi
push edi
mov edi, ecx
call sub.MFC42.DLL_AfxGetModuleState
mov esi, dword [eax + 4]
xor ebp, ebp
mov dword [esp + 0x20], ebp
mov ebx, 1
mov eax, dword [esi + 0xf0]
mov dword [esp + 0x1c], esi
cmp eax, ebx
mov eax, dword [edi + 0x6c]
mov dword [esp + 0x18], ebp
jne 0x407702
cmp eax, ebp
je 0x407717
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
jmp 0x407717
cmp eax, ebp
je 0x407717
mov eax, dword [edi + 0x20]
push ebp
push ebp
push 0x404
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
push 0x42d478
lea ecx, [esp + 0x28]
push 0x428054
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0x10
je 0x407787
lea eax, [esp + 0x24]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x407787
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x428c10
call fcn.00403b30
mov ecx, dword [edi + 0x20]
add esp, 8
mov dword [edi + 0x80], ebx
push ebp
push ebp
push 0x402
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x214
ret
call fcn.00409e40
cmp eax, ebp
mov dword [esp + 0x10], eax
jne 0x4077c5
push 0x428bf8
call fcn.00403b30
mov edx, dword [edi + 0x20]
add esp, 4
mov dword [edi + 0x80], ebx
push ebp
push ebp
push 0x402
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x214
ret
mov ecx, dword [esi + 0x520]
xor eax, eax
cmp ecx, ebp
mov dword [esp + 0x14], eax
jle 0x4078ca
jmp 0x4077e3
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 0x51c]
push 0xa
xor esi, esi
mov ebp, dword [ecx + eax*4]
push ebp
push eax
push 0x428bd0
call fcn.00403b30
add esp, 0x10
inc esi
push esi
push 0x428bbc
call fcn.00403b30
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
add esp, 8
lea ecx, [esp + 0x20]
push edx
push eax
push ecx
push ebp
mov ecx, edi
call fcn.004051c0
mov ebx, eax
test ebx, ebx
je 0x4078b7
cmp ebx, 6
je 0x4078e4
cmp ebx, 3
je 0x4078fe
cmp ebx, 2
jne 0x407866
push esi
push 0x428b90
push eax
push edi
call fcn.00404a30
add esp, 0x10
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, 0xa
jl 0x4077ff
mov esi, dword [esp + 0x14]
push ebp
push esi
push 0x428b64
push 2
push edi
call fcn.00404a30
push ebp
push esi
push 0x428b64
call fcn.00403b30
mov edx, dword [esp + 0x3c]
add esp, 0x20
inc esi
mov eax, dword [edx + 0x520]
mov dword [esp + 0x14], esi
cmp esi, eax
jl 0x4077db
test ebx, ebx
je 0x4078ca
cmp ebx, 6
je 0x4078ca
cmp ebx, 3
je 0x4078ca
mov dword [edi + 0x80], 1
mov eax, dword [edi + 0x20]
push 0
push 0
push 0x402
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00409f60
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x214
ret
mov edx, dword [edi + 0x20]
push 0
push 0
push 0x402
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x10]
push eax
jmp 0x4078cf
mov ecx, dword [edi + 0x20]
push 0
push 0
push 0x402
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov edx, dword [esp + 0x10]
push edx
jmp 0x4078cf