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

Disassembly:
push 0xffffffffffffffff
push 0x408361
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x470
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x20], esi
xor ebp, ebp
lea ecx, [esp + 0x78]
mov dword [esp + 0x488], ebp
call dword [sym.imp.CeUComAm.dll_public:_void___thiscall_CCeSenderParser::constructor_void_]
lea ecx, [esp + 0x60]
mov byte [esp + 0x488], 1
call dword [sym.imp.CeLogFl.dll_public:_void___thiscall_CIniReader::constructor_void_]
lea ecx, [esp + 0x18]
mov byte [esp + 0x488], 2
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x488], 3
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x488], 4
call sub.MFC42.DLL_CString::CString_1
mov bl, 5
add esi, 0xb5c
mov byte [esp + 0x488], bl
mov edi, 0xa
cmp dword [esi], ebp
je 0x404a4a
mov dword [esi], ebp
push str.Plase_Wait_the_End_of_the_Thread
lea ecx, [esi + 0xc]
mov dword [esi + 4], ebp
call sub.MFC42.DLL_CString::operator_1
push str.Plase_Wait_the_End_of_the_Thread
lea ecx, [esi - 4]
call sub.MFC42.DLL_CString::operator_1
mov dword [esi + 0x10], ebp
mov eax, dword [esi + 8]
cmp eax, ebp
je 0x404a47
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi + 8], ebp
add esi, 0x18
dec edi
jne 0x404a11
push ecx
lea eax, [esp + 0x494]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x64]
call dword [sym.imp.CeLogFl.dll_public:_int___thiscall_CIniReader::setINIFileName_class_CString_]
cmp eax, ebp
je 0x405012
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x490]
push edx
lea ebp, [ecx + 0x1dc]
mov ecx, ebp
call sub.MFC42.DLL_CString::operator
mov ecx, dword [esp + 0x20]
xor eax, eax
lea esi, [ecx + 0xb64]
inc eax
lea edx, [esp + 0x18]
push eax
push 0x40c4cc
push edx
mov dword [esp + 0x34], eax
call sub.MFC42.DLL_CString::Format
add esp, 8
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x64]
call dword [sym.imp.CeLogFl.dll_public:_int___thiscall_CIniReader::sectionExists_class_CString_]
test eax, eax
je 0x404ff2
push ecx
lea edx, [esp + 0x1c]
mov edi, 1
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov dword [esi - 8], edi
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x490], 6
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x40c464
call fcn.0040719c
lea eax, [esp + 0x58]
lea ecx, [esp + 0x68]
push eax
mov byte [esp + 0x494], bl
call dword [sym.imp.CeLogFl.dll_public:_class_CString___thiscall_CIniReader::getKeyValue_class_CString__class_CString_]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x48c], 7
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x50]
mov byte [esp + 0x488], bl
call sub.MFC42.DLL_CString::CString
push 0x40c460
push 0x40c45c
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
push 0xa
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_3
cmp eax, 0xffffffff
jne 0x404bd5
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 8], 0x12
jle 0x404c42
lea edx, [esp + 0x44]
push 0x10
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x48c], 8
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x44]
mov byte [esp + 0x488], bl
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x10]
push 0x40c458
lea ecx, [esp + 0x50]
push eax
push ecx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x48c], 9
call sub.MFC42.DLL_CString::operator
mov byte [esp + 0x488], bl
lea ecx, [esp + 0x4c]
jmp 0x404c3d
cmp eax, 0x12
jle 0x404c42
lea edx, [esp + 0x54]
push 0x10
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x48c], 0xa
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x54]
mov byte [esp + 0x488], bl
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x10]
push 0x40c458
lea ecx, [esp + 0x5c]
push eax
push ecx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x48c], 0xb
call sub.MFC42.DLL_CString::operator
mov byte [esp + 0x488], bl
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x10]
lea ecx, [esi - 0xc]
push edx
call sub.MFC42.DLL_CString::operator
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x490], 0xc
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x40c450
call fcn.0040719c
lea ecx, [esp + 0x40]
mov byte [esp + 0x490], bl
push ecx
lea ecx, [esp + 0x6c]
call dword [sym.imp.CeLogFl.dll_public:_class_CString___thiscall_CIniReader::getKeyValue_class_CString__class_CString_]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x48c], 0xd
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x38]
mov byte [esp + 0x488], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::MakeUpper
mov edx, dword [esp + 0x10]
push 0x40c448
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x404cd6
mov dword [esi - 4], edi
jmp 0x404cf5
mov eax, dword [esp + 0x10]
push str.Device___02d__:__s
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
neg eax
sbb eax, eax
and al, 0xfe
add eax, 2
mov dword [esi - 4], eax
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x490], 0xe
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x40c46c
call fcn.0040719c
lea eax, [esp + 0x34]
lea ecx, [esp + 0x68]
push eax
mov byte [esp + 0x494], bl
call dword [sym.imp.CeLogFl.dll_public:_class_CString___thiscall_CIniReader::getKeyValue_class_CString__class_CString_]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x48c], 0xf
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x2c]
mov byte [esp + 0x488], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esi + 4]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x10]
mov cl, byte [eax]
cmp cl, 0x23
jne 0x404e91
mov eax, dword [eax - 8]
lea edx, [esp + 0x40]
dec eax
lea ecx, [esp + 0x10]
push eax
push edx
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x48c], 0x10
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x40]
mov byte [esp + 0x488], bl
call sub.MFC42.DLL_CString::CString
push 0x5c
mov ecx, ebp
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, 0xffffffff
je 0x404ff9
inc eax
mov ecx, ebp
push eax
lea eax, [esp + 0x60]
push eax
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x48c], 0x11
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x5c]
mov byte [esp + 0x488], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x48c], 0x12
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x48]
mov byte [esp + 0x488], bl
call sub.MFC42.DLL_CString::CString
push 0
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x80]
call dword [sym.imp.CeUComAm.dll_public:_unsigned_long_int___thiscall_CCeSenderParser::LoadSenderFile_class_CString__unsigned_char__]
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x404e57
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi], 0
push edi
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x404ff9
push eax
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x80]
call dword [sym.imp.CeUComAm.dll_public:_unsigned_long_int___thiscall_CCeSenderParser::LoadSenderFile_class_CString__unsigned_char__]
mov dword [esi + 8], eax
jmp 0x404ff9
cmp cl, 0x40
jne 0x404fb1
mov eax, dword [eax - 8]
lea ecx, [esp + 0x30]
dec eax
push eax
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x48c], 0x13
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x30]
mov byte [esp + 0x488], bl
call sub.MFC42.DLL_CString::CString
push 0x5c
mov ecx, ebp
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, 0xffffffff
je 0x404ff9
inc eax
lea edx, [esp + 0x34]
push eax
push edx
mov ecx, ebp
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x48c], 0x14
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x34]
mov byte [esp + 0x488], bl
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x40]
push ecx
push edx
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x48c], 0x15
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x3c]
mov byte [esp + 0x488], bl
call sub.MFC42.DLL_CString::CString
push 0
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x80]
call dword [sym.imp.CeUComAm.dll_public:_unsigned_long_int___thiscall_CCeSenderParser::LoadBinFile_class_CString__unsigned_char__]
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x404f7e
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi], 0
push edi
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x404ff9
push eax
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x80]
call dword [sym.imp.CeUComAm.dll_public:_unsigned_long_int___thiscall_CCeSenderParser::LoadBinFile_class_CString__unsigned_char__]
mov dword [esi + 8], eax
jmp 0x404ff9
mov ecx, dword [eax - 8]
push 0
push ecx
push eax
lea ecx, [esp + 0x84]
mov edi, eax
call dword [sym.imp.CeUComAm.dll_public:_unsigned_long_int___thiscall_CCeSenderParser::LoadSenderBuffer_unsigned_char___unsigned_long_int__unsigned_char__]
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x404ff9
mov ecx, dword [esp + 0x10]
push eax
mov ecx, dword [ecx - 8]
push ecx
push edi
lea ecx, [esp + 0x84]
call dword [sym.imp.CeUComAm.dll_public:_unsigned_long_int___thiscall_CCeSenderParser::LoadSenderBuffer_unsigned_char___unsigned_long_int__unsigned_char__]
mov dword [esi + 8], eax
jmp 0x404ff9
mov dword [esi - 8], 0
mov eax, dword [esp + 0x28]
add esi, 0x18
cmp eax, 0xa
jb 0x404a9b
mov ecx, dword [esp + 0x20]
call fcn.00405240
lea ecx, [esp + 0x14]
mov byte [esp + 0x488], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x488], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x488], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x60]
mov byte [esp + 0x488], 1
call dword [sym.imp.CeLogFl.dll_public_virtual:_void___thiscall_CIniReader::destructor_void_]
lea ecx, [esp + 0x78]
mov byte [esp + 0x488], 0
call dword [sym.imp.CeUComAm.dll_public_virtual:_void___thiscall_CCeSenderParser::destructor_void_]
lea ecx, [esp + 0x490]
mov dword [esp + 0x488], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x480]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x47c
ret 4