Function at 0x1004221b
Capabilities:
Create pipe
Enumerate gui resources
Identify system language via api
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005ca87
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x398
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2c4], 0xd5e4
mov byte [ebp - 0x3d], 0
movzx eax, byte [ebp - 0x3d]
test eax, eax
je 0x10042265
push 1
push 0
push 0xcc4
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov byte [ebp - 0x31], 0
movzx eax, byte [ebp - 0x31]
test eax, eax
je 0x10042279
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
and dword [ebp - 0x288], 0
and dword [ebp - 0x284], 0
and dword [ebp - 0x280], 0
and dword [ebp - 0x27c], 0
lea ecx, [ebp - 0xcd]
call fcn.10011841
push eax
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x348]
call fcn.10011844
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0xe0]
call fcn.100117f0
and dword [ebp - 4], 0
push 2
lea ecx, [ebp - 0x58]
call fcn.10011794
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0
jmp 0x100422ec
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x10042305
push dword [ebp - 0x18]
lea ecx, [ebp - 0x58]
call fcn.10011832
mov dword [eax], 0xa18885c6
jmp 0x100422e5
mov dword [ebp - 0x18], 0
jmp 0x10042315
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 4
jge 0x1004232b
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x1dc], 0xffffffff
jmp 0x1004230e
push 1
lea ecx, [ebp - 0x58]
call fcn.10011832
and dword [eax], 0
jmp 0x1004235b
push 1
lea ecx, [ebp - 0x58]
call fcn.10011832
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x104]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x58]
call fcn.10011832
cmp dword [eax], 3
jg 0x1004295a
mov dword [ebp - 0xcc], 1
mov dword [ebp - 0xd4], 1
mov dword [ebp - 0x1ec], 8
mov dword [ebp - 0x64], 1
push 1
lea ecx, [ebp - 0x58]
call fcn.10011832
push dword [eax]
lea ecx, [ebp - 0xe0]
call fcn.10011832
mov esi, eax
push 1
lea ecx, [ebp - 0x58]
call fcn.10011832
mov eax, dword [eax]
cmp eax, dword [esi]
jg 0x100423c8
mov dword [ebp - 0x1b0], 1
jmp 0x100423cf
and dword [ebp - 0x1b0], 0
mov eax, dword [ebp - 0xcc]
cmp eax, dword [ebp - 0x1b0]
jne 0x100423e9
mov dword [ebp - 0x154], 1
jmp 0x100423f0
and dword [ebp - 0x154], 0
push 1
lea ecx, [ebp - 0x58]
call fcn.10011832
push dword [eax]
lea ecx, [ebp - 0xe0]
call fcn.10011832
mov eax, dword [eax]
cmp eax, dword [ebp - 0x154]
jge 0x1004241d
mov dword [ebp - 0x1a8], 1
jmp 0x10042424
and dword [ebp - 0x1a8], 0
push 1
lea ecx, [ebp - 0x58]
call fcn.10011832
push dword [eax]
lea ecx, [ebp - 0xe0]
call fcn.10011832
push 1
lea ecx, [ebp - 0x58]
call fcn.10011832
push dword [eax]
lea ecx, [ebp - 0xe0]
call fcn.10011832
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x1a8]
mov dword [ebp + eax - 0x1dc], ecx
push 1
lea ecx, [ebp - 0x58]
call fcn.10011832
push dword [eax]
lea ecx, [ebp - 0xe0]
call fcn.10011832
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x2c8], eax
push 2
pop eax
test eax, eax
jne 0x100424c1
push 1
lea ecx, [ebp - 0x58]
call fcn.10011832
push dword [eax]
lea ecx, [ebp - 0xe0]
call fcn.10011832
cmp dword [eax], 0
jne 0x100424c1
push 1
lea ecx, [ebp - 0x58]
call fcn.10011832
push dword [eax]
lea ecx, [ebp - 0xe0]
call fcn.10011832
mov eax, 0x3d8c5378
test eax, eax
je 0x1004264e
mov dword [ebp - 0xc0], 0xd925d3c0
mov dword [ebp - 0x184], 0xa94fe874
cmp dword [ebp - 0xd4], 0
jne 0x10042612
cmp dword [ebp - 0xd4], 0
jne 0x10042545
mov esi, dword [ebp - 0xc0]
push 4
pop eax
shl eax, 1
mov edi, dword [ebp + eax - 0x1dc]
push 1
lea ecx, [ebp - 0x58]
call fcn.10011832
mov eax, dword [eax]
sub eax, edi
cmp eax, esi
jle 0x10042528
mov dword [ebp - 0xf0], 1
jmp 0x1004252f
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xf0]
sub eax, 0x76df3e2e
jne 0x10042545
and dword [ebp - 0x150], 0
jmp 0x1004254f
mov dword [ebp - 0x150], 1
push 1
lea ecx, [ebp - 0x58]
call fcn.10011832
push 1
lea ecx, [ebp - 0x58]
call fcn.10011832
push dword [eax]
lea ecx, [ebp - 0xe0]
call fcn.10011832
mov ecx, dword [ebp - 0x150]
mov dword [eax], ecx
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x1dc]
mov dword [ebp - 0x2dc], eax
mov esi, dword [ebp - 0xc0]
push 1
lea ecx, [ebp - 0x58]
call fcn.10011832
cmp esi, dword [eax]
jne 0x100425aa
mov dword [ebp - 0xf8], 1
jmp 0x100425b1
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x184], eax
cmp dword [ebp - 0x184], 0x8afb
jg 0x100425d5
mov dword [ebp - 0x100], 1
jmp 0x100425dc
and dword [ebp - 0x100], 0
cmp dword [ebp - 0x100], 0x1a80d1c1
jge 0x100425f4
mov dword [ebp - 0x15c], 1
jmp 0x100425fb
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0xc0]
cmp dword [ebp - 0x15c], eax
jge 0x10042612
and dword [ebp - 0x108], 0
jmp 0x1004261c
mov dword [ebp - 0x108], 1
mov eax, dword [ebp - 0x108]
sub eax, dword [ebp - 0xd4]
jne 0x10042636
mov dword [ebp - 0x19c], 1
jmp 0x1004263d
and dword [ebp - 0x19c], 0
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x1ec], eax
jmp 0x100427bb
mov byte [ebp - 0x3a], 0
movzx eax, byte [ebp - 0x3a]
test eax, eax
je 0x10042794
mov dword [ebp - 0x110], 0x481c
mov dword [ebp - 0x23c], 0x1000b8c0
cmp dword [ebp - 0x110], 0x4b00
jle 0x1004273b
and dword [ebp - 0x74], 0
jmp 0x1004268f
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0x3f5f
jge 0x1004273b
and dword [ebp - 0x68], 0
jmp 0x100426a9
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0x4e9e
jge 0x10042736
and dword [ebp - 0xa4], 0
jmp 0x100426cc
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0x7ecd
jge 0x10042731
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0xa4]
shl eax, cl
or eax, dword [ebp - 0x74]
cdq
mov dword [ebp - 0x1fc], eax
mov dword [ebp - 0x1f8], edx
push dword [ebp - 0x1f8]
push dword [ebp - 0x1fc]
lea ecx, [ebp - 0x36c]
call fcn.1000d0de
pop ecx
pop ecx
mov dword [ebp - 0x234], eax
mov ecx, dword [ebp - 0x234]
call fcn.1001154c
push eax
call fcn.1004676f
pop ecx
lea ecx, [ebp - 0x36c]
call fcn.10011542
jmp 0x100426bf
jmp 0x100426a2
jmp 0x10042688
push 1
push 0x21c4
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SignalObjectAndWait]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x110], 0x44ee
jge 0x10042768
push dword [ebp - 0x23c]
call fcn.1004676f
pop ecx
jmp 0x10042784
mov dword [ebp - 4], 1
jmp 0x10042794
mov byte [ebp - 0x39], 0
movzx eax, byte [ebp - 0x39]
test eax, eax
je 0x100427bb
push 0xd85
push 0
push 0x9fe
push 0x1d69
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x1dc], 0x2c643d43
jge 0x100427d9
mov dword [ebp - 0x128], 1
jmp 0x100427e0
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x164], eax
push 1
lea ecx, [ebp - 0xe0]
call fcn.10011832
mov ecx, dword [ebp - 0x164]
mov dword [eax], ecx
cmp dword [ebp - 0x164], 0
je 0x10042884
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 3
mov ecx, dword [ebp + ecx - 0x1dc]
cmp ecx, dword [ebp + eax - 0x1dc]
jl 0x1004282f
mov dword [ebp - 0x118], 1
jmp 0x10042836
and dword [ebp - 0x118], 0
push 1
lea ecx, [ebp - 0x58]
call fcn.10011832
push dword [eax]
lea ecx, [ebp - 0xe0]
call fcn.10011832
mov ecx, dword [ebp - 0x118]
cmp ecx, dword [eax]
jle 0x10042863
mov dword [ebp - 0x18c], 1
jmp 0x1004286a
and dword [ebp - 0x18c], 0
mov eax, dword [ebp - 0xcc]
cmp dword [ebp - 0x18c], eax
jle 0x10042884
mov dword [ebp - 0x120], 1
jmp 0x1004288b
and dword [ebp - 0x120], 0
cmp dword [ebp - 0x120], 0x6b80
jle 0x100428a3
mov dword [ebp - 0x16c], 1
jmp 0x100428aa
and dword [ebp - 0x16c], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x16c]
sub ecx, 0xfffa
cmp ecx, dword [ebp + eax - 0x1dc]
jl 0x100428d4
xor eax, eax
je 0x100428d4
mov dword [ebp - 0x1ac], 1
jmp 0x100428db
and dword [ebp - 0x1ac], 0
mov eax, dword [ebp - 0x128]
add eax, dword [ebp - 0x1ac]
je 0x10042912
mov dword [ebp - 0x240], 0x3257b06f
mov byte [ebp - 0x3c], 0
movzx eax, byte [ebp - 0x3c]
test eax, eax
je 0x10042905
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
cmp dword [ebp - 0x240], 0
je 0x10042910
jmp 0x1004295a
jmp 0x10042955
mov dword [ebp - 0x130], 1
mov dword [ebp - 0x64], 3
jmp 0x1004292c
mov eax, dword [ebp - 0x64]
dec eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jl 0x10042955
mov dword [ebp - 0x2d0], 3
mov dword [ebp - 0x2e4], 0x2a57d884
mov eax, dword [ebp - 0x130]
dec eax
mov dword [ebp - 0x130], eax
jmp 0x10042925
jmp 0x1004233a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.10011816
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe0]
call fcn.10011816
mov dword [ebp - 0x1c0], 0x61928c17
mov dword [ebp - 0x1bc], 0x61928c17
mov dword [ebp - 0x1b8], 0x61928c17
mov dword [ebp - 0x1b4], 0x61928c17
mov dword [ebp - 0x2c], 0x3aa9ac70
mov dword [ebp - 0x2ec], 0x69f4288a
mov dword [ebp - 0x300], 0xfffffffd
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 0x174], 0x2bb1
mov dword [ebp - 0x1e8], 0x1000b928
cmp dword [ebp - 0x174], 0x2e47
jle 0x10042abe
and dword [ebp - 0xbc], 0
jmp 0x100429fc
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0x24d5
jge 0x10042aac
and dword [ebp - 0x7c], 0
jmp 0x10042a19
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x75fe
jge 0x10042aa7
and dword [ebp - 0xb8], 0
jmp 0x10042a3c
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0x1a5
jge 0x10042aa2
mov eax, dword [ebp - 0xbc]
xor eax, dword [ebp - 0x7c]
or eax, dword [ebp - 0xb8]
cdq
mov dword [ebp - 0x208], eax
mov dword [ebp - 0x204], edx
push dword [ebp - 0x204]
push dword [ebp - 0x208]
lea ecx, [ebp - 0x384]
call fcn.1000d0de
pop ecx
pop ecx
mov dword [ebp - 0x1f0], eax
mov ecx, dword [ebp - 0x1f0]
call fcn.1001154c
push eax
call fcn.1004676f
pop ecx
lea ecx, [ebp - 0x384]
call fcn.10011542
jmp 0x10042a2f
jmp 0x10042a12
jmp 0x100429ef
push 0
push 0x237d
push 0x227e
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov dword [ebp - 4], 4
cmp dword [ebp - 0x174], 0x2a0d
jge 0x10042add
push dword [ebp - 0x1e8]
call fcn.1004676f
pop ecx
jmp 0x10042af9
or dword [ebp - 4], 0xffffffff
jmp 0x10042b03
mov dword [ebp - 0x14], 0
jmp 0x10042b13
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x10042b29
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x84], 0
jmp 0x10042b0c
mov dword [ebp - 0x14], 0
jmp 0x10042b39
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x10042b4f
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x138], 2
jmp 0x10042b32
mov dword [ebp - 0x14], 0
jmp 0x10042b5f
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x10042b75
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x2a0], 1
jmp 0x10042b58
mov byte [ebp - 0x3b], 0
movzx eax, byte [ebp - 0x3b]
test eax, eax
je 0x10042b9b
push 0xf62
push 0x6c0
push 0xd02
push 0xb34
call dword [sym.imp.USER32.dll_CheckRadioButton]
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x84], 0
jmp 0x10042bc9
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x84]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x84], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x84], 0xfffffffb
jl 0x10042d0a
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x1e4], 0x66c93ee
mov dword [ebp - 0x2f8], 0x1d2250db
mov dword [ebp - 0x24], 0
jmp 0x10042c0b
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 4
jge 0x10042c21
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x340], 0xfffffff7
jmp 0x10042c04
mov dword [ebp - 0x24], 0
jmp 0x10042c31
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jge 0x10042c47
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x274], 0xfffffffe
jmp 0x10042c2a
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x2a0]
inc eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x2a0], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x340]
mov dword [ebp - 0x2e8], eax
push 4
pop eax
shl eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x138]
imul ecx, dword [ebp + eax - 0x2a0]
test ecx, ecx
jae 0x10042ca8
mov eax, 0xffff
test eax, eax
je 0x10042ca8
mov dword [ebp - 0x224], 1
jmp 0x10042caf
and dword [ebp - 0x224], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x274]
mov dword [ebp - 0x314], eax
mov eax, dword [ebp - 0x1e4]
add eax, 0xcaa8
mov dword [ebp - 0x194], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x194]
mov dword [ebp + eax - 0x138], ecx
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x274], eax
jmp 0x10042bae
mov dword [ebp - 0x4c], 0xffffffff
mov dword [ebp - 0x310], 0x3c692bea
mov dword [ebp - 0x30c], 0x3c692bea
mov dword [ebp - 0x308], 0x3c692bea
mov dword [ebp - 0x304], 0x3c692bea
mov dword [ebp - 0x2f0], 0
mov dword [ebp - 0x2c0], 0xfffffff9
push 1
lea ecx, [ebp - 0x2b8]
call fcn.10011794
mov dword [ebp - 4], 6
mov dword [ebp - 0x1c], 0
jmp 0x10042d71
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x10042d87
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x354], 0
jmp 0x10042d6a
mov dword [ebp - 0x1c], 0
jmp 0x10042d97
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x10042db3
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x2b8]
call fcn.10011832
mov dword [eax], 0xb49d
jmp 0x10042d90
mov byte [ebp - 0x32], 0
movzx eax, byte [ebp - 0x32]
test eax, eax
je 0x10042dc5
call dword [sym.imp.USER32.dll_DestroyCaret]
push 0
lea ecx, [ebp - 0x2b8]
call fcn.10011832
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x17c]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x17c]
mov dword [ecx], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2b8]
call fcn.10011816
mov dword [ebp - 0x170], 0xf7d96711
mov dword [ebp - 0xc8], 0xffffffff
mov dword [ebp - 0x28], 0x69fdf99f
mov dword [ebp - 0xe8], 1
mov dword [ebp - 0x44], 0xffffffff
push 3
lea ecx, [ebp - 0x2ac]
call fcn.10011794
mov dword [ebp - 4], 7
mov dword [ebp - 0xb0], 0
jmp 0x10042e51
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 3
jge 0x10042e73
push dword [ebp - 0xb0]
lea ecx, [ebp - 0x2ac]
call fcn.10011832
mov dword [eax], 0x63f6d1d8
jmp 0x10042e44
mov dword [ebp - 0x28], 0
jmp 0x10042e83
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x14
jge 0x100431d1
mov dword [ebp - 0xc4], 0x3292c5eb
mov dword [ebp - 0x1c4], 1
mov dword [ebp - 0xec], 0x6aa1c33
mov dword [ebp - 0x8c], 0
jmp 0x10042ec4
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 1
jge 0x10042ee0
mov eax, dword [ebp - 0x8c]
mov dword [ebp + eax*4 - 0x230], 0xfffffffc
jmp 0x10042eb7
mov dword [ebp - 0x11c], 0x3818
mov dword [ebp - 0x200], 0x1000b994
cmp dword [ebp - 0x11c], 0x3b0e
jle 0x10042fef
push 0
push 0
push 0x110
push 0x1cf3
push 0
call dword [sym.imp.USER32.dll_ModifyMenuW]
and dword [ebp - 0xa8], 0
jmp 0x10042f30
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0x78e6
jge 0x10042fef
and dword [ebp - 0x94], 0
jmp 0x10042f56
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0x7fd9
jge 0x10042fea
and dword [ebp - 0xac], 0
jmp 0x10042f7c
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0x268e
jge 0x10042fe5
mov eax, dword [ebp - 0xa8]
sub eax, dword [ebp - 0x94]
sub eax, dword [ebp - 0xac]
cdq
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], edx
push dword [ebp - 0x210]
push dword [ebp - 0x214]
lea ecx, [ebp - 0x3a8]
call fcn.1000d0de
pop ecx
pop ecx
mov dword [ebp - 0x228], eax
mov ecx, dword [ebp - 0x228]
call fcn.1001154c
push eax
call fcn.1004676f
pop ecx
lea ecx, [ebp - 0x3a8]
call fcn.10011542
jmp 0x10042f6f
jmp 0x10042f49
jmp 0x10042f23
cmp dword [ebp - 0x28], 0
jne 0x10043001
mov dword [ebp - 0x10c], 1
jmp 0x10043008
and dword [ebp - 0x10c], 0
cmp dword [ebp - 0xc4], 0
je 0x100430d6
cmp dword [ebp - 0x1c4], 0x748d
jle 0x1004302d
mov dword [ebp - 0x148], 1
jmp 0x10043034
and dword [ebp - 0x148], 0
mov eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0xc4]
cmp eax, dword [ebp - 0x148]
je 0x10043052
mov dword [ebp - 0x1a4], 1
jmp 0x10043059
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x44]
shl eax, 2
cmp eax, dword [ebp - 0x44]
jge 0x10043088
mov dword [ebp - 0x22c], 1
jmp 0x1004308f
and dword [ebp - 0x22c], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2bc], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xec]
lea eax, [ecx + eax + 1]
imul eax, eax, 0xfffffffa
test eax, eax
jne 0x100430b8
mov dword [ebp - 0xf4], 1
jmp 0x100430bf
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0xf4], eax
jge 0x100430d6
mov dword [ebp - 0xfc], 1
jmp 0x100430dd
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0xfc], eax
jl 0x100430f4
mov dword [ebp - 0xe4], 1
jmp 0x100430fb
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0xe4], eax
jl 0x10043112
mov dword [ebp - 0x1f4], 1
jmp 0x10043119
and dword [ebp - 0x1f4], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x2f4], eax
cmp dword [ebp - 0x10c], 0x795c
je 0x10043146
mov dword [ebp - 0x114], 1
jmp 0x1004314d
and dword [ebp - 0x114], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x114]
mov dword [ebp + eax - 0x230], ecx
mov byte [ebp - 4], 8
cmp dword [ebp - 0x11c], 0x3591
jge 0x1004317c
push dword [ebp - 0x200]
call fcn.1004676f
pop ecx
jmp 0x10043198
mov dword [ebp - 4], 7
jmp 0x100431a8
push 2
lea ecx, [ebp - 0x2ac]
call fcn.10011832
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x124]
mov dword [ecx], eax
jmp 0x10042e7c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2ac]
call fcn.10011816
mov dword [ebp - 0x1e0], 8
mov dword [ebp - 0x2c], 0
jmp 0x100431fa
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 3
jg 0x10043545
mov dword [ebp - 0x2fc], 0xc2e0cf57
mov byte [ebp - 0x34], 0
movzx eax, byte [ebp - 0x34]
test eax, eax
je 0x1004322c
push 0x2566
push 0x2290
push 0
call dword [sym.imp.USER32.dll_DeleteMenu]
mov byte [ebp - 0x36], 0
movzx eax, byte [ebp - 0x36]
test eax, eax
je 0x10043249
push 0x20d0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
mov dword [ebp - 0x160], 0x2b3b7bed
mov dword [ebp - 0x48], 0x6b950ba1
mov dword [ebp - 0x60], 0xffffffff
push 2
lea ecx, [ebp - 0x294]
call fcn.10011794
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x218], 0xf219a6f
mov dword [ebp - 0x20], 0
jmp 0x1004328f
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x100432a5
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x238], 0x9df9481f
jmp 0x10043288
mov dword [ebp - 0x20], 0
jmp 0x100432b5
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x100432d1
push dword [ebp - 0x20]
lea ecx, [ebp - 0x294]
call fcn.10011832
mov dword [eax], 0xfffffffa
jmp 0x100432ae
mov dword [ebp - 0x60], 8
cmp dword [ebp - 0x60], 0
jne 0x10043336
cmp dword [ebp - 0x48], 0xffffffff
jb 0x100432f3
cmp dword [ebp - 0x48], 0
jne 0x100432f3
and dword [ebp - 0x12c], 0
jmp 0x100432fd
mov dword [ebp - 0x12c], 1
cmp dword [ebp - 0x12c], 0
jg 0x10043312
mov dword [ebp - 0x134], 1
jmp 0x10043319
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x134]
add eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x60]
jg 0x10043336
mov dword [ebp - 0x260], 1
jmp 0x1004333d
and dword [ebp - 0x260], 0
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x48]
jle 0x10043351
mov dword [ebp - 0x20c], 1
jmp 0x10043358
and dword [ebp - 0x20c], 0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x13c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x13c]
mov dword [ebp + eax - 0x238], ecx
mov eax, dword [ebp - 0x13c]
sub eax, dword [ebp - 0x48]
mov dword [ebp - 0x144], eax
push 1
lea ecx, [ebp - 0x294]
call fcn.10011832
mov ecx, dword [ebp - 0x144]
mov dword [eax], ecx
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x218], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x294]
call fcn.10011816
mov dword [ebp - 0x9c], 1
mov dword [ebp - 0x1cc], 0x8ee3f2f3
mov dword [ebp - 0x2d8], 0xfffffffd
mov dword [ebp - 0x9c], 0xf
jmp 0x100433ea
mov eax, dword [ebp - 0x9c]
dec eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 1
jg 0x10043509
push 2
lea ecx, [ebp - 0x24c]
call fcn.10011794
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x30], 0x96a485bf
mov dword [ebp - 0xb4], 0
jmp 0x1004342b
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 2
jge 0x1004344d
push dword [ebp - 0xb4]
lea ecx, [ebp - 0x24c]
call fcn.10011832
mov dword [eax], 0x76e6bacd
jmp 0x1004341e
mov dword [ebp - 0x30], 0
jmp 0x1004345d
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 1
jg 0x100434ec
mov dword [ebp - 0x5c], 0x32b96ce0
mov dword [ebp - 0x250], 0xfffffffc
imul eax, dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x5c], 0
jmp 0x10043492
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 1
jg 0x100434e7
push dword [ebp - 0x30]
lea ecx, [ebp - 0x24c]
call fcn.10011832
mov esi, eax
push dword [ebp - 0x30]
lea ecx, [ebp - 0x24c]
call fcn.10011832
mov eax, dword [eax]
cmp eax, dword [esi]
jg 0x100434c8
mov dword [ebp - 0x14c], 1
jmp 0x100434cf
and dword [ebp - 0x14c], 0
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x24c]
call fcn.10011832
mov ecx, dword [ebp - 0x14c]
mov dword [eax], ecx
jmp 0x1004348b
jmp 0x10043456
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1cc], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.10011816
jmp 0x100433dd
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp + eax*4 - 0x1c0]
cmp eax, dword [ebp - 0x2c]
jge 0x10043524
mov dword [ebp - 0x158], 1
jmp 0x1004352b
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x4c], eax
jmp 0x100431f3
cmp dword [ebp - 0x4c], 0
je 0x10043551
cmp dword [ebp - 0x4c], 0
jne 0x1004355f
xor eax, eax
inc eax
jne 0x1004355f
and dword [ebp - 0x168], 0
jmp 0x10043569
mov dword [ebp - 0x168], 1
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x168], eax
jl 0x10043586
mov dword [ebp - 0x188], 1
jmp 0x1004358d
and dword [ebp - 0x188], 0
cmp dword [ebp - 0x4c], 0
je 0x100435a1
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x1c0], 0
mov dword [ebp - 0x170], 0x7ad53a38
mov eax, dword [ebp - 0x170]
cmp eax, dword [ebp - 0xc8]
jle 0x100435c5
mov dword [ebp - 0x178], 1
jmp 0x100435cc
and dword [ebp - 0x178], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x1c0]
cmp dword [ebp - 0x178], eax
jle 0x100435ec
mov dword [ebp - 0x180], 1
jmp 0x100435f3
and dword [ebp - 0x180], 0
mov eax, dword [ebp - 0xc8]
add eax, dword [ebp - 0x180]
je 0x1004362c
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x1c0], 0
je 0x1004362c
cmp dword [ebp - 0x4c], 0
je 0x1004362c
mov eax, 0xdfe9
test eax, eax
je 0x1004362c
mov dword [ebp - 0x190], 1
jmp 0x10043633
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x188]
sub eax, dword [ebp - 0x190]
jne 0x10043651
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1c0], 0
je 0x10043666
cmp dword [ebp - 0xc8], 0
je 0x10043666
mov dword [ebp - 0x198], 1
jmp 0x1004366d
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x6c], 0x2e91a049
mov byte [ebp - 0x33], 0
movzx eax, byte [ebp - 0x33]
test eax, eax
je 0x1004369b
push 0
push 0
push 0x10bc
call dword [sym.imp.USER32.dll_SetPropA]
mov dword [ebp - 0x6c], 0xffffffec
jmp 0x100436ab
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 5
jge 0x100438e7
mov dword [ebp - 0x1a0], 0x3085
mov dword [ebp - 0x1c8], 0x1000ba10
cmp dword [ebp - 0x1a0], 0x32db
jle 0x10043781
and dword [ebp - 0x80], 0
jmp 0x100436e6
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0x7468
jge 0x10043781
and dword [ebp - 0x88], 0
jmp 0x10043709
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0x5d5c
jge 0x1004377c
and dword [ebp - 0x70], 0
jmp 0x10043722
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0xc90
jge 0x1004377a
and dword [ebp - 0x78], 0
jmp 0x10043738
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x6e76
jge 0x10043778
mov eax, dword [ebp - 0x70]
cdq
idiv dword [ebp - 0x78]
mov eax, dword [ebp - 0x80]
sub eax, dword [ebp - 0x88]
and eax, edx
cdq
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], edx
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
mov ecx, 0x106040f8
call fcn.1001156c
jmp 0x10043731
jmp 0x1004371b
jmp 0x100436fc
jmp 0x100436df
mov dword [ebp - 0x98], 0xfffffff7
mov dword [ebp - 4], 0xc
cmp dword [ebp - 0x1a0], 0x2ec3
jge 0x100437ae
mov edx, dword [ebp - 0x1c8]
mov ecx, 0x106040f8
call fcn.10013e7d
jmp 0x100437ca
or dword [ebp - 4], 0xffffffff
jmp 0x100437d4
mov dword [ebp - 0x90], 0
jmp 0x100437ed
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 4
jge 0x10043809
mov eax, dword [ebp - 0x90]
mov dword [ebp + eax*4 - 0x324], 0x4f84b811
jmp 0x100437e0
mov dword [ebp - 0x98], 3
jmp 0x10043822
mov eax, dword [ebp - 0x98]
dec eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
jl 0x100438e2
mov dword [ebp - 0xa0], 0
jmp 0x10043848
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 3
jge 0x10043864
mov eax, dword [ebp - 0xa0]
mov dword [ebp + eax*4 - 0x25c], 1
jmp 0x1004383b
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x25c], 3
jmp 0x10043892
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x25c]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x25c], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x25c], 0
jl 0x100438c5
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x25c]
mov eax, dword [ebp + eax*4 - 0x324]
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x324], eax
jmp 0x10043877
mov byte [ebp - 0x37], 0
movzx eax, byte [ebp - 0x37]
test eax, eax
je 0x100438dd
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
jmp 0x10043815
jmp 0x100436a4
push 1
lea eax, [ebp - 0x390]
push eax
xor edx, edx
inc edx
xor ecx, ecx
call fcn.10040195
pop ecx
pop ecx
mov esi, eax
lea edi, [ebp - 0x330]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x330]
lea edi, [ebp - 0x26c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x2d4], 0xd5e4
mov byte [ebp - 0x35], 0
movzx eax, byte [ebp - 0x35]
test eax, eax
je 0x10043931
call fcn.1004209f
mov byte [ebp - 0x38], 0
movzx eax, byte [ebp - 0x38]
test eax, eax
je 0x10043945
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
cmp dword [ebp - 0x26c], 0
je 0x10043962
push 1
push dword [ebp - 0x264]
push dword [ebp - 0x268]
call dword [ebp - 0x26c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret