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

Disassembly:
push 0xffffffffffffffff
push 0xa8f1a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
mov al, byte [esp + 0x88]
push ebx
push ebp
push esi
mov esi, ecx
push edi
test al, al
mov dword [esp + 0x1c], esi
je 0xa5d062
call fcn.00a5cfb0
mov eax, dword [esi + 0x48]
test eax, eax
jne 0xa5d7aa
mov ebp, dword [esp + 0x1c]
mov eax, dword [0xaf5410]
xor esi, esi
xor edi, edi
mov dword [ebp + 0x38], eax
mov ecx, dword [0xaf5414]
mov dword [ebp + 0x3c], ecx
mov dword [ebp + 0x48], esi
lea ebx, [ebp + 0x28]
mov eax, dword [ebx + 4]
cmp eax, esi
je 0xa5d0be
mov edx, dword [ebx + 8]
sub edx, eax
sar edx, 2
cmp edi, edx
jae 0xa5d0be
mov eax, dword [ebp + 0x2c]
mov esi, dword [eax + edi*4]
test esi, esi
je 0xa5d0b9
mov ecx, esi
call fcn.00a53630
push esi
call fcn.00a7d8f0
add esp, 4
inc edi
xor esi, esi
jmp 0xa5d08c
mov ecx, ebx
call fcn.00a60190
mov eax, dword [ebp]
xor bl, bl
cmp eax, esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], esi
mov byte [esp + 0x98], 1
jne 0xa5d0e0
mov bl, 1
mov edi, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0x40]
lea edx, [esp + 0x30]
push ecx
push edx
push esi
push edi
push eax
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
push esi
mov esi, dword [esp + 0xa0]
push esi
call fcn.00a54500
add esp, 0x1c
cmp eax, 1
mov dword [esp + 0x4c], eax
jne 0xa5d124
xor al, al
jmp 0xa5d7ac
mov ecx, dword [esp + 0x30]
test eax, eax
je 0xa5d131
cmp eax, 2
jne 0xa5d156
test ecx, ecx
jne 0xa5d139
xor eax, eax
jmp 0xa5d13d
mov eax, dword [esi]
add eax, ecx
mov eax, dword [eax]
and eax, 7
cmp eax, 3
je 0xa5d154
cmp eax, 4
jne 0xa5d156
mov byte [esp + 0x98], 0
xor bl, bl
mov al, byte [esp + 0x98]
mov dword [esp + 0x3c], 3
test al, al
je 0xa5d1c4
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0x44]
lea edx, [esp + 0x2c]
push ecx
push edx
push 0
push edi
push eax
push 1
push esi
call fcn.00a54500
add esp, 0x1c
cmp eax, 1
mov dword [esp + 0x3c], eax
jne 0xa5d199
xor al, al
jmp 0xa5d7ac
test eax, eax
je 0xa5d1a2
cmp eax, 2
jne 0xa5d1c4
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0xa5d1ae
xor eax, eax
jmp 0xa5d1b3
mov eax, dword [esi + 4]
add eax, ecx
mov eax, dword [eax]
and eax, 7
cmp eax, 3
je 0xa5d1c2
cmp eax, 4
jne 0xa5d1c4
xor bl, bl
mov eax, dword [esp + 0x30]
test eax, eax
jne 0xa5d1f2
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0xa5d1f2
push esi
call fcn.00a56620
add esp, 4
cmp eax, 3
je 0xa5d1f0
push esi
call fcn.00a56620
add esp, 4
cmp eax, 4
jne 0xa5d1f2
xor bl, bl
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x48], 1
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test byte [ebp + 0x40], 4
je 0xa5d6ae
test bl, bl
je 0xa5d6ae
mov ecx, dword [esp + 0x8c]
mov eax, 5
test ecx, ecx
je 0xa5d24c
lea eax, [ebp + 0x38]
lea edx, [esp + 0x18]
push eax
push 0
push 0
push 0
push 0
push edx
lea eax, [esp + 0x2c]
lea edx, [esp + 0x50]
push eax
push edx
push 0
push 0
push 0
push ecx
call fcn.00a22010
cmp eax, 5
mov byte [esp + 0x13], 0
jne 0xa5d2ab
mov ecx, dword [esp + 0x90]
lea eax, [esp + 0x8c]
push eax
push 9
push 0
push edi
push ecx
call fcn.00a20e00
test eax, eax
jne 0xa5d6ae
lea eax, [ebp + 0x38]
lea edx, [esp + 0x18]
push eax
push 0
push 0
push 0
push 0
lea eax, [esp + 0x28]
push edx
mov edx, dword [esp + 0xa4]
lea ecx, [esp + 0x50]
push eax
push ecx
push 0
push 0
push 0
push edx
mov byte [esp + 0x43], 1
call fcn.00a22010
test eax, eax
jne 0xa5d698
mov eax, dword [esp + 0x38]
test eax, eax
je 0xa5d698
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 0x98]
xor edi, edi
mov byte [esp + 0x68], cl
lea esi, [eax + 1]
cmp esi, edi
mov eax, esi
jge 0xa5d2db
xor eax, eax
lea edx, [eax + eax]
push edx
call fcn.009ef380
add esp, 4
cmp esi, edi
mov dword [esp + 0x6c], eax
jbe 0xa5d302
mov ecx, esi
cmp eax, edi
je 0xa5d2f8
mov word [eax], di
add eax, 2
dec ecx
jne 0xa5d2f1
mov eax, dword [esp + 0x6c]
lea eax, [eax + esi*2]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x18]
mov cl, byte [esp + 0x98]
mov dword [esp + 0x80], edi
mov byte [esp + 0x58], cl
lea esi, [eax + 1]
cmp esi, edi
mov eax, esi
jge 0xa5d32e
xor eax, eax
lea edx, [eax + eax]
push edx
call fcn.009ef380
add esp, 4
cmp esi, edi
mov dword [esp + 0x5c], eax
jbe 0xa5d355
mov ecx, esi
cmp eax, edi
je 0xa5d34b
mov word [eax], di
add eax, 2
dec ecx
jne 0xa5d344
mov eax, dword [esp + 0x5c]
lea eax, [eax + esi*2]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x34], edi
mov byte [esp + 0x80], 1
mov ebp, dword [esp + 0x34]
xor edi, edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc eax
inc ecx
mov dword [esp + 0x24], eax
lea edx, [esp + 0x50]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0x20]
push edx
push eax
mov eax, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x98]
lea edx, [esp + 0x30]
push edi
push edx
push eax
push ebp
push ecx
call fcn.00a21b30
mov ebx, eax
cmp ebx, 0xea
jne 0xa5d4e3
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jbe 0xa5d430
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
cmp ecx, edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x48], edi
lea esi, [eax + 1]
jne 0xa5d3e1
xor eax, eax
jmp 0xa5d3e7
mov eax, edx
sub eax, ecx
sar eax, 1
cmp eax, esi
jae 0xa5d40d
cmp ecx, edi
jne 0xa5d3f3
xor eax, eax
jmp 0xa5d3f9
mov eax, edx
sub eax, ecx
sar eax, 1
lea ecx, [esp + 0x48]
sub esi, eax
push ecx
push esi
push edx
lea ecx, [esp + 0x74]
call fcn.009fd870
jmp 0xa5d430
lea ecx, [esp + 0x68]
call fcn.009fd430
cmp esi, eax
jae 0xa5d430
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
push edx
lea ecx, [eax + esi*2]
push ecx
lea ecx, [esp + 0x70]
call fcn.009fd660
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jbe 0xa5d4a7
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
inc eax
cmp ecx, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], edi
lea esi, [eax + 1]
jne 0xa5d458
xor eax, eax
jmp 0xa5d45e
mov eax, edx
sub eax, ecx
sar eax, 1
cmp eax, esi
jae 0xa5d484
cmp ecx, edi
jne 0xa5d46a
xor eax, eax
jmp 0xa5d470
mov eax, edx
sub eax, ecx
sar eax, 1
lea ecx, [esp + 0x48]
sub esi, eax
push ecx
push esi
push edx
lea ecx, [esp + 0x64]
call fcn.009fd870
jmp 0xa5d4a7
lea ecx, [esp + 0x58]
call fcn.009fd430
cmp esi, eax
jae 0xa5d4a7
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
push edx
lea ecx, [eax + esi*2]
push ecx
lea ecx, [esp + 0x60]
call fcn.009fd660
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
inc edx
inc eax
mov dword [esp + 0x24], edx
lea ecx, [esp + 0x50]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x5c]
lea edx, [esp + 0x20]
push ecx
push edx
mov edx, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x98]
lea ecx, [esp + 0x30]
push edi
push ecx
push edx
push ebp
push eax
call fcn.00a21b30
mov ebx, eax
cmp ebx, edi
jne 0xa5d622
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
push 0x28
mov word [edx + ecx*2], di
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x60]
mov word [ecx + eax*2], di
call fcn.009ef380
mov esi, eax
add esp, 4
mov dword [esp + 0x48], esi
cmp esi, edi
mov byte [esp + 0x80], 2
je 0xa5d54c
mov dl, byte [esp + 0x98]
push edi
mov ecx, esi
mov byte [esi], dl
call fcn.009f6b50
mov al, byte [esp + 0x98]
lea ecx, [esi + 0x10]
push edi
mov byte [esp + 0x84], 3
mov byte [ecx], al
call fcn.009f6b50
jmp 0xa5d54e
xor esi, esi
mov ebp, dword [esp + 0x5c]
mov byte [esp + 0x80], 1
push ebp
mov dword [esp + 0x2c], esi
lea edi, [esi + 0x10]
call fcn.00a7e07a
add esp, 4
mov esi, eax
mov ecx, edi
push 1
push esi
call fcn.009f8090
test al, al
je 0xa5d5a3
mov ecx, dword [edi + 4]
mov eax, ebp
test esi, esi
jbe 0xa5d594
sub ecx, ebp
mov edx, esi
mov bp, word [eax]
mov word [ecx + eax], bp
add eax, 2
dec edx
jne 0xa5d587
mov ecx, dword [edi + 4]
mov dword [edi + 8], esi
mov word [ecx + esi*2], 0
lea eax, [ecx + esi*2]
mov ebp, dword [esp + 0x6c]
mov edi, dword [esp + 0x28]
push ebp
call fcn.00a7e07a
add esp, 4
mov esi, eax
mov ecx, edi
push 1
push esi
call fcn.009f8090
test al, al
je 0xa5d5ed
mov ecx, dword [edi + 4]
mov eax, ebp
test esi, esi
jbe 0xa5d5de
sub ecx, ebp
mov edx, esi
mov bp, word [eax]
mov word [eax + ecx], bp
add eax, 2
dec edx
jne 0xa5d5d1
mov edx, dword [edi + 4]
mov dword [edi + 8], esi
mov word [edx + esi*2], 0
lea eax, [edx + esi*2]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x50]
mov dword [ecx + 0x20], eax
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x24], edx
add ecx, 0x28
lea edx, [esp + 0x28]
mov eax, dword [ecx + 8]
push edx
push 1
push eax
call fcn.00a61440
mov ebp, dword [esp + 0x34]
xor edi, edi
jmp 0xa5d651
cmp ebx, 0x103
je 0xa5d651
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
push ebp
push eax
push ecx
call fcn.00a534a0
add esp, 4
push eax
push str.load_subkeys::RegEnumKeyEx_return__d_for__ls_ls__d__n
call fcn.009fe320
add esp, 0x10
inc ebp
cmp ebx, edi
mov dword [esp + 0x34], ebp
je 0xa5d372
mov edx, dword [esp + 0x5c]
push edx
call fcn.00a7d8f0
mov eax, dword [esp + 0x70]
mov dword [esp + 0x60], edi
push eax
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x88], 0xffffffff
call fcn.00a7d8f0
add esp, 8
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov al, byte [esp + 0x13]
test al, al
je 0xa5d6ae
mov ecx, dword [esp + 0x8c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [esp + 0x98]
mov ebp, dword [sym.imp.KERNEL32.dll_CompareFileTime]
test al, al
je 0xa5d725
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0xa5d725
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0xa5d6d3
xor esi, esi
jmp 0xa5d6df
mov edx, dword [esp + 0x88]
mov esi, dword [edx + 4]
add esi, eax
mov ebx, dword [esp + 0x1c]
lea edi, [esi + 0x10]
push edi
lea eax, [ebx + 0x38]
push eax
call ebp
test eax, eax
jge 0xa5d6fc
mov eax, dword [edi]
mov dword [ebx + 0x38], eax
mov ecx, dword [edi + 4]
mov dword [ebx + 0x3c], ecx
mov edx, dword [esi + 0x30]
mov edi, dword [esp + 0x88]
push edx
push 1
push edi
mov ecx, ebx
call fcn.00a5c660
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
push eax
push ecx
push 1
push edi
mov ecx, ebx
call fcn.00a5c850
jmp 0xa5d729
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0xa5d788
mov eax, dword [esp + 0x30]
test eax, eax
jne 0xa5d73d
xor esi, esi
jmp 0xa5d748
mov edx, dword [esp + 0x88]
mov esi, dword [edx]
add esi, eax
lea edi, [esi + 0x10]
lea eax, [ebx + 0x38]
push edi
push eax
call ebp
test eax, eax
jge 0xa5d761
mov eax, dword [edi]
mov dword [ebx + 0x38], eax
mov ecx, dword [edi + 4]
mov dword [ebx + 0x3c], ecx
mov edx, dword [esi + 0x30]
mov edi, dword [esp + 0x88]
push edx
push 0
push edi
mov ecx, ebx
call fcn.00a5c660
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
push eax
push ecx
push 0
push edi
mov ecx, ebx
call fcn.00a5c850
mov ecx, dword [ebx + 0x38]
lea eax, [ebx + 0x38]
test ecx, ecx
jne 0xa5d7aa
mov ecx, dword [ebx + 0x3c]
test ecx, ecx
jne 0xa5d7aa
mov edx, dword [0xaf5410]
mov dword [eax], edx
mov ecx, dword [0xaf5414]
mov dword [eax + 4], ecx
mov al, 1
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret 0x14