Function at 0x100c5fc0
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017d111
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x101e8118]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x11e0], 0
jne 0x100c6049
mov ecx, dword [ebp + 8]
add ecx, 0x1c
call fcn.100d2820
test eax, eax
je 0x100c603f
mov ecx, dword [ebp + 8]
add ecx, 0x1c
call fcn.100d2830
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x120]
push edx
mov eax, dword [ebp - 0x120]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
call edx
jmp 0x100c69fb
mov eax, 1
jmp 0x100c69fb
mov byte [0x101ee006], 1
lea ecx, [ebp - 0x30]
call fcn.10005760
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.10005760
mov byte [ebp - 4], 1
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x30
call fcn.100e2d70
lea ecx, [ebp - 0x14]
call fcn.100d28d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.100d2930
push eax
push 0x101b11d0
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [eax]
call edx
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jge 0x100c60ea
mov dword [ebp - 0x104], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.100bdf00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.10006030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10006030
mov eax, dword [ebp - 0x104]
jmp 0x100c69fb
lea ecx, [ebp - 0x54]
call fcn.100d2d60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x54]
call fcn.100d2de0
push eax
push 0x101ab7d0
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ecx]
call eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jge 0x100c6162
mov dword [ebp - 0x108], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.100d2460
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.100bdf00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.10006030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10006030
mov eax, dword [ebp - 0x108]
jmp 0x100c69fb
lea ecx, [ebp - 0x54]
call fcn.100d2df0
mov dword [ebp - 0x124], eax
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x124]
push edx
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
call edx
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jge 0x100c61d9
mov dword [ebp - 0x10c], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.100d2460
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.100bdf00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.10006030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10006030
mov eax, dword [ebp - 0x10c]
jmp 0x100c69fb
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x10], 0
call fcn.10108150
movzx eax, al
test eax, eax
jne 0x100c6211
call fcn.100b09a0
movzx ecx, al
test ecx, ecx
je 0x100c6298
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov word [ebp - 0x58], ax
push 0x1019c0b8
call fcn.10090c40
mov dword [ebp - 0x4c], eax
mov dx, word [ebp - 0x58]
push edx
push 0x6041
push 4
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jne 0x100c6272
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.ieframe.dll.mui
call fcn.10090c40
mov dword [ebp - 0x4c], eax
push 4
push 0x6041
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x4c], 0
je 0x100c6296
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
push edx
call dword [sym.imp.USER32.dll_LoadMenuIndirectW]
mov dword [ebp - 0x34], eax
jmp 0x100c62b7
push str.SHDOCLC.DLL
call fcn.10090c40
mov dword [ebp - 0x4c], eax
push 0x6041
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_LoadMenuW]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x4c], 0
je 0x100c62d4
cmp dword [ebp - 0x34], 0
je 0x100c62d4
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.USER32.dll_GetSubMenu]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x100c63b0
mov ecx, dword [ebp + 8]
add ecx, 0x1c
call fcn.100d2820
test eax, eax
je 0x100c6368
mov ecx, dword [ebp + 8]
add ecx, 0x1c
call fcn.100d2830
mov dword [ebp - 0x128], eax
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x128]
push ecx
mov edx, dword [ebp - 0x128]
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
call ecx
mov dword [ebp - 0x110], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.100d2460
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.100bdf00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.10006030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10006030
mov eax, dword [ebp - 0x110]
jmp 0x100c69fb
mov dword [ebp - 0x114], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.100d2460
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.100bdf00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.10006030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10006030
mov eax, dword [ebp - 0x114]
jmp 0x100c69fb
mov word [ebp - 0x2c], 0x25
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x24], edx
mov word [ebp - 0x44], 3
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x14]
call fcn.100d2940
mov dword [ebp - 0x12c], eax
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x2c]
push edx
push 0
push 0x35
push 0x101a9410
mov eax, dword [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x30]
call fcn.100059e0
test eax, eax
jne 0x100c6504
push 0x1019c108
push str.contextMenuItemName
mov ecx, dword [ebp + 8]
add ecx, 0xf4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xf4]
mov edx, dword [eax + 0xb4]
call edx
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x68]
call fcn.100057d0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x6c]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0xf4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xf4]
mov edx, dword [eax + 0xa8]
call edx
push str.contextSearch
mov ecx, dword [ebp + 8]
add ecx, 0xf4
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xf4]
mov eax, dword [edx + 0xb0]
call eax
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
push ecx
lea ecx, [ebp - 0x70]
call fcn.100057d0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x6c]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0xf4
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xf4]
mov eax, dword [edx + 0xa8]
call eax
lea ecx, [ebp - 0x68]
call fcn.100059e0
test eax, eax
jne 0x100c64ec
lea ecx, [ebp - 0x70]
call fcn.100059e0
test eax, eax
jne 0x100c64ec
push 0
lea ecx, [ebp - 0x68]
call fcn.10005f10
push eax
push 0x4b1
push 0x400
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_InsertMenuW]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.10006030
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x68]
call fcn.10006030
mov dword [ebp - 0x74], 0
jmp 0x100c6516
mov edx, dword [ebp - 0x74]
add edx, 1
mov dword [ebp - 0x74], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x11e0]
add ecx, 0x98
call fcn.1003c570
cmp dword [ebp - 0x74], eax
jae 0x100c6763
push str.selected_text
mov ecx, dword [ebp - 0x74]
push ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x11e0]
add ecx, 0x98
call fcn.1003c5b0
mov eax, dword [eax]
add eax, 0x18
push eax
call fcn.10006460
movzx ecx, al
test ecx, ecx
je 0x100c6570
lea ecx, [ebp - 0x30]
call fcn.100059e0
test eax, eax
je 0x100c6570
jmp 0x100c650d
mov dword [ebp - 0xa4], 0
push 0x2c
push 0
lea edx, [ebp - 0xa0]
push edx
call fcn.1013b530
add esp, 0xc
mov dword [ebp - 0xa4], 0x30
mov dword [ebp - 0xa0], 2
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x11e0]
add ecx, 0x98
call fcn.1003c5b0
mov edx, dword [eax]
cmp dword [edx + 0x20], 0
je 0x100c65dc
mov dword [ebp - 0x9c], 0x800
mov eax, dword [ebp - 0xa0]
or eax, 0x10
mov dword [ebp - 0xa0], eax
jmp 0x100c6637
mov ecx, dword [ebp - 0xa0]
or ecx, 0x40
mov dword [ebp - 0xa0], ecx
push 0
mov edx, dword [ebp - 0x74]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x11e0]
add ecx, 0x98
call fcn.1003c5b0
mov ecx, dword [eax]
add ecx, 0x10
call fcn.10005f10
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x74]
push ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x11e0]
add ecx, 0x98
call fcn.1003c5b0
mov ecx, dword [eax]
add ecx, 0x10
call fcn.100059c0
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x74]
add eax, 0x4b2
mov dword [ebp - 0x94], eax
lea ecx, [ebp - 0xa4]
push ecx
push 1
push 0xffffffffffffffff
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.USER32.dll_InsertMenuItemW]
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x11e0]
add ecx, 0x98
call fcn.1003c5b0
mov ecx, dword [eax]
add ecx, 0x1c
call fcn.100059e0
test eax, eax
jne 0x100c675e
mov edx, dword [ebp - 0x74]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x11e0]
add ecx, 0x98
call fcn.1003c5b0
mov ecx, dword [eax]
add ecx, 0x1c
push ecx
push 0
lea edx, [ebp - 0x118]
push edx
call fcn.100addf0
add esp, 8
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x134], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x134]
push ecx
lea edx, [ebp - 0xf4]
push edx
call fcn.10019590
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x118]
call fcn.10006030
lea ecx, [ebp - 0xec]
call fcn.1005e0b0
mov byte [ebp - 4], 9
push 0
lea ecx, [ebp - 0xf4]
call fcn.10005f10
push eax
lea ecx, [ebp - 0xec]
call fcn.1009cde0
lea ecx, [ebp - 0xec]
call fcn.100d2430
mov dword [ebp - 0xf0], eax
push 0
mov eax, dword [ebp - 0xf0]
push eax
push 0
mov ecx, dword [ebp - 0x94]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.USER32.dll_SetMenuItemBitmaps]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xec]
call fcn.1005e150
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xf4]
call fcn.10006030
jmp 0x100c650d
mov dword [ebp - 0x48], 0
push 0x100b6250
push 0xfffffffffffffffc
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [0x101ea5ac], eax
push 0
mov ecx, dword [ebp - 0x50]
push ecx
push 0
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
push 0x102
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_TrackPopupMenu]
mov dword [ebp - 0x64], eax
mov ecx, dword [0x101ea5ac]
push ecx
push 0xfffffffffffffffc
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
cmp dword [0x101ea5a8], 0
je 0x100c67d9
mov eax, dword [0x101ea5a8]
push eax
call dword [sym.imp.USER32.dll_DestroyMenu]
mov dword [0x101ea5a8], 0
movzx ecx, byte [0x101e59f3]
test ecx, ecx
je 0x100c698f
mov byte [0x101e59f3], 0
cmp dword [ebp - 0x64], 0x4b1
jne 0x100c688e
mov dword [ebp - 0xf8], 0xffffffff
push str.ContextSearch
mov ecx, dword [ebp + 8]
add ecx, 0x30
call fcn.100e7520
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0
jl 0x100c6889
mov edx, dword [ebp + 8]
add edx, 0x30
je 0x100c683d
mov eax, dword [ebp + 8]
add eax, 0xf4
mov dword [ebp - 0x138], eax
jmp 0x100c6847
mov dword [ebp - 0x138], 0
mov ecx, dword [ebp - 0xf8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x11e0]
mov ecx, dword [eax + 0xbc]
add ecx, 0x10
call fcn.100045d0
mov ecx, dword [eax]
mov dword [ebp - 0x13c], ecx
push 0
mov edx, dword [ebp - 0x138]
push edx
mov eax, dword [ebp - 0x13c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x13c]
mov eax, dword [edx + 0x28]
call eax
jmp 0x100c6986
cmp dword [ebp - 0x64], 0x4b2
jl 0x100c6971
mov ecx, dword [0x101ea5b0]
add ecx, 0x4b2
cmp dword [ebp - 0x64], ecx
jge 0x100c6971
mov edx, dword [ebp - 0x64]
sub edx, 0x4b2
mov dword [ebp - 0xfc], edx
mov dword [ebp - 0x100], 0xffffffff
push 0
mov eax, dword [ebp - 0xfc]
push eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x11e0]
add ecx, 0x98
call fcn.1003c5b0
mov ecx, dword [eax]
add ecx, 0x14
call fcn.10005f10
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x30
call fcn.100e7520
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0
jl 0x100c696f
mov edx, dword [ebp + 8]
add edx, 0x30
je 0x100c6923
mov eax, dword [ebp + 8]
add eax, 0xf4
mov dword [ebp - 0x140], eax
jmp 0x100c692d
mov dword [ebp - 0x140], 0
mov ecx, dword [ebp - 0x100]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x11e0]
mov ecx, dword [eax + 0xbc]
add ecx, 0x10
call fcn.100045d0
mov ecx, dword [eax]
mov dword [ebp - 0x144], ecx
push 0
mov edx, dword [ebp - 0x140]
push edx
mov eax, dword [ebp - 0x144]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x144]
mov eax, dword [edx + 0x28]
call eax
jmp 0x100c6986
push 0
mov ecx, dword [ebp - 0x64]
push ecx
push 0x111
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [0x101e59f3], 1
jmp 0x100c69a4
push 0
mov eax, dword [ebp - 0x64]
push eax
push 0x111
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.USER32.dll_DestroyMenu]
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x11c], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.100d2460
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.100bdf00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.10006030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10006030
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x14