Function at 0x100206c0
Capabilities:
Connect pipe
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006ba1d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a8
push esi
mov dword [ebp - 0x84], 0xfffc
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x1a4], 0x69be541
mov dword [ebp - 0x64], 0xca335c22
mov dword [ebp - 0x104], 1
push 2
lea ecx, [ebp - 0x15c]
call fcn.10014761
and dword [ebp - 4], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x18], 0
jmp 0x10020740
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x10020756
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x114], 0x52a2c7a2
jmp 0x10020739
mov dword [ebp - 0x18], 0
jmp 0x10020766
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x10020782
push dword [ebp - 0x18]
lea ecx, [ebp - 0x15c]
call fcn.100147ff
mov dword [eax], 8
jmp 0x1002075f
mov eax, dword [ebp - 0x84]
imul eax, dword [ebp - 0x70]
test eax, eax
je 0x100207a2
cmp dword [ebp - 0x64], 0
je 0x100207a2
mov dword [ebp - 0xd8], 1
jmp 0x100207a9
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x70]
cmp dword [ebp - 0xd8], eax
jne 0x100207c0
mov dword [ebp - 0xe8], 1
jmp 0x100207c7
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0xe8], eax
jge 0x100207db
mov dword [ebp - 0x7c], 1
jmp 0x100207df
and dword [ebp - 0x7c], 0
cmp dword [ebp - 0x7c], 0xfffd
jne 0x100207f4
mov dword [ebp - 0xf4], 1
jmp 0x100207fb
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0xf4], eax
jge 0x10020812
mov dword [ebp - 0xfc], 1
jmp 0x10020819
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x84]
cmp eax, dword [ebp - 0xfc]
jg 0x10020836
cmp dword [ebp - 0x70], 0
jne 0x10020836
and dword [ebp - 0x8c], 0
jmp 0x10020840
mov dword [ebp - 0x8c], 1
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0xffffffff
jle 0x10020861
mov dword [ebp - 0x94], 1
jmp 0x10020868
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x94]
sub eax, 0x56a2
push 4
pop ecx
imul ecx, ecx, 0
imul eax, dword [ebp + ecx - 0x114]
push 1
lea ecx, [ebp - 0x15c]
call fcn.100147ff
cmp dword [eax], 1
jb 0x1002089f
mov dword [ebp - 0x10c], 1
jmp 0x100208a6
and dword [ebp - 0x10c], 0
push 0
lea ecx, [ebp - 0x15c]
call fcn.100147ff
mov ecx, dword [ebp - 0x10c]
cmp ecx, dword [eax]
jne 0x100208c9
mov dword [ebp - 0x9c], 1
jmp 0x100208d0
and dword [ebp - 0x9c], 0
push 1
lea ecx, [ebp - 0x15c]
call fcn.100147ff
mov ecx, dword [ebp - 0x9c]
imul ecx, dword [eax]
mov dword [ebp - 0xa4], ecx
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xa4]
mov dword [ebp + eax - 0x114], ecx
cmp dword [ebp - 0xa4], 0
je 0x1002091b
push 5
pop eax
test eax, eax
je 0x1002091b
mov dword [ebp - 0x11c], 1
jmp 0x10020922
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x11c]
neg eax
mov dword [ebp - 0x128], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x15c]
call fcn.100147e3
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10020fd9
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x2c], 0x6874be76
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x38], 0x6d5d64f6
mov dword [ebp - 0x6c], 0xd63ccf75
mov dword [ebp - 0x13c], 0xfffffffa
mov dword [ebp - 0x164], 0xfffffff9
cmp dword [ebp - 0x2c], 0
je 0x100209aa
cmp dword [ebp - 0x10], 0
je 0x100209aa
mov dword [ebp - 0x124], 1
jmp 0x100209b1
and dword [ebp - 0x124], 0
cmp dword [ebp - 0x124], 0xfffffffc
jl 0x100209c6
mov dword [ebp - 0xb0], 1
jmp 0x100209cd
and dword [ebp - 0xb0], 0
cmp dword [ebp - 0xb0], 0
jne 0x100209da
cmp dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x2c], 0x7cdedfc3
jge 0x10020a01
mov dword [ebp - 0x108], 1
jmp 0x10020a08
and dword [ebp - 0x108], 0
cmp dword [ebp - 0x108], 0xfffc
ja 0x10020a20
mov dword [ebp - 0x168], 1
jmp 0x10020a27
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x10]
neg eax
cmp eax, 0x92e6c0b3
jb 0x10020a48
mov dword [ebp - 0xb8], 1
jmp 0x10020a4f
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x20], eax
jg 0x10020a69
mov eax, 0x376f
test eax, eax
je 0x10020a7e
mov eax, 0xcc013cef
test eax, eax
je 0x10020a7e
mov dword [ebp - 0xf0], 1
jmp 0x10020a85
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xf0], eax
jg 0x10020a9c
mov dword [ebp - 0xc0], 1
jmp 0x10020aa3
and dword [ebp - 0xc0], 0
cmp dword [ebp - 0xc0], 4
jle 0x10020ab8
mov dword [ebp - 0x118], 1
jmp 0x10020abf
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x10], eax
jle 0x10020ae6
mov dword [ebp - 0x160], 1
jmp 0x10020aed
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x17c], eax
cmp dword [ebp - 0x20], 0
je 0x10020d1c
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0xa8], 0xe6047311
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0x20], 0
jmp 0x10020b2b
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffe8
jl 0x10020c23
mov dword [ebp - 0x50], 0xa2c6eb81
mov dword [ebp - 0x10], 0
jmp 0x10020b4c
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x22
jle 0x10020c1e
mov dword [ebp - 0x134], 0x49ce
mov dword [ebp - 0x14c], 0x1cdffa87
cmp dword [ebp - 0x50], 0
je 0x10020b82
cmp dword [ebp - 0x20], 0
je 0x10020b82
mov dword [ebp - 0xd0], 1
jmp 0x10020b89
and dword [ebp - 0xd0], 0
cmp dword [ebp - 0x50], 1
jne 0x10020b9b
mov dword [ebp - 0xc8], 1
jmp 0x10020ba2
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0x134]
add eax, dword [ebp - 0xc8]
cmp dword [ebp - 0x34], eax
jle 0x10020bbf
mov dword [ebp - 0xf8], 1
jmp 0x10020bc6
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x34]
cmp dword [ebp - 0xd0], eax
je 0x10020bea
mov dword [ebp - 0x110], 1
jmp 0x10020bf1
and dword [ebp - 0x110], 0
cmp dword [ebp - 0x110], 0x6121589a
jge 0x10020c06
mov dword [ebp - 0x74], 1
jmp 0x10020c0a
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x14c], eax
jmp 0x10020b45
jmp 0x10020b24
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x34]
add eax, 0xa8b0
cmp eax, dword [ebp - 0x38]
jne 0x10020c45
mov dword [ebp - 0x100], 1
jmp 0x10020c4c
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0xa8]
cmp dword [ebp - 0x100], eax
jge 0x10020c66
mov dword [ebp - 0xe0], 1
jmp 0x10020c6d
and dword [ebp - 0xe0], 0
cmp dword [ebp - 0xe0], 0xffffffff
jge 0x10020c85
cmp dword [ebp - 0x2c], 0
jne 0x10020c85
and dword [ebp - 0x120], 0
jmp 0x10020c8f
mov dword [ebp - 0x120], 1
mov eax, dword [ebp - 0x120]
sub eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x6c]
jne 0x10020caf
cmp dword [ebp - 0xa8], 0
jne 0x10020caf
and dword [ebp - 0xac], 0
jmp 0x10020cb9
mov dword [ebp - 0xac], 1
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x34]
imul eax, eax, 0xfffd
cmp eax, dword [ebp - 0xac]
jge 0x10020cd9
mov dword [ebp - 0xb4], 1
jmp 0x10020ce0
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0
jne 0x10020d07
cmp dword [ebp - 0x13c], 0
jne 0x10020d07
and dword [ebp - 0xc4], 0
jmp 0x10020d11
mov dword [ebp - 0xc4], 1
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x14], eax
jmp 0x10020d4a
mov dword [ebp - 0x14], 0xc
jmp 0x10020d2c
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffef
jg 0x10020d4a
mov byte [ebp - 0x21], 0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x10020d48
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
jmp 0x10020d25
cmp dword [ebp - 0x14], 0
je 0x10020dc4
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x2c], eax
jl 0x10020d82
mov dword [ebp - 0xcc], 1
jmp 0x10020d89
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x2c]
imul eax, dword [ebp - 0xcc]
cmp dword [ebp - 0x6c], eax
jle 0x10020da4
mov dword [ebp - 0xd4], 1
jmp 0x10020dab
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0xd4]
sub eax, 0x3dd60280
je 0x10020dc4
mov dword [ebp - 0xdc], 1
jmp 0x10020dcb
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x170], 0
mov byte [ebp - 0x23], 0
movzx eax, byte [ebp - 0x23]
test eax, eax
je 0x10020e12
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.USER32.dll_DrawFocusRect]
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x10020e30
push 0x188c
push 0x909
push 0
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x138], 0xb34e6d4f
mov dword [ebp - 0x54], 0
jmp 0x10020e56
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 1
jge 0x10020e69
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0x4c], 0xfffffffa
jmp 0x10020e4f
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x4c], 0
jmp 0x10020e8e
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x4c]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x4c], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x4c], 0x1c
jge 0x10020ec7
mov dword [ebp - 0x130], 1
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x10020eb9
push 0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x138], eax
jmp 0x10020e79
mov byte [ebp - 0x22], 0
movzx eax, byte [ebp - 0x22]
test eax, eax
je 0x10020ee7
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_CloseEnhMetaFile]
mov eax, dword [ebp - 0x58]
mov dword [eax], 0
jmp 0x10020efd
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x58]
mov dword [ecx], eax
mov eax, dword [ebp - 0x58]
cmp dword [eax], 3
jg 0x10020f14
mov eax, dword [ebp - 0x140]
cmp dword [eax], 0
je 0x10020f12
jmp 0x10020f14
jmp 0x10020ef2
push 3
lea ecx, [ebp - 0x1b4]
call fcn.10014761
mov dword [ebp - 4], 1
mov dword [ebp - 0x5c], 8
mov dword [ebp - 0x148], 1
mov dword [ebp - 0x60], 0
jmp 0x10020f49
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 3
jge 0x10020f65
push dword [ebp - 0x60]
lea ecx, [ebp - 0x1b4]
call fcn.100147ff
mov dword [eax], 6
jmp 0x10020f42
mov dword [ebp - 0x5c], 2
jmp 0x10020f75
mov eax, dword [ebp - 0x5c]
dec eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jl 0x10020fc5
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x44], 2
jmp 0x10020f92
mov eax, dword [ebp - 0x44]
dec eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jl 0x10020fc3
mov byte [ebp - 0x24], 0
movzx eax, byte [ebp - 0x24]
test eax, eax
je 0x10020fb7
push 0
push 0xd1d
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [ebp - 0x148], 0x126ff23b
jmp 0x10020f8b
jmp 0x10020f6e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1b4]
call fcn.100147e3
jmp 0x100211ae
mov dword [ebp - 0x48], 0x5121ac48
mov dword [ebp - 0xe4], 3
mov dword [ebp - 0x80], 3
mov dword [ebp - 0x150], 0xe24b2e80
mov dword [ebp - 0x178], 1
mov dword [ebp - 0x1c], 0
jmp 0x10021015
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x10021028
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x40], 0xfffffff8
jmp 0x1002100e
mov dword [ebp - 0x1c], 0
jmp 0x10021038
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1002104e
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x19c], 0x5799333c
jmp 0x10021031
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x180], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x40]
mov dword [ebp - 0x188], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x40], 0
jle 0x1002108d
mov dword [ebp - 0xec], 1
jmp 0x10021094
and dword [ebp - 0xec], 0
mov dword [ebp - 0xe4], 1
mov eax, dword [ebp - 0xe4]
cmp eax, dword [ebp - 0xec]
jg 0x100210b5
mov dword [ebp - 0x68], 1
jmp 0x100210b9
and dword [ebp - 0x68], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x68]
mov dword [ebp + eax - 0x19c], ecx
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x40]
cmp dword [ebp - 0x68], eax
jg 0x100210e1
mov dword [ebp - 0x78], 1
jmp 0x100210e5
and dword [ebp - 0x78], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x40]
mov dword [ebp - 0x48], eax
imul eax, dword [ebp - 0x78], 0xfffc
mov dword [ebp - 0x80], eax
push 4
pop eax
shl eax, 0
push 4
pop ecx
shl ecx, 0
push 4
pop edx
shl edx, 0
mov esi, dword [ebp - 0x48]
sub esi, dword [ebp - 0x80]
sub esi, dword [ebp + edx - 0x40]
imul esi, dword [ebp + ecx - 0x40]
cmp esi, dword [ebp + eax - 0x40]
jge 0x1002112f
mov dword [ebp - 0x88], 1
jmp 0x10021136
and dword [ebp - 0x88], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x40]
cmp dword [ebp - 0x88], eax
jl 0x10021154
mov dword [ebp - 0x90], 1
jmp 0x1002115b
and dword [ebp - 0x90], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x40]
cmp dword [ebp - 0x90], eax
jle 0x10021179
mov dword [ebp - 0x98], 1
jmp 0x10021180
and dword [ebp - 0x98], 0
cmp dword [ebp - 0x98], 0
je 0x10021195
mov dword [ebp - 0xa0], 1
jmp 0x1002119c
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x150], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret