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

Disassembly:
push ebp
lea ebp, [esp - 0xc84]
sub esp, 0xc84
push 0xffffffffffffffff
push 0x10081fc0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x100af440]
xor eax, ebp
mov dword [ebp + 0xc80], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], 0
push 0x100af3a0
lea ecx, [ebp - 0x14]
call fcn.1000ecc0
mov dword [ebp - 4], 0
push 0x10099dc5
lea ecx, [ebp - 0x14]
call fcn.1000f150
movzx eax, al
test eax, eax
jne 0x10003f62
push 0x10099dc5
lea ecx, [ebp - 0x14]
call fcn.1000f0c0
mov dword [ebp - 4], 1
mov ecx, 2
shl ecx, 5
mov edx, 0x72
mov word [ebp + ecx + 0xc00], dx
mov eax, 2
imul eax, eax, 0x14
mov ecx, 0x69
mov word [ebp + eax + 0xc00], cx
mov edx, 2
imul edx, edx, 0xa
mov eax, 0x69
mov word [ebp + edx + 0xc00], ax
mov ecx, 2
imul ecx, ecx, 0x1f
mov edx, 0x75
mov word [ebp + ecx + 0xc00], dx
mov eax, 2
imul eax, eax, 5
mov ecx, 0x41
mov word [ebp + eax + 0xc00], cx
mov edx, 2
shl edx, 3
mov eax, 0x5c
mov word [ebp + edx + 0xc00], ax
mov ecx, 2
imul ecx, ecx, 0
mov edx, 0x53
mov word [ebp + ecx + 0xc00], dx
mov eax, 2
imul eax, eax, 0xe
mov ecx, 0x73
mov word [ebp + eax + 0xc00], cx
mov edx, 2
shl edx, 4
mov eax, 0x66
mov word [ebp + edx + 0xc00], ax
mov ecx, 2
imul ecx, ecx, 0xb
mov edx, 0x63
mov word [ebp + ecx + 0xc00], dx
mov eax, 2
imul eax, eax, 0x27
mov ecx, 0x72
mov word [ebp + eax + 0xc00], cx
mov edx, 2
imul edx, edx, 3
mov eax, 0x54
mov word [ebp + edx + 0xc00], ax
mov ecx, 2
imul ecx, ecx, 0x1a
mov edx, 0x20
mov word [ebp + ecx + 0xc00], dx
mov eax, 2
imul eax, eax, 0x13
mov ecx, 0x57
mov word [ebp + eax + 0xc00], cx
mov edx, 2
imul edx, edx, 0x23
mov eax, 0x6e
mov word [ebp + edx + 0xc00], ax
mov ecx, 2
imul ecx, ecx, 0x29
mov edx, 0x69
mov word [ebp + ecx + 0xc00], dx
mov eax, 2
imul eax, eax, 0x22
mov ecx, 0x65
mov word [ebp + eax + 0xc00], cx
mov edx, 2
imul edx, edx, 0x1b
mov eax, 0x4e
mov word [ebp + edx + 0xc00], ax
mov ecx, 2
imul ecx, ecx, 7
mov edx, 0x45
mov word [ebp + ecx + 0xc00], dx
mov eax, 2
imul eax, eax, 0x12
mov ecx, 0x5c
mov word [ebp + eax + 0xc00], cx
mov edx, 2
imul edx, edx, 0x1c
mov eax, 0x54
mov word [ebp + edx + 0xc00], ax
mov ecx, 2
imul ecx, ecx, 0x25
mov edx, 0x56
mov word [ebp + ecx + 0xc00], dx
mov eax, 2
shl eax, 0
mov ecx, 0x4f
mov word [ebp + eax + 0xc00], cx
mov edx, 2
imul edx, edx, 0xd
mov eax, 0x6f
mov word [ebp + edx + 0xc00], ax
mov ecx, 2
imul ecx, ecx, 0x2a
mov edx, 0x6f
mov word [ebp + ecx + 0xc00], dx
mov eax, 2
imul eax, eax, 0x19
mov ecx, 0x73
mov word [ebp + eax + 0xc00], cx
mov edx, 2
imul edx, edx, 0x28
mov eax, 0x73
mov word [ebp + edx + 0xc00], ax
mov ecx, 2
imul ecx, ecx, 0x1e
mov edx, 0x43
mov word [ebp + ecx + 0xc00], dx
mov eax, 2
imul eax, eax, 0x16
mov ecx, 0x64
mov word [ebp + eax + 0xc00], cx
mov edx, 2
shl edx, 2
mov eax, 0x57
mov word [ebp + edx + 0xc00], ax
mov ecx, 2
shl ecx, 1
mov edx, 0x46
mov word [ebp + ecx + 0xc00], dx
mov eax, 2
imul eax, eax, 0x21
mov ecx, 0x72
mov word [ebp + eax + 0xc00], cx
mov edx, 2
imul edx, edx, 0x15
mov eax, 0x6e
mov word [ebp + edx + 0xc00], ax
mov ecx, 2
imul ecx, ecx, 0xf
mov edx, 0x6f
mov word [ebp + ecx + 0xc00], dx
mov eax, 2
imul eax, eax, 0x18
mov ecx, 0x77
mov word [ebp + eax + 0xc00], cx
mov edx, 2
imul edx, edx, 0xc
mov eax, 0x72
mov word [ebp + edx + 0xc00], ax
mov ecx, 2
imul ecx, ecx, 0x2b
mov edx, 0x6e
mov word [ebp + ecx + 0xc00], dx
mov eax, 2
imul eax, eax, 0x2c
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x5a
jae 0x10004284
jmp 0x10004289
call fcn.10063ae1
xor ecx, ecx
mov edx, dword [ebp - 0x3c]
mov word [ebp + edx + 0xc00], cx
mov eax, 2
imul eax, eax, 0x24
mov ecx, 0x74
mov word [ebp + eax + 0xc00], cx
mov edx, 2
imul edx, edx, 6
mov eax, 0x52
mov word [ebp + edx + 0xc00], ax
mov ecx, 2
imul ecx, ecx, 9
mov edx, 0x4d
mov word [ebp + ecx + 0xc00], dx
mov eax, 2
imul eax, eax, 0x11
mov ecx, 0x74
mov word [ebp + eax + 0xc00], cx
mov edx, 2
imul edx, edx, 0x17
mov eax, 0x6f
mov word [ebp + edx + 0xc00], ax
mov ecx, 2
imul ecx, ecx, 0x26
mov edx, 0x65
mov word [ebp + ecx + 0xc00], dx
mov eax, 2
imul eax, eax, 0x1d
mov ecx, 0x5c
mov word [ebp + eax + 0xc00], cx
mov edx, 2
imul edx, edx, 9
mov eax, 0x6f
mov word [ebp + edx + 0xc5c], ax
mov ecx, 2
imul ecx, ecx, 0xc
mov edx, 0x63
mov word [ebp + ecx + 0xc5c], dx
mov eax, 2
imul eax, eax, 7
mov ecx, 0x50
mov word [ebp + eax + 0xc5c], cx
mov edx, 2
imul edx, edx, 5
mov eax, 0x61
mov word [ebp + edx + 0xc5c], ax
mov ecx, 2
imul ecx, ecx, 0xb
mov edx, 0x75
mov word [ebp + ecx + 0xc5c], dx
mov eax, 2
imul eax, eax, 0xe
mov ecx, 0x49
mov word [ebp + eax + 0xc5c], cx
mov edx, 2
shl edx, 1
mov eax, 0x67
mov word [ebp + edx + 0xc5c], ax
mov ecx, 2
shl ecx, 4
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x30], 0x22
jae 0x100043ce
jmp 0x100043d3
call fcn.10063ae1
xor edx, edx
mov eax, dword [ebp - 0x30]
mov word [ebp + eax + 0xc5c], dx
mov ecx, 2
imul ecx, ecx, 3
mov edx, 0x69
mov word [ebp + ecx + 0xc5c], dx
mov eax, 2
imul eax, eax, 0xa
mov ecx, 0x64
mov word [ebp + eax + 0xc5c], cx
mov edx, 2
imul edx, edx, 0xd
mov eax, 0x74
mov word [ebp + edx + 0xc5c], ax
mov ecx, 2
shl ecx, 0
mov edx, 0x69
mov word [ebp + ecx + 0xc5c], dx
mov eax, 2
imul eax, eax, 0
mov ecx, 0x44
mov word [ebp + eax + 0xc5c], cx
mov edx, 2
imul edx, edx, 0xf
mov eax, 0x64
mov word [ebp + edx + 0xc5c], ax
mov ecx, 2
imul ecx, ecx, 6
mov edx, 0x6c
mov word [ebp + ecx + 0xc5c], dx
mov eax, 2
shl eax, 2
mov ecx, 0x74
mov word [ebp + eax + 0xc5c], cx
mov edx, 2
shl edx, 3
mov eax, 0x72
mov word [ebp + edx + 0xc5c], ax
mov dword [ebp], 0
push 0x7fc
push 0
lea ecx, [ebp + 4]
push ecx
call fcn.10064860
add esp, 0xc
mov dword [ebp - 0x38], 0x800
lea edx, [ebp - 0x34]
push edx
push 0x101
push 0
lea eax, [ebp + 0xc00]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000462f
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp]
push edx
push 0
push 0
lea eax, [ebp + 0xc5c]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x10004625
mov byte [ebp + 0x800], 0
push 0x3ff
push 0
lea edx, [ebp + 0x801]
push edx
call fcn.10064860
add esp, 0xc
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp + 0x800]
push ecx
lea edx, [ebp]
push edx
call fcn.10003e90
add esp, 0xc
mov dword [ebp - 0x60], 3
lea eax, [ebp + 0x800]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10004563
mov dword [ebp - 0x40], 0
jmp 0x10004610
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x1c]
mov cl, byte [eax]
mov byte [ebp - 0xd], cl
add dword [ebp - 0x1c], 1
cmp byte [ebp - 0xd], 0
jne 0x10004572
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x50]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
add eax, 1
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x3fffffff
jle 0x100045a8
mov dword [ebp - 0x18], 0
jmp 0x1000460a
mov eax, dword [ebp - 0x28]
shl eax, 1
call fcn.100785c0
mov dword [ebp - 0x20], esp
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x20], 0
je 0x100045c7
cmp dword [ebp - 0x24], 0
jne 0x100045d0
mov dword [ebp - 0x18], 0
jmp 0x1000460a
xor edx, edx
mov eax, dword [ebp - 0x20]
mov word [eax], dx
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x20]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x24]
push eax
push 0
mov ecx, dword [ebp - 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x10004604
mov dword [ebp - 0x18], 0
jmp 0x1000460a
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
push ecx
push 0x10099e8c
lea edx, [ebp - 0x14]
push edx
call fcn.10012fb0
add esp, 0xc
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
sub ecx, 0x10
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x44]
push edx
call fcn.10011200
add esp, 4
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
add eax, 0x10
mov ecx, dword [ebp + 0xc8c]
mov dword [ecx], eax
mov edx, dword [ebp - 0x2c]
or edx, 1
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
sub eax, 0x10
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
call fcn.100026e0
mov eax, dword [ebp + 0xc8c]
lea esp, [ebp - 0x68]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp + 0xc80]
xor ecx, ebp
call fcn.10061e3f
add ebp, 0xc84
mov esp, ebp
pop ebp
ret