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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58ba82
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x5ea2c4]
xor eax, esp
mov dword [esp + 0x2d0], eax
push ebx
push esi
push edi
mov eax, dword [0x5ea2c4]
xor eax, esp
push eax
lea eax, [esp + 0x2e8]
mov dword fs:[0], eax
push 5
mov edi, ecx
xor eax, eax
xor ebx, ebx
push str.false
lea esi, [esp + 0xc0]
mov dword [esp + 0x58], edi
mov dword [esp + 0xd8], 7
mov dword [esp + 0xd4], ebx
mov word [esp + 0xc4], ax
call fcn.00406150
mov dword [esp + 0x2f0], ebx
push 0xc
xor ecx, ecx
push 0x5d2ec4
lea esi, [esp + 0x3c]
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], cx
call fcn.00406150
lea eax, [esp + 0xb8]
mov byte [esp + 0x2f0], 1
mov edx, dword [edi]
mov edx, dword [edx + 8]
push eax
mov ecx, esi
push ecx
mov ecx, edi
call edx
cmp dword [esp + 0x4c], 8
jb 0x498a11
mov eax, dword [esp + 0x38]
push eax
call fcn.005273b8
add esp, 4
xor ecx, ecx
mov dword [esp + 0x2f0], 0xffffffff
cmp dword [esp + 0xd0], 8
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], cx
jb 0x498a49
mov edx, dword [esp + 0xbc]
push edx
call fcn.005273b8
add esp, 4
push 0x23
xor eax, eax
push str.HKeyCurrentUserUninstallDisplayName
lea esi, [esp + 0x3c]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], ax
call fcn.00406150
mov dword [esp + 0x2f0], 2
mov edx, dword [edi]
mov edx, dword [edx + 0x1c]
mov eax, esi
push eax
mov ecx, edi
call edx
mov dword [esp + 0x2f0], 0xffffffff
cmp dword [esp + 0x4c], 8
mov esi, eax
jb 0x498aac
mov eax, dword [esp + 0x38]
push eax
call fcn.005273b8
add esp, 4
xor ecx, ecx
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], cx
cmp esi, ebx
je 0x498bb4
cmp dword [esi + 0x18], 8
jb 0x498ad2
mov esi, dword [esi + 4]
jmp 0x498ad5
add esi, 4
push esi
call fcn.0049a0d0
mov dword [esp + 0x54], eax
cmp eax, ebx
je 0x498bb4
push 4
xor edx, edx
push 0x59b7f4
lea esi, [esp + 0xc0]
mov dword [esp + 0x38], 1
mov dword [esp + 0xd8], 7
mov dword [esp + 0xd4], ebx
mov word [esp + 0xc4], dx
call fcn.00406150
mov dword [esp + 0x2f0], 3
push 0xc
xor eax, eax
push 0x5d2ec4
lea esi, [esp + 0x3c]
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], ax
call fcn.00406150
lea eax, [esp + 0xb8]
mov byte [esp + 0x2f0], 4
mov edx, dword [edi]
mov edx, dword [edx + 8]
push eax
mov ecx, esi
push ecx
mov ecx, edi
call edx
cmp dword [esp + 0x4c], 8
jb 0x498b7c
mov eax, dword [esp + 0x38]
push eax
call fcn.005273b8
add esp, 4
xor ecx, ecx
mov dword [esp + 0x2f0], 0xffffffff
cmp dword [esp + 0xd0], 8
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], cx
jb 0x498bb4
mov edx, dword [esp + 0xbc]
push edx
call fcn.005273b8
add esp, 4
push 0x24
xor eax, eax
push str.HKeyLocalMachineUninstallDisplayName
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], ax
call fcn.00406150
mov dword [esp + 0x2f0], 5
mov edx, dword [edi]
mov edx, dword [edx + 0x1c]
mov eax, esi
push eax
mov ecx, edi
call edx
mov dword [esp + 0x2f0], 0xffffffff
cmp dword [esp + 0x2c], 8
mov esi, eax
jb 0x498c0f
mov eax, dword [esp + 0x18]
push eax
call fcn.005273b8
add esp, 4
xor ecx, ecx
mov eax, 7
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], cx
cmp esi, ebx
je 0x498e89
cmp dword [esi + 0x18], 8
jb 0x498c36
mov esi, dword [esi + 4]
jmp 0x498c39
add esi, 4
xor edx, edx
mov dword [esp + 0xd0], eax
mov eax, esi
mov word [esp + 0xbc], dx
mov dword [esp + 0xcc], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x498c56
sub eax, edx
sar eax, 1
push eax
push esi
lea esi, [esp + 0xc0]
call fcn.00406150
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x2f4], 6
call fcn.0048c030
mov byte [esp + 0x2f0], 7
cmp dword [esp + 0xd0], 8
mov ecx, dword [esp + 0xbc]
jae 0x498ca8
lea ecx, [esp + 0xbc]
lea edx, [esp + 0x34]
push edx
push 0x5aa94c
call fcn.004931f0
mov esi, dword [esp + 0x48]
add esp, 8
cmp esi, dword [esp + 0x44]
jbe 0x498cc9
call fcn.00527d8a
mov eax, dword [esp + 0x34]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x5c], ecx
cmp dword [esp + 0x40], ecx
jbe 0x498ce8
call fcn.00527d8a
mov eax, dword [esp + 0x78]
cmp eax, ebx
je 0x498cf2
cmp eax, dword [esp + 0x34]
je 0x498cfb
call fcn.00527d8a
mov eax, dword [esp + 0x78]
cmp esi, dword [esp + 0x5c]
je 0x498e21
cmp eax, ebx
jne 0x498d5a
call fcn.00527d8a
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x498d1a
call fcn.00527d8a
cmp dword [esi + 0x18], 8
lea eax, [esi + 4]
jb 0x498d25
mov eax, dword [eax]
push eax
call fcn.0049a260
test eax, eax
jne 0x498d62
cmp dword [esp + 0x54], ebx
jne 0x498d62
mov eax, dword [esp + 0x78]
cmp eax, ebx
jne 0x498d5e
call fcn.00527d8a
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x498d4e
call fcn.00527d8a
mov eax, dword [esp + 0x78]
add esi, 0x1c
jmp 0x498cd1
mov eax, dword [eax]
jmp 0x498d10
mov eax, dword [eax]
jmp 0x498d44
push 4
xor eax, eax
push 0x59b7f4
lea esi, [esp + 0x88]
mov dword [esp + 0x38], 1
mov dword [esp + 0xa0], 7
mov dword [esp + 0x9c], ebx
mov word [esp + 0x8c], ax
call fcn.00406150
mov byte [esp + 0x2f0], 8
push 0xc
xor ecx, ecx
push 0x5d2ec4
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], cx
call fcn.00406150
lea eax, [esp + 0x80]
mov byte [esp + 0x2f0], 9
mov edx, dword [edi]
mov edx, dword [edx + 8]
push eax
mov ecx, esi
push ecx
mov ecx, edi
call edx
cmp dword [esp + 0x2c], 8
jb 0x498df4
mov eax, dword [esp + 0x18]
push eax
call fcn.005273b8
add esp, 4
xor ecx, ecx
cmp dword [esp + 0x98], 8
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], cx
jb 0x498e21
mov edx, dword [esp + 0x84]
push edx
call fcn.005273b8
add esp, 4
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x498e4b
mov ecx, dword [esp + 0x50]
mov edi, dword [esp + 0x44]
push ecx
call fcn.00404ef0
mov edx, dword [esp + 0x44]
add esp, 4
push edx
call fcn.005273b8
mov edi, dword [esp + 0x54]
add esp, 4
mov eax, dword [esp + 0x34]
push eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call fcn.005273b8
add esp, 4
mov dword [esp + 0x2f0], 0xffffffff
cmp dword [esp + 0xd0], 8
jb 0x498e89
mov ecx, dword [esp + 0xbc]
push ecx
call fcn.005273b8
add esp, 4
push 0xc
xor edx, edx
push str.HKeyItemList
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], dx
call fcn.00406150
mov dword [esp + 0x2f0], 0xa
mov eax, dword [edi]
mov edx, dword [eax + 0x1c]
mov ecx, esi
push ecx
mov ecx, edi
call edx
mov dword [esp + 0x2f0], 0xffffffff
cmp dword [esp + 0x2c], 8
mov esi, eax
jb 0x498ee4
mov eax, dword [esp + 0x18]
push eax
call fcn.005273b8
add esp, 4
xor ecx, ecx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], cx
cmp esi, ebx
je 0x498fef
cmp dword [esi + 0x18], 8
jb 0x498f0a
mov edx, dword [esi + 4]
jmp 0x498f0d
lea edx, [esi + 4]
cmp edx, ebx
je 0x498fef
call fcn.00499500
cmp eax, ebx
je 0x498fef
push 4
xor edx, edx
push 0x59b7f4
lea esi, [esp + 0xc0]
mov dword [esp + 0x38], 1
mov dword [esp + 0xd8], 7
mov dword [esp + 0xd4], ebx
mov word [esp + 0xc4], dx
call fcn.00406150
mov dword [esp + 0x2f0], 0xb
push 0xc
xor eax, eax
push 0x5d2ec4
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], ax
call fcn.00406150
lea eax, [esp + 0xb8]
mov byte [esp + 0x2f0], 0xc
mov edx, dword [edi]
mov edx, dword [edx + 8]
push eax
mov ecx, esi
push ecx
mov ecx, edi
call edx
cmp dword [esp + 0x2c], 8
jb 0x498fb7
mov eax, dword [esp + 0x18]
push eax
call fcn.005273b8
add esp, 4
xor ecx, ecx
mov dword [esp + 0x2f0], 0xffffffff
cmp dword [esp + 0xd0], 8
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], cx
jb 0x498fef
mov edx, dword [esp + 0xbc]
push edx
call fcn.005273b8
add esp, 4
push 0x11
xor eax, eax
push str.RunProcessExeName
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], ax
call fcn.00406150
mov dword [esp + 0x2f0], 0xd
mov edx, dword [edi]
mov edx, dword [edx + 0x1c]
mov eax, esi
push eax
mov ecx, edi
call edx
mov dword [esp + 0x2f0], 0xffffffff
cmp dword [esp + 0x2c], 8
mov esi, eax
jb 0x49904a
mov eax, dword [esp + 0x18]
push eax
call fcn.005273b8
add esp, 4
xor ecx, ecx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], cx
cmp esi, ebx
je 0x49914d
cmp dword [esi + 0x18], 8
jb 0x499070
mov ecx, dword [esi + 4]
jmp 0x499073
lea ecx, [esi + 4]
call fcn.0049a4d0
cmp eax, ebx
je 0x49914d
push 4
xor edx, edx
push 0x59b7f4
lea esi, [esp + 0xc0]
mov dword [esp + 0x38], 1
mov dword [esp + 0xd8], 7
mov dword [esp + 0xd4], ebx
mov word [esp + 0xc4], dx
call fcn.00406150
mov dword [esp + 0x2f0], 0xe
push 0xc
xor eax, eax
push 0x5d2ec4
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], ax
call fcn.00406150
lea eax, [esp + 0xb8]
mov byte [esp + 0x2f0], 0xf
mov edx, dword [edi]
mov edx, dword [edx + 8]
push eax
mov ecx, esi
push ecx
mov ecx, edi
call edx
cmp dword [esp + 0x2c], 8
jb 0x499115
mov eax, dword [esp + 0x18]
push eax
call fcn.005273b8
add esp, 4
xor ecx, ecx
mov dword [esp + 0x2f0], 0xffffffff
cmp dword [esp + 0xd0], 8
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], cx
jb 0x49914d
mov edx, dword [esp + 0xbc]
push edx
call fcn.005273b8
add esp, 4
push 0xf
xor eax, eax
push str.DestopShortName
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], ax
call fcn.00406150
mov dword [esp + 0x2f0], 0x10
mov edx, dword [edi]
mov edx, dword [edx + 0x1c]
mov eax, esi
push eax
mov ecx, edi
call edx
mov dword [esp + 0x2f0], 0xffffffff
cmp dword [esp + 0x2c], 8
mov esi, eax
jb 0x4991a8
mov eax, dword [esp + 0x18]
push eax
call fcn.005273b8
add esp, 4
xor ecx, ecx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], cx
cmp esi, ebx
je 0x4994d1
push 0x206
lea eax, [esp + 0xda]
xor edx, edx
push ebx
push eax
mov word [esp + 0xe0], dx
call fcn.0052e300
add esp, 0xc
cmp dword [esi + 0x18], 8
jb 0x4991ee
mov ecx, dword [esi + 4]
jmp 0x4991f1
lea ecx, [esi + 4]
lea edx, [esp + 0xd4]
jmp 0x499200
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, bx
jne 0x499200
push 4
mov dword [esp + 0x60], 0x7c
call fcn.0052747b
add esp, 4
cmp eax, ebx
je 0x49922f
lea ecx, [esp + 0x60]
mov dword [eax], ecx
jmp 0x499231
xor eax, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0xd8]
push eax
mov dword [esp + 0x2f8], 0x12
call fcn.0052b479
add esp, 8
cmp eax, ebx
je 0x4992fb
lea esp, [esp]
xor ecx, ecx
mov word [esp + 0xbc], cx
mov ecx, eax
mov dword [esp + 0xd0], 7
mov dword [esp + 0xcc], ebx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x499291
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea esi, [esp + 0xc0]
call fcn.00406150
mov edx, esi
push edx
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0x2f8], 0x13
call fcn.00403a90
mov byte [esp + 0x2f0], 0x12
cmp dword [esp + 0xd0], 8
jb 0x4992e5
mov ecx, dword [esp + 0xbc]
push ecx
call fcn.005273b8
add esp, 4
lea edx, [esp + 0x5c]
push edx
push ebx
call fcn.0052b479
add esp, 8
cmp eax, ebx
jne 0x499270
mov esi, dword [esp + 0x6c]
cmp esi, dword [esp + 0x70]
jbe 0x49930a
call fcn.00527d8a
mov eax, dword [esp + 0x60]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x58], esi
mov dword [esp + 0x50], ecx
cmp dword [esp + 0x6c], ecx
jbe 0x49932d
call fcn.00527d8a
mov eax, dword [esp + 0x54]
cmp eax, ebx
je 0x499337
cmp eax, dword [esp + 0x60]
je 0x499340
call fcn.00527d8a
mov eax, dword [esp + 0x54]
cmp esi, dword [esp + 0x50]
je 0x499492
cmp eax, ebx
jne 0x499487
call fcn.00527d8a
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x499363
call fcn.00527d8a
cmp dword [esi + 0x18], 8
lea eax, [esi + 4]
jb 0x49936e
mov eax, dword [eax]
push eax
call fcn.0049a770
cmp eax, ebx
je 0x49945e
push 4
xor eax, eax
push 0x59b7f4
lea esi, [esp + 0xa4]
mov dword [esp + 0x38], 1
mov dword [esp + 0xbc], 7
mov dword [esp + 0xb8], ebx
mov word [esp + 0xa8], ax
call fcn.00406150
mov byte [esp + 0x2f0], 0x14
push 0xc
xor ecx, ecx
push 0x5d2ec4
lea esi, [esp + 0x88]
mov dword [esp + 0xa0], 7
mov dword [esp + 0x9c], ebx
mov word [esp + 0x8c], cx
call fcn.00406150
lea eax, [esp + 0x9c]
mov byte [esp + 0x2f0], 0x15
mov edx, dword [edi]
mov edx, dword [edx + 8]
push eax
mov ecx, esi
push ecx
mov ecx, edi
call edx
cmp dword [esp + 0x98], 8
jb 0x499420
mov eax, dword [esp + 0x84]
push eax
call fcn.005273b8
add esp, 4
xor ecx, ecx
mov byte [esp + 0x2f0], 0x12
cmp dword [esp + 0xb4], 8
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], cx
jb 0x49945e
mov edx, dword [esp + 0xa0]
push edx
call fcn.005273b8
add esp, 4
mov eax, dword [esp + 0x54]
cmp eax, ebx
jne 0x49948e
call fcn.00527d8a
xor eax, eax
mov esi, dword [esp + 0x58]
cmp esi, dword [eax + 0x10]
jb 0x49947b
call fcn.00527d8a
mov eax, dword [esp + 0x54]
add esi, 0x1c
jmp 0x499312
mov eax, dword [eax]
jmp 0x499359
mov eax, dword [eax]
jmp 0x49946d
mov eax, dword [esp + 0x6c]
cmp eax, ebx
je 0x4994b8
mov ecx, dword [esp + 0x50]
mov edi, dword [esp + 0x70]
push ecx
call fcn.00404ef0
mov edx, dword [esp + 0x70]
add esp, 4
push edx
call fcn.005273b8
add esp, 4
mov eax, dword [esp + 0x60]
push eax
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
call fcn.005273b8
add esp, 4
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2d0]
xor ecx, esp
call fcn.005273c3
mov esp, ebp
pop ebp
ret