Function at 0x40455e
Capabilities:
Create thread

Disassembly:
mov eax, 0x41c4fd
call fcn.0041baa0
sub esp, 0xce0
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov ebx, ecx
mov edi, 0x429ea8
mov dword [ebp - 0x10], esp
push edi
mov byte [ebx + 0x51], 1
mov byte [ebx + 0x52], 1
mov byte [ebx + 0x53], 1
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x4c], ebx
mov byte [0x42bd0c], 1
call sub.MFC42.DLL_CString::CString_1
lea esi, [ebx + 0x104]
push 0x42bca8
mov ecx, esi
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::operator_3
lea eax, [ebp - 0x20]
push 3
push eax
call fcn.0040e348
pop ecx
pop ecx
push str..tmp
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::operator_3
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call sub.MFC42.DLL_CString::operator
and dword [ebx + 0xfc], 0
push 1
lea ecx, [ebp - 0xc4]
call fcn.0041577f
push 0x427ef8
push 0xff
push dword [ebp - 0xa4]
mov ecx, 0x42bc98
mov byte [ebp - 4], 4
call fcn.004145e2
mov ecx, ebx
call fcn.00409b5f
test al, al
mov byte [ebx + 4], al
je 0x404652
cmp byte [ebx + 0x1c4], 0
jne 0x404652
push 1
pop eax
jmp 0x404654
xor eax, eax
cmp byte [ebx + 0x1c8], 0
mov byte [ebx + 5], al
je 0x404667
mov ecx, ebx
call fcn.00409b37
cmp byte [ebx + 5], 0
je 0x404674
mov ecx, ebx
call fcn.00404538
lea eax, [ebp - 0x138]
push eax
call fcn.004184ee
cmp byte [ebp - 0xc7], 6
pop ecx
ja 0x4046d2
lea eax, [ebp - 0x138]
mov byte [0x42bd0d], 1
push eax
movzx eax, byte [ebp - 0xc7]
push eax
lea eax, [ebp - 0x18]
push str.Unsupported_Toolbar_OS___d_:__s
push eax
call fcn.004125f6
add esp, 0x10
mov eax, dword [eax]
push 1
push 0xffffffffffffffdf
push eax
mov ecx, 0x42bcc8
mov byte [ebp - 4], 5
call fcn.0040326f
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
cmp byte [ebx + 0x1c4], 0
je 0x4046ea
push 0x42bcdc
mov ecx, 0x42bcc8
call sub.MFC42.DLL_CString::operator_3
mov eax, dword [0x42bcc8]
push edi
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
jne 0x404777
mov esi, 0x421844
lea edi, [ebp - 0x44]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x44]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.ole32.dll_CoCreateGuid]
movzx eax, byte [ebp - 0x35]
push eax
movzx eax, byte [ebp - 0x36]
push eax
movzx eax, byte [ebp - 0x37]
push eax
movzx eax, byte [ebp - 0x38]
push eax
movzx eax, byte [ebp - 0x39]
push eax
movzx eax, byte [ebp - 0x3a]
push eax
movzx eax, byte [ebp - 0x3b]
push eax
movzx eax, byte [ebp - 0x3c]
push eax
movzx eax, word [ebp - 0x3e]
push eax
movzx eax, word [ebp - 0x40]
push eax
lea eax, [ebp - 0x80]
push dword [ebp - 0x44]
push str._08X__04X__04X__02X_02X__02X_02X_02X_02X_02X_02X
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x34
mov ecx, 0x42bcc8
push 0x427e9c
call fcn.0041b4e4
lea eax, [ebp - 0x80]
mov ecx, 0x42bcc8
push eax
call sub.MFC42.DLL_CString::operator_1
push 0x100
call sub.MFC42.DLL_operatornew
pop ecx
mov ecx, eax
mov dword [ebp - 0x1c], ecx
test ecx, ecx
mov byte [ebp - 4], 6
je 0x404799
push dword [ebp - 0x2c]
call fcn.0040ded1
jmp 0x40479b
xor eax, eax
mov ecx, ebx
mov byte [ebp - 4], 4
mov dword [ebx + 0x118], eax
call fcn.0040b9a9
lea eax, [ebp - 0xcec]
push 0x304
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x8e4]
push eax
lea eax, [ebp - 0x2b0]
push eax
lea eax, [ebp - 0x7e0]
push eax
lea eax, [ebp - 0x9e8]
push eax
lea eax, [ebp - 0xcec]
push eax
call dword [sym.imp.MSVCRT.dll__splitpath]
add esp, 0x14
lea eax, [ebp - 0x9e8]
mov esi, 0x42bc88
push eax
mov ecx, esi
call fcn.0041b4e4
lea eax, [ebp - 0x7e0]
mov ecx, esi
push eax
call sub.MFC42.DLL_CString::operator_1
lea eax, [ebp - 0x2b0]
lea ecx, [ebx + 0x108]
push eax
call fcn.0041b4e4
lea eax, [ebp - 0x2b0]
push eax
lea eax, [ebp - 0x3b8]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x8e4]
push eax
lea eax, [ebp - 0x3b8]
push eax
call sub.MSVCRT.dll_strcat
mov ecx, dword [ebx + 0x118]
add esp, 0x10
lea eax, [ebp - 0x3b8]
add ecx, 0x40
push eax
call fcn.0041b4e4
mov ecx, dword [ebx + 0x118]
push 0x42bca8
add ecx, 0xe8
call sub.MFC42.DLL_CString::operator_3
mov ecx, dword [ebx + 0x118]
call fcn.0040eb08
mov eax, dword [ebx + 0x1b4]
test eax, eax
je 0x404894
mov ecx, dword [ebx + 0x118]
mov ecx, dword [ecx + 0x24]
mov dword [eax + 0x70], ecx
mov esi, 0x105
lea eax, [ebp - 0x5c8]
push esi
push 0
push eax
call sub.MSVCRT.dll_memset
push esi
lea eax, [ebp - 0x4c0]
push 0
push eax
call sub.MSVCRT.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
add esp, 0x18
mov edi, 0x104
lea eax, [ebp - 0x4c0]
push edi
push eax
push dword [0x42bc88]
call esi
lea eax, [ebp - 0x5c8]
push edi
push eax
push dword [0x42bca8]
call esi
mov eax, dword [0x42bc88]
push 0x429ea8
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
je 0x404912
lea eax, [ebp - 0x4c0]
push eax
lea eax, [ebp - 0x5c8]
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
pop ecx
xor edi, edi
push 0x42bcb4
push edi
push 0x42bcc0
push 0x40e19c
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x42bd34], eax
mov eax, dword [ebx + 0x118]
push 0xffffffffffffffff
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebx + 0x118]
mov esi, 0x42bcac
push esi
add ecx, 0x50
call sub.MFC42.DLL_CString::operator_3
mov ecx, dword [ebx + 0x118]
push esi
add ecx, 0x4c
call sub.MFC42.DLL_CString::operator_3
mov ecx, dword [ebx + 0x118]
push dword [0x4209d0]
add ecx, 0x4c
call sub.MFC42.DLL_CString::operator_1
lea eax, [ebp - 0x28]
push 0x9d
push eax
call fcn.0040e348
pop ecx
pop ecx
push eax
mov esi, 0x42bca8
lea eax, [ebp - 0x20]
push esi
push eax
mov byte [ebp - 4], 7
call sub.MFC42.DLL_operator_2
push 0x427e94
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 8
push eax
call sub.MFC42.DLL_operator_1
mov ecx, dword [ebx + 0x118]
push eax
add ecx, 0x48
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::operator_3
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebx + 0x118]
call fcn.0040e648
test al, al
je 0x404ba4
push esi
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 0xa
call fcn.0041849a
test al, al
je 0x404a4c
mov esi, 0x113
lea eax, [ebp - 0x6dc]
push esi
push edi
push eax
call sub.MSVCRT.dll_memset
push edi
push edi
lea eax, [ebp - 0x6dc]
push esi
push eax
call fcn.004191bd
add esp, 0x1c
lea eax, [ebp - 0x6dc]
lea ecx, [ebp - 0x18]
push eax
call fcn.0041b4e4
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
call sub.MFC42.DLL_CString::CString_3
push str.ShopAtHome_Toolbar_Installer.exe
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::operator_1
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x20]
push eax
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString_2
push 0x2e
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::ReverseFind
mov esi, eax
cmp esi, edi
jl 0x404ae1
lea eax, [ebp - 0x24]
push esi
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::operator_3
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x24]
push esi
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::operator_3
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 0x10
xor esi, esi
cmp esi, 0x14
jge 0x404b25
cmp esi, edi
jle 0x404b10
push dword [ebp - 0x28]
lea eax, [ebp - 0x14]
push esi
push dword [ebp - 0x20]
push str._s_d_s
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x14
push dword [ebp - 0x14]
call fcn.004183bb
test al, al
pop ecx
je 0x404b20
inc esi
jmp 0x404aef
cmp esi, 0x14
jl 0x404b4f
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::operator_3
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebx + 0x118]
lea eax, [ebp - 0x14]
push eax
add ecx, 0x44
call sub.MFC42.DLL_CString::operator_3
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
mov edi, 0x429ea8
jmp 0x404bb8
mov ecx, dword [ebx + 0x118]
mov edi, 0x429ea8
push edi
add ecx, 0x44
call fcn.0041b4e4
mov eax, dword [ebx + 0x118]
mov esi, 0xec
add eax, esi
push edi
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
jne 0x404c3e
lea eax, [ebp - 0x18]
push 2
push eax
call fcn.0040e348
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x24]
push 0x42bca8
push eax
mov byte [ebp - 4], 0x12
call sub.MFC42.DLL_operator_2
push str..html
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0x13
push eax
call sub.MFC42.DLL_operator_1
mov ecx, dword [ebx + 0x118]
push eax
add ecx, esi
mov byte [ebp - 4], 0x14
call sub.MFC42.DLL_CString::operator_3
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebx + 0x118]
mov ecx, 0x42c100
add eax, esi
push eax
call sub.MFC42.DLL_CString::operator_3
push edi
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [ebx + 0x118]
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x15
call fcn.0040e716
test al, al
jne 0x404cd8
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x1c]
push 0x427e5c
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push 1
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x16
call fcn.00404117
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x15
call sub.MFC42.DLL_CString::CString
push 1
push 1
mov ecx, ebx
call fcn.0040865d
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 1
call fcn.004158e0
and byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::CString
push 0xffffffffffffffc8
jmp 0x404ee5
mov eax, dword [ebx + 0x118]
push dword [eax + 0x4c]
call fcn.00413a76
pop ecx
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebx + 0x118]
push 0
push 0x1e
mov eax, dword [eax + 0x14]
mov dword [0x42c150], eax
call fcn.00413b01
pop ecx
lea eax, [ebp - 0x1ac]
pop ecx
push eax
call fcn.004184ee
test eax, eax
pop ecx
je 0x404d39
mov cl, byte [ebp - 0x13b]
push 1
pop eax
shl eax, cl
lea ecx, [ebx + 0x24]
mov dword [ebx + 0x28], eax
lea eax, [ebp - 0x1ac]
push eax
call fcn.0041b4e4
push dword [0x420968]
mov eax, dword [ebx + 0x54]
mov edi, dword [sym.imp.MSVCRT.dll__mbsicmp]
lea esi, [ebx + 0x54]
push eax
call edi
pop ecx
test eax, eax
pop ecx
je 0x404da4
push dword [0x42096c]
mov eax, dword [esi]
push eax
call edi
pop ecx
test eax, eax
pop ecx
je 0x404da4
push dword [0x420970]
mov eax, dword [esi]
push eax
call edi
pop ecx
test eax, eax
pop ecx
je 0x404da4
push 0
push 0x4276c0
lea eax, [ebp - 0x80]
push 0x32
push eax
call fcn.00418c1c
add esp, 0x10
mov ecx, esi
push dword [0x42096c]
call fcn.0041b4e4
lea eax, [ebp - 0x80]
lea ecx, [ebx + 0x58]
push eax
call fcn.0041b4e4
mov eax, 0x42b276
mov ecx, eax
test ecx, ecx
je 0x404dc3
cmp byte [0x42b276], 0
je 0x404dc3
push eax
mov ecx, 0x42bc90
call fcn.0041b4e4
mov ecx, dword [ebx + 0x118]
mov edi, 0x429ea8
push 0
push edi
push dword [0x42bc90]
lea eax, [ebp - 0x34]
add ecx, 0x80
push eax
call fcn.004122ba
push ecx
mov byte [ebp - 4], 0x17
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x427e50
call sub.MFC42.DLL_CString::CString_1
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00411a08
add esp, 0xc
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x4275bc
push dword [ebp - 0x48]
mov byte [ebp - 4], 0x18
call esi
pop ecx
test eax, eax
pop ecx
jne 0x404e8e
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.customerid
call sub.MFC42.DLL_CString::CString_1
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00411a08
add esp, 0xc
push dword [ebp - 0x14]
mov byte [ebp - 4], 0x19
call dword [sym.imp.MSVCRT.dll_atoi]
push edi
mov ebx, eax
push dword [ebp - 0x14]
call esi
add esp, 0xc
test eax, eax
je 0x404e82
push 0x42795c
push dword [ebp - 0x14]
call esi
pop ecx
test eax, eax
pop ecx
je 0x404e82
test ebx, ebx
je 0x404e82
lea eax, [ebp - 0x14]
mov ecx, 0x42bcd4
push eax
call sub.MFC42.DLL_CString::operator_3
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x18
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x17
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x15
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 1
call fcn.004158e0
and byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::CString
push 1
jmp 0x404ee5
mov ecx, dword [ebp - 0xc]
pop eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret