Function at 0x10044f89
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10080add
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c0
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100458e2
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xa4], 0x552c
mov dword [ebp - 0x120], 0x1000b758
cmp dword [ebp - 0xa4], 0x56fa
jle 0x1004506d
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateDCA]
and dword [ebp - 0x54], 0
jmp 0x10044ffb
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x58f8
jge 0x1004506d
and dword [ebp - 0x50], 0
jmp 0x10045011
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x5672
jge 0x1004506b
mov eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x50]
cdq
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], edx
push dword [ebp - 0x124]
push dword [ebp - 0x128]
lea ecx, [ebp - 0x1b4]
call fcn.1001098e
pop ecx
pop ecx
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
call fcn.100208b8
push eax
call fcn.1006abb3
pop ecx
lea ecx, [ebp - 0x1b4]
call fcn.100208ae
jmp 0x1004500a
jmp 0x10044ff4
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xa4], 0x53f5
jge 0x1004508e
push dword [ebp - 0x120]
call fcn.1006abb3
pop ecx
lea eax, [ebp + 0xc]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10c], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xec]
movzx eax, byte [eax]
test eax, eax
je 0x10045127
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x28]
mov dword [eax], 0
jmp 0x10045102
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
mov eax, dword [ebp - 0x28]
cmp dword [eax], 1
jge 0x10045122
mov eax, dword [ebp - 0x28]
push dword [eax]
mov ecx, dword [ebp - 0xc4]
call fcn.10020c90
mov dword [eax], 0xfffffff7
jmp 0x100450f7
jmp 0x100458e0
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xd4]
add ecx, dword [eax]
mov dword [ebp - 0x100], ecx
mov dword [ebp - 0x3c], 0
jmp 0x1004516b
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 3
jge 0x10045181
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x98], 0xfffffff9
jmp 0x10045164
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x98], 0
jmp 0x100451ac
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x98]
dec eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x98], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x98], 0xffffffec
jne 0x100452ca
mov dword [ebp - 0x20], 5
mov dword [ebp - 0x80], 0xdb785b64
mov dword [ebp - 0x20], 0
jmp 0x100451dd
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xd
jne 0x100452b4
mov dword [ebp - 0x70], 0xfa32
mov dword [ebp - 0x114], 0xfffffffa
cmp dword [ebp - 0x20], 0xffffffff
jb 0x10045207
mov dword [ebp - 0x64], 1
jmp 0x1004520b
and dword [ebp - 0x64], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x98]
cmp eax, dword [ebp - 0x64]
jge 0x10045229
mov dword [ebp - 0x88], 1
jmp 0x10045230
and dword [ebp - 0x88], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x98]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x198], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x98]
imul eax, dword [ebp - 0x70]
cmp eax, 1
ja 0x1004527b
mov dword [ebp - 0x78], 1
jmp 0x1004527f
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x88]
cmp eax, dword [ebp - 0x78]
jle 0x10045296
mov dword [ebp - 0xa0], 1
jmp 0x1004529d
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x114], eax
jmp 0x100451d6
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x98], 0
je 0x100452c5
jmp 0x100452ca
jmp 0x10045193
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
add eax, 8
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x18], 0xa87013dc
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x16c], 0xfffffff9
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0x14], 0
jmp 0x10045307
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x1004531d
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x14c], 0xd7f825e
jmp 0x10045300
mov dword [ebp - 0x14], 0
jmp 0x1004532d
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jge 0x10045343
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x164], 1
jmp 0x10045326
mov dword [ebp - 0x18], 2
jmp 0x10045353
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x10045531
mov dword [ebp - 0x174], 0xfffffff8
mov dword [ebp - 0x10], 0
jmp 0x10045377
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x1004538d
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0xdc], 0x8b39d205
jmp 0x10045370
mov dword [ebp - 0x10], 0
jmp 0x1004539d
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x100453b3
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x154], 0xaba9
jmp 0x10045396
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x14c]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
imul eax, dword [ebp - 0x58], 9
cmp eax, 0x945cb81e
je 0x100453de
mov dword [ebp - 0x68], 1
jmp 0x100453e2
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x68]
inc eax
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0x164]
jne 0x100453fe
mov dword [ebp - 0x6c], 1
jmp 0x10045402
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x6c], eax
jle 0x10045413
mov dword [ebp - 0x74], 1
jmp 0x10045417
and dword [ebp - 0x74], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x154]
cmp dword [ebp - 0x74], eax
jl 0x10045442
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x154], 0
je 0x10045442
mov dword [ebp - 0x7c], 1
jmp 0x10045446
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x14c]
cmp eax, dword [ebp - 0x7c]
jne 0x10045461
mov dword [ebp - 0x84], 1
jmp 0x10045468
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x84], eax
jne 0x1004547f
mov dword [ebp - 0x11c], 1
jmp 0x10045486
and dword [ebp - 0x11c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14c]
mov dword [ebp - 0x194], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xdc]
add eax, 0x5d3e8ea4
jne 0x100454c6
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x164], 0
jne 0x100454c6
and dword [ebp - 0xe4], 0
jmp 0x100454d0
mov dword [ebp - 0xe4], 1
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x164], 0
je 0x100454ee
xor eax, eax
inc eax
je 0x100454ee
mov dword [ebp - 0x60], 1
jmp 0x100454f2
and dword [ebp - 0x60], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x60]
mov dword [ebp + eax - 0x164], ecx
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x60]
mov dword [ebp + eax - 0x14c], ecx
push 0x71de
lea eax, [ebp - 0xe8]
push eax
push 0
push 0x6772
call fcn.1004984f
add esp, 0x10
jmp 0x1004534c
and dword [ebp - 0x5c], 0
jmp 0x10045546
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x4c]
inc eax
inc eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov eax, dword [eax + 4]
sub eax, 8
shr eax, 1
cmp dword [ebp - 0x5c], eax
jae 0x1004570f
push 2
lea ecx, [ebp - 0x18c]
call fcn.10020bf2
and dword [ebp - 4], 0
mov dword [ebp - 0xf0], 0xffffffff
mov dword [ebp - 0x170], 0xc0d37ad4
mov dword [ebp - 0x190], 0xf6802998
mov dword [ebp - 0x110], 0x96c7979b
push 0
lea eax, [ebp - 0x178]
push eax
lea eax, [ebp - 0x18c]
push eax
call fcn.100569f2
add esp, 0xc
push 0x638a
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0xf0]
push eax
push 0
call fcn.10048df3
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18c]
call fcn.10020c74
mov dword [ebp - 0x8c], 0x3817
mov dword [ebp - 0x138], 0x1000b7a0
cmp dword [ebp - 0x8c], 0x3ad5
jle 0x1004566f
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_GetEnhMetaFileHeader]
and dword [ebp - 0x48], 0
jmp 0x10045612
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xdbb
jge 0x10045661
and dword [ebp - 0x44], 0
jmp 0x10045628
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x7c80
jge 0x1004565f
mov eax, dword [ebp - 0x48]
cdq
idiv dword [ebp - 0x44]
mov eax, edx
cdq
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], edx
push dword [ebp - 0x130]
push dword [ebp - 0x134]
mov ecx, 0x10085b58
call fcn.100208d8
jmp 0x10045621
jmp 0x1004560b
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
push 0
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xf8]
push eax
call fcn.1004e3dd
add esp, 0xc
cmp dword [ebp - 0x8c], 0x3596
jge 0x100456a0
mov edx, dword [ebp - 0x138]
mov ecx, 0x10085b58
call fcn.10023628
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
call fcn.10051cc8
add esp, 0x10
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 3
je 0x100456d0
jmp 0x1004570a
mov eax, dword [ebp - 0x100]
add eax, dword [ebp - 0x12c]
mov dword [ebp - 0xe0], eax
push 0x37d1
push 0x728c
push dword [ebp - 0x108]
push 0
lea eax, [ebp - 0xe0]
push eax
push 0
push 0x2ea4
call fcn.100459af
add esp, 0x1c
jmp 0x10045537
mov dword [ebp - 0xb0], 0xac204e2d
mov dword [ebp - 0x2c], 0x95aad853
mov dword [ebp - 0x9c], 0x746f
mov dword [ebp - 0xac], 0x1000b7d0
cmp dword [ebp - 0x9c], 0x7511
jle 0x1004580c
and dword [ebp - 0x34], 0
jmp 0x10045751
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x7869
jge 0x1004580c
and dword [ebp - 0x38], 0
jmp 0x1004576b
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x954
jge 0x10045807
and dword [ebp - 0x40], 0
jmp 0x10045785
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x2943
jge 0x10045802
and dword [ebp - 0x30], 0
jmp 0x1004579b
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x5d18
jge 0x100457fd
mov eax, dword [ebp - 0x34]
imul eax, dword [ebp - 0x38]
imul eax, dword [ebp - 0x40]
or eax, dword [ebp - 0x30]
cdq
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], edx
push dword [ebp - 0x13c]
push dword [ebp - 0x140]
lea ecx, [ebp - 0x1cc]
call fcn.1001098e
pop ecx
pop ecx
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xd8]
call fcn.100208b8
push eax
call fcn.1006abb3
pop ecx
lea ecx, [ebp - 0x1cc]
call fcn.100208ae
jmp 0x10045794
jmp 0x1004577e
jmp 0x10045764
jmp 0x1004574a
mov dword [ebp - 0xb8], 0x6a6c65b0
cmp dword [ebp - 0x9c], 0x70cd
jge 0x1004582e
push dword [ebp - 0xac]
call fcn.1006abb3
pop ecx
push 0x4552
push 0x457c
push 0x1d68
push 0x1a3e
lea eax, [ebp - 0xb0]
push eax
push 0x11f6
push 1
push 1
push 0x85a
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x4e2
push 0x5b10
push 5
push 0x142a
call fcn.10043831
add esp, 0x3c
mov dword [ebp - 0x2c], 0xffffffe3
jmp 0x1004588b
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xfffffffa
je 0x100458ce
mov dword [ebp - 0xc0], 1
mov byte [ebp - 0x19], 0
push 0x5f0b
push 0
push 0x30fd
push 0xd74
push 0x78ff
lea eax, [ebp - 0x19]
push eax
call fcn.10047e4f
add esp, 0x18
cmp dword [ebp - 0xc0], 0
je 0x100458cc
jmp 0x100458ce
jmp 0x10045884
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
add ecx, dword [eax + 4]
mov eax, dword [ebp - 0x24]
mov dword [eax], ecx
jmp 0x1004590a
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xd0], eax
push 0
push dword [ebp - 0xc8]
push dword [ebp - 0xd0]
call fcn.100569f2
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret