Function at 0x417d50
Capabilities:
Access peb ldr_data
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46332f
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x488480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00415060
mov eax, dword [sym.imp.USER32.dll_DefWindowProcA]
mov dword [esi + 0x34], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], eax
mov dword [esi], vtable.TLRDialog_class_ATL::CWindowImpl_class_LRPopupDialog__class_ATL::CWindow__class_ATL::CWinTraits__2046820352__0___.0
lea ecx, [esi + 0x68]
mov dword [esi + 0x30], vtable.TLRDialog_class_ATL::CWindowImpl_class_LRPopupDialog__class_ATL::CWindow__class_ATL::CWinTraits__2046820352__0___.1.0
mov dword [ebp - 4], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
call fcn.0041de00
mov eax, dword [ebp + 8]
mov ecx, 0x48a7a0
push 0x12
mov byte [ebp - 4], 1
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0xa0
mov dword [esi + 0x64], 0x78
mov dword [esi + 0x54], 0
call fcn.0040b7a0
mov dword [esi + 0x88], eax
mov dword [esi + 0x30], vtable.LRPopupDialog.1.0
lea ecx, [esi + 0x90]
mov dword [ebp - 4], 2
mov dword [esi], vtable.LRMessageBoxButtons.0
mov dword [esi + 0x30], vtable.LRMessageBoxButtons.1.0
call fcn.00413f30
lea ecx, [esi + 0x108]
mov byte [ebp - 4], 3
call fcn.00413f30
lea ecx, [esi + 0x180]
mov byte [ebp - 4], 4
call fcn.00413f30
lea edi, [esi + 0x1f8]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xa
lea ebx, [esi + 0x210]
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xa
lea eax, [esi + 0x228]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xa
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 8
mov dword [esi + 0x8c], eax
cmp eax, 6
ja case.default.0x417eed
jmp dword [eax*4 + 0x4180ec]
push 2
push 0x46a5e4
lea ecx, [esi + 0xd4]
call fcn.00404510
push 0xd
mov ecx, edi
call fcn.00418310
push 0x1b
mov ecx, edi
call fcn.00418310
push 0x20
mov ecx, edi
call fcn.00418310
jmp case.default.0x417eed
push 2
lea ecx, [esi + 0xd4]
push 0x46a5e4
call fcn.00404510
push 0xd
mov ecx, edi
call fcn.00418310
push 0
push ecx
mov edi, esp
mov dword [ebp + 8], edi
call fcn.00404210
mov ecx, eax
test ecx, ecx
je 0x4180df
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov eax, str.Cancel
mov byte [ebp - 4], 9
mov ecx, edi
test eax, 0xffff0000
jne 0x417f7f
movzx eax, ax
push eax
call fcn.0040a210
jmp 0x417f8b
push 6
push str.Cancel
call fcn.00404510
mov eax, dword [esi + 0x108]
lea ecx, [esi + 0x108]
mov byte [ebp - 4], 8
call dword [eax + 0x2c]
push 0x1b
mov ecx, ebx
call fcn.00418310
jmp case.default.0x417eed
push 3
push 0x46a5e8
lea ecx, [esi + 0xd4]
call fcn.00404510
push 0x59
mov ecx, edi
mov byte [esi + 0xa4], 0x59
call fcn.00418310
push 2
push 0x46a5ec
lea ecx, [esi + 0x14c]
call fcn.00404510
push 0x4e
mov ecx, ebx
mov byte [esi + 0x11c], 0x4e
call fcn.00418310
push 0x1b
mov ecx, ebx
call fcn.00418310
jmp case.default.0x417eed
push 3
push 0x46a5e8
lea ecx, [esi + 0xd4]
call fcn.00404510
push 0x59
mov ecx, edi
mov byte [esi + 0xa4], 0x59
call fcn.00418310
push 2
push 0x46a5ec
lea ecx, [esi + 0x14c]
call fcn.00404510
push 0x4e
mov ecx, ebx
mov byte [esi + 0x11c], 0x4e
call fcn.00418310
push 6
push str.Cancel
lea ecx, [esi + 0x1c4]
call fcn.00404510
push 0x1b
lea ecx, [esi + 0x228]
call fcn.00418310
jmp case.default.0x417eed
push 5
push str.User1
lea ecx, [esi + 0xd4]
jmp 0x4180c4
push 5
push str.User1
lea ecx, [esi + 0xd4]
call fcn.00404510
push 5
push str.User2
lea ecx, [esi + 0x14c]
jmp 0x4180c4
push 5
push str.User1
lea ecx, [esi + 0xd4]
call fcn.00404510
push 5
push str.User2
lea ecx, [esi + 0x14c]
call fcn.00404510
push 5
push str.User3
lea ecx, [esi + 0x1c4]
call fcn.00404510
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00404100
nop dword [eax]
hlt