Function at 0x46d2e0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0175
mov eax, dword fs:[0]
push eax
sub esp, 0x18c
mov eax, dword [0x5299c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x168], ecx
xor eax, eax
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x198], eax
call fcn.0046d060
mov edi, eax
mov dword [ebp - 0x194], edi
lea ecx, [ebp - 0x180]
mov dword [ebp - 4], 0
call fcn.00410d00
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x188], 0
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x160], esp
push 0xa
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.Extensions
mov byte [ecx], 0
call fcn.00403090
lea eax, [ebp - 0x190]
mov byte [ebp - 4], 4
push eax
sub esp, 0x18
mov ecx, esp
push 0xe
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push 0x4fc1b8
mov byte [ecx], 0
call fcn.00403090
mov ecx, dword [ebp - 0x180]
mov byte [ebp - 4], 3
call fcn.004298e0
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x15c], eax
cmp eax, dword [ebp - 0x18c]
je 0x46d4ff
nop dword [eax]
push eax
lea ecx, [ebp - 0x140]
call fcn.00401c50
mov esi, dword [ebp - 0x178]
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x16c], ecx
cmp esi, dword [ebp - 0x174]
je 0x46d47a
mov edi, dword [ebp - 0x174]
nop dword [eax]
cmp dword [ebp - 0x12c], 0x10
lea eax, [ebp - 0x140]
cmovae eax, ecx
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x46d44a
mov ecx, dword [esi]
push dword [ebp - 0x130]
push eax
push dword [esi + 0x10]
push ecx
call fcn.00401be0
add esp, 0x10
test al, al
jne 0x46d46e
mov ecx, dword [ebp - 0x16c]
add esi, 0x18
cmp esi, edi
jne 0x46d430
mov edi, dword [ebp - 0x194]
mov ecx, dword [ebp - 0x16c]
mov eax, dword [ebp - 0x12c]
cmp eax, 0x10
jb 0x46d4b0
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x46d4a6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46dc83
push edx
push ecx
call fcn.004ab6c8
add esp, 8
mov eax, dword [ebp - 0x174]
cmp esi, eax
jne 0x46d4e4
push dword [ebp - 0x15c]
cmp dword [ebp - 0x170], eax
je 0x46d4d8
mov ecx, eax
call fcn.00401c50
add dword [ebp - 0x174], 0x18
jmp 0x46d4e4
push eax
lea ecx, [ebp - 0x178]
call fcn.0040c870
mov eax, dword [ebp - 0x15c]
add eax, 0x18
mov dword [ebp - 0x15c], eax
cmp eax, dword [ebp - 0x18c]
jne 0x46d400
push 0xe
push str...extensions_
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0xf
mov byte [ebp - 0x158], 0
call fcn.00403090
mov ecx, dword [ebp - 0x174]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x178]
imul ecx
mov byte [ebp - 4], 5
sar edx, 2
mov eax, edx
mov dword [ebp - 0x16c], 0
shr eax, 0x1f
add eax, edx
je 0x46d996
mov dword [ebp - 0x15c], 0
push 0x44
call fcn.004ab698
mov esi, eax
add esp, 4
mov dword [ebp - 0x160], esi
test esi, esi
je 0x46d5f9
mov dword [esi], vtable.Presentation::Extension.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 1
jmp 0x46d5fb
xor esi, esi
mov eax, dword [ebp - 0x178]
add eax, dword [ebp - 0x15c]
mov dword [ebp - 0x160], esi
mov dword [ebp - 0x184], eax
mov ecx, dword [ebp - 0x164]
add eax, 0x10
mov dword [ebp - 0x17c], eax
or ecx, 1
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
mov eax, dword [eax]
add eax, dword [ebp - 0x148]
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x198], ecx
lea ecx, [ebp - 0x128]
push eax
mov byte [ebp - 4], 6
call fcn.0040c2d0
cmp dword [ebp - 0x144], 0x10
lea eax, [ebp - 0x158]
push dword [ebp - 0x148]
cmovae eax, dword [ebp - 0x158]
lea ecx, [ebp - 0x128]
push eax
call fcn.00402f30
mov eax, dword [ebp - 0x184]
cmp dword [eax + 0x14], 0x10
jb 0x46d698
mov eax, dword [eax]
mov ecx, dword [ebp - 0x17c]
push dword [ecx]
lea ecx, [ebp - 0x128]
push eax
call fcn.00402f30
push 4
push str..dll
lea ecx, [ebp - 0x128]
call fcn.00402f30
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x140], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x130], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov eax, dword [ebp - 0x164]
or eax, 2
and eax, 0xfffffffe
mov dword [ebp - 0x164], eax
mov edx, dword [ebp - 0x114]
mov byte [ebp - 4], 8
cmp edx, 0x10
jb 0x46d74a
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46d740
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46dc83
push edx
push ecx
call fcn.004ab6c8
add esp, 8
cmp dword [ebp - 0x12c], 0x10
lea eax, [ebp - 0x140]
mov dword [ebp - 0x118], 0
cmovae eax, dword [ebp - 0x140]
push eax
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi + 4], eax
test eax, eax
je 0x46d917
push str.CreateModuleWindow_
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x3c], eax
test eax, eax
je 0x46d917
push str.IOControl
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 8], eax
test eax, eax
je 0x46d917
push str.InitModule
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0xc], eax
test eax, eax
je 0x46d917
push str.ReleaseModule
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [esi + 0xc], 0
mov dword [esi + 0x10], eax
je 0x46d917
push str.PrepareModule
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x14], eax
test eax, eax
je 0x46d917
push str.ActivateModule
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x18], eax
test eax, eax
je 0x46d917
push str.InitSession
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x1c], eax
test eax, eax
je 0x46d917
push str.CheckSncAzsExtensionModule
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x28], eax
test eax, eax
je 0x46d917
push str.GetModuleName
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x20], eax
test eax, eax
je 0x46d917
push str.GetModuleGroupName
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x24], eax
test eax, eax
je 0x46d917
push str.GetModuleWindowInfo
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x2c], eax
test eax, eax
je 0x46d917
push str.InitModuleWindow
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x30], eax
test eax, eax
je 0x46d917
push str.GetModuleWindow
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x34], eax
test eax, eax
je 0x46d917
push str.GetModuleType
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x38], eax
test eax, eax
je 0x46d917
cmp dword [esi + 4], 0
je 0x46d917
mov eax, dword [esi + 0x28]
call eax
test eax, eax
je 0x46d917
mov ecx, dword [ebp - 0x168]
add ecx, 0x388
mov eax, dword [ecx + 4]
cmp dword [ecx + 8], eax
je 0x46d908
mov dword [eax], esi
add dword [ecx + 4], 4
jmp 0x46d91f
lea edx, [ebp - 0x160]
push edx
push eax
call fcn.0041ebc0
jmp 0x46d91f
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov edx, dword [ebp - 0x12c]
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x46d95d
mov ecx, dword [ebp - 0x140]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46d953
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46dc83
push edx
push ecx
call fcn.004ab6c8
add esp, 8
mov ecx, dword [ebp - 0x174]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x178]
mov esi, dword [ebp - 0x16c]
add dword [ebp - 0x15c], 0x18
inc esi
imul ecx
mov dword [ebp - 0x16c], esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x46d567
mov eax, dword [ebp - 0x168]
push 2
mov eax, dword [eax + 0x31c]
push dword [eax + 0x44]
call dword [sym.imp.USER32.dll_GetSubMenu]
mov esi, eax
mov dword [ebp - 0x184], esi
mov eax, dword [ebp - 0x168]
mov byte [ebp - 4], 9
mov dword [ebp - 0x15c], 0
mov edx, dword [eax + 0x38c]
mov ecx, dword [eax + 0x388]
mov eax, edx
sub eax, ecx
sar eax, 2
test eax, eax
je 0x46dba1
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [ebp - 0x15c]
shl eax, 2
mov dword [ebp - 0x17c], eax
mov eax, dword [eax + ecx]
mov dword [ebp - 0x160], eax
cmp dword [eax + 4], 0
je 0x46da83
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.004c3810
push 0xff
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp - 0x160]
push 0
push 0
push 5
mov eax, dword [eax + 8]
call eax
add esp, 0x20
test eax, eax
je 0x46da83
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x128], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46da70
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
jmp 0x46daa5
push 0
push 0x4f6751
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
lea ecx, [ebp - 0x128]
call fcn.00403090
or dword [ebp - 0x164], 4
cmp dword [ebp - 0x118], 0
mov byte [ebp - 4], 0xa
jne 0x46db0e
mov eax, dword [ebp - 0x168]
mov eax, dword [eax + 0x388]
add eax, dword [ebp - 0x17c]
mov eax, dword [eax]
cmp dword [eax + 4], 0
jne 0x46dae2
xor edx, edx
jmp 0x46dae9
mov eax, dword [eax + 0x20]
call eax
mov edx, eax
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x160], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46daf4
sub ecx, dword [ebp - 0x160]
push ecx
push edx
lea ecx, [ebp - 0x128]
call fcn.00403090
cmp dword [ebp - 0x114], 0x10
lea eax, [ebp - 0x128]
cmovae eax, dword [ebp - 0x128]
push eax
mov eax, dword [ebp - 0x15c]
add eax, 0x186a1
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_AppendMenuA]
mov edx, dword [ebp - 0x114]
mov byte [ebp - 4], 9
cmp edx, 0x10
jb 0x46db76
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46db6c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46dc83
push edx
push ecx
call fcn.004ab6c8
add esp, 8
mov eax, dword [ebp - 0x168]
inc dword [ebp - 0x15c]
mov edx, dword [eax + 0x38c]
mov ecx, dword [eax + 0x388]
mov eax, edx
sub eax, ecx
sar eax, 2
cmp dword [ebp - 0x15c], eax
jb 0x46d9f0
sub edx, ecx
sar edx, 2
test edx, edx
je 0x46dbb8
push 0
push 0x802e
push esi
call dword [sym.imp.USER32.dll_RemoveMenu]
mov edx, dword [ebp - 0x144]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x46dbf6
mov ecx, dword [ebp - 0x158]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46dbec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46dc83
push edx
push ecx
call fcn.004ab6c8
add esp, 8
lea ecx, [ebp - 0x190]
call fcn.0040d630
lea ecx, [ebp - 0x178]
call fcn.0040d630
cmp dword [ebp - 0x180], 0
je 0x46dc58
push 0x534828
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x5348a4]
test eax, eax
je 0x46dc4d
sub eax, 1
mov dword [0x5348a4], eax
jne 0x46dc4d
mov ecx, dword [0x5348a0]
test ecx, ecx
je 0x46dc4d
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [0x5348a0], 0
push 0x534828
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 0xb
test edi, edi
je 0x46dc68
call fcn.0046aab0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ab970
mov esp, ebp
pop ebp
ret
call fcn.004c6d19
int3