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

Disassembly:
push 0xffffffffffffffff
push 0x467187
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
xor ebp, ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
lea eax, [esp + 0x48]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x47004c
mov byte [esp + 0x7c], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
push ecx
lea edx, [esp + 0x84]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x80], 2
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
mov ecx, esi
mov byte [esp + 0x7c], 1
call fcn.0040d480
cmp eax, ebp
je 0x40d9fb
mov edi, dword [esp + 0x4c]
cmp edi, ebp
je 0x40d9fb
mov esi, dword [esp + 0x50]
sub esi, edi
sar esi, 2
cmp esi, 2
jne 0x40d9fb
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
lea eax, [esp + 0x58]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
mov bl, 3
push 0x470048
mov byte [esp + 0x7c], bl
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
cmp esi, 1
mov byte [esp + 0x78], 4
ja 0x40d71b
lea ecx, [esp + 0x50]
call fcn.0040ce80
push ecx
lea eax, [edi + 4]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x7c], bl
call fcn.0040d480
cmp eax, ebp
je 0x40d9f2
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov eax, dword [esp + 0x5c]
cmp eax, dword [esp + 0x60]
mov esi, eax
mov byte [esp + 0x70], 5
mov dword [esp + 0x14], esi
je 0x40d934
mov ebp, dword [sym.imp.MSVCR71.dll__wcsicmp]
lea esp, [esp]
lea ecx, [esp + 0x38]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x470044
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push esi
mov byte [esp + 0x80], 6
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x7c], 5
call fcn.0040d480
test eax, eax
je 0x40d914
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x40d9bc
mov edi, dword [esp + 0x40]
sub edi, esi
sar edi, 2
test edi, edi
jbe 0x40d9bc
push esi
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
push str.UserNumber
mov ecx, eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call ebp
add esp, 8
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0x18]
inc bl
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
test bl, bl
je 0x40d834
cmp edi, 1
jbe 0x40d9c5
lea eax, [esi + 4]
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
mov ecx, dword [esp + 0x7c]
push eax
mov byte [esp + 0x74], 7
call dword [0x46d370]
lea ecx, [esp + 0x1c]
jmp 0x40d909
test edi, edi
jbe 0x40d9ce
push esi
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
push str.UserPwd
mov ecx, eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call ebp
add esp, 8
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0x20]
inc bl
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
test bl, bl
je 0x40d8a0
cmp edi, 1
jbe 0x40d9d7
lea eax, [esi + 4]
push eax
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
mov ecx, dword [esp + 0x80]
push eax
mov byte [esp + 0x74], 8
call dword [0x46d370]
lea ecx, [esp + 0x24]
jmp 0x40d909
test edi, edi
jbe 0x40d9e0
push esi
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
push str.UserMD5
mov ecx, eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call ebp
add esp, 8
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0x28]
inc bl
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
test bl, bl
je 0x40d914
push 1
lea ecx, [esp + 0x3c]
call fcn.0040cf80
push eax
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
mov ecx, dword [esp + 0x84]
push eax
mov byte [esp + 0x74], 9
call dword [0x46d370]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 5
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x38]
call fcn.0040d3b0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x60]
add esi, 4
cmp esi, eax
mov dword [esp + 0x14], esi
jne 0x40d770
lea ecx, [esp + 0x58]
call fcn.0040d3b0
mov ecx, dword [esp + 0x7c]
call dword [sym.imp.MFC71U.DLL_CGopherFileFind::IsDots]
test al, al
jne 0x40d9e9
mov ecx, dword [esp + 0x80]
call dword [sym.imp.MFC71U.DLL_CGopherFileFind::IsDots]
test al, al
jne 0x40d9e9
mov ecx, dword [esp + 0x84]
call dword [sym.imp.MFC71U.DLL_CGopherFileFind::IsDots]
mov edx, dword [esp + 0x10]
neg al
lea ecx, [esp + 0x38]
sbb eax, eax
inc eax
mov dword [edx + 0x6c], eax
call fcn.0040d3b0
lea ecx, [esp + 0x58]
call fcn.0040d3b0
lea ecx, [esp + 0x48]
call fcn.0040d3b0
lea ecx, [esp + 0x78]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov eax, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0x10
lea ecx, [esp + 0x38]
call fcn.0040ce80
lea ecx, [esp + 0x38]
call fcn.0040ce80
lea ecx, [esp + 0x38]
call fcn.0040ce80
lea ecx, [esp + 0x38]
call fcn.0040ce80
lea ecx, [esp + 0x38]
call fcn.0040ce80
lea ecx, [esp + 0x38]
call fcn.0040d3b0
lea ecx, [esp + 0x58]
call fcn.0040d3b0
lea ecx, [esp + 0x48]
call fcn.0040d3b0
lea ecx, [esp + 0x78]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x64
ret 0x10