Function at 0x4051b0
Capabilities:
Contain obfuscated stackstrings
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x406a09
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
push esi
mov esi, dword [esp + 0x9c]
push edi
mov edi, ecx
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.004048b0
lea ecx, [esp + 0x18]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0x98], ebx
call fcn.004048d0
lea edx, [esp + 0x20]
mov ecx, esi
push edx
mov byte [esp + 0x98], 1
call fcn.004048f0
lea esi, [edi + 0x38]
mov edi, dword [esp + 0x9c]
push edi
lea eax, [esp + 0x44]
push esi
push eax
mov byte [esp + 0xa0], 2
call sub.MFC42.DLL_operator_1
push 0x408f84
lea ecx, [esp + 0x40]
push eax
push ecx
mov byte [esp + 0xa0], 3
call sub.MFC42.DLL_operator
lea edx, [esp + 0x10]
mov byte [esp + 0x94], 4
push edx
push eax
lea eax, [esp + 0x40]
push eax
call sub.MFC42.DLL_operator_1
push 0x408f84
lea ecx, [esp + 0x38]
push eax
push ecx
mov byte [esp + 0xa0], 5
call sub.MFC42.DLL_operator
lea edx, [esp + 0x18]
mov byte [esp + 0x94], 6
push edx
push eax
lea eax, [esp + 0x38]
push eax
call sub.MFC42.DLL_operator_1
push 0x408f84
lea ecx, [esp + 0x30]
push eax
push ecx
mov byte [esp + 0xa0], 7
call sub.MFC42.DLL_operator
lea edx, [esp + 0x20]
mov byte [esp + 0x94], 8
push edx
push eax
lea eax, [esp + 0x30]
push eax
call sub.MFC42.DLL_operator_1
push str..def
mov byte [esp + 0x98], 9
push eax
lea ecx, [esp + 0x2c]
push ecx
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x28]
mov byte [esp + 0x94], 0x11
call fcn.00401412
lea ecx, [esp + 0x2c]
mov byte [esp + 0x94], 0x10
call fcn.00401412
lea ecx, [esp + 0x30]
mov byte [esp + 0x94], 0xf
call fcn.00401412
lea ecx, [esp + 0x34]
mov byte [esp + 0x94], 0xe
call fcn.00401412
lea ecx, [esp + 0x38]
mov byte [esp + 0x94], 0xd
call fcn.00401412
lea ecx, [esp + 0x3c]
mov byte [esp + 0x94], 0xc
call fcn.00401412
lea ecx, [esp + 0x40]
mov byte [esp + 0x94], 0xb
call fcn.00401412
push edi
lea edx, [esp + 0x58]
push esi
push edx
call sub.MFC42.DLL_operator_1
push 0x408f84
push eax
lea eax, [esp + 0x58]
mov byte [esp + 0x9c], 0x12
push eax
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x10]
lea edx, [esp + 0x4c]
push ecx
push eax
push edx
mov byte [esp + 0xa0], 0x13
call sub.MFC42.DLL_operator_1
push 0x408f84
push eax
lea eax, [esp + 0x50]
mov byte [esp + 0x9c], 0x14
push eax
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x18]
lea edx, [esp + 0x44]
push ecx
push eax
push edx
mov byte [esp + 0xa0], 0x15
call sub.MFC42.DLL_operator_1
push str..def
push eax
lea eax, [esp + 0x24]
mov byte [esp + 0x9c], 0x16
push eax
call sub.MFC42.DLL_operator
mov byte [esp + 0x94], 0x1c
lea ecx, [esp + 0x44]
call fcn.00401412
lea ecx, [esp + 0x48]
mov byte [esp + 0x94], 0x1b
call fcn.00401412
lea ecx, [esp + 0x4c]
mov byte [esp + 0x94], 0x1a
call fcn.00401412
lea ecx, [esp + 0x50]
mov byte [esp + 0x94], 0x19
call fcn.00401412
lea ecx, [esp + 0x54]
mov byte [esp + 0x94], 0x18
call fcn.00401412
push edi
lea ecx, [esp + 0x64]
push esi
push ecx
call sub.MFC42.DLL_operator_1
push 0x408f84
lea edx, [esp + 0x60]
push eax
push edx
mov byte [esp + 0xa0], 0x1d
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x10]
lea edx, [esp + 0x58]
push ecx
push eax
push edx
mov byte [esp + 0xa0], 0x1e
call sub.MFC42.DLL_operator_1
push str..def
push eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x9c], 0x1f
push eax
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x58]
mov byte [esp + 0x94], 0x23
call fcn.00401412
lea ecx, [esp + 0x5c]
mov byte [esp + 0x94], 0x22
call fcn.00401412
lea ecx, [esp + 0x60]
mov byte [esp + 0x94], 0x21
call fcn.00401412
push edi
lea ecx, [esp + 0x68]
push esi
push ecx
call sub.MFC42.DLL_operator_1
push str..def
lea edx, [esp + 0x10]
push eax
push edx
mov byte [esp + 0xa0], 0x24
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x64]
mov byte [esp + 0x94], 0x26
call fcn.00401412
lea ecx, [esp + 0x70]
call fcn.0040647a
mov eax, dword [esp + 0x20]
mov byte [esp + 0x94], 0x27
cmp dword [eax - 8], ebx
je 0x4056d8
mov ecx, dword [esp + 0x24]
push ebx
push ecx
lea ecx, [esp + 0x78]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x40554c
lea ecx, [esp + 0x70]
call sub.MFC42.DLL_CFileFind::FindNextFileA
lea edx, [esp + 0x68]
lea ecx, [esp + 0x70]
push edx
call sub.MFC42.DLL_CFileFind::GetFileTitle
mov ecx, dword [esp + 0xa4]
push eax
mov byte [esp + 0x98], 0x28
call sub.MFC42.DLL_CString::operator_1
mov byte [esp + 0x94], 0x27
lea ecx, [esp + 0x68]
jmp 0x405a04
mov eax, dword [esp + 0x1c]
push ebx
push eax
lea ecx, [esp + 0x78]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x405634
lea ecx, [esp + 0x70]
call sub.MFC42.DLL_CFileFind::FindNextFileA
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x74]
call sub.MFC42.DLL_CFileFind::GetFileTitle
mov ecx, dword [esp + 0xa4]
push eax
mov byte [esp + 0x98], 0x29
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x68]
mov byte [esp + 0x94], 0x27
call fcn.00401412
lea ecx, [esp + 0x70]
mov byte [esp + 0x94], 0x26
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [esp + 0xc]
mov byte [esp + 0x94], 0x21
call fcn.00401412
lea ecx, [esp + 0x14]
mov byte [esp + 0x94], 0x18
call fcn.00401412
lea ecx, [esp + 0x1c]
mov byte [esp + 0x94], 0xb
call fcn.00401412
lea ecx, [esp + 0x24]
mov byte [esp + 0x94], 2
call fcn.00401412
lea ecx, [esp + 0x20]
mov byte [esp + 0x94], 1
call fcn.00401412
lea ecx, [esp + 0x18]
mov byte [esp + 0x94], bl
call fcn.00401412
lea ecx, [esp + 0x10]
mov dword [esp + 0x94], 0xffffffff
call fcn.00401412
mov eax, 0xfffffc1c
jmp 0x405b29
mov edx, dword [esp + 0x14]
push ebx
push edx
lea ecx, [esp + 0x78]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x405684
lea ecx, [esp + 0x70]
call sub.MFC42.DLL_CFileFind::FindNextFileA
lea eax, [esp + 0x68]
lea ecx, [esp + 0x70]
push eax
call sub.MFC42.DLL_CFileFind::GetFileTitle
mov ecx, dword [esp + 0xa4]
push eax
mov byte [esp + 0x98], 0x2a
call sub.MFC42.DLL_CString::operator_1
mov byte [esp + 0x94], 0x27
lea ecx, [esp + 0x68]
jmp 0x405784
mov ecx, dword [esp + 0xc]
push ebx
push ecx
lea ecx, [esp + 0x78]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x405a9a
lea ecx, [esp + 0x70]
call sub.MFC42.DLL_CFileFind::FindNextFileA
lea edx, [esp + 0x68]
lea ecx, [esp + 0x70]
push edx
call sub.MFC42.DLL_CFileFind::GetFileTitle
mov ecx, dword [esp + 0xa4]
push eax
mov byte [esp + 0x98], 0x2b
call sub.MFC42.DLL_CString::operator_1
mov byte [esp + 0x94], 0x27
lea ecx, [esp + 0x68]
jmp 0x40591d
mov eax, dword [esp + 0x18]
cmp dword [eax - 8], ebx
je 0x405871
mov ecx, dword [esp + 0x1c]
push ebx
push ecx
lea ecx, [esp + 0x78]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x405735
lea ecx, [esp + 0x70]
call sub.MFC42.DLL_CFileFind::FindNextFileA
lea edx, [esp + 0x68]
lea ecx, [esp + 0x70]
push edx
call sub.MFC42.DLL_CFileFind::GetFileTitle
mov ecx, dword [esp + 0xa4]
push eax
mov byte [esp + 0x98], 0x2c
call sub.MFC42.DLL_CString::operator_1
mov byte [esp + 0x94], 0x27
lea ecx, [esp + 0x68]
jmp 0x405a04
mov eax, dword [esp + 0x14]
push ebx
push eax
lea ecx, [esp + 0x78]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x40581d
lea ecx, [esp + 0x70]
call sub.MFC42.DLL_CFileFind::FindNextFileA
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x74]
call sub.MFC42.DLL_CFileFind::GetFileTitle
mov ecx, dword [esp + 0xa4]
push eax
mov byte [esp + 0x98], 0x2d
call sub.MFC42.DLL_CString::operator_1
mov byte [esp + 0x94], 0x27
lea ecx, [esp + 0x68]
call fcn.00401412
lea ecx, [esp + 0x70]
mov byte [esp + 0x94], 0x26
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [esp + 0xc]
mov byte [esp + 0x94], 0x21
call fcn.00401412
lea ecx, [esp + 0x14]
mov byte [esp + 0x94], 0x18
call fcn.00401412
lea ecx, [esp + 0x1c]
mov byte [esp + 0x94], 0xb
call fcn.00401412
lea ecx, [esp + 0x24]
mov byte [esp + 0x94], 2
call fcn.00401412
lea ecx, [esp + 0x20]
mov byte [esp + 0x94], 1
call fcn.00401412
lea ecx, [esp + 0x18]
mov byte [esp + 0x94], bl
call fcn.00401412
lea ecx, [esp + 0x10]
mov dword [esp + 0x94], 0xffffffff
call fcn.00401412
mov eax, 0xfffffc1b
jmp 0x405b29
mov edx, dword [esp + 0xc]
push ebx
push edx
lea ecx, [esp + 0x78]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x405a9a
lea ecx, [esp + 0x70]
call sub.MFC42.DLL_CFileFind::FindNextFileA
lea eax, [esp + 0x68]
lea ecx, [esp + 0x70]
push eax
call sub.MFC42.DLL_CFileFind::GetFileTitle
mov ecx, dword [esp + 0xa4]
push eax
mov byte [esp + 0x98], 0x2e
call sub.MFC42.DLL_CString::operator_1
mov byte [esp + 0x94], 0x27
lea ecx, [esp + 0x68]
jmp 0x40591d
mov ecx, dword [esp + 0x10]
push ebx
cmp dword [ecx - 8], ebx
je 0x4059b6
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x74]
push edx
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x4058ce
lea ecx, [esp + 0x70]
call sub.MFC42.DLL_CFileFind::FindNextFileA
lea eax, [esp + 0x68]
lea ecx, [esp + 0x70]
push eax
call sub.MFC42.DLL_CFileFind::GetFileTitle
mov ecx, dword [esp + 0xa4]
push eax
mov byte [esp + 0x98], 0x2f
call sub.MFC42.DLL_CString::operator_1
mov byte [esp + 0x94], 0x27
lea ecx, [esp + 0x68]
jmp 0x405a04
mov ecx, dword [esp + 0xc]
push ebx
push ecx
lea ecx, [esp + 0x78]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x405a9a
lea ecx, [esp + 0x70]
call sub.MFC42.DLL_CFileFind::FindNextFileA
lea edx, [esp + 0x68]
lea ecx, [esp + 0x70]
push edx
call sub.MFC42.DLL_CFileFind::GetFileTitle
mov ecx, dword [esp + 0xa4]
push eax
mov byte [esp + 0x98], 0x30
call sub.MFC42.DLL_CString::operator_1
mov byte [esp + 0x94], 0x27
lea ecx, [esp + 0x68]
call fcn.00401412
lea ecx, [esp + 0x70]
mov byte [esp + 0x94], 0x26
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [esp + 0xc]
mov byte [esp + 0x94], 0x21
call fcn.00401412
lea ecx, [esp + 0x14]
mov byte [esp + 0x94], 0x18
call fcn.00401412
lea ecx, [esp + 0x1c]
mov byte [esp + 0x94], 0xb
call fcn.00401412
lea ecx, [esp + 0x24]
mov byte [esp + 0x94], 2
call fcn.00401412
lea ecx, [esp + 0x20]
mov byte [esp + 0x94], 1
call fcn.00401412
lea ecx, [esp + 0x18]
mov byte [esp + 0x94], bl
call fcn.00401412
lea ecx, [esp + 0x10]
mov dword [esp + 0x94], 0xffffffff
call fcn.00401412
mov eax, 0xfffffc1a
jmp 0x405b29
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x74]
push eax
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x405a9a
lea ecx, [esp + 0x70]
call sub.MFC42.DLL_CFileFind::FindNextFileA
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x74]
call sub.MFC42.DLL_CFileFind::GetFileTitle
mov ecx, dword [esp + 0xa4]
push eax
mov byte [esp + 0x98], 0x31
call sub.MFC42.DLL_CString::operator_1
mov byte [esp + 0x94], 0x27
lea ecx, [esp + 0x6c]
call fcn.00401412
lea ecx, [esp + 0x70]
mov byte [esp + 0x94], 0x26
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [esp + 0xc]
mov byte [esp + 0x94], 0x21
call fcn.00401412
lea ecx, [esp + 0x14]
mov byte [esp + 0x94], 0x18
call fcn.00401412
lea ecx, [esp + 0x1c]
mov byte [esp + 0x94], 0xb
call fcn.00401412
lea ecx, [esp + 0x24]
mov byte [esp + 0x94], 2
call fcn.00401412
lea ecx, [esp + 0x20]
mov byte [esp + 0x94], 1
call fcn.00401412
lea ecx, [esp + 0x18]
mov byte [esp + 0x94], bl
call fcn.00401412
lea ecx, [esp + 0x10]
mov dword [esp + 0x94], 0xffffffff
call fcn.00401412
xor eax, eax
jmp 0x405b29
lea ecx, [esp + 0x70]
mov byte [esp + 0x94], 0x26
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [esp + 0xc]
mov byte [esp + 0x94], 0x21
call fcn.00401412
lea ecx, [esp + 0x14]
mov byte [esp + 0x94], 0x18
call fcn.00401412
lea ecx, [esp + 0x1c]
mov byte [esp + 0x94], 0xb
call fcn.00401412
lea ecx, [esp + 0x24]
mov byte [esp + 0x94], 2
call fcn.00401412
lea ecx, [esp + 0x20]
mov byte [esp + 0x94], 1
call fcn.00401412
lea ecx, [esp + 0x18]
mov byte [esp + 0x94], bl
call fcn.00401412
lea ecx, [esp + 0x10]
mov dword [esp + 0x94], 0xffffffff
call fcn.00401412
mov eax, 0xfffffc18
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x8c
ret 0xc