Function at 0x10026f9a
Capabilities:
Identify system language via api
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x578
mov eax, dword [0x100e5bc8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x564], eax
mov eax, dword [ebp + 0x14]
xor ebx, ebx
push 0x58
mov dword [ebp - 0x56c], eax
lea eax, [ebp - 0x55c]
push ebx
push eax
mov dword [ebp - 0x568], ecx
mov dword [ebp - 0x560], ebx
call fcn.10074510
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
push 0x25
mov dword [ebp - 0x570], eax
pop eax
mov word [ebp - 0x4e4], ax
push 7
pop eax
mov ecx, eax
mov dword [ebp - 0x4e0], 0xb
mov esi, 0x100a6950
lea edi, [ebp - 0x4dc]
rep movsd dword es:[edi], dword [esi]
push 0x62
mov dword [ebp - 0x574], eax
lea eax, [ebp - 0x4be]
push ebx
push eax
movsw word es:[edi], word [esi]
call fcn.10074510
xor eax, eax
inc eax
push 0x26
mov dword [ebp - 0x45c], eax
mov dword [ebp - 0x454], eax
mov dword [ebp - 0x44c], eax
pop eax
push 7
pop ecx
mov word [ebp - 0x448], ax
mov dword [ebp - 0x458], 0xc
mov dword [ebp - 0x450], 6
mov dword [ebp - 0x444], 0xb
mov esi, 0x100a6970
lea edi, [ebp - 0x440]
rep movsd dword es:[edi], dword [esi]
push 0x62
lea eax, [ebp - 0x422]
push ebx
push eax
movsw word es:[edi], word [esi]
call fcn.10074510
xor eax, eax
inc eax
push 0x27
mov dword [ebp - 0x3c0], eax
mov dword [ebp - 0x3b8], eax
mov dword [ebp - 0x3b0], eax
pop eax
push 7
pop ecx
mov word [ebp - 0x3ac], ax
mov dword [ebp - 0x3bc], 0xc
mov dword [ebp - 0x3b4], 6
mov dword [ebp - 0x3a8], 0xb
mov esi, 0x100a6990
lea edi, [ebp - 0x3a4]
rep movsd dword es:[edi], dword [esi]
push 0x62
lea eax, [ebp - 0x386]
push ebx
push eax
movsw word es:[edi], word [esi]
call fcn.10074510
xor eax, eax
inc eax
push 0x1b
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x31c], eax
mov dword [ebp - 0x314], eax
pop eax
push 7
pop ecx
mov word [ebp - 0x310], ax
mov dword [ebp - 0x320], 0xc
mov dword [ebp - 0x318], 6
mov dword [ebp - 0x30c], 0xb
mov esi, 0x100a69b0
lea edi, [ebp - 0x308]
rep movsd dword es:[edi], dword [esi]
push 0x62
lea eax, [ebp - 0x2ea]
push ebx
push eax
movsw word es:[edi], word [esi]
call fcn.10074510
xor eax, eax
inc eax
push 7
pop ecx
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x278], eax
mov word [ebp - 0x274], ax
mov dword [ebp - 0x284], 0xc
mov dword [ebp - 0x27c], 6
mov dword [ebp - 0x270], 0xb
mov esi, 0x100a69d0
lea edi, [ebp - 0x26c]
rep movsd dword es:[edi], dword [esi]
push 0x62
lea eax, [ebp - 0x24e]
push ebx
push eax
movsw word es:[edi], word [esi]
call fcn.10074510
xor eax, eax
inc eax
push 5
mov dword [ebp - 0x1ec], eax
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x1dc], eax
pop eax
push 7
pop ecx
mov word [ebp - 0x1d8], ax
mov dword [ebp - 0x1e8], 0xc
mov dword [ebp - 0x1e0], 6
mov dword [ebp - 0x1d4], 0xb
mov esi, 0x100a69f0
lea edi, [ebp - 0x1d0]
rep movsd dword es:[edi], dword [esi]
push 0x62
lea eax, [ebp - 0x1b2]
push ebx
push eax
movsw word es:[edi], word [esi]
call fcn.10074510
add esp, 0x48
xor eax, eax
inc eax
push 0x1e
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x140], eax
pop eax
push 7
mov dword [ebp - 0x14c], 0xc
mov dword [ebp - 0x144], 6
mov word [ebp - 0x13c], ax
mov dword [ebp - 0x138], 0xb
pop ecx
mov esi, 0x100a6a10
lea edi, [ebp - 0x134]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x62
lea eax, [ebp - 0x116]
push ebx
push eax
call fcn.10074510
xor eax, eax
inc eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa4], eax
push 7
pop ecx
mov eax, 0xffff
mov word [ebp - 0xa0], ax
mov dword [ebp - 0xb0], 0xc
mov dword [ebp - 0xa8], 6
mov dword [ebp - 0x9c], 0xa
mov esi, str.Lucida_Console
lea edi, [ebp - 0x98]
rep movsd dword es:[edi], dword [esi]
push 0x62
lea eax, [ebp - 0x7a]
push ebx
push eax
movsw word es:[edi], word [esi]
call fcn.10074510
mov eax, dword [ebp + 0xc]
xor esi, esi
inc esi
add esp, 0x18
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0xc
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], 6
mov dword [ebp - 8], esi
sub eax, 5
je 0x100278dd
sub eax, 0x1f
je 0x1002789c
sub eax, 0x2f
je 0x10027460
sub eax, 0x28
je 0x10027460
sub eax, 0x95
je 0x10027467
dec eax
je 0x10027328
sub eax, 0x27
jne 0x10027bb9
mov ecx, dword [ebp - 0x568]
mov eax, dword [ecx + 0x20]
jmp 0x10027bbb
movzx eax, word [ebp + 0x10]
dec eax
je 0x10027453
dec eax
je 0x1002744f
sub eax, 7
je 0x10027440
sub eax, 0xa427
je 0x100273ae
sub eax, 0x7b1
je 0x1002738a
dec eax
jne 0x10027460
mov esi, dword [ebp - 0x564]
mov edi, 0xa42f
push edi
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push 0xffffffffffffffff
push ebx
push 0xb1
push edi
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor esi, esi
inc esi
jmp 0x10027460
push ebx
push ebx
push 0x301
push 0xa42f
push dword [ebp - 0x564]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x10027460
push dword [ebp - 0x564]
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov esi, dword [ebp - 0x568]
mov eax, dword [esi + 0x27d0]
test eax, eax
je 0x100273e0
push dword [esi + 0x27d4]
push eax
call fcn.100779cf
pop ecx
pop ecx
mov ebx, eax
lea ebx, [ebx*2 + 2]
push ebx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x1002742a
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x1002741a
push dword [esi + 0x27d0]
shr ebx, 1
push ebx
push eax
call fcn.10077973
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0x9d97
call fcn.1005868d
pop ecx
jmp 0x10027382
push ebx
push 0x100a65c8
call fcn.1005c066
pop ecx
pop ecx
jmp 0x10027460
push 2
jmp 0x10027454
push esi
push dword [ebp - 0x564]
call dword [sym.imp.USER32.dll_EndDialog]
mov ebx, esi
jmp 0x10027bb9
mov ecx, dword [ebp - 0x56c]
mov esi, dword [ebp - 0x564]
mov edi, dword [ebp - 0x568]
push ecx
push ebx
push esi
mov ecx, edi
call fcn.100051bc
push 0x10
lea eax, [edi + 0x3430]
push eax
push 0x1f3
push dword [0x100ea5d8]
call dword [sym.imp.USER32.dll_LoadStringW]
push ebx
push esi
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov esi, dword [sym.imp.USER32.dll_RemoveMenu]
push ebx
mov edi, eax
push 0xf120
push edi
call esi
push ebx
push 0xf020
push edi
call esi
push ebx
push 0xf030
push edi
call esi
mov edi, dword [ebp - 0x564]
push 0xa7f9
push edi
push ebx
push 0x50000103
call dword [sym.imp.COMCTL32.dll_CreateStatusWindowW]
mov ecx, dword [ebp - 0x568]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x100a59ad
push 0x100
push 0x40b
push eax
mov dword [ecx + 0x3424], eax
call esi
mov eax, dword [ebp - 0x568]
push 0x100e89c8
push 1
push 0x404
push dword [eax + 0x3424]
call esi
mov eax, dword [ebp - 0x570]
movzx ecx, ax
mov edx, ecx
mov dword [ebp - 0x578], ecx
mov ecx, 0x3ff
and edx, ecx
and eax, ecx
lea ecx, [ebp - 0x4e4]
mov esi, ebx
mov dword [ebp - 0x564], edx
mov dword [ebp - 0x570], eax
mov dword [ebp - 0x56c], ecx
movzx eax, word [ecx]
push edx
push eax
push str._NetworkInfo__fontTable_Primary_LangID___1_x____UIangID_Primary_LangID___2_x_
push 0x100a6ab0
push 4
call fcn.10009c3c
mov ecx, dword [ebp - 0x56c]
mov eax, dword [ebp - 0x570]
add esp, 0x14
cmp ax, word [ecx]
je 0x10027598
mov edx, dword [ebp - 0x564]
push 7
inc esi
add ecx, 0x9c
pop eax
mov dword [ebp - 0x56c], ecx
cmp esi, eax
jb 0x10027552
jmp 0x100275a0
mov eax, esi
mov dword [ebp - 0x574], esi
mov esi, eax
imul esi, esi, 0x9c
push dword [ebp + esi - 0x4e0]
call dword [sym.imp.GDI32.dll_GetStockObject]
test eax, eax
je 0x100275e4
lea ecx, [ebp - 0x560]
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
lea eax, [ebp - 0x544]
push eax
push str._NetworkInfo__FIXED_FONT_name___1_s_
push 0x100a6af0
push 4
call fcn.10009c3c
add esp, 0x10
cmp dword [ebp + esi - 0x45c], ebx
je 0x10027607
lea eax, [ebp - 0x4dc]
add eax, esi
push eax
lea eax, [ebp - 0x544]
push 0x20
push eax
call fcn.10077973
add esp, 0xc
cmp dword [ebp + esi - 0x454], ebx
je 0x1002761d
mov eax, dword [ebp + esi - 0x458]
mov dword [ebp - 0x560], eax
cmp dword [ebp + esi - 0x44c], ebx
je 0x10027633
mov eax, dword [ebp + esi - 0x450]
mov dword [ebp - 0x55c], eax
lea eax, [ebp - 0x560]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov esi, dword [ebp - 0x568]
mov dword [esi + 0x3410], eax
test eax, eax
je 0x10027681
push 1
push eax
push 0x30
push 0xa42f
push edi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push dword [ebp - 0x578]
push dword [ebp - 0x574]
push str._NetworkInfo__fontTable_index___1_d____UIangID___2_x_
push str.CIPConfigDlg::DlgProc
push 4
call fcn.10009c3c
add esp, 0x14
lea eax, [ebp - 0x4f4]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x4ec]
sub eax, dword [ebp - 0x4f4]
mov dword [esi + 0x3414], eax
mov eax, dword [ebp - 0x4e8]
sub eax, dword [ebp - 0x4f0]
mov dword [esi + 0x3418], eax
lea eax, [ebp - 0x504]
push eax
push 0xa42f
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x504]
push eax
push edi
push ebx
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x4ec]
sub eax, dword [ebp - 0x4fc]
mov dword [esi + 0x341c], eax
mov eax, dword [ebp - 0x4e8]
sub eax, dword [ebp - 0x4f8]
mov dword [esi + 0x3420], eax
cmp byte [esi + 0x34], bl
jne 0x1002771e
cmp byte [esi + 0x35], bl
jne 0x1002771e
cmp byte [esi + 0x36], bl
jne 0x1002771e
cmp byte [esi + 0x37], bl
jne 0x1002771e
mov dword [ebp - 0x574], ebx
jmp 0x1002772b
mov ecx, esi
call fcn.10027bcc
mov dword [ebp - 0x574], eax
cmp dword [0x100ee964], ebx
je 0x100277c0
push 0xa42f
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, eax
push 0xa42f
and esi, 0xffbfcfff
push edi
or esi, 0x4000
call dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xa42f
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xa42f
mov esi, eax
push edi
and esi, 0xfffffffd
call dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x27
push ebx
push ebx
push ebx
push ebx
push ebx
push 0xa42f
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, dword [ebp - 0x568]
mov eax, dword [esi + 0x27d0]
push dword [ebp - 0x574]
xor ecx, ecx
mov word [eax], cx
push dword [esi + 0x27d4]
mov ecx, esi
push dword [esi + 0x27d0]
call fcn.10028dd2
push dword [esi + 0x27d0]
push 0xa42f
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push dword [esi + 8]
push edi
call fcn.1004560e
pop ecx
pop ecx
push ebx
push edi
call dword [sym.imp.USER32.dll_GetSystemMenu]
push ebx
mov esi, eax
push 0xf000
push esi
call dword [sym.imp.USER32.dll_DeleteMenu]
push ebx
push 0xf000
push 0x400
push ebx
push esi
call dword [sym.imp.USER32.dll_InsertMenuW]
push edi
call dword [sym.imp.USER32.dll_DrawMenuBar]
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x40000
push eax
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x27
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [0x100ee9b8], 0xa
jne 0x10027bb6
push 9
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x10027bb6
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10027bb6
push ebx
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push ebx
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x10027bb6
lea eax, [ebp - 0x4f4]
push eax
mov eax, dword [ebp - 0x568]
push dword [eax + 0x3424]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x4e8]
sub eax, dword [ebp - 0x4f0]
mov ecx, dword [ebp - 0x56c]
add eax, 0xbe
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x18], 0x1c7
xor eax, eax
jmp 0x10027bbb
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x100278f2
cmp eax, 3
je 0x100278f2
cmp eax, 2
jne 0x10027bb9
mov eax, dword [ebp - 0x56c]
movzx ebx, ax
shr eax, 0x10
mov dword [ebp - 0x56c], eax
lea eax, [ebp - 0x4f4]
push eax
mov eax, dword [ebp - 0x568]
mov dword [ebp - 0x570], ebx
push dword [eax + 0x3424]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [sym.imp.USER32.dll_MapWindowPoints]
push 2
lea eax, [ebp - 0x4f4]
push eax
push dword [ebp - 0x564]
xor esi, esi
push esi
call edi
mov eax, dword [ebp - 0x56c]
sub eax, dword [ebp - 0x4f0]
mov ecx, dword [ebp - 0x568]
push esi
push eax
mov eax, ebx
sub eax, dword [ebp - 0x4f4]
sub ebx, dword [ecx + 0x3414]
push eax
mov eax, dword [ebp - 0x56c]
sub eax, dword [ecx + 0x3418]
add ebx, dword [ebp - 0x4f4]
add eax, dword [ebp - 0x4f0]
push eax
push ebx
push dword [ecx + 0x3424]
mov ebx, dword [sym.imp.USER32.dll_MoveWindow]
call ebx
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
lea eax, [ebp - 0x4f4]
push eax
push 0xa42f
push dword [ebp - 0x564]
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x4f4]
push eax
push dword [ebp - 0x564]
push 0
call edi
mov ecx, dword [ebp - 0x568]
mov eax, dword [ebp - 0x56c]
sub eax, dword [ecx + 0x3420]
push 0
sub eax, dword [ebp - 0x4f0]
push eax
mov eax, dword [ebp - 0x570]
sub eax, dword [ecx + 0x341c]
sub eax, dword [ebp - 0x4f4]
push eax
push dword [ebp - 0x4f0]
push dword [ebp - 0x4f4]
push 0xa42f
push dword [ebp - 0x564]
call esi
push eax
call ebx
lea eax, [ebp - 0x4f4]
push eax
push 1
push dword [ebp - 0x564]
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x4f4]
push eax
push dword [ebp - 0x564]
push 0
call edi
push 0
mov eax, dword [ebp - 0x4e8]
sub eax, dword [ebp - 0x4f0]
mov ecx, dword [ebp - 0x568]
push eax
mov eax, dword [ebp - 0x4ec]
sub eax, dword [ebp - 0x4f4]
push eax
mov eax, dword [ebp - 0x56c]
sub eax, dword [ecx + 0x3418]
add eax, dword [ebp - 0x4f0]
push eax
mov eax, dword [ebp - 0x570]
sub eax, dword [ecx + 0x3414]
add eax, dword [ebp - 0x4f4]
push eax
push 1
push dword [ebp - 0x564]
call esi
push eax
call ebx
lea eax, [ebp - 0x4f4]
push eax
push 0xa430
push dword [ebp - 0x564]
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x4f4]
push eax
push dword [ebp - 0x564]
push 0
call edi
mov eax, dword [ebp - 0x4e8]
sub eax, dword [ebp - 0x4f0]
mov ecx, dword [ebp - 0x568]
push 0
push eax
mov eax, dword [ebp - 0x4ec]
sub eax, dword [ebp - 0x4f4]
push eax
mov eax, dword [ebp - 0x56c]
sub eax, dword [ecx + 0x3418]
add eax, dword [ebp - 0x4f0]
push eax
mov eax, dword [ebp - 0x570]
sub eax, dword [ecx + 0x3414]
add eax, dword [ebp - 0x4f4]
push eax
push 0xa430
push dword [ebp - 0x564]
call esi
push eax
call ebx
lea eax, [ebp - 0x4f4]
push eax
push 9
push dword [ebp - 0x564]
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x4f4]
push eax
push dword [ebp - 0x564]
push 0
call edi
mov eax, dword [ebp - 0x4e8]
sub eax, dword [ebp - 0x4f0]
mov ecx, dword [ebp - 0x568]
mov edi, dword [ebp - 0x570]
push 0
push eax
mov eax, dword [ebp - 0x4ec]
sub eax, dword [ebp - 0x4f4]
push eax
mov eax, dword [ebp - 0x56c]
sub eax, dword [ecx + 0x3418]
add eax, dword [ebp - 0x4f0]
push eax
mov eax, edi
sub eax, dword [ecx + 0x3414]
add eax, dword [ebp - 0x4f4]
push eax
push 9
push dword [ebp - 0x564]
call esi
push eax
call ebx
push 1
push 0
push dword [ebp - 0x564]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp - 0x568]
mov ecx, dword [ebp - 0x56c]
mov dword [eax + 0x3414], edi
mov dword [eax + 0x3418], ecx
xor ebx, ebx
inc ebx
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10075551
leave
ret 0x10