Function at 0x10012500
Capabilities:
Parse pe header
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10076f1b
mov eax, dword fs:[0]
push eax
sub esp, 0xcb8
mov eax, dword [0x100a5688]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xcac], 0
push 0x1009e38a
lea ecx, [ebp - 0xc9c]
call fcn.1000d5e0
mov dword [ebp - 4], 0
mov eax, 2
shl eax, 5
mov ecx, 0x72
mov word [ebp + eax - 0x90], cx
mov edx, 2
imul edx, edx, 0x14
mov eax, 0x69
mov word [ebp + edx - 0x90], ax
mov ecx, 2
imul ecx, ecx, 0xa
mov edx, 0x69
mov word [ebp + ecx - 0x90], dx
mov eax, 2
imul eax, eax, 0x1f
mov ecx, 0x75
mov word [ebp + eax - 0x90], cx
mov edx, 2
imul edx, edx, 5
mov eax, 0x41
mov word [ebp + edx - 0x90], ax
mov ecx, 2
shl ecx, 3
mov edx, 0x5c
mov word [ebp + ecx - 0x90], dx
mov eax, 2
imul eax, eax, 0
mov ecx, 0x53
mov word [ebp + eax - 0x90], cx
mov edx, 2
imul edx, edx, 0xe
mov eax, 0x73
mov word [ebp + edx - 0x90], ax
mov ecx, 2
shl ecx, 4
mov edx, 0x66
mov word [ebp + ecx - 0x90], dx
mov eax, 2
imul eax, eax, 0xb
mov ecx, 0x63
mov word [ebp + eax - 0x90], cx
mov edx, 2
imul edx, edx, 0x27
mov eax, 0x72
mov word [ebp + edx - 0x90], ax
mov ecx, 2
imul ecx, ecx, 3
mov edx, 0x54
mov word [ebp + ecx - 0x90], dx
mov eax, 2
imul eax, eax, 0x1a
mov ecx, 0x20
mov word [ebp + eax - 0x90], cx
mov edx, 2
imul edx, edx, 0x13
mov eax, 0x57
mov word [ebp + edx - 0x90], ax
mov ecx, 2
imul ecx, ecx, 0x23
mov edx, 0x6e
mov word [ebp + ecx - 0x90], dx
mov eax, 2
imul eax, eax, 0x29
mov ecx, 0x69
mov word [ebp + eax - 0x90], cx
mov edx, 2
imul edx, edx, 0x22
mov eax, 0x65
mov word [ebp + edx - 0x90], ax
mov ecx, 2
imul ecx, ecx, 0x1b
mov edx, 0x4e
mov word [ebp + ecx - 0x90], dx
mov eax, 2
imul eax, eax, 7
mov ecx, 0x45
mov word [ebp + eax - 0x90], cx
mov edx, 2
imul edx, edx, 0x12
mov eax, 0x5c
mov word [ebp + edx - 0x90], ax
mov ecx, 2
imul ecx, ecx, 0x1c
mov edx, 0x54
mov word [ebp + ecx - 0x90], dx
mov eax, 2
imul eax, eax, 0x25
mov ecx, 0x56
mov word [ebp + eax - 0x90], cx
mov edx, 2
shl edx, 0
mov eax, 0x4f
mov word [ebp + edx - 0x90], ax
mov ecx, 2
imul ecx, ecx, 0xd
mov edx, 0x6f
mov word [ebp + ecx - 0x90], dx
mov eax, 2
imul eax, eax, 0x2a
mov ecx, 0x6f
mov word [ebp + eax - 0x90], cx
mov edx, 2
imul edx, edx, 0x19
mov eax, 0x73
mov word [ebp + edx - 0x90], ax
mov ecx, 2
imul ecx, ecx, 0x28
mov edx, 0x73
mov word [ebp + ecx - 0x90], dx
mov eax, 2
imul eax, eax, 0x1e
mov ecx, 0x43
mov word [ebp + eax - 0x90], cx
mov edx, 2
imul edx, edx, 0x16
mov eax, 0x64
mov word [ebp + edx - 0x90], ax
mov ecx, 2
shl ecx, 2
mov edx, 0x57
mov word [ebp + ecx - 0x90], dx
mov eax, 2
shl eax, 1
mov ecx, 0x46
mov word [ebp + eax - 0x90], cx
mov edx, 2
imul edx, edx, 0x21
mov eax, 0x72
mov word [ebp + edx - 0x90], ax
mov ecx, 2
imul ecx, ecx, 0x15
mov edx, 0x6e
mov word [ebp + ecx - 0x90], dx
mov eax, 2
imul eax, eax, 0xf
mov ecx, 0x6f
mov word [ebp + eax - 0x90], cx
mov edx, 2
imul edx, edx, 0x18
mov eax, 0x77
mov word [ebp + edx - 0x90], ax
mov ecx, 2
imul ecx, ecx, 0xc
mov edx, 0x72
mov word [ebp + ecx - 0x90], dx
mov eax, 2
imul eax, eax, 0x2b
mov ecx, 0x6e
mov word [ebp + eax - 0x90], cx
mov edx, 2
imul edx, edx, 0x2c
mov dword [ebp - 0xca4], edx
cmp dword [ebp - 0xca4], 0x5a
jae 0x1001286d
jmp 0x10012872
call fcn.10056f6f
xor eax, eax
mov ecx, dword [ebp - 0xca4]
mov word [ebp + ecx - 0x90], ax
mov edx, 2
imul edx, edx, 0x24
mov eax, 0x74
mov word [ebp + edx - 0x90], ax
mov ecx, 2
imul ecx, ecx, 6
mov edx, 0x52
mov word [ebp + ecx - 0x90], dx
mov eax, 2
imul eax, eax, 9
mov ecx, 0x4d
mov word [ebp + eax - 0x90], cx
mov edx, 2
imul edx, edx, 0x11
mov eax, 0x74
mov word [ebp + edx - 0x90], ax
mov ecx, 2
imul ecx, ecx, 0x17
mov edx, 0x6f
mov word [ebp + ecx - 0x90], dx
mov eax, 2
imul eax, eax, 0x26
mov ecx, 0x65
mov word [ebp + eax - 0x90], cx
mov edx, 2
imul edx, edx, 0x1d
mov eax, 0x5c
mov word [ebp + edx - 0x90], ax
mov ecx, 2
imul ecx, ecx, 9
mov edx, 0x6f
mov word [ebp + ecx - 0x34], dx
mov eax, 2
imul eax, eax, 0xc
mov ecx, 0x63
mov word [ebp + eax - 0x34], cx
mov edx, 2
imul edx, edx, 7
mov eax, 0x50
mov word [ebp + edx - 0x34], ax
mov ecx, 2
imul ecx, ecx, 5
mov edx, 0x61
mov word [ebp + ecx - 0x34], dx
mov eax, 2
imul eax, eax, 0xb
mov ecx, 0x75
mov word [ebp + eax - 0x34], cx
mov edx, 2
imul edx, edx, 0xe
mov eax, 0x49
mov word [ebp + edx - 0x34], ax
mov ecx, 2
shl ecx, 1
mov edx, 0x67
mov word [ebp + ecx - 0x34], dx
mov eax, 2
shl eax, 4
mov dword [ebp - 0xca8], eax
cmp dword [ebp - 0xca8], 0x22
jae 0x100129ab
jmp 0x100129b0
call fcn.10056f6f
xor ecx, ecx
mov edx, dword [ebp - 0xca8]
mov word [ebp + edx - 0x34], cx
mov eax, 2
imul eax, eax, 3
mov ecx, 0x69
mov word [ebp + eax - 0x34], cx
mov edx, 2
imul edx, edx, 0xa
mov eax, 0x64
mov word [ebp + edx - 0x34], ax
mov ecx, 2
imul ecx, ecx, 0xd
mov edx, 0x74
mov word [ebp + ecx - 0x34], dx
mov eax, 2
shl eax, 0
mov ecx, 0x69
mov word [ebp + eax - 0x34], cx
mov edx, 2
imul edx, edx, 0
mov eax, 0x44
mov word [ebp + edx - 0x34], ax
mov ecx, 2
imul ecx, ecx, 0xf
mov edx, 0x64
mov word [ebp + ecx - 0x34], dx
mov eax, 2
imul eax, eax, 6
mov ecx, 0x6c
mov word [ebp + eax - 0x34], cx
mov edx, 2
shl edx, 2
mov eax, 0x74
mov word [ebp + edx - 0x34], ax
mov ecx, 2
shl ecx, 3
mov edx, 0x72
mov word [ebp + ecx - 0x34], dx
mov dword [ebp - 0xc90], 0
push 0x7fc
push 0
lea eax, [ebp - 0xc8c]
push eax
call fcn.10059510
add esp, 0xc
mov dword [ebp - 0xcb0], 0x800
lea ecx, [ebp - 0xca0]
push ecx
push 0x101
push 0
lea edx, [ebp - 0x90]
push edx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10012beb
lea eax, [ebp - 0xcb0]
push eax
lea ecx, [ebp - 0xc90]
push ecx
push 0
push 0
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp - 0xca0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xcc4], eax
cmp dword [ebp - 0xcc4], 0
jne 0x10012bde
mov byte [ebp - 0x490], 0
push 0x3ff
push 0
lea ecx, [ebp - 0x48f]
push ecx
call fcn.10059510
add esp, 0xc
mov edx, dword [ebp - 0xcb0]
push edx
lea eax, [ebp - 0x490]
push eax
lea ecx, [ebp - 0xc90]
push ecx
call fcn.1000f1b0
add esp, 0xc
call fcn.10004cd0
mov dword [ebp - 0xcc0], eax
lea edx, [ebp - 0x490]
mov dword [ebp - 0xc98], edx
cmp dword [ebp - 0xc98], 0
jne 0x10012b4d
mov dword [ebp - 0xcb4], 0
jmp 0x10012bc3
mov eax, dword [ebp - 0xc98]
push eax
call fcn.100596a0
add esp, 4
add eax, 1
mov dword [ebp - 0xc94], eax
cmp dword [ebp - 0xc94], 0x3fffffff
jle 0x10012b7d
mov dword [ebp - 0xcb8], 0
jmp 0x10012bb7
mov eax, dword [ebp - 0xc94]
shl eax, 1
call fcn.1005b310
mov dword [ebp - 0xcbc], esp
mov ecx, dword [ebp - 0xcc0]
push ecx
mov edx, dword [ebp - 0xc94]
push edx
mov eax, dword [ebp - 0xc98]
push eax
mov ecx, dword [ebp - 0xcbc]
push ecx
call fcn.1000bf50
mov dword [ebp - 0xcb8], eax
mov edx, dword [ebp - 0xcb8]
mov dword [ebp - 0xcb4], edx
mov eax, dword [ebp - 0xcb4]
push eax
push 0x100896e8
lea ecx, [ebp - 0xc9c]
push ecx
call fcn.100106a0
add esp, 0xc
mov edx, dword [ebp - 0xca0]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0xc9c]
push eax
mov ecx, dword [ebp + 8]
call fcn.1000d5c0
mov ecx, dword [ebp - 0xcac]
or ecx, 1
mov dword [ebp - 0xcac], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc9c]
call fcn.10005140
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xcc8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005ae75
mov esp, ebp
pop ebp
ret