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

Disassembly:
push 0xffffffffffffffff
push 0xa8f230
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x1c]
call fcn.00a50480
xor ebx, ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
call fcn.00a504c0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov edi, dword [esp + 0x48]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
lea edx, [esp + 0x24]
push edi
push edx
mov byte [esp + 0x50], 1
call fcn.00a523e0
add esp, 0x10
test al, al
jne 0xa5e932
mov eax, dword [0xaa2204]
mov ecx, dword [eax]
shr ecx, 0xd
test cl, 1
je 0xa5e8ca
mov eax, dword [esp + 0x7c]
cmp eax, ebx
je 0xa5e8ca
push str.__key_not_seen_before_
push eax
call fcn.00a16060
add esp, 8
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0xa5e8ee
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
je 0xa5e8ee
dec eax
push 0xaf53f0
mov dword [esp + 0x18], eax
call esi
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0xa5e8da
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0xa5e90c
mov esi, dword [eax + 4]
push eax
call fcn.00a7d8f0
add esp, 4
mov eax, esi
cmp esi, ebx
mov dword [esp + 0x18], eax
jne 0xa5e8f6
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], 0xffffffff
call fcn.00a51780
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret
mov edx, dword [0xaa2204]
mov esi, dword [esp + 0x7c]
mov eax, dword [edx]
shr eax, 0xd
test al, 1
je 0xa5e96d
cmp esi, ebx
je 0xa5e96d
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
push ecx
push edx
call fcn.00a534a0
add esp, 4
push eax
push edi
push str.__xh_ls_ls_
push esi
call fcn.00a16060
add esp, 0x14
mov eax, dword [esp + 0x58]
mov ebp, dword [esp + 0x74]
cmp eax, ebx
jne 0xa5e98d
cmp dword [esp + 0x5c], ebx
jne 0xa5e98d
cmp dword [esp + 0x60], ebx
jne 0xa5e98d
cmp ebp, ebx
je 0xa5eb4f
mov eax, dword [esp + 0x10]
xor esi, esi
mov ebx, eax
mov dword [eax + 0x48], esi
lea edi, [ebx + 0x28]
mov eax, dword [edi + 4]
test eax, eax
je 0xa5e9c2
mov ecx, dword [edi + 8]
sub ecx, eax
sar ecx, 2
cmp esi, ecx
jae 0xa5e9c2
mov edx, dword [ebx + 0x2c]
mov ecx, dword [edx + esi*4]
test ecx, ecx
je 0xa5e9bf
push 1
call fcn.00a5e750
inc esi
jmp 0xa5e99b
mov ecx, edi
call fcn.00a60190
mov ecx, dword [esp + 0x10]
push 1
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 8]
push eax
mov eax, dword [esp + 0x50]
push edx
lea edx, [esp + 0x28]
push eax
push edx
call fcn.00a5d030
test al, al
jne 0xa5ea7f
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test eax, eax
je 0xa5ea0c
dec eax
push 0xaf53f0
mov dword [esp + 0x18], eax
call esi
mov eax, dword [esp + 0x14]
mov ecx, dword [0xaa2204]
mov edx, dword [ecx]
shr edx, 0xd
test dl, 1
je 0xa5ea36
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0xa5ea36
push str.__could_not_enumerate_keys_
push ecx
call fcn.00a16060
mov eax, dword [esp + 0x1c]
add esp, 8
mov ecx, dword [esp + 0x78]
test eax, eax
mov dword [ecx], 0x3fa
je 0xa5ea58
dec eax
push 0xaf53f0
mov dword [esp + 0x18], eax
call esi
mov eax, dword [esp + 0x14]
test eax, eax
jne 0xa5ea44
mov eax, dword [esp + 0x18]
test eax, eax
je 0xa5eeab
mov esi, dword [eax + 4]
push eax
call fcn.00a7d8f0
add esp, 4
mov eax, esi
test esi, esi
mov dword [esp + 0x18], eax
jne 0xa5ea64
jmp 0xa5eeab
mov ecx, dword [esp + 0x10]
test ebp, ebp
je 0xa5ea93
mov edx, dword [ecx + 0x38]
mov dword [ebp], edx
mov eax, dword [ecx + 0x3c]
mov dword [ebp + 4], eax
mov eax, dword [ecx + 0x2c]
test eax, eax
jne 0xa5ea9e
xor ebx, ebx
jmp 0xa5eaa6
mov ebx, dword [ecx + 0x30]
sub ebx, eax
sar ebx, 2
mov edx, dword [esp + 0x5c]
test edx, edx
je 0xa5eab4
mov dword [edx], 0
mov eax, dword [esp + 0x60]
test eax, eax
je 0xa5eac2
mov dword [eax], 0
mov eax, dword [esp + 0x58]
test eax, eax
je 0xa5eacc
mov dword [eax], ebx
test edx, edx
je 0xa5eb06
xor esi, esi
test ebx, ebx
jle 0xa5eb06
mov edi, dword [esp + 0x5c]
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax + esi*4]
mov eax, dword [eax + 4]
test eax, eax
jne 0xa5eaec
mov eax, 0xa917ac
push eax
call fcn.00a7e07a
mov ecx, dword [edi]
add esp, 4
cmp eax, ecx
jbe 0xa5eafd
mov dword [edi], eax
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, ebx
jl 0xa5eada
mov eax, dword [esp + 0x60]
test eax, eax
je 0xa5eb53
xor esi, esi
test ebx, ebx
jle 0xa5eb53
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax + esi*4]
add eax, 0x10
mov eax, dword [eax + 4]
test eax, eax
jne 0xa5eb2d
mov eax, 0xa917ac
test eax, eax
je 0xa5eb3c
push eax
call fcn.00a7e07a
mov ecx, dword [esp + 0x14]
add esp, 4
jmp 0xa5eb3e
xor eax, eax
mov edx, dword [esp + 0x60]
cmp eax, dword [edx]
jbe 0xa5eb48
mov dword [edx], eax
inc esi
cmp esi, ebx
jl 0xa5eb14
jmp 0xa5eb53
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x64]
mov ebp, dword [esp + 0x6c]
mov edi, dword [esp + 0x68]
test esi, esi
jne 0xa5eb6f
test edi, edi
jne 0xa5eb6f
test ebp, ebp
je 0xa5ecaf
mov edx, dword [esp + 0x48]
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.00a5d7d0
test al, al
jne 0xa5ec17
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test eax, eax
je 0xa5eba4
dec eax
push 0xaf53f0
mov dword [esp + 0x18], eax
call esi
mov eax, dword [esp + 0x14]
mov ecx, dword [0xaa2204]
mov edx, dword [ecx]
shr edx, 0xd
test dl, 1
je 0xa5ebce
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0xa5ebce
push str.__could_not_enumerate_values_
push ecx
call fcn.00a16060
mov eax, dword [esp + 0x1c]
add esp, 8
mov ecx, dword [esp + 0x78]
test eax, eax
mov dword [ecx], 0x3fa
je 0xa5ebf0
dec eax
push 0xaf53f0
mov dword [esp + 0x18], eax
call esi
mov eax, dword [esp + 0x14]
test eax, eax
jne 0xa5ebdc
mov eax, dword [esp + 0x18]
test eax, eax
je 0xa5eeab
mov esi, dword [eax + 4]
push eax
call fcn.00a7d8f0
add esp, 4
mov eax, esi
test esi, esi
mov dword [esp + 0x18], eax
jne 0xa5ebfc
jmp 0xa5eeab
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x1c]
test eax, eax
jne 0xa5ec26
xor ebx, ebx
jmp 0xa5ec2e
mov ebx, dword [ecx + 0x20]
sub ebx, eax
sar ebx, 2
test esi, esi
je 0xa5ec34
mov dword [esi], ebx
test edi, edi
je 0xa5ec3e
mov dword [edi], 0
test ebp, ebp
je 0xa5ec49
mov dword [ebp], 0
test edi, edi
je 0xa5ec7f
xor esi, esi
test ebx, ebx
jle 0xa5ec7f
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + esi*4]
mov eax, dword [eax + 4]
test eax, eax
jne 0xa5ec65
mov eax, 0xa917ac
push eax
call fcn.00a7e07a
mov ecx, dword [edi]
add esp, 4
cmp eax, ecx
jbe 0xa5ec76
mov dword [edi], eax
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, ebx
jl 0xa5ec53
test ebp, ebp
je 0xa5ecaf
xor esi, esi
test ebx, ebx
jle 0xa5ecaf
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + esi*4]
add eax, 0x14
mov edx, dword [eax + 4]
test edx, edx
jne 0xa5ec9d
xor eax, eax
jmp 0xa5eca2
mov eax, dword [eax + 8]
sub eax, edx
cmp eax, dword [ebp]
jbe 0xa5ecaa
mov dword [ebp], eax
inc esi
cmp esi, ebx
jl 0xa5ec89
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
test ebx, ebx
jne 0xa5ecea
test edi, edi
jne 0xa5ecf0
test ebp, ebp
jne 0xa5ecf0
mov eax, dword [esp + 0x14]
test eax, eax
je 0xa5ee63
mov ecx, eax
push 0xaf53f0
dec ecx
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0xa5ee63
mov dword [ebx], 0
lea edx, [esp + 0x5c]
xor eax, eax
push edx
lea edx, [esp + 0x64]
mov dword [esp + 0x64], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], eax
push edx
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
push eax
push edx
push ecx
lea edx, [esp + 0x30]
push eax
push edx
call fcn.00a54500
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0xa5ed51
mov eax, dword [esp + 0x60]
test eax, eax
je 0xa5ed3a
mov ecx, dword [esp + 0x1c]
add eax, ecx
push eax
push edi
push ebp
lea edx, [esp + 0x28]
push 0
push edx
call fcn.00a5e7b0
add esp, 0x14
jmp 0xa5ecc7
lea eax, [esp + 0x58]
lea ecx, [esp + 0x7c]
push eax
mov eax, dword [esp + 0x14]
push ecx
push 0
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
push edx
push eax
lea ecx, [esp + 0x30]
push 1
push ecx
call fcn.00a54500
add esp, 0x1c
test eax, eax
jne 0xa5eda1
mov eax, dword [esp + 0x7c]
test eax, eax
je 0xa5ed8a
mov edx, dword [esp + 0x20]
add eax, edx
push eax
push edi
push ebp
lea eax, [esp + 0x28]
push 1
push eax
call fcn.00a5e7b0
add esp, 0x14
jmp 0xa5ecc7
cmp esi, 2
je 0xa5edbc
cmp eax, 2
je 0xa5edbc
lea ecx, [esp + 0x1c]
push ecx
call fcn.00a56620
add esp, 4
mov esi, eax
jmp 0xa5ee01
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
cmp edx, eax
jl 0xa5ede9
cmp esi, 2
jne 0xa5ede9
mov eax, dword [esp + 0x60]
test eax, eax
jne 0xa5eddc
mov esi, dword [eax]
and esi, 7
jmp 0xa5ee01
mov ecx, dword [esp + 0x1c]
add eax, ecx
mov esi, dword [eax]
and esi, 7
jmp 0xa5ee01
mov eax, dword [esp + 0x7c]
test eax, eax
je 0xa5edfd
mov edx, dword [esp + 0x20]
mov esi, dword [edx + eax]
and esi, 7
jmp 0xa5ee01
mov esi, dword [esp + 0x60]
mov eax, dword [esp + 0x14]
test eax, eax
je 0xa5ee1b
mov ecx, eax
push 0xaf53f0
dec ecx
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x10]
test byte [eax + 0x40], 4
je 0xa5ee59
cmp esi, 3
je 0xa5ee59
cmp esi, 4
je 0xa5ee59
cmp dword [eax], 1
je 0xa5ee59
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x54]
push eax
push ebx
mov edx, dword [esp + 0x50]
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push edi
push ebp
push edx
call fcn.00a22010
jmp 0xa5ee63
test edi, edi
je 0xa5ee63
mov dword [edi], 0
mov eax, dword [esp + 0x78]
mov dword [eax], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0xa5ee8d
dec eax
push 0xaf53f0
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0xa5ee75
mov eax, dword [esp + 0x18]
test eax, eax
je 0xa5eeab
mov esi, dword [eax + 4]
push eax
call fcn.00a7d8f0
add esp, 4
mov eax, esi
test esi, esi
mov dword [esp + 0x18], eax
jne 0xa5ee95
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], 0xffffffff
call fcn.00a51780
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret