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

Disassembly:
push 0xffffffffffffffff
push 0x551bc1
mov eax, dword fs:[0]
push eax
sub esp, 0x2f0
mov eax, dword [0x5b3890]
xor eax, esp
mov dword [esp + 0x2ec], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x304]
mov dword fs:[0], eax
mov edx, dword [esp + 0x324]
mov ecx, dword [esp + 0x318]
mov eax, dword [esp + 0x314]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x328]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x31c]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x32c]
xor ebx, ebx
cmp dword [esp + 0x320], 2
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x60], edx
mov byte [esp + 0x16], bl
jne 0x41fa19
mov byte [esp + 0x16], 1
mov dword [esp + 0x320], ebx
lea edx, [esp + 0x18]
push edx
push 1
push ebx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x41faf6
xor eax, eax
mov esi, 0x627470
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x44], esi
push 0x400
lea ecx, [esp + 0x48]
mov dword [esp + 0x310], ebx
call fcn.00420a50
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x24]
push edx
push eax
mov edi, eax
lea eax, [esp + 0x24]
push eax
push ebx
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x28]
push str.MRUList
push ecx
mov dword [esp + 0x8c], edi
call fcn.004b42b0
mov ecx, dword [esp + 0x68]
shr ecx, 1
xor edx, edx
add esp, 0x18
mov word [edi + ecx*2 - 2], dx
mov byte [esp + 0x15], bl
cmp eax, ebx
je 0x41fb11
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x24]
push eax
push ebx
push str.MRUListEx
push ecx
call fcn.004b42b0
add esp, 0x18
cmp eax, ebx
je 0x41fafe
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x44]
mov dword [esp + 0x30c], 0xffffffff
call fcn.00420ae0
or eax, 0xffffffff
jmp 0x41fe47
mov edi, dword [esp + 0x24]
shr edi, 2
dec edi
mov byte [esp + 0x15], 1
mov dword [esp + 0x54], edi
jmp 0x41fb2b
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41fb16
sub eax, edx
sar eax, 1
mov dword [esp + 0x54], eax
mov edi, eax
push 0x7c
lea eax, [esp + 0x80]
push ebx
push eax
mov dword [esp + 0x84], 0x61
call fcn.00519500
xor eax, eax
mov dword [esp + 0x70], eax
add esp, 0xc
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x64], esi
push 0x41a
lea ecx, [esp + 0x68]
mov byte [esp + 0x310], 1
call fcn.00420a50
xor ebp, ebp
cmp edi, ebx
jle 0x41febe
cmp byte [esp + 0x15], bl
je 0x41fbaf
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx + ebp*4]
cmp eax, 0xffffffff
je 0x41febe
push eax
push 0x56f17c
lea edx, [esp + 0x80]
push 0x40
push edx
call fcn.004a3180
add esp, 0x10
jmp 0x41fbbc
mov eax, dword [esp + 0x74]
mov cx, word [eax + ebp*2]
mov word [esp + 0x78], cx
mov edi, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
lea eax, [esp + 0x40]
push eax
mov eax, dword [esp + 0x1c]
push edi
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x4c], edx
push ebx
lea edx, [esp + 0x88]
push edx
push eax
call fcn.004b42b0
add esp, 0x18
cmp eax, ebx
je 0x41fc09
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x78]
push ecx
push edx
push eax
call fcn.0041c1f0
add esp, 0xc
jmp 0x41feb3
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x30]
call fcn.0049eff0
mov dword [esp + 0x28], vtable.cWCStr.0
push 0x206
lea edx, [esp + 0xfe]
xor ecx, ecx
push ebx
push edx
mov byte [esp + 0x318], 2
mov word [esp + 0x104], cx
call fcn.00519500
mov eax, dword [esp + 0x28]
add esp, 0xc
cmp eax, 1
je 0x41fd44
cmp eax, 2
je 0x41fd44
cmp eax, 3
jne 0x41fe9a
mov al, byte [esp + 0x16]
lea ecx, [esp + 0x17]
push ecx
lea edx, [esp + 0x2c]
mov byte [esp + 0x1b], al
mov eax, dword [esp + 0x44]
push edx
push eax
push edi
call fcn.0041ce70
movzx eax, al
add esp, 0x10
cmp eax, ebx
je 0x41fe9a
cmp byte [esp + 0x17], bl
je 0x41fd50
mov esi, dword [esp + 0x40]
cmp byte [esp + 0x15], bl
je 0x41fca6
add esi, 0xfffffffc
cmp esi, ebx
je 0x41fcba
lea ebx, [ebx]
dec esi
cmp byte [esi + edi], bl
jne 0x41fcbb
cmp esi, ebx
jne 0x41fcb0
dec esi
xor al, al
cmp esi, ebx
je 0x41fcd3
dec esi
cmp byte [esi + edi], bl
jne 0x41fccf
cmp byte [esi + edi - 1], bl
je 0x41fcfc
mov al, 1
cmp esi, ebx
jne 0x41fcc1
dec esi
cmp esi, 0xffffffff
je 0x41fe9a
push 0xffffffffffffffff
lea edx, [esp + 0xfc]
push edx
lea ecx, [esp + 0x30]
call fcn.00406a80
xor eax, eax
mov word [esp + 0xf8], ax
jmp 0x41fd50
inc esi
cmp al, bl
je 0x41fd1c
push 0x104
lea ecx, [esi + edi]
push ecx
lea edx, [esp + 0x100]
push edx
call fcn.00519ff1
add esp, 0xc
jmp 0x41fcd4
push 0xffffffffffffffff
push ebx
push 0xffffffffffffffff
lea eax, [esi + edi]
push eax
lea ecx, [esp + 0x108]
push 0x104
push ecx
call fcn.004b5600
add esp, 0x18
cmp eax, ebx
je 0x41fe9a
jmp 0x41fcd4
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x30]
call fcn.00406a80
mov eax, dword [esp + 0x5c]
cmp eax, 1
jne 0x41fe6f
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
push 0xffffffffffffffff
push ecx
push edx
call fcn.0049ea40
add esp, 0xc
test eax, eax
jne 0x41fe9a
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [esp + 0x60]
mov esi, dword [esp + 0x20]
cmp dword [esp + 0x320], ebx
je 0x41fdb5
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x38]
lea eax, [esp + 0xf8]
push eax
push ecx
push edx
mov edx, dword [esp + 0x38]
mov ecx, esi
call fcn.0041cbb0
add esp, 0xc
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x38]
push edi
lea eax, [esp + 0xfc]
push eax
push ecx
lea ecx, [esp + 0x84]
mov edx, esi
call fcn.0041f370
add esp, 0xc
test edi, edi
je 0x41fe07
test eax, eax
sete dl
movzx eax, dl
push eax
call fcn.004b21b0
mov ecx, dword [esp + 0x40]
push eax
push ecx
lea edx, [esp + 0x84]
push edx
push esi
push str.Value:_Registry_MRU_List_tName:__s:_s_tText:__s_tStatus:__s
push edi
call fcn.0042f3c0
add esp, 0x1c
lea ecx, [esp + 0x28]
mov byte [esp + 0x30c], 1
mov dword [esp + 0x28], vtable.cWCS.0
call fcn.0049ee80
mov byte [esp + 0x30c], 0
lea ecx, [esp + 0x64]
call fcn.00420ae0
lea ecx, [esp + 0x44]
mov dword [esp + 0x30c], 0xffffffff
call fcn.00420ae0
mov eax, ebp
mov ecx, dword [esp + 0x304]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2ec]
xor ecx, esp
call fcn.0051916c
add esp, 0x2fc
ret
cmp eax, ebx
je 0x41fe9a
mov edx, dword [esp + 0x1c]
push 0x208
lea ecx, [esp + 0xfc]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x38]
push ebx
push ecx
mov ecx, dword [esp + 0x50]
push edx
push ecx
call eax
add esp, 0x1c
lea ecx, [esp + 0x28]
mov byte [esp + 0x30c], 1
mov dword [esp + 0x28], vtable.cWCS.0
call fcn.0049ee80
inc ebp
cmp ebp, dword [esp + 0x54]
jl 0x41fb7f
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x5c], 1
mov byte [esp + 0x30c], bl
jne 0x41fe28
lea ecx, [esp + 0x64]
call fcn.00420ae0
jmp 0x41fae2