Function at 0x46cf50
Capabilities:
Check if file exists
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a871e
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x2d0]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x18], ebx
call fcn.0046ccc0
mov esi, eax
push esi
mov ecx, ebx
call fcn.0046ce00
xor edi, edi
mov ebp, eax
mov ecx, ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
call fcn.0046a670
test eax, eax
je 0x46cfd3
call fcn.00478410
test eax, eax
jne 0x46cfd3
mov ebp, 1
mov dword [esp + 0x20], ebp
jmp 0x46cffa
cmp ebp, edi
mov ebp, 1
je 0x46cfe2
mov dword [esp + 0x1c], ebp
jmp 0x46cffa
mov dword [esp + 0x28], ebp
cmp dword [ebx + 0x140], edi
je 0x46cff2
mov dword [esp + 0x24], ebp
cmp esi, edi
je 0x46cffa
mov dword [esp + 0x2c], ebp
mov eax, 0x3ea
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], 0x3eb
mov dword [esp + 0x9c], 0x3fd
mov dword [esp + 0xa0], 0x3fe
mov dword [esp + 0xa4], 0x3ff
mov dword [esp + 0xa8], 0x400
mov dword [esp + 0xac], 0x402
mov dword [esp + 0xb0], 0x403
mov dword [esp + 0xb4], 0x404
mov dword [esp + 0xb8], 0x412
mov dword [esp + 0xbc], 0x411
mov dword [esp + 0xc0], edi
xor esi, esi
lea ecx, [ecx]
push eax
mov ecx, ebx
call fcn.004af936
cmp eax, edi
je 0x46d094
push edi
mov ecx, eax
call fcn.004afc19
add esi, ebp
mov eax, dword [esp + esi*4 + 0x94]
cmp eax, edi
ja 0x46d080
mov esi, 0x7e5
xor edi, edi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], 0x7e6
mov dword [esp + 0x60], 0x7e7
mov dword [esp + 0x64], 0x7e8
mov dword [esp + 0x68], 0x7d5
mov dword [esp + 0x6c], edi
lea ebp, [ebx + 0x74]
mov ecx, ebp
call fcn.00522020
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
push esi
call eax
test eax, eax
je 0x46d0f2
push 0
lea ecx, [eax + 0x24]
call fcn.00545d80
mov esi, dword [esp + edi*4 + 0x5c]
inc edi
test esi, esi
ja 0x46d0d3
lea ecx, [esp + 0x43]
push ecx
lea edx, [esp + 0x47]
push edx
lea ecx, [esp + 0x78]
call fcn.00421470
xor ebp, ebp
push 0x7c
lea eax, [esp + 0xd4]
push ebp
push eax
mov dword [esp + 0x2e4], ebp
mov dword [esp + 0xd8], ebp
call fcn.004e5fc0
push 0x7c
lea ecx, [esp + 0x1e0]
push ebp
push ecx
mov dword [esp + 0x1e4], ebp
call fcn.004e5fc0
push 0x7c
lea edx, [esp + 0x16c]
push ebp
push edx
mov dword [esp + 0x170], ebp
call fcn.004e5fc0
add esp, 0x24
xor esi, esi
cmp dword [esp + 0x20], ebp
je 0x46d18b
mov dword [esp + 0xcc], 0x3f3
mov dword [esp + 0x1cc], str.IDS_UN_BTN_MOBILEMGR
mov dword [esp + 0x14c], str.UninstallWiz_btnUnMobileMgr.png
lea esi, [ebp + 1]
cmp dword [esp + 0x1c], ebp
je 0x46d1f8
mov dword [esp + esi*4 + 0xcc], 0x3f2
mov dword [esp + esi*4 + 0x24c], 0x5e8ee8
mov dword [esp + esi*4 + 0x1cc], str.IDS_UN_BTN_VDBREDUCE
mov dword [esp + esi*4 + 0x14c], str.UninstallWiz_btnVdbReduce.png
inc esi
mov edi, 5
cmp dword [esp + 0x28], ebp
je 0x46d229
mov dword [esp + esi*4 + 0xcc], 0x3ef
mov dword [esp + esi*4 + 0x24c], str.IDS_UN_TIP_QMACHINE
mov dword [esp + esi*4 + 0x1cc], str.IDS_UN_BTN_QMACHINE
mov dword [esp + esi*4 + 0x14c], str.UninstallWiz_btnQMachine.png
inc esi
jmp 0x46d24d
cmp dword [esp + 0x14], ebp
je 0x46d1be
mov edi, 5
cmp dword [esp + 0x8c], edi
jae 0x46d1c3
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x1c], 0x403
call fcn.00445e40
jmp 0x46d1c3
cmp dword [esp + 0x8c], edi
jae 0x46d24d
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x78]
mov dword [esp + 0x1c], 0x3fd
call fcn.00445e40
cmp dword [esp + 0x2c], ebp
je 0x46d282
mov dword [esp + esi*4 + 0xcc], 0x3f0
mov dword [esp + esi*4 + 0x24c], str.IDS_UN_TIP_RELOCSD
mov dword [esp + esi*4 + 0x1cc], str.IDS_UN_BTN_RELOCSD
mov dword [esp + esi*4 + 0x14c], str.UninstallWiz_btnRelocSD.png
inc esi
jmp 0x46d2a6
cmp dword [esp + 0x8c], edi
jae 0x46d2a6
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x78]
mov dword [esp + 0x1c], 0x3fe
call fcn.00445e40
cmp dword [esp + 0x24], ebp
je 0x46d2db
mov dword [esp + esi*4 + 0xcc], 0x3f1
mov dword [esp + esi*4 + 0x24c], str.IDS_UN_TIP_RESTOREQUART
mov dword [esp + esi*4 + 0x1cc], str.IDS_UN_BTN_RESTOREQUART
mov dword [esp + esi*4 + 0x14c], str.UninstallWiz_btnRestoreQuart.png
inc esi
jmp 0x46d2ff
cmp dword [esp + 0x8c], edi
jae 0x46d2ff
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x1c], 0x3ff
call fcn.00445e40
lea edx, [esp + 0x14]
push edx
call fcn.0046ba00
mov eax, dword [eax]
add esp, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46d337
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, ebp
je 0x46d360
cmp dword [esp + 0x8c], 5
jae 0x46d385
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x78]
mov dword [esp + 0x1c], 0x400
call fcn.00445e40
cmp dword [esp + 0x8c], 5
jae 0x46d385
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x1c], 0x402
call fcn.00445e40
xor eax, eax
lea edx, [esp + 0x48]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov eax, dword [ebx + 0x20]
push edx
push eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x50], ebp
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebp, dword [esp + 0x50]
sub ebp, dword [esp + 0x48]
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x4c]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], eax
test ebp, ebp
jg 0x46d3cf
mov ebp, 0x244
mov dword [esp + 0x1c], ebp
test eax, eax
jg 0x46d3db
mov dword [esp + 0x14], 0x1ed
mov ecx, dword [esp + 0x18]
mov ebx, 0x4b
push 0x3ea
mov dword [esp + 0x30], 0xb9
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 0x5a
lea edi, [ebx + 0x25]
call fcn.004af936
test eax, eax
je 0x46d456
mov edx, dword [eax + 0x20]
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x30]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x30]
push eax
call fcn.004b5341
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
sub ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
sub eax, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x18]
push 0x3eb
call fcn.004af936
test eax, eax
je 0x46d491
mov edx, dword [eax + 0x20]
xor ecx, ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x58]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [esp + 0x60]
sub edi, dword [esp + 0x58]
lea eax, [esi - 1]
imul ebx, esi
imul eax, edi
sub ebp, eax
sub ebp, ebx
xor ebx, ebx
shr ebp, 1
cmp dword [esp + 0x28], ebx
jbe 0x46d683
mov ecx, dword [esp + 0x20]
add edi, ecx
mov dword [esp + 0x90], edi
lea esp, [esp]
push 0x19c
call fcn.004a3ce6
add esp, 4
mov dword [esp + 0xc4], eax
xor edi, edi
mov byte [esp + 0x2d8], 1
cmp eax, edi
je 0x46d4ed
mov ecx, eax
call fcn.00469180
mov esi, eax
jmp 0x46d4ef
xor esi, esi
mov ecx, dword [esp + 0x18]
mov edx, dword [esi]
mov edx, dword [edx + 0x13c]
mov eax, 1
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov eax, dword [esp + ebx*4 + 0xcc]
push eax
push ecx
lea eax, [esp + 0x60]
push eax
push 0x50000000
push 0x5e8ee8
mov ecx, esi
mov byte [esp + 0x2ec], 0
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
call edx
push str.UninstallWiz_item_3statebk.bmp
lea ecx, [esi + 0xf8]
call fcn.0052ae70
call fcn.00520eb0
mov ecx, eax
call fcn.00519680
mov ecx, eax
call fcn.00528770
cmp eax, edi
jne 0x46d55f
xor eax, eax
jmp 0x46d562
mov eax, dword [eax + 4]
push 1
push eax
mov eax, dword [esi + 0x20]
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea edi, [esi + 0x11c]
push 1
mov ecx, edi
call fcn.00539c70
push 1
lea ecx, [esi + 0xec]
call fcn.00539a20
push 0x444444
mov ecx, edi
call fcn.00539d10
push 0x444444
mov ecx, edi
call fcn.00539d60
push 0x444444
mov ecx, edi
call fcn.00539db0
push 0
lea ecx, [esi + 0x5c]
call fcn.005372c0
mov ecx, dword [esp + ebx*4 + 0x1cc]
push ecx
lea edx, [esp + 0x48]
push edx
call fcn.005214a0
add esp, 8
mov eax, dword [eax]
push eax
mov ecx, edi
mov byte [esp + 0x2dc], 2
call fcn.00539ee0
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x2d8], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46d60a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x30]
call fcn.00535440
mov ecx, dword [esp + ebx*4 + 0x14c]
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x2dc], 3
call fcn.00535660
lea edx, [esp + 0x30]
push edx
lea ecx, [esi + 0x114]
call fcn.005389c0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
push 4
push eax
push ecx
push edx
push ebp
push 0
mov ecx, esi
call fcn.004aff91
push 5
mov ecx, esi
call fcn.004afc19
add ebp, dword [esp + 0x90]
lea ecx, [esp + 0x30]
mov byte [esp + 0x2d8], 0
call fcn.00535230
inc ebx
cmp ebx, dword [esp + 0x28]
jb 0x46d4c0
mov ebx, dword [esp + 0x18]
add ebx, 0x74
mov ecx, ebx
mov dword [esp + 0x94], 0x400
mov dword [esp + 0x98], 0x402
mov dword [esp + 0x9c], 0x3ff
mov dword [esp + 0xa0], 0x3fe
mov dword [esp + 0xa4], 0x3fd
mov dword [esp + 0xa8], 0x403
mov dword [esp + 0xac], 0
mov dword [esp + 0x58], 0x28
mov dword [esp + 0x5c], 0xa0
call fcn.00522020
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
push 0x7da
call eax
mov dword [esp + 0x44], eax
test eax, eax
je 0x46d72b
lea esi, [eax + 4]
mov ecx, esi
call fcn.00548ab0
mov ecx, esi
mov dword [esp + 0x58], eax
call fcn.00548b50
mov ecx, esi
call fcn.00548b00
mov ecx, esi
mov dword [esp + 0x5c], eax
call fcn.00548ba0
xor esi, esi
xor edi, edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], 7
cmp dword [esp + 0x8c], esi
jne 0x46d74d
mov dword [esp + 0x20], esi
jmp 0x46d7d8
mov ecx, dword [esp + 0x18]
push 0x3fe
mov esi, 0x34
call fcn.004af936
xor ecx, ecx
cmp eax, ecx
je 0x46d78d
mov edx, dword [eax + 0x20]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x30]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [esp + 0x38]
sub esi, dword [esp + 0x30]
add esi, 0x14
imul esi, dword [esp + 0x8c]
mov ecx, ebx
sub esi, 0x14
mov ebp, 0x5f
call fcn.00522020
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
push 0x7d5
call eax
test eax, eax
je 0x46d7c3
lea ecx, [eax + 4]
call fcn.00548b50
mov ebp, eax
mov eax, dword [esp + 0x1c]
lea esi, [esi + ebp + 5]
sub eax, esi
cdq
sub eax, edx
sar eax, 1
lea ebp, [eax + esi + 0xa]
xor esi, esi
cmp ebp, esi
jg 0x46d7e0
mov dword [esp + 0x20], esi
call fcn.00418b00
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], esi
cmp dword [esp + 0x20], esi
jbe 0x46d946
lea ecx, [esp + 0x94]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x1c]
cmp dword [edx], 0
je 0x46d946
mov eax, edx
push eax
lea ecx, [esp + 0xc8]
push ecx
lea ecx, [esp + 0x78]
call fcn.004404b0
mov ecx, dword [eax]
mov esi, dword [eax + 4]
mov ebx, dword [esp + 0x88]
test ecx, ecx
je 0x46d839
cmp ecx, dword [esp + 0x70]
je 0x46d83e
call fcn.004e73ca
cmp esi, ebx
je 0x46d92e
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
mov ebx, dword [esp + 0x18]
push eax
mov ecx, ebx
call fcn.004af936
mov esi, eax
test esi, esi
je 0x46d92e
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x48]
push edx
mov ecx, ebx
call fcn.004b5341
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x50]
cmp dword [esp + 0x2c], 0
mov edi, dword [esp + 0x4c]
lea ebp, [eax + ebp - 0xa]
jne 0x46d897
add edi, 3
push 5
push 0
push 0
push edi
push ebp
push 0
mov ecx, esi
call fcn.004aff91
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
call eax
push 5
mov ecx, esi
call fcn.004afc19
mov ecx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x24]
dec ecx
cmp ebx, ecx
jae 0x46d92e
mov ecx, dword [esp + 0x18]
add ecx, 0x74
call fcn.00522020
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
lea ecx, [ebx + 0x7e5]
push ecx
mov ecx, eax
call edx
inc ebx
cmp dword [esp + 0x2c], 0
mov esi, eax
mov dword [esp + 0x24], ebx
jne 0x46d8f9
sub edi, 5
test esi, esi
je 0x46d92e
mov ecx, edi
sub ecx, dword [esp + 0x5c]
sub ebp, 0xb
add ecx, 4
mov eax, ebp
sub eax, dword [esp + 0x58]
lea edx, [esp + 0x30]
mov dword [esp + 0x34], ecx
push edx
lea ecx, [esi + 4]
mov dword [esp + 0x34], eax
call fcn.00548be0
push 1
lea ecx, [esi + 0x24]
call fcn.00545d80
mov eax, dword [esp + 0x28]
add dword [esp + 0x1c], 4
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x20]
jb 0x46d802
mov ecx, dword [esp + 0x18]
add ecx, 0x74
call fcn.00522020
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
push 0x7d5
call eax
mov esi, eax
test esi, esi
je 0x46d99b
lea ebx, [esi + 4]
mov ecx, ebx
call fcn.00548b50
sub edi, dword [esp + 0x5c]
sub ebp, eax
sub ebp, 5
sub ebp, dword [esp + 0x58]
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], edi
call fcn.00548be0
push 1
lea ecx, [esi + 0x24]
call fcn.00545d80
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x46d9aa
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
call eax
mov ecx, dword [esp + 0x18]
push 0x412
call fcn.004af936
mov esi, eax
test esi, esi
je 0x46d9eb
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x48]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x48]
push eax
call fcn.004b5341
mov edi, dword [esp + 0x48]
mov ebp, dword [esp + 0x50]
mov ebx, dword [esp + 0x4c]
sub ebp, edi
jmp 0x46d9fa
mov ebx, dword [esp + 0x14]
mov edi, 0x19
add ebx, 0xffffffe2
lea ebp, [edi + 0x7d]
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0x138], 0
je 0x46da49
test esi, esi
je 0x46da49
push 5
push 0
push 0
push ebx
push edi
push 0
mov ecx, esi
call fcn.004aff91
mov edx, dword [esi + 0x20]
push 0
push 1
push 0xf1
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
lea ecx, [esi + 0xec]
call fcn.00539a20
push 5
mov ecx, esi
call fcn.004afc19
lea edi, [edi + ebp + 0xa]
mov ebp, dword [esp + 0x18]
push 0x411
mov ecx, ebp
call fcn.004af936
mov esi, eax
test esi, esi
je 0x46da99
push 5
push 0
push 0
push ebx
push edi
push 0
mov ecx, esi
call fcn.004aff91
mov eax, dword [esi + 0x20]
push 0
push 1
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
lea ecx, [esi + 0xec]
call fcn.00539a20
push 5
mov ecx, esi
call fcn.004afc19
mov ecx, dword [ebp + 0x20]
push 0
push 0x3ed
push 0x401
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x70]
mov dword [esp + 0x2d8], 0xffffffff
call fcn.0042c600
mov ecx, dword [esp + 0x2d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret