Function at 0x405e20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x436660
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x868
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x58], esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x880], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x880], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x880], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x880], 5
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x20]
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
push ecx
lea eax, [esp + 0x898]
mov ecx, esp
mov dword [esp + 0x6c], esp
push eax
mov byte [esp + 0x894], 6
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00405990
test eax, eax
je 0x4066aa
mov ecx, dword [esp + 0x1c]
mov esi, dword [sym.imp.MSVCRT.dll_atoi]
push ecx
call esi
mov edx, dword [esp + 0x1c]
push edx
call esi
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x28]
push eax
call esi
add esp, 0xc
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CFile::CFile_1
mov ecx, dword [esp + 0x888]
push 0
push ecx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x888], 7
call sub.MFC42.DLL_CFile::CFile
lea ecx, [esp + 0x64]
mov byte [esp + 0x880], 8
call sub.MFC42.DLL_CFile::GetLength
cmp eax, 0xa
jb 0x406688
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x880], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x880], 0xa
call sub.MFC42.DLL_CString::CString
push 0x5c
lea ecx, [esp + 0x88c]
mov byte [esp + 0x884], 0xb
call sub.MFC42.DLL_CString::ReverseFind
mov edx, dword [esp + 0x888]
mov ecx, dword [edx - 8]
sub ecx, eax
lea eax, [esp + 0x14]
dec ecx
push ecx
push eax
lea ecx, [esp + 0x890]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x884], 0xc
call fcn.00434ed8
lea ecx, [esp + 0x14]
mov byte [esp + 0x880], 0xb
call fcn.00434eae
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CFile::GetLength
mov esi, eax
lea ecx, [esi + 1]
push ecx
call dword [sym.imp.MSVCRT.dll_malloc]
mov edx, dword [esp + 0x68]
add esp, 4
mov edi, eax
lea ecx, [esp + 0x64]
push esi
push edi
call dword [edx + 0x3c]
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CFile::Close
push 0x44a294
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [eax]
push eax
mov eax, dword [esp + 0x894]
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
sete bl
call fcn.00434eae
test bl, bl
je 0x4062eb
push 0x44a290
lea ecx, [esp + 0x28]
call fcn.00434ee4
push edi
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x24]
push 0
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x888], 0xd
call sub.MFC42.DLL_CString::Find
test eax, eax
jge 0x406056
mov byte [esp + 0x880], 0xb
lea ecx, [esp + 0x2c]
jmp 0x406650
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x30]
add eax, dword [edx - 8]
sub esi, eax
lea ebp, [edi + eax]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x30]
push eax
push 0x44a28c
push ecx
mov byte [esp + 0x88c], 0xe
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x88c]
lea eax, [esp + 0x3c]
push 0x44a16c
push edx
push eax
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x28]
lea edx, [esp + 0x44]
push ecx
push eax
push edx
mov byte [esp + 0x88c], 0xf
call sub.MFC42.DLL_operator_1
push 0x44a288
push eax
lea eax, [esp + 0x48]
mov byte [esp + 0x888], 0x10
push eax
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x30]
lea edx, [esp + 0x14]
push ecx
push eax
push edx
mov byte [esp + 0x88c], 0x11
call sub.MFC42.DLL_operator_1
push str..txt
push eax
lea eax, [esp + 0x40]
mov bl, 0x12
push eax
mov byte [esp + 0x88c], bl
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x884], 0x13
call fcn.00434ed8
lea ecx, [esp + 0x38]
mov byte [esp + 0x880], bl
call fcn.00434eae
lea ecx, [esp + 0x14]
mov byte [esp + 0x880], 0x11
call fcn.00434eae
lea ecx, [esp + 0x40]
mov byte [esp + 0x880], 0x10
call fcn.00434eae
lea ecx, [esp + 0x44]
mov byte [esp + 0x880], 0xf
call fcn.00434eae
lea ecx, [esp + 0x3c]
mov byte [esp + 0x880], 0xe
call fcn.00434eae
mov ecx, dword [esp + 0x10]
push 0
push 0x1001
push ecx
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x406290
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
lea ecx, [esp + 0x30]
mov byte [esp + 0x880], 0xd
call fcn.00434eae
lea ecx, [esp + 0x2c]
mov byte [esp + 0x880], 0xb
call fcn.00434eae
lea ecx, [esp + 0x34]
mov byte [esp + 0x880], 0xa
call fcn.00434eae
lea ecx, [esp + 0x24]
mov byte [esp + 0x880], 9
call fcn.00434eae
lea ecx, [esp + 0x28]
mov byte [esp + 0x880], 8
call fcn.00434eae
lea ecx, [esp + 0x64]
mov byte [esp + 0x880], 7
call fcn.004350dc
lea ecx, [esp + 0x48]
mov byte [esp + 0x880], 6
call fcn.004350dc
lea ecx, [esp + 0x10]
mov byte [esp + 0x880], 5
call fcn.00434eae
lea ecx, [esp + 0x20]
mov byte [esp + 0x880], 4
call fcn.00434eae
lea ecx, [esp + 0x18]
mov byte [esp + 0x880], 3
call fcn.00434eae
lea ecx, [esp + 0x1c]
mov byte [esp + 0x880], 2
call fcn.00434eae
lea ecx, [esp + 0x888]
mov byte [esp + 0x880], 1
call fcn.00434eae
lea ecx, [esp + 0x88c]
mov byte [esp + 0x880], 0
call fcn.00434eae
lea ecx, [esp + 0x890]
mov dword [esp + 0x880], 0xffffffff
call fcn.00434eae
xor eax, eax
jmp 0x40660e
push esi
push ebp
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CFile::Close
mov edx, dword [esp + 0x58]
mov eax, dword [edx + 0x18c]
lea ecx, [edx + 0x184]
lea edx, [esp + 0x10]
push edx
push eax
call sub.MFC42.DLL_CStringArray::SetAtGrow
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
lea ecx, [esp + 0x30]
mov byte [esp + 0x880], 0xd
call fcn.00434eae
mov byte [esp + 0x880], 0xb
lea ecx, [esp + 0x2c]
jmp 0x40652c
lea ebx, [esi - 3]
xor eax, eax
xor ebp, ebp
test ebx, ebx
mov dword [esp + 0x30], ebp
jle 0x406336
lea edx, [esp + 0x78]
mov cl, byte [eax + edi]
cmp cl, 0x43
je 0x40630b
cmp cl, 0x46
jne 0x40632d
cmp byte [eax + edi + 1], 0x57
jne 0x40632d
cmp byte [eax + edi + 2], 0x53
jne 0x40632d
mov cl, byte [eax + edi + 3]
cmp cl, 9
je 0x406327
cmp cl, 0xa
jne 0x40632d
mov dword [edx], eax
inc ebp
add edx, 4
inc eax
cmp eax, ebx
jl 0x4062fe
mov dword [esp + 0x30], ebp
dec esi
lea ecx, [esp + 0x60]
mov dword [esp + ebp*4 + 0x78], esi
call sub.MFC42.DLL_CString::CString
mov ebx, 1
mov byte [esp + 0x880], 0x14
cmp ebp, ebx
jl 0x406516
lea ecx, [esp + 0x78]
mov dword [esp + 0x2c], ecx
jmp 0x406367
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
mov esi, dword [ecx + 4]
sub esi, eax
lea ebp, [eax + edi]
xor eax, eax
lea ecx, [esi - 0xb]
test ecx, ecx
jle 0x406397
cmp byte [eax + ebp], 0x22
jne 0x40638e
cmp byte [eax + ebp + 0xa], 0x22
jne 0x40638e
cmp byte [eax + ebp + 0xb], 0x3a
je 0x406395
inc eax
cmp eax, ecx
jl 0x40637a
jmp 0x406397
mov esi, eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x14]
mov byte [esp + 0x880], 0x15
lea ecx, [ebx + eax - 1]
push ecx
push 0x44a28c
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x88c]
lea ecx, [esp + 0x5c]
push 0x44a16c
push eax
push ecx
call sub.MFC42.DLL_operator
lea edx, [esp + 0x28]
mov byte [esp + 0x880], 0x16
push edx
push eax
lea eax, [esp + 0x7c]
push eax
call sub.MFC42.DLL_operator_1
push 0x44a288
lea ecx, [esp + 0x44]
push eax
push ecx
mov byte [esp + 0x88c], 0x17
call sub.MFC42.DLL_operator
lea edx, [esp + 0x14]
mov byte [esp + 0x880], 0x18
push edx
push eax
lea eax, [esp + 0x4c]
push eax
call sub.MFC42.DLL_operator_1
push str..swf
lea ecx, [esp + 0x40]
push eax
push ecx
mov byte [esp + 0x88c], 0x19
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x884], 0x1a
call fcn.00434ed8
lea ecx, [esp + 0x3c]
mov byte [esp + 0x880], 0x19
call fcn.00434eae
lea ecx, [esp + 0x44]
mov byte [esp + 0x880], 0x18
call fcn.00434eae
lea ecx, [esp + 0x40]
mov byte [esp + 0x880], 0x17
call fcn.00434eae
lea ecx, [esp + 0x74]
mov byte [esp + 0x880], 0x16
call fcn.00434eae
lea ecx, [esp + 0x5c]
mov byte [esp + 0x880], 0x15
call fcn.00434eae
mov edx, dword [esp + 0x10]
push 0
push 0x1001
push edx
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x406629
push esi
push ebp
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CFile::Close
mov eax, dword [esp + 0x58]
lea edx, [esp + 0x10]
push edx
lea ecx, [eax + 0x184]
mov eax, dword [eax + 0x18c]
push eax
call sub.MFC42.DLL_CStringArray::SetAtGrow
lea ecx, [esp + 0x14]
mov byte [esp + 0x880], 0x14
call fcn.00434eae
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
inc ebx
add ecx, 4
cmp ebx, eax
mov dword [esp + 0x2c], ecx
jle 0x406363
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov byte [esp + 0x880], 0xb
lea ecx, [esp + 0x60]
call fcn.00434eae
lea ecx, [esp + 0x34]
mov byte [esp + 0x880], 0xa
call fcn.00434eae
lea ecx, [esp + 0x24]
mov byte [esp + 0x880], 9
call fcn.00434eae
lea ecx, [esp + 0x28]
mov byte [esp + 0x880], 8
call fcn.00434eae
lea ecx, [esp + 0x64]
mov byte [esp + 0x880], 7
call fcn.004350dc
lea ecx, [esp + 0x48]
mov byte [esp + 0x880], 6
call fcn.004350dc
lea ecx, [esp + 0x10]
mov byte [esp + 0x880], 5
call fcn.00434eae
lea ecx, [esp + 0x20]
mov byte [esp + 0x880], 4
call fcn.00434eae
lea ecx, [esp + 0x18]
mov byte [esp + 0x880], 3
call fcn.00434eae
lea ecx, [esp + 0x1c]
mov byte [esp + 0x880], 2
call fcn.00434eae
lea ecx, [esp + 0x888]
mov byte [esp + 0x880], 1
call fcn.00434eae
lea ecx, [esp + 0x88c]
mov byte [esp + 0x880], 0
call fcn.00434eae
lea ecx, [esp + 0x890]
mov dword [esp + 0x880], 0xffffffff
call fcn.00434eae
mov eax, 1
mov ecx, dword [esp + 0x878]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x874
ret 0xc
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x880], 0x14
call fcn.00434eae
mov byte [esp + 0x880], 0xb
lea ecx, [esp + 0x60]
call fcn.00434eae
lea ecx, [esp + 0x34]
mov byte [esp + 0x880], 0xa
call fcn.00434eae
lea ecx, [esp + 0x24]
mov byte [esp + 0x880], 9
call fcn.00434eae
lea ecx, [esp + 0x28]
mov byte [esp + 0x880], 8
call fcn.00434eae
lea ecx, [esp + 0x64]
mov byte [esp + 0x880], 7
call fcn.004350dc
lea ecx, [esp + 0x48]
mov byte [esp + 0x880], 6
call fcn.004350dc
lea ecx, [esp + 0x10]
mov byte [esp + 0x880], 5
call fcn.00434eae
lea ecx, [esp + 0x20]
mov byte [esp + 0x880], 4
call fcn.00434eae
lea ecx, [esp + 0x18]
mov byte [esp + 0x880], 3
call fcn.00434eae
lea ecx, [esp + 0x1c]
mov byte [esp + 0x880], 2
call fcn.00434eae
lea ecx, [esp + 0x888]
mov byte [esp + 0x880], 1
call fcn.00434eae
lea ecx, [esp + 0x88c]
mov byte [esp + 0x880], 0
call fcn.00434eae
lea ecx, [esp + 0x890]
mov dword [esp + 0x880], 0xffffffff
call fcn.00434eae
xor eax, eax
jmp 0x40660e