Function at 0x887f10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x94b720
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x99986c]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov eax, dword [esp + 0x98]
xor ebx, ebx
lea ecx, [esp + 0x34]
mov dword [eax], ebx
call fcn.0085f110
mov dword [esp + 0x5c], ebx
lea ecx, [esp + 0x34]
call fcn.00863ea0
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x5c], 1
mov edi, dword [esp + 0x64]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x3c]
push edi
push eax
call fcn.0087e9c0
add esp, 0x10
test al, al
jne 0x887fe1
mov ecx, dword [0x998168]
mov edx, dword [ecx]
shr edx, 0xd
test dl, 1
je 0x887fac
mov ecx, dword [esp + 0x9c]
cmp ecx, ebx
je 0x887fac
push 0xffffffffffffffff
push str.__key_not_seen_before_
call fcn.0090a030
mov byte [esp + 0x5c], 0
lea ecx, [esp + 0x2c]
call fcn.00877fa0
mov dword [esp + 0x5c], 0xffffffff
lea ecx, [esp + 0x34]
call fcn.00860180
xor al, al
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov eax, dword [0x998168]
mov ecx, dword [eax]
mov edx, dword [esp + 0x9c]
mov esi, dword [esp + 0x14]
shr ecx, 0xd
test cl, 1
je 0x88801b
cmp edx, ebx
je 0x88801b
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push eax
call fcn.00877f40
push eax
push edi
push str.__xh_ls_ls_
push edx
call fcn.0090aa60
add esp, 0x14
cmp dword [esp + 0x74], 0
mov ebx, dword [esp + 0x90]
mov ebp, dword [esp + 0x78]
jne 0x88803f
test ebp, ebp
jne 0x88803f
cmp dword [esp + 0x7c], ebp
jne 0x88803f
test ebx, ebx
je 0x888174
mov ecx, esi
call fcn.0087e8e0
push 1
push edi
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call fcn.008871c0
test al, al
jne 0x8880b5
cmp dword [esp + 0x2c], 0
je 0x88806f
dec dword [esp + 0x2c]
push 0x99ba18
call dword [0x982410]
mov eax, dword [0x998168]
mov ecx, dword [eax]
shr ecx, 0xd
test cl, 1
je 0x888095
mov ecx, dword [esp + 0x9c]
test ecx, ecx
je 0x888095
push 0xffffffffffffffff
push str.__could_not_enumerate_keys_
call fcn.0090a030
mov edx, dword [esp + 0x98]
mov dword [edx], 0x3fa
mov byte [esp + 0x5c], 0
lea ecx, [esp + 0x2c]
call fcn.00877fa0
jmp 0x88864c
test ebx, ebx
je 0x8880c4
mov eax, dword [esi + 0x30]
mov dword [ebx], eax
mov ecx, dword [esi + 0x34]
mov dword [ebx + 4], ecx
mov ebx, dword [esi + 0x28]
sub ebx, dword [esi + 0x24]
sar ebx, 2
test ebp, ebp
je 0x8880d8
mov dword [ebp], 0
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x8880e6
mov dword [eax], 0
mov eax, dword [esp + 0x74]
test eax, eax
je 0x8880f0
mov dword [eax], ebx
test ebp, ebp
je 0x888128
xor edi, edi
test ebx, ebx
jle 0x888128
lea ebx, [ebx]
mov edx, dword [esi + 0x28]
sub edx, dword [esi + 0x24]
sar edx, 2
cmp edi, edx
jb 0x888112
call fcn.0091bc53
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx + 4]
cmp eax, dword [ebp]
jle 0x888123
mov dword [ebp], eax
inc edi
cmp edi, ebx
jl 0x888100
cmp dword [esp + 0x7c], 0
je 0x888174
xor edi, edi
test ebx, ebx
jle 0x888174
mov edx, dword [esi + 0x28]
sub edx, dword [esi + 0x24]
sar edx, 2
cmp edi, edx
jb 0x888147
call fcn.0091bc53
mov eax, dword [esi + 0x28]
sub eax, dword [esi + 0x24]
sar eax, 2
cmp edi, eax
jb 0x888159
call fcn.0091bc53
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx + edi*4]
mov eax, dword [edx + 0xa8]
mov ecx, dword [esp + 0x7c]
cmp eax, dword [ecx]
jle 0x88816f
mov dword [ecx], eax
inc edi
cmp edi, ebx
jl 0x888135
mov edi, dword [esp + 0x80]
mov ebx, dword [esp + 0x84]
test edi, edi
jne 0x888197
test ebx, ebx
jne 0x888197
cmp dword [esp + 0x88], ebx
je 0x8882ed
mov eax, dword [esp + 0x64]
push eax
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
call fcn.00887950
test al, al
jne 0x888208
cmp dword [esp + 0x2c], 0
je 0x8881c2
dec dword [esp + 0x2c]
push 0x99ba18
call dword [0x982410]
mov edx, dword [0x998168]
mov eax, dword [edx]
shr eax, 0xd
test al, 1
je 0x8881e8
mov ecx, dword [esp + 0x9c]
test ecx, ecx
je 0x8881e8
push 0xffffffffffffffff
push str.__could_not_enumerate_values_
call fcn.0090a030
mov ecx, dword [esp + 0x98]
mov dword [ecx], 0x3fa
mov byte [esp + 0x5c], 0
lea ecx, [esp + 0x2c]
call fcn.00877fa0
jmp 0x88864c
cmp dword [esi + 0x40], 0
jne 0x888212
xor ebp, ebp
jmp 0x88821b
mov ebp, dword [esi + 0x58]
sub ebp, dword [esi + 0x54]
sar ebp, 2
test edi, edi
je 0x888221
mov dword [edi], ebp
test ebx, ebx
je 0x88822b
mov dword [ebx], 0
mov eax, dword [esp + 0x88]
test eax, eax
je 0x88823c
mov dword [eax], 0
test ebx, ebx
je 0x88828a
xor edi, edi
test ebp, ebp
jle 0x88828a
cmp dword [esi + 0x40], 0
je 0x888273
mov eax, dword [esi + 0x58]
sub eax, dword [esi + 0x54]
sar eax, 2
cmp edi, eax
jae 0x888273
mov edx, dword [esi + 0x58]
sub edx, dword [esi + 0x54]
sar edx, 2
cmp edi, edx
jb 0x88826b
call fcn.0091bc53
mov eax, dword [esi + 0x54]
mov eax, dword [eax + edi*4]
jmp 0x888275
xor eax, eax
mov eax, dword [eax + 4]
cmp eax, dword [ebx]
jle 0x88827e
mov dword [ebx], eax
inc edi
cmp edi, ebp
jl 0x888246
mov eax, dword [esp + 0x88]
test eax, eax
je 0x8882ed
xor edi, edi
test ebp, ebp
jle 0x8882ed
mov edx, dword [esp + 0x88]
jmp 0x8882a0
cmp dword [esi + 0x40], 0
je 0x8882d4
mov eax, dword [esi + 0x58]
sub eax, dword [esi + 0x54]
sar eax, 2
cmp edi, eax
jae 0x8882d4
mov ecx, dword [esi + 0x58]
sub ecx, dword [esi + 0x54]
sar ecx, 2
cmp edi, ecx
jb 0x8882cc
call fcn.0091bc53
mov edx, dword [esp + 0x88]
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + edi*4]
jmp 0x8882d6
xor ecx, ecx
mov eax, dword [ecx + 0xb8]
sub eax, dword [ecx + 0xb4]
cmp eax, dword [edx]
jle 0x8882e8
mov dword [edx], eax
inc edi
cmp edi, ebp
jl 0x8882a0
mov eax, dword [esp + 0x8c]
test eax, eax
jne 0x888325
cmp dword [esp + 0x6c], eax
jne 0x88832b
cmp dword [esp + 0x68], eax
jne 0x88832b
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x88860f
dec edi
push 0x99ba18
mov dword [esp + 0x30], edi
call dword [0x982410]
jmp 0x88860f
mov dword [eax], 0
mov edi, dword [esi + 8]
mov ebp, dword [esi + 0xc]
xor ebx, ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebx
cmp edi, 0x80000000
jne 0x8883cd
mov ecx, dword [esi + 0x38]
shr ecx, 2
and ecx, 1
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x34]
lea esi, [esp + 0x30]
lea edi, [esp + 0x38]
call fcn.008817d0
mov eax, dword [esp + 0x70]
mov ecx, edi
push ecx
lea edx, [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.0087e9c0
add esp, 0x1c
test al, al
jne 0x8883bd
mov edx, dword [0x998168]
mov eax, dword [edx]
shr eax, 0xd
test al, 1
je 0x8883b4
mov ecx, dword [esp + 0x9c]
test ecx, ecx
je 0x8883b4
push 0xffffffffffffffff
push str.__key_not_seen_before_
call fcn.0090a030
mov byte [esp + 0x5c], bl
jmp 0x887fb1
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x1c]
push edx
push ebx
xor eax, eax
push ebp
push edi
push eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x4c]
push eax
call fcn.0087ab10
add esp, 0x1c
mov dword [esp + 0x20], eax
test eax, eax
jne 0x888465
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x3c]
call fcn.0085f250
mov edx, dword [esp + 0x9c]
mov ecx, dword [esp + 0x94]
push edx
mov edx, dword [esp + 0x70]
push ecx
push eax
mov eax, dword [esp + 0x74]
push edx
push eax
lea ecx, [esp + 0x48]
push 0
push ecx
call fcn.00879d60
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0xb4]
add esp, 0x1c
mov dword [edx], eax
test edi, edi
je 0x88860f
dec edi
push 0x99ba18
mov dword [esp + 0x30], edi
call dword [0x982410]
jmp 0x88860f
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
push ecx
push ebx
push ebp
push edi
lea edx, [esp + 0x48]
push 1
push edx
call fcn.0087ab10
add esp, 0x1c
test eax, eax
jne 0x8884e9
mov eax, dword [esp + 0x1c]
push 1
push eax
lea ecx, [esp + 0x3c]
call fcn.0085f250
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
push eax
mov eax, dword [esp + 0x78]
push eax
push ecx
lea edx, [esp + 0x48]
push 1
push edx
call fcn.00879d60
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0xb4]
add esp, 0x1c
mov dword [ecx], eax
test edi, edi
je 0x88860f
dec edi
push 0x99ba18
mov dword [esp + 0x30], edi
call dword [0x982410]
jmp 0x88860f
mov ecx, dword [esp + 0x20]
cmp ecx, 2
je 0x888504
cmp eax, 2
je 0x888504
lea ecx, [esp + 0x34]
call fcn.00878180
mov ebp, eax
jmp 0x88854c
mov edx, dword [esp + 0x28]
cmp edx, dword [esp + 0x24]
jl 0x88852a
cmp ecx, 2
jne 0x88852a
mov eax, dword [esp + 0x18]
push 0
push eax
lea ecx, [esp + 0x3c]
call fcn.0085f250
mov ebp, dword [eax]
and ebp, 7
jmp 0x88854c
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x888545
push 1
push eax
lea ecx, [esp + 0x3c]
call fcn.0085f250
mov ebp, dword [eax]
and ebp, 7
jmp 0x88854c
mov ebp, dword [esp + 0x98]
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x888564
dec edi
push 0x99ba18
mov dword [esp + 0x30], edi
call dword [0x982410]
test byte [esi + 0x38], 4
je 0x888601
cmp ebp, 3
je 0x888601
cmp ebp, 4
je 0x888601
cmp dword [esi], 1
je 0x888601
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x70]
push 0
push 0
push 0
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x88]
push ecx
push edx
push eax
call dword [0x98259c]
mov ecx, dword [esp + 0x98]
mov dword [ecx], eax
test eax, eax
je 0x88860f
mov edx, dword [0x998168]
mov eax, dword [edx]
shr eax, 0xd
test al, 1
je 0x8885f1
mov ecx, dword [esp + 0x9c]
test ecx, ecx
je 0x8885f1
push 0xffffffffffffffff
push str.__Unable_to_read_class_of_registry_key_
call fcn.0090a030
mov byte [esp + 0x5c], 0
lea ecx, [esp + 0x2c]
call fcn.00877fa0
jmp 0x88864c
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x88860f
mov dword [eax], 0
mov byte [esp + 0x5c], 0
test edi, edi
je 0x88862e
mov esi, dword [0x982410]
dec edi
push 0x99ba18
mov dword [esp + 0x30], edi
call esi
test edi, edi
jne 0x88861e
mov eax, dword [esp + 0x30]
test eax, eax
je 0x88864c
mov esi, dword [eax + 4]
push eax
call fcn.0084dd20
add esp, 4
mov eax, esi
mov dword [esp + 0x30], eax
test esi, esi
jne 0x888636
mov dword [esp + 0x5c], 0xffffffff
lea ecx, [esp + 0x34]
call fcn.00860180
mov al, 1
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret