Function at 0x40de81
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ff5c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x42c4
call fcn.0041e970
mov dword [ebp - 0x41c0], ecx
mov dword [ebp - 0x4090], 0
mov dword [ebp - 0x4068], 0
push 4
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x40fc], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x40fc], 0
je 0x40def0
mov ecx, dword [ebp - 0x40fc]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0x41c4], eax
jmp 0x40defa
mov dword [ebp - 0x41c4], 0
mov eax, dword [ebp - 0x41c4]
mov dword [ebp - 0x40f8], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x40f8]
mov dword [ebp - 0x4060], ecx
push 0x435558
lea ecx, [ebp - 0x404c]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 4], 1
push 0x43555c
lea ecx, [ebp - 0x40a0]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 2
push 0x435560
lea ecx, [ebp - 0x4050]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 3
push 0x435564
lea ecx, [ebp - 0x408c]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40bc]
call fcn.0041e2ae
mov byte [ebp - 4], 5
push 0xa
lea ecx, [ebp - 0x4088]
call sub.MFC42.DLL_CStringList::CStringList
mov byte [ebp - 4], 6
mov byte [ebp - 0x406c], 1
mov dword [ebp - 0x4058], 0
mov dword [ebp - 0x4054], 0
mov dword [ebp - 0x4064], 0
push 0x435568
lea ecx, [ebp - 0x405c]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 7
push 0x43556c
lea ecx, [ebp - 0x4098]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 8
push 3
lea edx, [ebp - 0x4094]
push edx
mov ecx, dword [ebp - 0x41c0]
add ecx, 0x84f8
call sub.MFC42.DLL_CString::Left
mov byte [ebp - 4], 9
push 0x42a30c
lea ecx, [ebp - 0x4094]
call fcn.0041e2a8
lea ecx, [ebp - 0x4048]
call fcn.0040cff0
mov byte [ebp - 4], 0xa
mov eax, 1
test eax, eax
je 0x40f383
mov ecx, dword [ebp - 0x41c0]
cmp dword [ecx + 0x84f0], 3
je 0x40e04a
mov edx, dword [ebp - 0x41c0]
cmp dword [edx + 0x84f0], 1
je 0x40e04a
cmp dword [0x439af0], 0
je 0x40e04f
jmp 0x40f383
mov al, byte [ebp - 0x406c]
mov byte [ebp - 0x409c], al
mov dword [ebp - 0x4054], 0
push 0
mov ecx, dword [ebp - 0x41c0]
mov edx, dword [ecx + 0x84c0]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x40e0a8
mov eax, dword [ebp - 0x409c]
and eax, 0xff
test eax, eax
je 0x40e0a3
mov ecx, dword [ebp - 0x41c0]
add ecx, 0x84b8
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
jmp 0x40f383
mov edx, dword [ebp - 0x41c0]
cmp dword [edx + 0x84b8], 0
jne 0x40e0df
mov eax, dword [ebp - 0x41c0]
mov ecx, dword [eax + 0x84c0]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [ebp - 0x41c0]
mov dword [edx + 0x84f0], 3
jmp 0x40f383
push 0x439a48
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0x41c0]
add ecx, 0x843c
call fcn.00413660
test eax, eax
jne 0x40e252
lea eax, [ebp - 0x4100]
push eax
mov ecx, dword [ebp - 0x41c0]
add ecx, 0x843c
call sub.MFC42.DLL_CStringList::RemoveHead
mov dword [ebp - 0x41c8], eax
mov ecx, dword [ebp - 0x41c8]
mov dword [ebp - 0x41cc], ecx
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x41cc]
push edx
mov ecx, dword [ebp - 0x4060]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x4100]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x4060]
push eax
lea ecx, [ebp - 0x40a0]
call sub.MFC42.DLL_CString::operator_1
push 0x42a324
mov ecx, dword [ebp - 0x4060]
push ecx
lea edx, [ebp - 0x4104]
push edx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x41d0], eax
mov eax, dword [ebp - 0x41d0]
mov dword [ebp - 0x41d4], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x41d4]
push ecx
lea ecx, [ebp - 0x404c]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x4104]
call sub.MFC42.DLL_CString::CString
push 0x42a32c
lea ecx, [ebp - 0x410c]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 0x41d8], eax
mov edx, dword [ebp - 0x41d8]
mov dword [ebp - 0x41dc], edx
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x41dc]
call fcn.0040d320
push eax
lea ecx, [ebp - 0x404c]
call sub.MFC42.DLL_CString::Find_1
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov byte [ebp - 0x4108], cl
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x410c]
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp - 0x4108]
and edx, 0xff
test edx, edx
je 0x40e249
mov ecx, dword [ebp - 0x41c0]
add ecx, 0x84f8
call fcn.0040d320
push eax
lea ecx, [ebp - 0x404c]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
je 0x40e249
mov dword [ebp - 0x4054], 1
mov byte [ebp - 0x406c], 1
jmp 0x40e279
mov byte [ebp - 0x406c], 0
push 0x435570
lea ecx, [ebp - 0x404c]
call sub.MFC42.DLL_CString::operator_2
push 0x439a48
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x40f383
push 0x439a48
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x406c]
and eax, 0xff
mov ecx, dword [ebp - 0x409c]
and ecx, 0xff
cmp eax, ecx
je 0x40e303
mov edx, dword [ebp - 0x406c]
and edx, 0xff
test edx, edx
je 0x40e2c9
mov eax, dword [ebp - 0x41c0]
add eax, 0x84b8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [ebp - 0x41e0], eax
jmp 0x40e2e2
mov ecx, dword [ebp - 0x41c0]
add ecx, 0x84b8
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov dword [ebp - 0x41e0], eax
push 0x435574
lea edx, [ebp - 0x404c]
push edx
call fcn.00406030
and eax, 0xff
test eax, eax
je 0x40e301
jmp 0x40e016
jmp 0x40e317
mov eax, dword [ebp - 0x406c]
and eax, 0xff
test eax, eax
jne 0x40e317
jmp 0x40e016
push 0
lea ecx, [ebp - 0x404c]
call fcn.0040d320
push eax
lea ecx, [ebp - 0x40bc]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x40e503
mov ecx, dword [ebp - 0x41c0]
cmp dword [ecx + 0x84f0], 3
je 0x40e35f
mov edx, dword [ebp - 0x41c0]
cmp dword [edx + 0x84f0], 1
je 0x40e35f
cmp dword [0x439af0], 0
je 0x40e364
jmp 0x40e503
lea ecx, [ebp - 0x40bc]
call sub.MFC42.DLL_CFileFind::FindNextFileA
mov dword [ebp - 0x4068], eax
lea eax, [ebp - 0x4110]
push eax
lea ecx, [ebp - 0x40bc]
call sub.MFC42.DLL_CFileFind::GetFilePath
mov dword [ebp - 0x41e4], eax
mov ecx, dword [ebp - 0x41e4]
mov dword [ebp - 0x41e8], ecx
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x41e8]
push edx
lea ecx, [ebp - 0x408c]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x4110]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x40bc]
call fcn.00405ff0
test eax, eax
je 0x40e4e4
lea ecx, [ebp - 0x40bc]
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
je 0x40e3e5
jmp 0x40e4f6
push 0x42a338
lea ecx, [ebp - 0x408c]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
je 0x40e3ff
jmp 0x40e4f6
fld dword [0x439ad4]
fcomp dword [0x421658]
fnstsw ax
test ah, 1
jne 0x40e433
lea ecx, [ebp - 0x4094]
call fcn.0040d320
push eax
lea ecx, [ebp - 0x408c]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
je 0x40e433
jmp 0x40e4f6
push 0x439a48
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x408c]
push eax
mov ecx, dword [ebp - 0x41c0]
add ecx, 0x843c
call sub.MFC42.DLL_CStringList::AddTail
push 0x42a35c
lea ecx, [ebp - 0x4118]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 0x41ec], eax
mov ecx, dword [ebp - 0x41ec]
mov dword [ebp - 0x41f0], ecx
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x41f0]
call fcn.0040d320
push eax
lea ecx, [ebp - 0x408c]
call sub.MFC42.DLL_CString::Find_1
xor edx, edx
cmp eax, 0xffffffff
setne dl
mov byte [ebp - 0x4114], dl
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x4118]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x4114]
and eax, 0xff
test eax, eax
je 0x40e4d7
lea ecx, [ebp - 0x408c]
push ecx
mov ecx, dword [ebp - 0x41c0]
add ecx, 0x8474
call sub.MFC42.DLL_CStringList::AddHead
push 0x439a48
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x40e4f6
lea edx, [ebp - 0x408c]
push edx
lea ecx, [ebp - 0x4088]
call sub.MFC42.DLL_CStringList::AddTail
cmp dword [ebp - 0x4068], 0
jne 0x40e338
lea ecx, [ebp - 0x4088]
call fcn.00413660
test eax, eax
jne 0x40f324
mov dword [ebp - 0x4058], 0
mov eax, dword [ebp - 0x41c0]
cmp dword [eax + 0x84f0], 3
je 0x40e547
mov ecx, dword [ebp - 0x41c0]
cmp dword [ecx + 0x84f0], 1
je 0x40e547
cmp dword [0x439af0], 0
je 0x40e54c
jmp 0x40f324
lea edx, [ebp - 0x411c]
push edx
lea ecx, [ebp - 0x4088]
call sub.MFC42.DLL_CStringList::RemoveHead
mov dword [ebp - 0x41f4], eax
mov eax, dword [ebp - 0x41f4]
mov dword [ebp - 0x41f8], eax
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x41f8]
push ecx
lea ecx, [ebp - 0x408c]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x411c]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x4048]
call fcn.0040ce30
lea ecx, [ebp - 0x408c]
call fcn.0040d320
push eax
lea edx, [ebp - 0x3828]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
mov eax, dword [ebp - 0x41c0]
add eax, 0x84f8
push ecx
mov ecx, esp
mov dword [ebp - 0x4120], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x41fc], eax
mov ecx, dword [ebp - 0x41fc]
mov dword [ebp - 0x4200], ecx
mov byte [ebp - 4], 0x11
push ecx
mov ecx, esp
mov dword [ebp - 0x4124], esp
lea edx, [ebp - 0x408c]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x4204], eax
mov byte [ebp - 4], 0xa
call fcn.00414d12
add esp, 8
mov dword [ebp - 0x4208], eax
cmp dword [ebp - 0x4208], 0
je 0x40e6ea
mov eax, dword [ebp - 0x41c0]
cmp dword [eax + 0x2558], 0
jne 0x40e68f
mov dword [ebp - 0x40c0], 1
lea ecx, [ebp - 0x40c0]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x4128], esp
lea edx, [ebp - 0x408c]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x420c], eax
call fcn.00416216
add esp, 8
mov dword [ebp - 0x4210], eax
cmp dword [ebp - 0x4210], 4
jne 0x40e68f
push 1
lea ecx, [ebp - 0x408c]
call fcn.0040d320
push eax
call fcn.004075d4
jmp 0x40e503
push ecx
mov ecx, esp
mov dword [ebp - 0x412c], esp
push 0x435578
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 0x4214], eax
mov eax, dword [ebp - 0x4214]
mov dword [ebp - 0x4218], eax
mov byte [ebp - 4], 0x12
push 2
push ecx
mov ecx, esp
mov dword [ebp - 0x4130], esp
lea edx, [ebp - 0x408c]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x421c], eax
lea eax, [ebp - 0x4048]
push eax
mov byte [ebp - 4], 0xa
call fcn.004155df
add esp, 0x10
jmp 0x40e70f
push 0x439a48
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x439ae4]
add ecx, 1
mov dword [0x439ae4], ecx
push 0x439a48
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [ebp - 0x41c0]
cmp dword [edx + 0x84cc], 0
jne 0x40e8c8
push ecx
mov ecx, esp
mov dword [ebp - 0x4134], esp
lea eax, [ebp - 0x408c]
push eax
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x4220], eax
mov ecx, dword [ebp - 0x41c0]
call fcn.004126e8
mov dword [ebp - 0x4224], eax
cmp dword [ebp - 0x4224], 0
jne 0x40e8c8
push 0x42a364
lea ecx, [ebp - 0x413c]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 0x4228], eax
mov ecx, dword [ebp - 0x4228]
mov dword [ebp - 0x422c], ecx
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x422c]
call fcn.0040d320
push eax
lea ecx, [ebp - 0x408c]
call sub.MFC42.DLL_CString::Find_1
xor edx, edx
cmp eax, 0xffffffff
sete dl
mov byte [ebp - 0x4138], dl
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x413c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x4138]
and eax, 0xff
test eax, eax
je 0x40e8c8
push 0x42a36c
lea ecx, [ebp - 0x4144]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 0x4230], eax
mov ecx, dword [ebp - 0x4230]
mov dword [ebp - 0x4234], ecx
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x4234]
call fcn.0040d320
push eax
lea ecx, [ebp - 0x408c]
call sub.MFC42.DLL_CString::Find_1
xor edx, edx
cmp eax, 0xffffffff
sete dl
mov byte [ebp - 0x4140], dl
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x4144]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x4140]
and eax, 0xff
test eax, eax
je 0x40e8c8
push 0x42a374
lea ecx, [ebp - 0x414c]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 0x4238], eax
mov ecx, dword [ebp - 0x4238]
mov dword [ebp - 0x423c], ecx
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x423c]
call fcn.0040d320
push eax
lea ecx, [ebp - 0x408c]
call sub.MFC42.DLL_CString::Find_1
xor edx, edx
cmp eax, 0xffffffff
setne dl
mov byte [ebp - 0x4148], dl
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x414c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x4148]
and eax, 0xff
test eax, eax
je 0x40e8c3
push 1
lea ecx, [ebp - 0x408c]
call fcn.0040d320
push eax
call fcn.004075d4
lea ecx, [ebp - 0x408c]
call fcn.0040d320
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x40e503
push 0x42a380
lea ecx, [ebp - 0x408c]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
jne 0x40e8f7
push 0x42a384
lea ecx, [ebp - 0x408c]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
jne 0x40e8f7
jmp 0x40e503
mov ecx, dword [ebp - 0x41c0]
mov edx, dword [ecx + 0x2258]
mov dword [ebp - 0x14], edx
mov eax, dword [0x439ae4]
mov dword [ebp - 0x18], eax
mov ecx, dword [0x42a5e8]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], 9
push 0
lea edx, [ebp - 0x4048]
push edx
mov eax, dword [ebp - 0x41c0]
mov ecx, dword [eax + 0x2250]
push ecx
mov edx, dword [ebp - 0x41c0]
call dword [edx + 0x43fc]
mov eax, dword [ebp - 0x41c0]
cmp dword [eax + 0x84c8], 0
je 0x40e995
lea ecx, [ebp - 0x40a0]
push ecx
lea edx, [ebp - 0x4088]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x4150], esp
lea eax, [ebp - 0x408c]
push eax
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x4240], eax
mov ecx, dword [ebp - 0x41c0]
call fcn.00411699
mov dword [ebp - 0x4244], eax
mov ecx, dword [ebp - 0x4244]
mov dword [ebp - 0x4058], ecx
cmp dword [ebp - 0x4058], 0
jne 0x40f225
mov edx, dword [ebp - 0x41c0]
cmp dword [edx + 0x84c4], 0
je 0x40f225
push ecx
mov ecx, esp
mov dword [ebp - 0x4154], esp
lea eax, [ebp - 0x408c]
push eax
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x4248], eax
mov ecx, dword [ebp - 0x41c0]
call fcn.0040dc00
mov dword [ebp - 0x424c], eax
cmp dword [ebp - 0x424c], 0
jne 0x40f0f9
push 0x43557c
lea ecx, [ebp - 0x40d8]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x40e8], 0
push 0x42a388
lea ecx, [ebp - 0x408c]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
je 0x40eaf5
lea ecx, [ebp - 0x4050]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x4158], esp
push 0x42a390
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 0x4250], eax
mov edx, dword [ebp - 0x4250]
mov dword [ebp - 0x4254], edx
mov byte [ebp - 4], 0x17
push ecx
mov ecx, esp
mov dword [ebp - 0x415c], esp
lea eax, [ebp - 0x408c]
push eax
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x4258], eax
lea ecx, [ebp - 0x4160]
push ecx
mov ecx, dword [ebp - 0x41c0]
mov byte [ebp - 4], 0x16
call fcn.0041121d
mov dword [ebp - 0x425c], eax
mov edx, dword [ebp - 0x425c]
mov dword [ebp - 0x4260], edx
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0x4260]
push eax
lea ecx, [ebp - 0x40d8]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x4160]
call sub.MFC42.DLL_CString::CString
push 0x439a48
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [ebp - 0x40d8]
push ecx
mov ecx, dword [ebp - 0x41c0]
add ecx, 0x843c
call sub.MFC42.DLL_CStringList::AddHead
push 0x439a48
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x40e8], 1
push 0x42a398
lea ecx, [ebp - 0x408c]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
je 0x40eba6
lea edx, [ebp - 0x4050]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x4164], esp
push 0x42a3a0
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 0x4264], eax
mov eax, dword [ebp - 0x4264]
mov dword [ebp - 0x4268], eax
mov byte [ebp - 4], 0x19
push ecx
mov ecx, esp
mov dword [ebp - 0x4168], esp
lea edx, [ebp - 0x408c]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x426c], eax
lea eax, [ebp - 0x416c]
push eax
mov ecx, dword [ebp - 0x41c0]
mov byte [ebp - 4], 0x16
call fcn.0041121d
mov dword [ebp - 0x4270], eax
mov ecx, dword [ebp - 0x4270]
mov dword [ebp - 0x4274], ecx
mov byte [ebp - 4], 0x1a
mov edx, dword [ebp - 0x4274]
push edx
lea ecx, [ebp - 0x40d8]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x416c]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x40c8], 0
mov dword [ebp - 0x40c4], 0
mov dword [ebp - 0x40e4], 0
xor eax, eax
mov dword [ebp - 0x40e0], eax
mov dword [ebp - 0x40dc], eax
mov dword [ebp - 0x40d4], 0
mov dword [ebp - 0x40d0], 0
mov dword [ebp - 0x40ec], 0
mov dword [ebp - 0x40ec], 0
jmp 0x40ec0b
mov ecx, dword [ebp - 0x40ec]
add ecx, 1
mov dword [ebp - 0x40ec], ecx
mov edx, dword [ebp - 0x41c0]
mov eax, dword [ebp - 0x40ec]
cmp eax, dword [edx + 0x84b4]
jge 0x40f0d8
mov ecx, dword [ebp - 0x40ec]
imul ecx, ecx, 0x2280
mov edx, dword [0x437854]
cmp dword [edx + ecx + 8], 1
jne 0x40f0cb
mov eax, dword [ebp - 0x40ec]
imul eax, eax, 0x2280
mov ecx, dword [0x437854]
cmp dword [ecx + eax], 0
je 0x40f0cb
push ecx
mov ecx, esp
mov dword [ebp - 0x4170], esp
lea edx, [ebp - 0x408c]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x4278], eax
mov ecx, dword [ebp - 0x41c0]
call fcn.0040dad4
mov dword [ebp - 0x427c], eax
cmp dword [ebp - 0x427c], 0
je 0x40ecc0
mov eax, dword [ebp - 0x40ec]
imul eax, eax, 0x2280
mov ecx, dword [0x437854]
mov edx, dword [ecx + eax + 0x10]
add edx, 1
mov eax, dword [ebp - 0x40ec]
imul eax, eax, 0x2280
mov ecx, dword [0x437854]
mov dword [ecx + eax + 0x10], edx
mov edx, dword [ebp - 0x40ec]
imul edx, edx, 0x2280
mov eax, dword [0x437854]
mov ecx, dword [eax + edx + 0xc]
add ecx, 1
mov edx, dword [ebp - 0x40ec]
imul edx, edx, 0x2280
mov eax, dword [0x437854]
mov dword [eax + edx + 0xc], ecx
mov ecx, dword [ebp - 0x40ec]
imul ecx, ecx, 0x2280
mov edx, dword [0x437854]
mov dword [edx + ecx + 8], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x40ec]
imul ecx, ecx, 0x2280
mov edx, dword [0x437854]
mov dword [edx + ecx + 0x14], eax
mov eax, dword [ebp - 0x40ec]
imul eax, eax, 0x2280
mov ecx, dword [0x437854]
mov edx, dword [ecx + eax]
mov dword [ebp - 0x40c4], edx
cmp dword [ebp - 0x40e8], 0
je 0x40eefc
push ecx
mov ecx, esp
mov dword [ebp - 0x4174], esp
lea eax, [ebp - 0x40d8]
push eax
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x4280], eax
mov ecx, dword [ebp - 0x4280]
mov dword [ebp - 0x4284], ecx
mov byte [ebp - 4], 0x1b
push ecx
mov ecx, esp
mov dword [ebp - 0x4178], esp
lea edx, [ebp - 0x408c]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x4288], eax
mov eax, dword [ebp - 0x40ec]
imul eax, eax, 0x2280
mov ecx, dword [0x437854]
lea ecx, [ecx + eax + 0x34]
mov byte [ebp - 4], 0x16
call fcn.0041deaf
push 2
mov edx, dword [ebp - 0x40ec]
push edx
lea eax, [ebp - 0x40e4]
push eax
call fcn.00417d56
add esp, 0xc
push 2
mov ecx, dword [ebp - 0x40ec]
push ecx
push 0x505
mov edx, dword [ebp - 0x40c4]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x40cc], eax
cmp dword [ebp - 0x40cc], 0x578
jne 0x40eee5
mov eax, dword [ebp - 0x40d4]
add eax, 1
mov dword [ebp - 0x40d4], eax
mov ecx, dword [ebp - 0x41c0]
mov edx, dword [ebp - 0x40d4]
cmp edx, dword [ecx + 0x84b4]
jne 0x40ee3b
mov dword [ebp - 0x40d4], 0
mov dword [ebp - 0x40c8], 1
jmp 0x40f0d8
lea ecx, [ebp - 0x40f0]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 0x1c
mov eax, dword [ebp - 0x40ec]
push eax
push 0x42a3a8
lea ecx, [ebp - 0x417c]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 0x428c], eax
mov ecx, dword [ebp - 0x428c]
mov dword [ebp - 0x4290], ecx
mov byte [ebp - 4], 0x1d
mov edx, dword [ebp - 0x4290]
mov eax, dword [edx]
push eax
push 0x42a3bc
lea ecx, [ebp - 0x40f0]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x417c]
call sub.MFC42.DLL_CString::CString
push ecx
mov ecx, esp
mov dword [ebp - 0x4180], esp
lea edx, [ebp - 0x40f0]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x4294], eax
call fcn.00402e43
add esp, 4
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x40f0]
call sub.MFC42.DLL_CString::CString
jmp 0x40ebfc
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x40c8], 1
jmp 0x40f0d8
push ecx
mov ecx, esp
mov dword [ebp - 0x4184], esp
lea eax, [ebp - 0x40d8]
push eax
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x4298], eax
mov ecx, dword [ebp - 0x4298]
mov dword [ebp - 0x429c], ecx
mov byte [ebp - 4], 0x1e
push ecx
mov ecx, esp
mov dword [ebp - 0x4188], esp
lea edx, [ebp - 0x408c]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x42a0], eax
mov eax, dword [ebp - 0x40ec]
imul eax, eax, 0x2280
mov ecx, dword [0x437854]
lea ecx, [ecx + eax + 0x34]
mov byte [ebp - 4], 0x16
call fcn.0041deaf
push 1
mov edx, dword [ebp - 0x40ec]
push edx
lea eax, [ebp - 0x40e4]
push eax
call fcn.00417d56
add esp, 0xc
push 0x42a3c4
mov ecx, dword [ebp - 0x40ec]
imul ecx, ecx, 0x2280
mov edx, dword [0x437854]
lea ecx, [edx + ecx + 0x2c]
call sub.MFC42.DLL_CString::operator_2
push 1
mov eax, dword [ebp - 0x40ec]
push eax
push 0x505
mov ecx, dword [ebp - 0x40c4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x40cc], eax
cmp dword [ebp - 0x40cc], 0x578
jne 0x40f0bf
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 0x40ec]
imul edx, edx, 0x2280
mov eax, dword [0x437854]
lea ecx, [eax + edx + 0x2c]
call fcn.0040d320
push eax
lea ecx, [ebp - 0x408c]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
jne 0x40f0bf
mov ecx, dword [ebp - 0x40d0]
add ecx, 1
mov dword [ebp - 0x40d0], ecx
mov edx, dword [ebp - 0x41c0]
mov eax, dword [ebp - 0x40d0]
cmp eax, dword [edx + 0x84b4]
jne 0x40f043
mov dword [ebp - 0x40d0], 0
mov dword [ebp - 0x40c8], 1
jmp 0x40f0d8
lea ecx, [ebp - 0x40f4]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x40ec]
push ecx
push str.FileMemForControl
lea ecx, [ebp - 0x418c]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 0x42a4], eax
mov edx, dword [ebp - 0x42a4]
mov dword [ebp - 0x42a8], edx
mov byte [ebp - 4], 0x20
mov eax, dword [ebp - 0x42a8]
mov ecx, dword [eax]
push ecx
push 0x42a3dc
lea edx, [ebp - 0x40f4]
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x418c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x40f4]
call sub.MFC42.DLL_CString::CString
jmp 0x40ebfc
mov dword [ebp - 0x40c8], 1
jmp 0x40f0d8
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40ebfc
cmp dword [ebp - 0x40c8], 0
je 0x40ebf0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x40d8]
call sub.MFC42.DLL_CString::CString
jmp 0x40f225
mov eax, dword [ebp - 0x41c0]
cmp dword [eax + 0x2560], 0
je 0x40f1ba
mov dword [ebp - 0x4190], 1
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x4048]
call fcn.0040d020
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x4094]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x4098]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x405c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4088]
call fcn.0041e290
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40bc]
call sub.MFC42.DLL_CFileFind::CFileFind
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x408c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4050]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40a0]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x404c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x4190]
jmp 0x40f48d
lea ecx, [ebp - 0x4088]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x4194], esp
lea edx, [ebp - 0x408c]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x42ac], eax
lea eax, [ebp - 0x4198]
push eax
mov ecx, dword [ebp - 0x41c0]
call fcn.00411df6
mov dword [ebp - 0x42b0], eax
mov ecx, dword [ebp - 0x42b0]
mov dword [ebp - 0x42b4], ecx
mov byte [ebp - 4], 0x21
mov edx, dword [ebp - 0x42b4]
push edx
lea ecx, [ebp - 0x40a0]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x4198]
call sub.MFC42.DLL_CString::CString
push 0x42a3e4
lea ecx, [ebp - 0x41a0]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 0x42b8], eax
mov eax, dword [ebp - 0x42b8]
mov dword [ebp - 0x42bc], eax
mov byte [ebp - 4], 0x22
mov ecx, dword [ebp - 0x42bc]
call fcn.0040d320
push eax
lea ecx, [ebp - 0x408c]
call sub.MFC42.DLL_CString::Find_1
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov byte [ebp - 0x419c], cl
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x41a0]
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp - 0x419c]
and edx, 0xff
test edx, edx
je 0x40f2a2
push 1
lea ecx, [ebp - 0x408c]
call fcn.0040d320
push eax
call fcn.004075d4
push 0x42a3f0
lea ecx, [ebp - 0x41a8]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 0x42c0], eax
mov eax, dword [ebp - 0x42c0]
mov dword [ebp - 0x42c4], eax
mov byte [ebp - 4], 0x23
mov ecx, dword [ebp - 0x42c4]
call fcn.0040d320
push eax
lea ecx, [ebp - 0x4050]
call sub.MFC42.DLL_CString::Find_1
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov byte [ebp - 0x41a4], cl
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x41a8]
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp - 0x41a4]
and edx, 0xff
test edx, edx
je 0x40f31f
push 1
lea ecx, [ebp - 0x4050]
call fcn.0040d320
push eax
call fcn.004075d4
jmp 0x40e503
push 0x42a3fc
lea ecx, [ebp - 0x41b0]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 0x42c8], eax
mov eax, dword [ebp - 0x42c8]
mov dword [ebp - 0x42cc], eax
mov byte [ebp - 4], 0x24
mov ecx, dword [ebp - 0x42cc]
call fcn.0040d320
push eax
lea ecx, [ebp - 0x40a0]
call sub.MFC42.DLL_CString::Find_1
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov byte [ebp - 0x41ac], cl
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x41b0]
call sub.MFC42.DLL_CString::CString
jmp 0x40e016
mov eax, dword [ebp - 0x4060]
mov dword [ebp - 0x41b8], eax
mov ecx, dword [ebp - 0x41b8]
mov dword [ebp - 0x41b4], ecx
cmp dword [ebp - 0x41b4], 0
je 0x40f3b9
push 1
mov ecx, dword [ebp - 0x41b4]
call fcn.00413680
mov dword [ebp - 0x42d0], eax
jmp 0x40f3c3
mov dword [ebp - 0x42d0], 0
lea ecx, [ebp - 0x40bc]
call sub.MFC42.DLL_CFileFind::Close
cmp dword [0x439a4c], 0xffffffff
jge 0x40f3e2
push 0x439a48
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [ebp - 0x4090]
mov dword [ebp - 0x41bc], edx
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x4048]
call fcn.0040d020
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x4094]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x4098]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x405c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4088]
call fcn.0041e290
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40bc]
call sub.MFC42.DLL_CFileFind::CFileFind
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x408c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4050]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40a0]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x404c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x41bc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret