Function at 0x1002f15b
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100846b2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
mov dword [esp + 0x34], edx
xor edx, edx
mov dword [esp + 0xc], 0xfffffffe
inc edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], 0x49d585ed
mov dword [esp + 0x24], 0x9a5a40f2
mov dword [esp + 4], 0xa519d814
push ebx
mov dword [esp + 0x30], 9
push esi
mov dword [esp + 0x38], edx
mov esi, ecx
mov dword [esp + 0x30], 0x70ce404d
push edi
or edi, 0xffffffff
xor ebx, ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0xc], edx
mov dword [esp + 0xc], ebx
jmp 0x1002f1ea
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x98], 7
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 2
jl 0x1002f1d7
mov eax, dword [esp + 0x34]
xor ecx, ecx
mov eax, dword [esp + 0x30]
mov eax, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
mov eax, dword [esp + 0x98]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
inc dword [esp + 0x3c]
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
cmp eax, edx
mov eax, dword [esp + 0x10]
setle cl
xor edx, edx
test ecx, ecx
sets dl
xor ecx, ecx
cmp edx, eax
mov eax, 0xfffff77f
setge cl
sub eax, ecx
add eax, dword [esp + 0x3c]
jne 0x1002f250
cmp dword [esp + 0x1c], ebx
je 0x1002f25b
cmp dword [esp + 0x10], ebx
je 0x1002f25b
xor edx, edx
inc edx
jmp 0x1002f25d
mov edx, ebx
mov eax, dword [esp + 0x10]
xor ecx, ecx
cmp edx, eax
setne cl
imul eax, ecx, 0x9f11
sub eax, dword [esp + 0x20]
je 0x1002f27f
cmp dword [esp + 0x10], ebx
je 0x1002f27f
xor edx, edx
inc edx
jmp 0x1002f281
mov edx, ebx
mov ecx, dword [esp + 0x18]
imul ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
sub edx, eax
xor eax, eax
cmp ecx, edx
setle al
mov dword [esp + 0xc], eax
cmp dword [esi + 0x10], ebx
jne 0x1002f2a7
xor al, al
jmp 0x1002f728
mov edx, 0xffff
xor ecx, ecx
mov dword [esp + 0xc], edx
inc ecx
mov dword [esp + 0x18], 0x462ccd20
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], 0x2e71
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], ebx
jmp 0x1002f2e1
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x48], 0xa90ef874
inc dword [esp + 0x10]
cmp dword [esp + 0x10], ecx
jl 0x1002f2d1
mov dword [esp + 0x10], ebx
jmp 0x1002f2fd
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x4c], 0x1a0197cb
inc dword [esp + 0x10]
cmp dword [esp + 0x10], ecx
jl 0x1002f2ed
mov eax, dword [esp + 0xc]
cmp dword [esp + 0xc], ebx
je 0x1002f33a
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x18]
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0x30]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x20], eax
cmp dword [esp + 0x20], edx
jne 0x1002f352
cmp dword [esp + 0x48], ebx
je 0x1002f35a
mov eax, ecx
cmp dword [esp + 0x48], ebx
jne 0x1002f35c
mov eax, ebx
add eax, 0x3da550e8
cmp eax, dword [esp + 0x18]
jle 0x1002f36f
mov eax, ecx
cmp dword [esp + 0xc], ebx
jne 0x1002f371
mov eax, ebx
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x40]
push 0x47c6
push ebx
push eax
call fcn.100391e3
add esp, 0xc
mov dword [esp + 0xc], 0x19ac196a
mov dword [esp + 0x10], 0x9570
lea ecx, [esp + 0x6c]
push 2
call fcn.10025495
mov dword [esp + 0xcc], ebx
mov dword [esp + 0x2c], ebx
jmp 0x1002f3c0
mov eax, dword [esp + 0x2c]
mov dword [esp + eax*4 + 0x64], 7
inc dword [esp + 0x2c]
cmp dword [esp + 0x2c], 2
jl 0x1002f3b0
push 0x726f
push ebx
push 0x4fc5
push 0xdae
push 0x2684
push 0x6136
push 0x20ee
push 0x45f7
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x90]
push 0x358f
push eax
call fcn.1003252b
mov eax, dword [esp + 0x38]
xor edx, edx
mov dword [esp + 0x3c], eax
add esp, 0x2c
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
add ecx, 0x5c6f8b8a
cmp ecx, eax
setl dl
mov dword [esp + 0x68], edx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
imul ecx, edx
xor edx, edx
cmp ecx, eax
setle dl
xor ecx, ecx
add edx, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, edx
setne cl
xor edx, edx
cmp ecx, 0x2c6e
setl dl
xor ecx, ecx
imul edx, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp edx, eax
setle cl
cmp ecx, dword [esp + 0xc]
jne 0x1002f492
mov dword [esp + 0x10], 0xffffffe8
jmp 0x1002f489
push ebx
push 0x7e25
push 0x1739
call fcn.10031662
add esp, 0xc
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0x31
jle 0x1002f472
jmp 0x1002f4f4
mov dword [esp + 0x18], 0x46e74a6e
mov dword [esp + 0x1c], 0x280bfe73
mov dword [esp + 0x34], 4
mov dword [esp + 0x1c], edi
mov dword [esp + 0x1c], 1
mov dword [esp + 0x1c], 0x8214d2fc
mov dword [esp + 0x1c], 0x14ba09a1
mov dword [esp + 0x1c], edi
mov dword [esp + 0x1c], 3
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x6c]
inc dword [eax]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x68], eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0xcc], edi
call fcn.1002554b
cmp dword [esi + 0x14], 0x10
jb 0x1002f50e
mov ecx, dword [esi]
jmp 0x1002f510
mov ecx, esi
cmp dword [esi + 0x14], 0x10
mov dword [esp + 0x44], ecx
jb 0x1002f51e
mov edx, dword [esi]
jmp 0x1002f520
mov edx, esi
mov eax, dword [esi + 0x10]
add eax, edx
cmp ecx, eax
je 0x1002f726
mov al, byte [ecx]
cmp al, 0x30
jl 0x1002f560
cmp al, 0x39
jg 0x1002f560
push 0xaf5
push ebx
push 0x2950
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x54]
push 0x54a9
push eax
call fcn.100317d2
mov ecx, dword [esp + 0x5c]
add esp, 0x18
inc ecx
jmp 0x1002f510
push 2
lea ecx, [esp + 0x90]
call fcn.10025495
lea eax, [esp + 0x50]
mov dword [esp + 0xcc], 1
push eax
lea eax, [esp + 0x90]
mov dword [esp + 0x28], 0x7a7c2039
push eax
mov dword [esp + 0xa8], 0xc75d
mov dword [esp + 0x90], 0xf997ec53
push ebx
call fcn.10032066
add esp, 0xc
mov dword [esp + 0x24], 1
cmp dword [esp + 0x24], ebx
jl 0x1002f692
push 4
lea ecx, [esp + 0xa8]
call fcn.10025495
mov byte [esp + 0xcc], 2
lea eax, [esp + 0xc0]
push dword [esp + 0x50]
movdqa xmm0, xmmword [0x10007a90]
lea ecx, [esp + 0x5c]
push eax
lea eax, [esp + 0xb8]
mov dword [esp + 0x60], ebx
push eax
push ebx
movdqu xmmword [esp + 0xc0], xmm0
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
call fcn.1002671b
mov byte [esp + 0xcc], 3
mov dword [esp + 0xc], ebx
jmp 0x1002f630
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0xa4]
mov dword [eax + ecx*4], edi
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 4
jl 0x1002f61e
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], 0
je 0x1002f651
push ebx
push ebx
push 0xe68
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], 0
je 0x1002f66b
push ebx
call fcn.100328da
pop ecx
lea ecx, [esp + 0x58]
call fcn.1002554b
lea ecx, [esp + 0xa4]
mov byte [esp + 0xcc], 1
call fcn.1002554b
dec dword [esp + 0x24]
jns 0x1002f5bf
lea ecx, [esp + 0x8c]
mov dword [esp + 0xcc], edi
call fcn.1002554b
mov eax, dword [esp + 0x40]
mov dword [eax], ebx
mov eax, 0x7eede0b4
mov dword [esp + 0x28], ebx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x54], 1
mov dword [esp + 0x28], ebx
jmp 0x1002f6fd
mov dword [esp + 0xc], edi
mov dword [esp + 0xc], ebx
jmp 0x1002f6f2
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x78], 0x8d3c891c
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 4
jl 0x1002f6e2
inc dword [esp + 0x28]
cmp dword [esp + 0x28], 3
jge 0x1002f6d8
push 0x6fa7
lea eax, [esp + 0x2c]
push eax
push 0x4a3a
lea eax, [esp + 0x60]
push eax
push ebx
call fcn.1002f77b
add esp, 0x14
jmp 0x1002f2a0
mov al, 1
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret