Function at 0x4a0b40
Capabilities:
Extract resource via kernel32 functions
Get graphical window text
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58e078
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa90
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
push ebx
mov esi, ecx
mov eax, dword [esi + 4]
push ebx
push 0x1027
push eax
mov dword [ebp - 0x38], esi
call edi
mov ecx, dword [esi + 4]
push ebx
push ebx
push 0x1009
push ecx
mov dword [ebp - 0x6c], eax
call edi
mov edx, dword [esi + 4]
push ebx
push ebx
push 0x401
push edx
call edi
lea eax, [esi + 0x2bc]
push eax
lea ecx, [ebp - 0x68]
call fcn.0049fe40
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x48]
push ecx
call fcn.0050a4d0
mov eax, dword [ebp - 0x48]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
add esp, 4
push ebx
lea edx, [ebp - 0x40]
push edx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.AppGroups
push eax
call edi
mov edx, dword [ebp - 0x48]
push ebx
lea ecx, [ebp - 0x58]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.AppGroupsOptions
push edx
call edi
mov edx, dword [ebp - 0x40]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x294]
push ecx
push ebx
push edx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x54], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
je 0x4a13cd
lea ecx, [ecx]
test eax, eax
jne 0x4a13cd
mov edx, dword [ebp - 0x40]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
inc dword [ebp - 0x18]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x294]
push ecx
push edx
call edi
mov eax, dword [ebp - 0x4c]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x4c]
push ecx
push ebx
push 0
push 0
lea edx, [ebp - 0x294]
push edx
push eax
mov dword [ebp - 0x3c], ebx
call edi
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], ebx
cmp word [ebx], ax
je 0x4a0fc0
jmp 0x4a0c99
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp - 0x64]
je 0x4a0fa3
lea esi, [eax + 4]
mov eax, dword [esi]
cmp dword [eax - 4], 1
jle 0x4a0cbe
mov ecx, dword [eax - 0xc]
push ecx
mov ecx, esi
call fcn.00403bd0
mov edx, dword [0x5f5774]
mov eax, dword [edx + 0xc]
mov edi, dword [esi]
mov ecx, 0x5f5774
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x34], ebx
mov byte [ebp - 4], 2
test edi, edi
je 0x4a0e5d
push 0
test edi, 0xffff0000
jne 0x4a0e07
movzx edi, di
push edi
call fcn.004013d0
mov esi, eax
add esp, 8
mov dword [ebp - 0x20], esi
test esi, esi
je 0x4a0eaf
mov ecx, edi
shr ecx, 4
inc ecx
movzx edx, cx
push 6
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x4a0eaf
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4a0eaf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4a0eaf
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x4a0d72
lea ecx, [ecx]
cmp esi, eax
jae 0x4a0eaf
dec edi
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4a0d60
cmp esi, eax
jae 0x4a0eaf
movzx eax, word [esi]
test ax, ax
je 0x4a0eaf
mov edi, eax
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, edi
or eax, ecx
jge 0x4a0da5
push edi
lea ecx, [ebp - 0x34]
call fcn.00403ca0
mov ebx, dword [ebp - 0x34]
movzx eax, word [esi]
lea edx, [esi + 2]
cmp eax, 0xffffffff
jne 0x4a0dc5
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a0db5
sub eax, esi
sar eax, 1
inc eax
push eax
push edx
push edi
push ebx
call fcn.00554d7d
add esp, 0x10
cmp eax, 0x50
ja case.0x4a0de1.1
movzx eax, byte [eax + 0x4a16fc]
jmp dword [eax*4 + 0x4a16ec]
test edi, edi
js case.0x4a0de1.22
cmp edi, dword [ebx - 8]
jg case.0x4a0de1.22
xor ecx, ecx
mov dword [ebx - 0xc], edi
mov word [ebx + edi*2], cx
jmp 0x4a0eaf
push 0
push 0xffffffffffffffff
push edi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea esi, [eax - 1]
test esi, esi
jle 0x4a0e5d
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, esi
or eax, ecx
jge 0x4a0e3a
push esi
lea ecx, [ebp - 0x34]
call fcn.00403ca0
mov ebx, dword [ebp - 0x34]
push esi
push ebx
push 0xffffffffffffffff
push edi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp esi, dword [ebx - 8]
jg case.0x4a0de1.22
xor edx, edx
mov dword [ebx - 0xc], esi
mov word [ebx + esi*2], dx
jmp 0x4a0eaf
cmp dword [ebx - 0xc], 0
mov esi, dword [ebx - 0x10]
lea eax, [ebx - 0x10]
je 0x4a0eaf
cmp dword [eax + 0xc], 0
lea ecx, [eax + 0xc]
jge 0x4a0e8a
cmp dword [ebx - 8], 0
jl case.0x4a0de1.22
xor eax, eax
mov dword [ebx - 0xc], 0
mov word [ebx], ax
jmp 0x4a0eaf
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a0ea0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x34], ebx
mov byte [ebp - 4], 3
xor ecx, ecx
push 0x1fe
push ecx
lea edx, [ebp - 0x692]
push edx
mov word [ebp - 0x694], cx
call fcn.00555020
xor eax, eax
push 0x1fe
push eax
lea ecx, [ebp - 0x492]
push ecx
mov word [ebp - 0x494], ax
call fcn.00555020
add esp, 0x18
cmp dword [ebx - 4], 1
jle 0x4a0f01
mov edx, dword [ebx - 0xc]
push edx
lea ecx, [ebp - 0x34]
call fcn.00403bd0
mov ebx, dword [ebp - 0x34]
push pe_nt_image_headers32
lea eax, [ebp - 0x494]
push eax
push pe_nt_image_headers32
lea ecx, [ebp - 0x694]
push ecx
push pe_nt_image_headers32
lea edx, [ebp - 0xa9c]
push edx
push 3
lea eax, [ebp - 0x8c]
push eax
push ebx
call fcn.00556ea6
lea ecx, [ebp - 0x494]
push ecx
lea edx, [ebp - 0x694]
push edx
lea eax, [ebp - 0x89c]
push str._s_s
push eax
call fcn.0049c9b0
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x89c]
push edx
call fcn.005571bb
add esp, 0x3c
test eax, eax
je 0x4a1018
mov byte [ebp - 4], 1
add ebx, 0xfffffff0
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4a0f8e
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov eax, dword [ebp - 0x14]
add eax, 0x24
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp - 0x64]
jne 0x4a0ca8
mov esi, dword [ebp - 0x38]
mov edi, dword [ebp - 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [edi + eax*2 + 2], 0
lea eax, [edi + eax*2 + 2]
mov dword [ebp - 0x1c], eax
jne 0x4a0c99
mov eax, dword [0x5f5774]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f5774
call edx
lea edi, [eax + 0x10]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 6
lea eax, [ebp - 0x294]
shr eax, 0x10
mov dword [ebp - 0x50], eax
test eax, eax
lea eax, [ebp - 0x294]
jne 0x4a11b6
movzx ebx, ax
push 0
push ebx
call fcn.004013d0
add esp, 8
test eax, eax
je 0x4a11e2
push ebx
push eax
lea ecx, [ebp - 0x10]
call fcn.00405fa0
jmp 0x4a11df
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
cmp dword [ebp - 0x14], edi
jae 0x4a10d2
cmp esi, dword [ebp - 0x14]
ja 0x4a10d2
mov ecx, dword [ebp - 0x14]
sub ecx, esi
mov eax, 0x38e38e39
imul ecx
mov ecx, dword [ebp - 0x28]
sar edx, 3
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp dword [ebp - 0x2c], ecx
jne 0x4a10b2
mov ecx, dword [ebp - 0x2c]
sub ecx, esi
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 0x71c71c6
ja 0x4a1450
mov edx, dword [ebp - 0x28]
sub edx, esi
mov eax, 0x38e38e39
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
inc ecx
add eax, edx
cmp ecx, eax
jbe 0x4a10b2
mov edx, eax
shr edx, 1
mov esi, 0x71c71c7
sub esi, edx
cmp esi, eax
jae 0x4a109e
xor eax, eax
jmp 0x4a10a0
add eax, edx
cmp eax, ecx
jae 0x4a10a6
mov eax, ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.0042d570
mov esi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
lea edx, [edi + edi*8]
lea eax, [esi + edx*4]
push eax
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.0042c890
add esp, 0xc
add dword [ebp - 0x2c], 0x24
jmp 0x4a1151
cmp edi, dword [ebp - 0x28]
jne 0x4a113a
mov ecx, edi
sub ecx, esi
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 0x71c71c6
ja 0x4a1450
mov edx, dword [ebp - 0x28]
sub edx, esi
mov eax, 0x38e38e39
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
inc ecx
add eax, edx
cmp ecx, eax
jbe 0x4a113a
mov edx, eax
shr edx, 1
mov esi, 0x71c71c7
sub esi, edx
cmp esi, eax
jae 0x4a1126
xor eax, eax
jmp 0x4a1128
add eax, edx
cmp eax, ecx
jae 0x4a112e
mov eax, ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.0042d570
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
push edi
push ecx
call fcn.0042c910
add esp, 0xc
add edi, 0x24
mov dword [ebp - 0x2c], edi
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x64]
push edx
push eax
add eax, 0x24
push esi
push eax
call fcn.0042c960
lea edi, [esi - 0x24]
add esp, 0x10
mov dword [ebp - 0x20], edi
cmp edi, esi
je 0x4a118a
lea eax, [ebp - 0x5c]
push edi
push eax
call fcn.0042cad0
add edi, 0x24
add esp, 8
cmp edi, esi
jne 0x4a1173
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x64], edi
mov byte [ebp - 4], 1
add ebx, 0xfffffff0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a0c96
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
jmp 0x4a0c96
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a11c0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x10]
call fcn.00405e50
mov edi, dword [ebp - 0x10]
mov byte [ebp - 4], 7
mov ebx, dword [edi - 0xc]
mov eax, dword [edi - 8]
mov edx, str._Collapsed
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], ebx
add ebx, 0xa
mov ecx, 1
sub ecx, dword [edi - 4]
sub edx, edi
sar edx, 1
sub eax, ebx
or eax, ecx
mov dword [ebp - 0x20], edx
jge 0x4a121e
push ebx
lea ecx, [ebp - 0x10]
call fcn.00403ca0
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 0x14]
ja 0x4a1229
lea ecx, [edi + edx*2]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
push 0x14
push edx
lea ecx, [edi + eax*2]
push 0x14
push ecx
call fcn.00554d08
add esp, 0x10
test ebx, ebx
js case.0x4a0de1.22
cmp ebx, dword [edi - 8]
jg case.0x4a0de1.22
mov dword [edi - 0xc], ebx
xor edx, edx
lea eax, [ebp - 0x44]
push eax
mov word [edi + ebx*2], dx
mov ecx, dword [ebp - 0x58]
push edi
push ecx
mov dword [ebp - 0x44], edx
call fcn.0050a180
movzx edx, byte [esi + 0x2de]
mov eax, dword [esi + 0x2e0]
add esp, 0xc
push edx
push eax
lea ecx, [ebp - 0x30]
push ecx
mov ecx, esi
call fcn.0049e450
cmp dword [ebp - 0x44], 0
setne dl
movzx eax, dl
push eax
sub esp, 0x10
lea edx, [ebp - 0x30]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push edx
call fcn.0049fe40
mov byte [ebp - 4], 8
mov eax, dword [0x5f5774]
mov edx, dword [eax + 0xc]
push ecx
mov ebx, esp
mov ecx, 0x5f5774
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x74], ebx
call edx
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 9
cmp dword [ebp - 0x50], 0
lea eax, [ebp - 0x294]
jne 0x4a12f8
movzx eax, ax
push 0
push eax
mov dword [ebp - 0x20], eax
call fcn.004013d0
add esp, 8
test eax, eax
je 0x4a131e
mov ecx, dword [ebp - 0x20]
push ecx
push eax
mov ecx, ebx
call fcn.00405fa0
jmp 0x4a131e
lea edx, [eax + 2]
jmp 0x4a1300
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a1300
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x294]
push edx
mov ecx, ebx
call fcn.00405e50
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 7
mov ecx, esi
call fcn.004a02e0
mov eax, dword [ebp - 0x3c]
push eax
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [ebp - 4], 1
add edi, 0xfffffff0
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a1361
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov byte [ebp - 4], 0
mov edi, dword [ebp - 0x30]
cmp edi, ebx
je 0x4a1395
mov ebx, dword [ebp - 0x2c]
cmp edi, ebx
je 0x4a138a
lea eax, [ebp - 0x24]
push edi
push eax
call fcn.0042cad0
add edi, 0x24
add esp, 8
cmp edi, ebx
jne 0x4a1373
mov edi, dword [ebp - 0x30]
push edi
call fcn.00553d26
add esp, 4
xor ebx, ebx
mov eax, dword [ebp - 0x18]
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x40]
lea edx, [ebp - 0x294]
push edx
push eax
push ecx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x54], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x4a0c20
mov edx, dword [0x5f5774]
mov eax, dword [edx + 0xc]
mov ecx, 0x5f5774
call eax
add eax, 0x10
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 0xd
push 0
push 0xe1
call fcn.004013d0
add esp, 8
test eax, eax
je 0x4a1408
push 0xe1
push eax
lea ecx, [ebp - 0x44]
call fcn.00405fa0
mov ebx, dword [ebp - 0x44]
mov ecx, dword [ebx - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add ebx, 0xfffffff0
call eax
cmp dword [ebx + 0xc], 0
lea ecx, [ebx + 0xc]
jl 0x4a145a
cmp eax, dword [ebx]
jne 0x4a145a
mov edi, ebx
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4a1496
push 0x8007000e
call fcn.00401150
push 0x80070057
call fcn.00401150
push 0x80004005
call fcn.00401150
push str.vector_T__too_long
call fcn.0053f78a
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x4a1473
call fcn.004021c0
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov eax, dword [ebx + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebx + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.00554d08
add esp, 0x10
add edi, 0x10
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 0xf
mov eax, dword [edi - 0xc]
mov dword [ebp - 0x38], eax
add eax, 0xa
mov dword [ebp - 0x10], eax
mov eax, dword [edi - 8]
sub eax, dword [ebp - 0x10]
mov edx, str._Collapsed
mov dword [ebp - 0x18], edx
mov ecx, 1
sub ecx, dword [edi - 4]
sub edx, edi
sar edx, 1
or eax, ecx
mov dword [ebp - 0x3c], edx
jge 0x4a14df
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00403ca0
mov edi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x3c]
cmp edx, dword [ebp - 0x38]
ja 0x4a14ea
lea eax, [edi + edx*2]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x38]
push 0x14
push ecx
lea eax, [edi + edx*2]
push 0x14
push eax
call fcn.00554d08
add esp, 0x10
cmp dword [ebp - 0x10], 0
jl case.0x4a0de1.22
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [edi - 8]
jg case.0x4a0de1.22
mov eax, ecx
mov dword [edi - 0xc], eax
xor edx, edx
mov word [edi + eax*2], dx
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x70]
push eax
push edi
push ecx
mov dword [ebp - 0x70], edx
call fcn.0050a180
movzx edx, byte [esi + 0x2de]
mov eax, dword [esi + 0x2e0]
add esp, 0xc
push edx
push eax
lea ecx, [ebp - 0x68]
push ecx
mov ecx, esi
call fcn.0049e450
cmp dword [ebp - 0x70], 0
setne dl
movzx eax, dl
push eax
sub esp, 0x10
lea edx, [ebp - 0x68]
mov ecx, esp
mov dword [ebp - 0x74], esp
push edx
call fcn.0049fe40
mov byte [ebp - 4], 0x10
push ecx
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x20], esp
mov dword [ebp - 0x3c], esp
call edx
cmp dword [ebx + 0xc], 0
lea edx, [ebx + 0xc]
jl 0x4a159b
cmp eax, dword [ebx]
jne 0x4a159b
mov dword [ebp - 0x18], ebx
mov eax, 1
lock xadd dword [edx], eax
jmp 0x4a15db
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x4a15b5
call fcn.004021c0
mov eax, dword [ebx + 4]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 4], eax
mov eax, dword [ebx + 4]
lea edx, [eax + eax + 2]
push edx
lea edx, [ebx + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
add ecx, 0x10
push ecx
call fcn.00554d08
add esp, 0x10
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x3c]
add ecx, 0x10
mov dword [edx], ecx
mov byte [ebp - 4], 0x12
mov byte [ebp - 4], 0xf
mov ecx, esi
call fcn.004a02e0
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x58]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x6c]
mov edx, dword [esi + 4]
lea eax, [ebp - 0x84]
push eax
push ecx
push 0x100e
push edx
mov dword [ebp - 0x84], 3
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0x80]
imul eax, dword [ebp - 0x6c]
push eax
mov eax, dword [esi + 4]
push 0
push 0x1014
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
call fcn.0049df00
mov byte [ebp - 4], 0xd
add edi, 0xfffffff0
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a167a
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov byte [ebp - 4], 0
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4a1697
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x68]
xor eax, eax
cmp edi, eax
je 0x4a16cf
mov ebx, dword [ebp - 0x64]
mov esi, edi
cmp edi, ebx
je 0x4a16c4
lea ecx, [ebp - 0x5c]
push esi
push ecx
call fcn.0042cad0
add esi, 0x24
add esp, 8
cmp esi, ebx
jne 0x4a16b0
push edi
call fcn.00553d26
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret