Function at 0x4135a0
Capabilities:
Enumerate services

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4a2eb3
push eax
mov eax, 0x10fc
mov dword fs:[0], esp
call fcn.004a15e0
push ebx
push ebp
mov dword [esp + 0x1c], ecx
push esi
push edi
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::CString_5
mov eax, dword [0x5401c4]
lea edx, [esp + 0x14]
xor ebx, ebx
mov ecx, dword [eax*4 + 0x4c9440]
mov dword [esp + 0x1114], ebx
push ecx
push 0x4c7c88
push 0x4c7c7c
push edx
call sub.MFC42u.DLL_CString::Format
mov esi, dword [esp + 0x1138]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x1134]
add esp, 0x10
mov eax, dword [esi]
push ebx
push ebx
push ebx
push ebx
push ecx
push eax
push 1
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::InsertItem
mov ebp, dword [esi]
lea ecx, [esp + 0x14]
inc ebp
mov dword [esi], ebp
mov edx, dword [0x5401c4]
mov eax, dword [edx*4 + 0x4c9440]
push eax
push 0x4c61d8
push ecx
call sub.MFC42u.DLL_CString::Format
mov edx, dword [edi + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 0xc
push ebx
push ebx
push 0x1004
push edx
call esi
mov ecx, dword [esp + 0x14]
push ebx
push ebx
push ebx
push ebx
push ecx
push eax
push 1
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::InsertItem
mov edx, dword [edi + 0x20]
push ebx
push ebx
push 0x1004
push edx
call esi
push ebx
push ebx
push ebx
push ebx
push 0x540014
push eax
push 1
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::InsertItem
mov eax, dword [edi + 0x20]
push ebx
push ebx
push 0x1004
push eax
call esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x80], eax
mov dword [esp + 0x90], ebx
call sub.MFC42u.DLL_CString::CString_5
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1114], 1
call sub.MFC42u.DLL_CString::CString_5
lea ecx, [esp + 0x9c]
mov byte [esp + 0x1114], 2
call sub.MFC42u.DLL_CString::CString_5
mov cl, byte [esp + 0x7f]
mov dword [esp + 0x30], ebx
mov byte [esp + 0x2c], cl
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
lea ecx, [esp + 0x48]
mov byte [esp + 0x1114], 4
call sub.MFC42u.DLL_CString::CString_5
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1114], 5
call sub.MFC42u.DLL_CString::CString_5
lea ecx, [esp + 0x50]
mov byte [esp + 0x1114], 6
call sub.MFC42u.DLL_CString::CString_5
lea ecx, [esp + 0x54]
mov byte [esp + 0x1114], 7
call sub.MFC42u.DLL_CString::CString_5
lea ecx, [esp + 0x58]
mov byte [esp + 0x1114], 8
call sub.MFC42u.DLL_CString::CString_5
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1114], 9
call sub.MFC42u.DLL_CString::CString_5
lea ecx, [esp + 0x60]
mov byte [esp + 0x1114], 0xa
call sub.MFC42u.DLL_CString::CString_5
lea ecx, [esp + 0x64]
mov byte [esp + 0x1114], 0xb
call sub.MFC42u.DLL_CString::CString_5
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
cmp eax, ecx
mov byte [esp + 0x1114], 0xc
mov ebp, eax
mov edi, ecx
mov esi, eax
je 0x413799
push ebx
mov ecx, esi
call fcn.004177b0
add esi, 0x24
cmp esi, edi
jne 0x41378a
push 0xf003f
push ebx
push ebx
mov dword [esp + 0x40], ebp
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebp, eax
cmp ebp, ebx
je 0x413ab4
lea edx, [esp + 0x90]
lea eax, [esp + 0x88]
mov esi, dword [sym.imp.ADVAPI32.dll_EnumServicesStatusW]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
lea edx, [esp + 0xf4]
push 0x24
push edx
push 3
push 0x30
push ebp
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x413aad
mov eax, dword [esp + 0x20]
add eax, 0x24
mov dword [esp + 0x20], eax
lea eax, [eax + eax*8]
shl eax, 2
push eax
call sub.MFC42u.DLL_operatornew
add esp, 4
cmp eax, ebx
mov dword [esp + 0x28], eax
je 0x413aad
lea ecx, [esp + 0x90]
lea edx, [esp + 0x88]
push ecx
push edx
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x28]
push ecx
push edx
push eax
push 3
push 0x30
push ebp
call esi
cmp eax, 1
jne 0x413a9e
mov eax, dword [esp + 0x88]
xor ebx, ebx
test eax, eax
jbe 0x413a9e
mov eax, dword [esp + 0x28]
lea esi, [eax + 0xc]
mov ecx, dword [esp + 0x111c]
cmp dword [ecx], 1
je 0x413a9e
lea ecx, [esp + 0x48]
call sub.MFC42u.DLL_CString::Empty
lea ecx, [esp + 0x4c]
call sub.MFC42u.DLL_CString::Empty
lea ecx, [esp + 0x50]
call sub.MFC42u.DLL_CString::Empty
lea ecx, [esp + 0x54]
call sub.MFC42u.DLL_CString::Empty
lea ecx, [esp + 0x58]
call sub.MFC42u.DLL_CString::Empty
lea ecx, [esp + 0x5c]
call sub.MFC42u.DLL_CString::Empty
lea ecx, [esp + 0x60]
call sub.MFC42u.DLL_CString::Empty
lea ecx, [esp + 0x64]
call sub.MFC42u.DLL_CString::Empty
mov dword [esp + 0x68], 1
mov edx, dword [esi - 0xc]
push edx
lea eax, [esp + 0x4c]
push 0x4c61d8
push eax
call sub.MFC42u.DLL_CString::Format
mov eax, dword [esi]
add esp, 0xc
cmp eax, 7
ja 0x4138db
test eax, eax
jne 0x4138e1
mov dword [esi], 8
mov eax, dword [esi]
dec eax
and eax, 7
mov dword [esi], eax
mov ecx, dword [0x5401c4]
lea edx, [ecx + eax*2]
lea ecx, [esp + 0x4c]
add eax, edx
mov eax, dword [eax*4 + 0x4c9250]
push eax
push 0x4c61d8
push ecx
call sub.MFC42u.DLL_CString::Format
mov edx, dword [esi - 0xc]
add esp, 0xc
push 1
push edx
push ebp
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
je 0x413a76
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10c]
push eax
push 0x1000
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
je 0x413a6f
mov eax, dword [esp + 0x110]
mov byte [esp + 0x110b], 0
cmp eax, 4
mov byte [esp + 0x110a], 0
jbe 0x41396e
mov eax, 4
mov dword [esp + 0x110], eax
mov edx, dword [0x5401c4]
lea ecx, [edx + eax*2]
add eax, ecx
mov edx, dword [eax*4 + 0x4c92b0]
lea eax, [esp + 0x50]
push edx
push 0x4c61d8
push eax
call sub.MFC42u.DLL_CString::Format
mov ecx, dword [esp + 0x124]
add esp, 0xc
lea edx, [esp + 0x10]
push ecx
push 0x4c61d8
push edx
call sub.MFC42u.DLL_CString::Format
mov ecx, dword [esp + 0x30]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
call fcn.00414d20
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x58]
push ecx
push 0x4c61d8
push edx
call sub.MFC42u.DLL_CString::Format
mov ecx, dword [esp + 0x30]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
call fcn.00414e60
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x14]
mov edx, dword [ecx]
push eax
call dword [edx + 0xf0]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x5c]
push ecx
push 0x4c61d8
push edx
call sub.MFC42u.DLL_CString::Format
mov ecx, dword [esp + 0x30]
add esp, 0xc
lea edx, [esp + 0x5c]
mov eax, dword [ecx]
push edx
call dword [eax + 0x118]
test eax, eax
jne 0x413a26
mov dword [esp + 0x68], eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10c]
push eax
push 0x1000
push ecx
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfig2W]
test eax, eax
je 0x413a6f
mov edx, dword [esp + 0x10c]
lea eax, [esp + 0x54]
push edx
push 0x4c61d8
push eax
mov byte [esp + 0x1117], 0
mov byte [esp + 0x1116], 0
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x48]
push ecx
push 1
push edx
lea ecx, [esp + 0x38]
call fcn.00417310
mov eax, dword [esp + 0x88]
inc ebx
add esi, 0x24
cmp ebx, eax
jb 0x41385a
mov eax, dword [esp + 0x28]
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
xor ebx, ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::CString_5
lea ecx, [esp + 0x74]
mov byte [esp + 0x1114], 0xd
call sub.MFC42u.DLL_CString::CString_5
lea ecx, [esp + 0xb8]
mov byte [esp + 0x1114], 0xe
call fcn.0043c730
lea ecx, [esp + 0xa0]
mov byte [esp + 0x1114], 0xf
call fcn.0043c730
mov byte [esp + 0x1114], 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov esi, dword [sym.imp.MSVCRT.dll_malloc]
and eax, 0xff
push 0x100000
mov dword [esp + 0xb8], eax
call esi
mov edi, eax
add esp, 4
cmp edi, ebx
mov dword [esp + 0x8c], edi
je 0x41426f
push 0x100000
call esi
mov esi, eax
add esp, 4
cmp esi, ebx
mov dword [esp + 0x6c], esi
je 0x414265
push str.RegistryMachineSYSTEMCurrentControlSetServices
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
lea ecx, [esp + 0xb8]
push eax
push str.RegistryMachineSYSTEMCurrentControlSetServices
call fcn.0043c970
lea ecx, [esp + 0x98]
push ecx
push 0x20019
lea ecx, [esp + 0xc0]
call fcn.0043c810
push eax
lea ecx, [esp + 0xc4]
call fcn.0043c820
push eax
call fcn.0042c6d0
add esp, 0x10
cmp al, 1
jne 0x41425b
mov dword [esp + 0x78], ebx
mov edx, dword [esp + 0x111c]
cmp dword [edx], 1
je 0x414242
mov edi, dword [esp + 0x8c]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x98]
push ebx
push ebx
push ebx
push ebx
push 0x100000
push edi
push ebx
push eax
push ecx
push 0x20
call fcn.0042c750
add esp, 0x28
cmp al, 1
jne 0x414249
mov dword [esp + 0x28], edi
mov edx, dword [esp + 0x111c]
cmp dword [edx], 1
je 0x413ba4
mov edi, dword [esp + 0x28]
lea ecx, [esp + 0x40]
mov eax, dword [edi + 0xc]
lea esi, [edi + 0x10]
shr eax, 1
push eax
push esi
call sub.MFC42u.DLL_CString::CString_1
push str.RegistryMachineSYSTEMCurrentControlSetServices
mov byte [esp + 0x1118], 0x11
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
lea ecx, [esp + 0xa0]
push eax
push str.RegistryMachineSYSTEMCurrentControlSetServices
call fcn.0043c970
push 1
push 0x4c6204
lea ecx, [esp + 0xa8]
call fcn.0043c990
mov ecx, dword [edi + 0xc]
shr ecx, 1
push ecx
push esi
lea ecx, [esp + 0xa8]
call fcn.0043c990
lea ecx, [esp + 0x74]
xor edi, edi
xor ebp, ebp
call sub.MFC42u.DLL_CString::Empty
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::Empty
lea edx, [esp + 0x44]
lea ecx, [esp + 0xa0]
push edx
push 0x20019
call fcn.0043c810
push eax
lea ecx, [esp + 0xac]
call fcn.0043c820
push eax
call fcn.0042c6d0
add esp, 0x10
cmp al, 1
jne 0x414209
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x44]
push ebx
push ebx
push ebx
push ebx
push 0x100000
push eax
push 1
push ebx
push ecx
push 0x21
call fcn.0042c750
add esp, 0x28
cmp al, 1
jne 0x413e78
mov esi, dword [esp + 0x6c]
mov edx, dword [esp + 0x111c]
cmp dword [edx], 1
je 0x413e78
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x413e49
shr eax, 1
push eax
lea eax, [esi + 0x14]
push eax
lea ecx, [esp + 0x44]
call sub.MFC42u.DLL_CString::CString_1
mov ecx, dword [esp + 0x3c]
push str.ImagePath
push ecx
mov byte [esp + 0x111c], 0x12
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
cmp eax, ebx
jne 0x413d84
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x413e38
mov edx, dword [esi + 0xc]
add eax, esi
shr edx, 1
push edx
push eax
lea ecx, [esp + 0x78]
call sub.MFC42u.DLL_CString::CString_1
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x70]
push eax
mov byte [esp + 0x1118], 0x13
call fcn.00414aa0
cmp eax, 1
je 0x413e56
mov ecx, dword [esp + 0x70]
lea edx, [esp + 0x10]
push ecx
push 0x4c61d8
push edx
mov ebp, 1
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
mov byte [esp + 0x1114], 0x12
lea ecx, [esp + 0x70]
jmp 0x413e33
mov eax, dword [esp + 0x3c]
push str.Start
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
cmp eax, ebx
jne 0x413dc4
mov eax, dword [esi + 8]
mov edi, 1
cmp eax, 0xffffffff
je 0x413db7
mov ecx, dword [eax + esi]
mov dword [esp + 0x84], ecx
jmp 0x413e38
mov dword [esp + 0x84], 5
jmp 0x413e38
mov edx, dword [esp + 0x3c]
push str.Description
push edx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
cmp eax, ebx
jne 0x413e38
cmp dword [esp + 0xb4], 6
je 0x413e38
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x413e38
mov ecx, dword [esi + 0xc]
add eax, esi
shr ecx, 1
push ecx
push eax
lea ecx, [esp + 0x9c]
call sub.MFC42u.DLL_CString::CString_1
mov edx, dword [esp + 0x94]
lea eax, [esp + 0x74]
push edx
push 0x4c61d8
push eax
mov byte [esp + 0x1120], 0x14
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
mov byte [esp + 0x1114], 0x12
lea ecx, [esp + 0x94]
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1114], 0x11
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esi]
cmp eax, ebx
je 0x413e78
add esi, eax
jmp 0x413cd0
lea ecx, [esp + 0x70]
mov byte [esp + 0x1114], 0x12
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1114], 0x11
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x44]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, 1
jne 0x414209
cmp ebp, edi
jne 0x414209
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
cmp esi, eax
je 0x413ece
mov edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
mov eax, dword [esi]
mov edx, dword [esp + 0x40]
push eax
push edx
call edi
add esp, 8
cmp eax, ebx
je 0x413ec4
mov eax, dword [esp + 0x34]
add esi, 0x24
cmp esi, eax
jne 0x413ea6
jmp 0x413ece
cmp esi, dword [esp + 0x34]
jne 0x414005
lea ecx, [esp + 0x48]
call sub.MFC42u.DLL_CString::Empty
lea ecx, [esp + 0x4c]
call sub.MFC42u.DLL_CString::Empty
lea ecx, [esp + 0x50]
call sub.MFC42u.DLL_CString::Empty
lea ecx, [esp + 0x54]
call sub.MFC42u.DLL_CString::Empty
lea ecx, [esp + 0x58]
call sub.MFC42u.DLL_CString::Empty
lea ecx, [esp + 0x5c]
call sub.MFC42u.DLL_CString::Empty
lea ecx, [esp + 0x60]
call sub.MFC42u.DLL_CString::Empty
lea ecx, [esp + 0x64]
call sub.MFC42u.DLL_CString::Empty
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x48]
push eax
push 0x4c61d8
push ecx
mov dword [esp + 0x74], 1
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
mov dword [esp + 0x68], ebx
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
cmp esi, ebx
je 0x413fc6
mov edx, dword [esp + 0x40]
push 5
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
cmp edi, ebx
je 0x413fbf
lea eax, [esp + 0xcc]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x413fb8
mov eax, dword [esp + 0xd0]
cmp eax, 7
ja 0x413f83
cmp eax, ebx
jne 0x413f88
mov eax, 8
mov ecx, dword [0x5401c4]
dec eax
and eax, 7
mov dword [esp + 0xd0], eax
lea edx, [ecx + eax*2]
lea ecx, [esp + 0x4c]
add eax, edx
mov eax, dword [eax*4 + 0x4c9250]
push eax
push 0x4c61d8
push ecx
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x48]
push edx
push 1
push eax
lea ecx, [esp + 0x38]
call fcn.00417310
mov esi, dword [esp + 0x30]
cmp esi, ebx
jne 0x413fe7
xor edx, edx
jmp 0x413ffe
mov ecx, dword [esp + 0x34]
mov eax, 0x38e38e39
sub ecx, esi
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea edx, [edx + edx*8]
lea esi, [esi + edx*4 - 0x24]
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::Empty
push str.Parameters
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
lea ecx, [esp + 0xa0]
push eax
push str.Parameters
call fcn.0043c990
lea eax, [esp + 0x44]
lea ecx, [esp + 0xa0]
push eax
push 0x20019
call fcn.0043c810
push eax
lea ecx, [esp + 0xac]
call fcn.0043c820
push eax
call fcn.0042c6d0
add esp, 0x10
cmp al, 1
jne 0x4140c3
mov edi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x44]
push 0x100000
push edi
push str.ServiceDll
push 1
push ecx
call fcn.0042c9d0
add esp, 0x14
cmp al, 1
jne 0x4140b8
mov eax, dword [edi + 8]
cmp eax, 0xffffffff
je 0x4140b8
mov ecx, dword [edi + 0xc]
add eax, ecx
mov ecx, edi
mov byte [eax + edi], 0
mov edx, dword [edi + 0xc]
mov eax, dword [edi + 8]
add edx, edi
mov byte [edx + eax + 1], 0
mov ebp, dword [edi + 8]
add ecx, ebp
lea edx, [esp + 0x18]
push ecx
push 0x4c61d8
push edx
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
mov eax, dword [esp + 0x44]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x84]
cmp eax, 4
jbe 0x4140db
mov eax, 4
mov dword [esp + 0x84], eax
mov ecx, dword [0x5401c4]
lea edx, [ecx + eax*2]
lea ecx, [esi + 8]
add eax, edx
mov eax, dword [eax*4 + 0x4c92b0]
push eax
push 0x4c61d8
push ecx
call sub.MFC42u.DLL_CString::Format
mov eax, dword [esp + 0x80]
add esp, 0xc
cmp dword [eax - 8], ebx
je 0x41411d
push eax
lea edx, [esi + 0xc]
push 0x4c61d8
push edx
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
mov ebp, dword [esp + 0x24]
lea eax, [esp + 0x10]
push eax
mov ecx, ebp
call fcn.00414d20
mov ecx, dword [esp + 0x10]
lea edi, [esi + 0x10]
push ecx
push 0x4c61d8
push edi
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x10]
mov ecx, ebp
push edx
call fcn.00414e60
mov eax, dword [ebp]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, ebp
call dword [eax + 0xf0]
mov eax, dword [esp + 0x1c]
push eax
push 0x4c61d8
push edi
call sub.MFC42u.DLL_CString::Format
mov edx, dword [ebp]
add esp, 0xc
lea eax, [esp + 0x1c]
mov ecx, ebp
push eax
call dword [edx + 0x118]
test eax, eax
jne 0x41418f
mov dword [esp + 0x68], ebx
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
call fcn.00414d20
mov edx, dword [esp + 0x18]
lea eax, [esi + 0x18]
push edx
push 0x4c61d8
push eax
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
call fcn.00414e60
mov edx, dword [ebp]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, ebp
call dword [edx + 0xf0]
mov edx, dword [esp + 0x1c]
add esi, 0x1c
push edx
push 0x4c61d8
push esi
call sub.MFC42u.DLL_CString::Format
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp dword [eax - 8], ebx
je 0x414209
mov edx, dword [ebp]
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
call dword [edx + 0x118]
test eax, eax
jne 0x414209
mov dword [esp + 0x68], ebx
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x78]
inc ecx
mov byte [esp + 0x1114], 0x10
mov eax, dword [esi]
mov dword [esp + 0x78], ecx
cmp eax, ebx
lea ecx, [esp + 0x40]
je 0x414238
call sub.MFC42u.DLL_CString::CString
add esi, dword [esi]
mov dword [esp + 0x28], esi
jmp 0x413be9
call sub.MFC42u.DLL_CString::CString
jmp 0x413ba4
mov edi, dword [esp + 0x8c]
mov ecx, dword [esp + 0x98]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x6c]
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
cmp esi, eax
je 0x414304
mov edi, dword [esp + 0x1120]
add esi, 0x1c
cmp edi, 1
jne 0x414295
cmp dword [esi + 4], ebx
je 0x414299
jmp 0x4142f6
cmp edi, ebx
jne 0x4142f6
mov edx, dword [esi]
mov eax, dword [esi - 4]
mov ecx, dword [esi - 8]
push edx
mov edx, dword [esi - 0xc]
push eax
mov eax, dword [esi - 0x14]
push ecx
mov ecx, dword [esi - 0x18]
push edx
mov edx, dword [esi - 0x1c]
push eax
push ecx
push edx
push 0x4c7c88
lea eax, [esp + 0x34]
push str._s__s____s____s____s____s____s____s
push eax
call sub.MFC42u.DLL_CString::Format
mov ebp, dword [esp + 0x114c]
add esp, 0x28
mov ecx, dword [ebp + 0x20]
push ebx
push ebx
push 0x1004
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esp + 0x14]
push ebx
push ebx
push ebx
push ebx
push edx
push eax
push 1
mov ecx, ebp
call sub.MFC42u.DLL_CListCtrl::InsertItem
mov ecx, dword [esp + 0x34]
add esi, 0x24
lea eax, [esi - 0x1c]
cmp eax, ecx
jne 0x414289
mov esi, dword [esp + 0x1124]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
mov ecx, dword [esi + 0x20]
push 0x1004
push ecx
call edi
cmp dword [esp + 0x80], eax
jne 0x41436c
mov edx, dword [0x5401c4]
lea ecx, [esp + 0x14]
mov eax, dword [edx*4 + 0x4c62c8]
push eax
push 0x4c7c88
push str._s__s
push ecx
call sub.MFC42u.DLL_CString::Format
mov edx, dword [esi + 0x20]
add esp, 0x10
push ebx
push ebx
push 0x1004
push edx
call edi
mov ecx, dword [esp + 0x14]
push ebx
push ebx
push ebx
push ebx
push ecx
push eax
push 1
mov ecx, esi
call sub.MFC42u.DLL_CListCtrl::InsertItem
lea ecx, [esp + 0xa0]
mov byte [esp + 0x1114], 0xf
call fcn.0043c7e0
lea ecx, [esp + 0xb8]
mov byte [esp + 0x1114], 0xe
call fcn.0043c7e0
lea ecx, [esp + 0x74]
mov byte [esp + 0x1114], 0xd
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x1114], 0xc
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x64]
mov byte [esp + 0x1114], 0x1b
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x60]
mov byte [esp + 0x1114], 0x1a
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1114], 0x19
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x58]
mov byte [esp + 0x1114], 0x18
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x54]
mov byte [esp + 0x1114], 0x17
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x50]
mov byte [esp + 0x1114], 0x16
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1114], 0x15
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x48]
mov byte [esp + 0x1114], 4
call sub.MFC42u.DLL_CString::CString
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
cmp esi, edi
mov dword [esp + 0x80], esi
je 0x4144eb
mov bl, 0x1c
lea ecx, [esi + 0x1c]
mov byte [esp + 0x1114], 0x22
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0x18]
mov byte [esp + 0x1114], 0x21
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0x14]
mov byte [esp + 0x1114], 0x20
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0x10]
mov byte [esp + 0x1114], 0x1f
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0xc]
mov byte [esp + 0x1114], 0x1e
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 8]
mov byte [esp + 0x1114], 0x1d
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 4]
mov byte [esp + 0x1114], bl
call sub.MFC42u.DLL_CString::CString
mov ecx, esi
mov byte [esp + 0x1114], 3
call sub.MFC42u.DLL_CString::CString
add esi, 0x24
cmp esi, edi
mov dword [esp + 0x80], esi
jne 0x414457
mov esi, dword [esp + 0x30]
push esi
call sub.MFC42u.DLL_operatordelete
xor eax, eax
add esp, 4
lea ecx, [esp + 0x9c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov byte [esp + 0x1114], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1114], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x1114], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x1114], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x110c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1108
ret 0x10