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

Disassembly:
push 0xffffffffffffffff
push 0x40b918
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe98
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x2c], ecx
mov edi, 2
push 0x40fd90
lea ecx, [esp + 0x20]
mov dword [esp + 0xeb4], edi
call fcn.004085dc
push 0x40fd90
lea ecx, [esp + 0x28]
mov byte [esp + 0xeb4], 3
call fcn.004085dc
push 0x40fd90
lea ecx, [esp + 0x18]
mov byte [esp + 0xeb4], 4
call fcn.004085dc
push 0x40fd90
lea ecx, [esp + 0x1c]
mov byte [esp + 0xeb4], 5
call fcn.004085dc
mov ebx, 6
xor esi, esi
lea ecx, [esp + 0x20]
mov byte [esp + 0xeb0], bl
mov dword [esp + 0x28], esi
call fcn.004084c2
lea ecx, [esp + 0x10]
mov byte [esp + 0xeb0], 7
call fcn.004084c2
mov dword [esp + 0x98], esi
mov esi, 0xfffffffe
mov edx, 3
mov dword [esp + 0xb0], edi
or ebp, 0xffffffff
mov ecx, 0x5b
xor eax, eax
lea edi, [esp + 0xbc]
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], 1
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb8], ebp
mov byte [esp + 0xeb0], 8
rep stosd dword es:[edi], eax
mov ecx, 0x52
lea edi, [esp + 0x270]
mov dword [esp + 0x228], edx
mov dword [esp + 0x22c], ebx
mov dword [esp + 0x230], edx
mov dword [esp + 0x234], 4
mov dword [esp + 0x238], ebx
mov dword [esp + 0x23c], ebp
mov dword [esp + 0x240], 5
mov dword [esp + 0x244], ebp
mov dword [esp + 0x248], 9
mov dword [esp + 0x24c], eax
mov dword [esp + 0x250], esi
mov dword [esp + 0x254], 0xc
mov dword [esp + 0x258], 1
mov dword [esp + 0x25c], esi
mov dword [esp + 0x260], 0xf
mov dword [esp + 0x264], 2
mov dword [esp + 0x268], esi
mov dword [esp + 0x26c], ebp
rep stosd dword es:[edi], eax
mov dword [esp + 0x3b8], edx
mov dword [esp + 0x3bc], ebx
mov dword [esp + 0x3c0], edx
mov ecx, 0x55
lea edi, [esp + 0x3f4]
mov dword [esp + 0x3c4], 4
mov dword [esp + 0x3c8], ebx
mov dword [esp + 0x3cc], ebp
mov dword [esp + 0x3d0], ebx
mov dword [esp + 0x3d4], esi
mov dword [esp + 0x3d8], 9
mov dword [esp + 0x3dc], 1
mov dword [esp + 0x3e0], esi
mov dword [esp + 0x3e4], 0xc
mov dword [esp + 0x3e8], 2
mov dword [esp + 0x3ec], esi
mov dword [esp + 0x3f0], ebp
rep stosd dword es:[edi], eax
mov ecx, 0x58
lea edi, [esp + 0x578]
mov dword [esp + 0x548], 7
mov dword [esp + 0x54c], edx
mov dword [esp + 0x550], edx
mov dword [esp + 0x554], eax
mov dword [esp + 0x558], esi
mov dword [esp + 0x55c], ebx
mov dword [esp + 0x560], 1
mov dword [esp + 0x564], esi
mov dword [esp + 0x568], 9
mov dword [esp + 0x56c], 2
mov dword [esp + 0x570], esi
mov dword [esp + 0x574], ebp
rep stosd dword es:[edi], eax
mov ecx, 0x55
lea edi, [esp + 0x714]
mov dword [esp + 0x6d8], edx
mov dword [esp + 0x6dc], ebx
mov dword [esp + 0x6e0], edx
mov dword [esp + 0x6e4], 4
mov dword [esp + 0x6e8], ebx
mov dword [esp + 0x6ec], ebp
mov dword [esp + 0x6f0], eax
mov dword [esp + 0x6f4], esi
mov dword [esp + 0x6f8], 9
mov dword [esp + 0x6fc], 1
mov dword [esp + 0x700], esi
mov dword [esp + 0x704], 0xc
mov dword [esp + 0x708], 2
mov dword [esp + 0x70c], esi
mov dword [esp + 0x710], ebp
rep stosd dword es:[edi], eax
mov ecx, 0x5b
lea edi, [esp + 0x88c]
mov dword [esp + 0x868], ebx
mov dword [esp + 0x86c], esi
mov dword [esp + 0x870], edx
mov dword [esp + 0x874], 1
mov dword [esp + 0x878], esi
mov dword [esp + 0x87c], ebx
mov dword [esp + 0x880], 2
mov dword [esp + 0x884], esi
mov dword [esp + 0x888], ebp
rep stosd dword es:[edi], eax
mov ecx, 0x55
lea edi, [esp + 0xa34]
mov dword [esp + 0x9f8], 8
mov dword [esp + 0x9fc], ebx
mov dword [esp + 0xa00], edx
mov dword [esp + 0xa04], 4
mov dword [esp + 0xa08], ebx
mov dword [esp + 0xa0c], ebp
mov dword [esp + 0xa10], eax
mov dword [esp + 0xa14], esi
mov dword [esp + 0xa18], 9
mov dword [esp + 0xa1c], 1
mov dword [esp + 0xa20], esi
mov dword [esp + 0xa24], 0xc
mov dword [esp + 0xa28], 2
mov dword [esp + 0xa2c], esi
mov dword [esp + 0xa30], ebp
rep stosd dword es:[edi], eax
mov dword [esp + 0xb88], 9
mov dword [esp + 0xb8c], ebp
mov dword [esp + 0xb90], edx
mov ecx, 0x5b
lea edi, [esp + 0xbac]
mov dword [esp + 0xb94], 1
mov dword [esp + 0xb98], esi
mov dword [esp + 0xb9c], ebx
mov dword [esp + 0xba0], 2
mov dword [esp + 0xba4], esi
mov dword [esp + 0xba8], ebp
rep stosd dword es:[edi], eax
mov ecx, 0x5b
lea edi, [esp + 0xd3c]
mov dword [esp + 0xd18], 0xa
mov dword [esp + 0xd1c], esi
mov dword [esp + 0xd20], edx
mov dword [esp + 0xd24], 0xb
mov dword [esp + 0xd28], esi
mov dword [esp + 0xd2c], ebx
mov dword [esp + 0xd30], 2
mov dword [esp + 0xd34], esi
mov dword [esp + 0xd38], ebp
rep stosd dword es:[edi], eax
lea eax, [esp + 0xeb8]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::operator_1
mov edi, dword [esp + 0xebc]
cmp edi, 0x15
je 0x406384
mov ecx, dword [esp + 0xeb8]
push edi
push ecx
lea edx, [esp + 0xec0]
push str._s:_d
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
push edi
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov edi, dword [esp + 0x34]
mov ecx, edi
call fcn.00407390
test eax, eax
je 0x4063c5
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x40fd90
call fcn.004085dc
mov ecx, edi
call fcn.00406af0
test eax, eax
jne 0x40646c
lea ecx, [esp + 0x10]
mov byte [esp + 0xeb0], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0xeb0], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0xeb0], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0xeb0], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0xeb0], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0xeb0], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xeb8]
mov byte [esp + 0xeb0], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xec0]
mov byte [esp + 0xeb0], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xec4]
mov dword [esp + 0xeb0], ebp
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x406aa5
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + ecx*4 + 0x98]
cmp eax, 0xb
ja case.default.0x406480
jmp dword [eax*4 + 0x406ac0]
lea edx, [esp + 0xec0]
lea eax, [esp + 0x2c]
push edx
push str.USER
push eax
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xeb4], 9
call sub.MFC42.DLL_CString::operator_1
mov byte [esp + 0xeb0], 8
lea ecx, [esp + 0x2c]
jmp 0x406996
lea ecx, [esp + 0xec4]
lea edx, [esp + 0x90]
push ecx
push str.PASS
push edx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xeb4], 0xa
call sub.MFC42.DLL_CString::operator_1
mov byte [esp + 0xeb0], 8
lea ecx, [esp + 0x90]
jmp 0x406996
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x88]
push eax
push str.ACCT
push ecx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xeb4], 0xb
call sub.MFC42.DLL_CString::operator_1
mov byte [esp + 0xeb0], 8
lea ecx, [esp + 0x88]
jmp 0x406996
lea edx, [esp + 0x14]
lea eax, [esp + 0x3c]
push edx
push str.USER
push eax
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xeb4], 0xc
call sub.MFC42.DLL_CString::operator_1
mov byte [esp + 0xeb0], 8
lea ecx, [esp + 0x3c]
jmp 0x406996
lea ecx, [esp + 0x18]
lea edx, [esp + 0x6c]
push ecx
push str.PASS
push edx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xeb4], 0xd
call sub.MFC42.DLL_CString::operator_1
mov byte [esp + 0xeb0], 8
lea ecx, [esp + 0x6c]
jmp 0x406996
lea eax, [esp + 0xeb8]
lea ecx, [esp + 0x44]
push eax
push str.SITE
push ecx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xeb4], 0xe
call sub.MFC42.DLL_CString::operator_1
mov byte [esp + 0xeb0], 8
lea ecx, [esp + 0x44]
jmp 0x406996
lea edx, [esp + 0xec0]
lea eax, [esp + 0x74]
push edx
push str.USER
push eax
call sub.MFC42.DLL_operator_2
push 0x40f734
lea ecx, [esp + 0x50]
push eax
push ecx
mov byte [esp + 0xebc], 0xf
call sub.MFC42.DLL_operator_1
lea edx, [esp + 0xeb8]
mov byte [esp + 0xeb0], 0x10
push edx
push eax
lea eax, [esp + 0x8c]
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xeb4], 0x11
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x84]
mov byte [esp + 0xeb0], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0xeb0], 0xf
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0xeb0], 8
lea ecx, [esp + 0x74]
jmp 0x406996
lea ecx, [esp + 0xeb8]
lea edx, [esp + 0x54]
push ecx
push str.OPEN
push edx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xeb4], 0x12
call sub.MFC42.DLL_CString::operator_1
mov byte [esp + 0xeb0], 8
lea ecx, [esp + 0x54]
jmp 0x406996
lea eax, [esp + 0x14]
lea ecx, [esp + 0x7c]
push eax
push str.USER
push ecx
call sub.MFC42.DLL_operator_2
push 0x40f734
lea edx, [esp + 0x60]
push eax
push edx
mov byte [esp + 0xebc], 0x13
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0xeb8]
lea edx, [esp + 0x34]
push ecx
push eax
push edx
mov byte [esp + 0xebc], 0x14
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xeb4], 0x15
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x34]
mov byte [esp + 0xeb0], 0x14
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x5c]
mov byte [esp + 0xeb0], 0x13
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0xeb0], 8
lea ecx, [esp + 0x7c]
jmp 0x406996
lea eax, [esp + 0xec0]
lea ecx, [esp + 0x48]
push eax
push str.USER
push ecx
call sub.MFC42.DLL_operator_2
push 0x40f734
lea edx, [esp + 0x44]
push eax
push edx
mov byte [esp + 0xebc], 0x16
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0xeb8]
lea edx, [esp + 0x38]
push ecx
push eax
push edx
mov byte [esp + 0xebc], 0x17
call sub.MFC42.DLL_operator
push 0x40f1ac
push eax
lea eax, [esp + 0x94]
mov byte [esp + 0xeb8], 0x18
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x14]
lea edx, [esp + 0x64]
push ecx
push eax
push edx
mov byte [esp + 0xebc], 0x19
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xeb4], 0x1a
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x64]
mov byte [esp + 0xeb0], 0x19
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x8c]
mov byte [esp + 0xeb0], 0x18
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0xeb0], 0x17
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0xeb0], 0x16
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0xeb0], 8
lea ecx, [esp + 0x48]
jmp 0x406996
lea eax, [esp + 0xec0]
lea ecx, [esp + 0x70]
push eax
push str.USER
push ecx
call sub.MFC42.DLL_operator_2
push 0x40f734
lea edx, [esp + 0x6c]
push eax
push edx
mov byte [esp + 0xebc], 0x1b
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x14]
lea edx, [esp + 0x60]
push ecx
push eax
push edx
mov byte [esp + 0xebc], 0x1c
call sub.MFC42.DLL_operator
push 0x40f734
push eax
lea eax, [esp + 0x60]
mov byte [esp + 0xeb8], 0x1d
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0xeb8]
lea edx, [esp + 0x50]
push ecx
push eax
push edx
mov byte [esp + 0xebc], 0x1e
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xeb4], 0x1f
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x50]
mov byte [esp + 0xeb0], 0x1e
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x58]
mov byte [esp + 0xeb0], 0x1d
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x60]
mov byte [esp + 0xeb0], 0x1c
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x68]
mov byte [esp + 0xeb0], 0x1b
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0xeb0], 8
lea ecx, [esp + 0x70]
jmp 0x406996
lea eax, [esp + 0xec4]
lea ecx, [esp + 0x30]
push eax
push str.PASS
push ecx
call sub.MFC42.DLL_operator_2
push 0x40f734
lea edx, [esp + 0x84]
push eax
push edx
mov byte [esp + 0xebc], 0x20
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x18]
lea edx, [esp + 0x78]
push ecx
push eax
push edx
mov byte [esp + 0xebc], 0x21
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xeb4], 0x22
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x78]
mov byte [esp + 0xeb0], 0x21
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x80]
mov byte [esp + 0xeb0], 0x20
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0xeb0], 8
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x98], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, edi
call fcn.004071a0
test eax, eax
je 0x4063c5
mov ecx, edi
call fcn.00407280
test eax, eax
je 0x4063c5
mov eax, dword [edi + 0x14]
cmp eax, 2
je 0x4069de
cmp eax, 3
jne 0x4063c5
mov ecx, dword [esp + 0x28]
add eax, ecx
mov eax, dword [esp + eax*4 + 0x94]
cmp eax, esi
mov dword [esp + 0x28], eax
je 0x406a00
cmp eax, ebp
je 0x4063c5
jmp 0x40646c
lea ecx, [esp + 0x10]
mov byte [esp + 0xeb0], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0xeb0], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0xeb0], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0xeb0], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0xeb0], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0xeb0], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xeb8]
mov byte [esp + 0xeb0], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xec0]
mov byte [esp + 0xeb0], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xec4]
mov dword [esp + 0xeb0], ebp
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0xea8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xea4
ret 0x10