Function at 0x402950
Capabilities:
Create process on windows
Delete file
Delete registry value
Get common file path
Persist via run registry key

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x406ab8
push eax
mov eax, 0x105c
mov dword fs:[0], esp
call fcn.00403e70
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [0x40a4a0]
mov dword [esp + 0x1074], 0
test eax, eax
jne 0x40299b
lea ecx, [esp + 0x68]
call fcn.00403960
lea ecx, [esp + 0x68]
call fcn.00403b30
test eax, eax
jne 0x402b6e
mov ecx, 0xff
lea edi, [esp + 0x6d]
mov byte [esp + 0x6c], al
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0
lea eax, [esp + 0x70]
push 0x19
push eax
push 0
call esi
mov cl, byte [esp + 0x2f]
push 0
mov byte [esp + 0x34], cl
lea ecx, [esp + 0x34]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea edi, [esp + 0x6c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x6c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
mov edi, 0x40a174
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x1074], 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x40a174
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const___unsigned_int_]
mov edi, 0x40a30c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x40a30c
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const___unsigned_int_]
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x402a56
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
push 0
push 0
push eax
push str.TaskbarUnPin
push 0
call edi
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x402a79
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push 0
push 0
push 0
push eax
push str.startunpin
push 0
call edi
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x6c]
push eax
rep stosd dword es:[edi], eax
lea eax, [esp + 0x70]
push 0x1a
push eax
push 0
call esi
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
lea ecx, [esp + 0x18]
call fcn.00403d90
push 0x40a30c
lea ecx, [esp + 0x18]
call fcn.00403d90
mov edx, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edx
call edi
mov eax, dword [ebp + 0x140]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x408
push eax
call ebx
mov ecx, dword [ebp + 0x140]
inc eax
push 0
push eax
push 0x402
push ecx
call ebx
lea edx, [esp + 0x6c]
lea ecx, [esp + 0x14]
push edx
call sub.MFC42.DLL_CString::operator
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedStartMenu_
lea ecx, [esp + 0x18]
call fcn.00403d90
push 0x40a30c
lea ecx, [esp + 0x18]
call fcn.00403d90
mov eax, dword [esp + 0x14]
push eax
call edi
mov ecx, dword [ebp + 0x140]
push 0
push 0
push 0x408
push ecx
call ebx
mov edx, dword [ebp + 0x140]
inc eax
push 0
push eax
push 0x402
push edx
call ebx
push 1
lea ecx, [esp + 0x34]
mov byte [esp + 0x1078], 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
jmp 0x402be6
push 0
lea eax, [esp + 0x70]
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator
push str.MicrosoftInternet_ExplorerQuick_Launch_
lea ecx, [esp + 0x18]
call fcn.00403d90
push 0x40a30c
lea ecx, [esp + 0x18]
call fcn.00403d90
mov edx, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edx
call edi
mov eax, dword [ebp + 0x140]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x408
push eax
call ebx
mov ecx, dword [ebp + 0x140]
inc eax
push 0
push eax
push 0x402
push ecx
call ebx
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push str.SoftwareMicrosoftWindowsCurrentVersionRun
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x44]
push edx
push eax
push reloc.WS2_32.dll_bind
mov byte [esp + 0x1080], 2
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov ecx, dword [str.YummyGame]
mov edx, dword [0x40a06c]
mov ax, word [0x40a070]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x4c]
mov word [esp + 0x54], ax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esp + 0x44]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x140]
push 0
push 0
push 0x408
push ecx
call ebx
mov edx, dword [ebp + 0x140]
inc eax
push 0
push eax
push 0x402
push edx
call ebx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
push 0
lea eax, [esp + 0xc70]
push 0
push eax
push 0
mov byte [esp + 0x1084], 3
call esi
lea ecx, [esp + 0xc6c]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
push 0x40a174
lea ecx, [esp + 0x14]
call fcn.00403d90
push 0x40a30c
lea ecx, [esp + 0x14]
call fcn.00403d90
mov edx, dword [esp + 0x10]
push edx
call edi
mov eax, dword [ebp + 0x140]
push 0
push 0
push 0x408
push eax
call ebx
mov ecx, dword [ebp + 0x140]
inc eax
push 0
push eax
push 0x402
push ecx
call ebx
push 0
lea edx, [esp + 0x870]
push 0xb
push edx
push 0
call esi
lea eax, [esp + 0x86c]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
push 0x40a208
lea ecx, [esp + 0x14]
call fcn.00403d90
push 0x40a0b8
lea ecx, [esp + 0x14]
call fcn.00403d90
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, ebp
call fcn.004018b0
lea edx, [esp + 0x86c]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::operator
push 0x40a208
lea ecx, [esp + 0x14]
call fcn.00403d90
push 0x40a1f0
lea ecx, [esp + 0x14]
call fcn.00403d90
mov eax, dword [esp + 0x10]
push eax
call edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x46d]
mov byte [esp + 0x46c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x46c]
push ecx
push 0x400
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov dl, byte [esp + 0x2f]
push 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea edi, [esp + 0x46c]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
lea ecx, [esp + 0x1c]
push edi
mov dword [esp + 0x30], edi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x402dfd
mov ecx, edi
mov edi, dword [esp + 0x1c]
mov eax, ecx
lea esi, [esp + 0x46c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
push ecx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov edi, 0x40a174
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
repne scasb al, byte es:[edi]
mov edx, dword [edx]
mov byte [esp + 0x1074], 4
not ecx
dec ecx
push ecx
push edx
push 0x40a174
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_last_of_char_const___unsigned_int__unsigned_int_const]
test eax, eax
jle 0x402f89
push eax
lea eax, [esp + 0x5c]
push 0
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::substr_unsigned_int__unsigned_int_]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [esp + 0x1074], 5
mov edx, dword [ecx]
lea ecx, [esp + 0x18]
push edx
push 0
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1078], 4
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edi, 0x40a174
or ecx, 0xffffffff
mov edx, dword [eax]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 0x40a174
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_last_of_char_const___unsigned_int__unsigned_int_const]
test eax, eax
jle 0x402f89
inc eax
lea ecx, [esp + 0x58]
push eax
push 0
push ecx
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::substr_unsigned_int__unsigned_int_]
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [esp + 0x1074], 6
mov ecx, dword [edx]
push ecx
push 0
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1078], 4
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [0x40a06c]
mov cx, word [0x40a070]
mov edx, dword [str.YummyGame]
mov dword [esp + 0x34], eax
mov word [esp + 0x38], cx
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x30], edx
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
repne scasb al, byte es:[edi]
mov eax, dword [edx]
mov edx, dword [esp + 0x20]
not ecx
dec ecx
sub eax, edx
mov edi, ecx
cmp eax, edi
ja 0x402f34
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
test edi, edi
jbe 0x402f89
mov ecx, dword [esp + 0x20]
push 0
lea eax, [ecx + edi]
lea ecx, [esp + 0x1c]
push eax
mov dword [esp + 0x30], eax
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x402f89
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, edi
add eax, edx
mov edx, ecx
lea esi, [esp + 0x30]
mov edi, eax
mov eax, dword [esp + 0x28]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x402f96
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
mov ecx, ebp
call fcn.004018b0
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x46c]
rep stosd dword es:[edi], eax
xor edi, edi
lea ecx, [esp + 0x46c]
push edi
push 0x1a
push ecx
push edi
call esi
lea edx, [esp + 0x46c]
push str.AppDataRoaming
push edx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x403235
lea edi, [esp + 0x46c]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
lea ecx, [esp + 0x1c]
push esi
mov dword [esp + 0x30], esi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x40302b
mov edi, dword [esp + 0x1c]
mov ecx, esi
mov eax, ecx
lea esi, [esp + 0x46c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov byte [ecx + eax], 0
mov edi, 0x40a11c
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
repne scasb al, byte es:[edi]
mov edx, dword [edx]
not ecx
dec ecx
mov esi, ecx
je 0x403099
mov edi, dword [esp + 0x20]
test edi, edi
jbe 0x403099
cmp edx, edi
jae 0x403056
mov edi, edx
jmp 0x403057
dec edi
mov eax, dword [esp + 0x1c]
push esi
add edi, eax
movsx ecx, byte [edi]
push ecx
push 0x40a11c
call dword [sym.imp.MSVCRT.dll_memchr]
add esp, 0xc
test eax, eax
jne 0x403093
cmp edi, dword [esp + 0x1c]
je 0x403099
movsx edx, byte [edi - 1]
dec edi
push esi
push edx
push 0x40a11c
call dword [sym.imp.MSVCRT.dll_memchr]
add esp, 0xc
test eax, eax
je 0x403074
sub edi, dword [esp + 0x1c]
jmp 0x4030a0
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edi, dword [eax]
test edi, edi
jl 0x40310f
inc edi
lea ecx, [esp + 0x58]
push edi
push 0
push ecx
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::substr_unsigned_int__unsigned_int_]
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
xor esi, esi
mov byte [esp + 0x1074], 7
mov ecx, dword [edx]
push ecx
push esi
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x1074], 4
cmp eax, esi
je 0x403103
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4030fa
cmp al, 0xff
je 0x4030fa
dec al
mov byte [ecx], al
jmp 0x403103
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov eax, dword [0x40a06c]
mov cx, word [0x40a070]
mov edx, dword [str.YummyGame]
mov dword [esp + 0x34], eax
mov word [esp + 0x38], cx
mov edi, str.LocalVirtualStoreProgram_Files__x86__
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov dword [esp + 0x30], edx
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
not ecx
mov eax, dword [edx]
mov edx, dword [esp + 0x20]
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x403157
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
test esi, esi
jbe 0x4031a7
mov ecx, dword [esp + 0x20]
push 0
lea eax, [ecx + esi]
lea ecx, [esp + 0x1c]
push eax
mov dword [esp + 0x30], eax
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x4031a7
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, esi
mov esi, str.LocalVirtualStoreProgram_Files__x86__
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x28]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov byte [ecx + eax], 0
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
repne scasb al, byte es:[edi]
mov eax, dword [edx]
mov edx, dword [esp + 0x20]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x4031cf
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
test esi, esi
jbe 0x40321e
mov ecx, dword [esp + 0x20]
push 0
lea eax, [ecx + esi]
lea ecx, [esp + 0x1c]
push eax
mov dword [esp + 0x30], eax
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x40321e
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, esi
lea esi, [esp + 0x30]
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x28]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov byte [ecx + eax], 0
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x40322b
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
mov ecx, ebp
call fcn.004018b0
xor edi, edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea edx, [esp + 0x4c]
push edx
push closesocket
call esi
mov eax, dword [ebp + 0x140]
push edi
push edi
push 0x408
push eax
call ebx
mov ecx, dword [ebp + 0x140]
inc eax
push edi
push eax
push 0x402
push ecx
call ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x40]
push edx
mov byte [esp + 0x1078], 8
call fcn.00403d90
mov eax, dword [esp + 0x40]
push eax
push reloc.WS2_32.dll_bind
call esi
mov ecx, dword [ebp + 0x140]
push edi
push edi
push 0x408
push ecx
call ebx
mov edx, dword [ebp + 0x140]
inc eax
push edi
push eax
push 0x402
push edx
call ebx
lea ecx, [esp + 0x40]
mov byte [esp + 0x1074], 4
call fcn.00403d84
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x4032ef
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4032e6
cmp al, 0xff
je 0x4032e6
dec al
mov byte [ecx], al
jmp 0x4032ef
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov byte [esp + 0x1074], 2
call fcn.00403d84
lea ecx, [esp + 0x48]
mov byte [esp + 0x1074], 0
call fcn.00403d84
lea ecx, [esp + 0x14]
mov dword [esp + 0x1074], 0xffffffff
call fcn.00403d84
mov ecx, dword [esp + 0x106c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1068
ret