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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x4a00a0]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
mov dword [esp + 8], eax
push esi
mov esi, ecx
mov dword [esp + 0x8c], 0xf
xor al, al
mov dword [esp + 0x10], esi
push edi
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
mov byte [esp + 0xf], al
mov ecx, dword [esi]
lea eax, [esp + 0x7c]
push eax
mov edi, 8
call fcn.004065c0
test al, al
je 0x415481
cmp dword [esp + 0x90], 0x10
lea ecx, [esp + 0x7c]
mov edx, edi
mov edi, dword [esp + 0x8c]
cmovae ecx, dword [esp + 0x7c]
cmp edi, edx
cmovb edx, edi
test edx, edx
je 0x414e34
mov esi, str.shortcut
sub edx, 4
jb 0x414df1
nop
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x414df6
add ecx, 4
add esi, 4
sub edx, 4
jae 0x414de0
cmp edx, 0xfffffffc
je 0x414e2a
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x414e23
cmp edx, 0xfffffffd
je 0x414e2a
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x414e23
cmp edx, 0xfffffffe
je 0x414e2a
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x414e23
cmp edx, 0xffffffff
je 0x414e2a
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x414e2a
sbb eax, eax
or eax, 1
jmp 0x414e2c
xor eax, eax
test eax, eax
jne 0x41547d
cmp edi, 8
jae 0x414e3e
or eax, 0xffffffff
jmp 0x414e49
mov eax, 8
cmp eax, edi
sbb eax, eax
neg eax
test eax, eax
jne 0x41547d
push 4
push str.type
lea ecx, [esp + 0x24]
mov byte [esp + 0x17], 1
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], eax
mov byte [esp + 0x54], al
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], eax
mov byte [esp + 0x24], al
call fcn.00404c20
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x20]
push eax
mov ecx, dword [esi]
call fcn.00406760
test al, al
mov eax, dword [esp + 0x30]
sete bl
cmp eax, 0x10
jb 0x414ee8
mov ecx, dword [esp + 0x1c]
inc eax
cmp eax, 0x1000
jb 0x414edf
test cl, 0x1f
jne 0x4154d1
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x4154d1
sub ecx, eax
cmp ecx, 4
jb 0x4154d1
cmp ecx, 0x23
ja 0x4154d1
mov ecx, eax
push ecx
call fcn.00466a7e
add esp, 4
test bl, bl
jne 0x415429
mov ecx, dword [esi]
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], 0
mov byte [esp + 0x68], bl
call fcn.00406690
test al, al
je 0x415420
push dword [esp + 0x74]
xor eax, eax
mov dword [esp + 0x4c], 7
cmp dword [esp + 0x7c], 0x10
mov word [esp + 0x38], ax
lea eax, [esp + 0x68]
cmovae eax, dword [esp + 0x68]
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x4c], 0
push eax
call fcn.0042ade0
mov ecx, 0x49a6e0
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414f57
sub ecx, edx
lea eax, [esp + 0x34]
sar ecx, 1
push ecx
push 0x49a6e0
push eax
lea ecx, [esp + 0x28]
call fcn.0041c480
mov eax, dword [esp + 0x3c]
add esp, 0xc
cmp eax, 8
jb 0x414fd2
mov ecx, dword [esp + 0x1c]
inc eax
cmp eax, 0x7fffffff
ja 0x4154d1
add eax, eax
cmp eax, 0x1000
jb 0x414fc9
test cl, 0x1f
jne 0x4154d1
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x4154d1
sub ecx, eax
cmp ecx, 4
jb 0x4154d1
cmp ecx, 0x23
ja 0x4154d1
mov ecx, eax
push ecx
call fcn.00466a7e
add esp, 4
mov ebx, dword [esp + 0x60]
lea ecx, [esp + 0x4c]
mov edi, dword [esp + 0x5c]
cmp ebx, 0x10
mov edx, 0xf
cmovae ecx, dword [esp + 0x4c]
cmp edi, edx
cmovb edx, edi
test edx, edx
je 0x415050
mov esi, str.SC_DEST_DESKTOP
sub edx, 4
jb 0x415011
nop
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x415016
add ecx, 4
add esi, 4
sub edx, 4
jae 0x415000
cmp edx, 0xfffffffc
je 0x41504a
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x415043
cmp edx, 0xfffffffd
je 0x41504a
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x415043
cmp edx, 0xfffffffe
je 0x41504a
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x415043
cmp edx, 0xffffffff
je 0x41504a
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x41504a
sbb eax, eax
or eax, 1
jmp 0x41504c
xor eax, eax
test eax, eax
jne 0x41505b
cmp edi, 0xf
jb 0x41505b
jbe 0x4150e3
cmp ebx, 0x10
lea ecx, [esp + 0x4c]
mov edx, 0x16
cmovae ecx, dword [esp + 0x4c]
cmp edi, edx
cmovb edx, edi
test edx, edx
je 0x4150d4
mov esi, str.SC_DEST_COMMON_DESKTOP
sub edx, 4
jb 0x415091
nop
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x415096
add ecx, 4
add esi, 4
sub edx, 4
jae 0x415080
cmp edx, 0xfffffffc
je 0x4150ca
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x4150c3
cmp edx, 0xfffffffd
je 0x4150ca
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x4150c3
cmp edx, 0xfffffffe
je 0x4150ca
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x4150c3
cmp edx, 0xffffffff
je 0x4150ca
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x4150ca
sbb eax, eax
or eax, 1
jmp 0x4150cc
xor eax, eax
test eax, eax
jne 0x4151ca
cmp edi, 0x16
jb 0x4151ca
ja 0x4151ca
cmp dword [esp + 0x48], 8
lea eax, [esp + 0x34]
mov dword [esp + 0x30], 7
cmovae eax, dword [esp + 0x34]
xor ecx, ecx
mov word [esp + 0x1c], cx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x2c], 0
test ecx, ecx
jne 0x41511d
xor eax, eax
mov dword [esp + 0x2c], ecx
mov word [esp + 0x1c], ax
jmp 0x415128
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.004046b0
push 1
push 0
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
lea ecx, [esp + 0x28]
call fcn.00404190
cmp eax, 0xffffffff
je 0x415153
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x24]
call fcn.00405230
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
add ecx, 0x64
cmp ecx, eax
je 0x41516c
push 0xffffffffffffffff
push 0
push eax
call fcn.004047b0
mov eax, dword [esp + 0x30]
cmp eax, 8
jb 0x41538d
mov ecx, dword [esp + 0x1c]
inc eax
cmp eax, 0x7fffffff
ja 0x4154d1
add eax, eax
cmp eax, 0x1000
jb 0x4151bc
test cl, 0x1f
jne 0x4154d1
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x4154d1
sub ecx, eax
cmp ecx, 4
jb 0x4154d1
cmp ecx, 0x23
ja 0x4154d1
mov ecx, eax
push ecx
call fcn.00466a7e
add esp, 4
jmp 0x41538d
cmp ebx, 0x10
lea ecx, [esp + 0x4c]
mov edx, 0xc
cmovae ecx, dword [esp + 0x4c]
cmp edi, edx
cmovb edx, edi
test edx, edx
je 0x415240
mov esi, str.SC_DEST_MENU
sub edx, 4
jb 0x415201
nop
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x415206
add ecx, 4
add esi, 4
sub edx, 4
jae 0x4151f0
cmp edx, 0xfffffffc
je 0x41523a
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x415233
cmp edx, 0xfffffffd
je 0x41523a
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x415233
cmp edx, 0xfffffffe
je 0x41523a
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x415233
cmp edx, 0xffffffff
je 0x41523a
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x41523a
sbb eax, eax
or eax, 1
jmp 0x41523c
xor eax, eax
test eax, eax
jne 0x41524b
cmp edi, 0xc
jb 0x41524b
jbe 0x4152c7
cmp ebx, 0x10
lea ecx, [esp + 0x4c]
mov edx, 0x13
cmovae ecx, dword [esp + 0x4c]
cmp edi, edx
cmovb edx, edi
test edx, edx
je 0x4152c0
mov esi, str.SC_DEST_COMMON_MENU
sub edx, 4
jb 0x415281
nop
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x415286
add ecx, 4
add esi, 4
sub edx, 4
jae 0x415270
cmp edx, 0xfffffffc
je 0x4152ba
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x4152b3
cmp edx, 0xfffffffd
je 0x4152ba
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x4152b3
cmp edx, 0xfffffffe
je 0x4152ba
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x4152b3
cmp edx, 0xffffffff
je 0x4152ba
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x4152ba
sbb eax, eax
or eax, 1
jmp 0x4152bc
xor eax, eax
test eax, eax
jne 0x4152f5
cmp edi, 0x13
jb 0x4152f5
ja 0x4152f5
sub esp, 8
lea eax, [esp + 0x3c]
cmp dword [esp + 0x50], 8
mov ecx, esp
cmovae eax, dword [esp + 0x3c]
mov dword [ecx], eax
mov eax, dword [esp + 0x4c]
mov dword [ecx + 4], eax
lea ecx, [esp + 0x24]
call fcn.0041e020
mov ecx, dword [esp + 0x10]
add ecx, 0x7c
jmp 0x415367
cmp ebx, 0x10
lea ecx, [esp + 0x4c]
mov ebx, 0x14
mov edx, str.SC_DEST_QUICK_LAUNCH
cmovae ecx, dword [esp + 0x4c]
mov eax, ebx
cmp edi, eax
cmovb eax, edi
push eax
call fcn.00413100
add esp, 4
test eax, eax
jne 0x415417
cmp ebx, edi
jbe 0x41532c
or eax, 0xffffffff
jmp 0x415330
sbb eax, eax
neg eax
test eax, eax
jne 0x415417
sub esp, 8
lea eax, [esp + 0x3c]
cmp dword [esp + 0x50], 8
mov ecx, esp
cmovae eax, dword [esp + 0x3c]
mov dword [ecx], eax
mov eax, dword [esp + 0x4c]
mov dword [ecx + 4], eax
lea ecx, [esp + 0x24]
call fcn.0041e020
mov ecx, dword [esp + 0x10]
add ecx, 0x94
cmp ecx, eax
je 0x415375
push 0xffffffffffffffff
push 0
push eax
call fcn.004047b0
mov eax, dword [esp + 0x30]
cmp eax, 8
jb 0x41538d
inc eax
lea ecx, [esp + 0x1c]
push eax
push dword [esp + 0x20]
call fcn.004055d0
mov esi, dword [esp + 0x14]
mov ecx, dword [esi]
call fcn.00406430
mov ecx, dword [esp + 0x48]
mov ebx, eax
cmp ecx, 8
jb 0x4153b2
inc ecx
push ecx
push dword [esp + 0x38]
lea ecx, [esp + 0x3c]
call fcn.004055d0
xor eax, eax
mov dword [esp + 0x48], 7
mov word [esp + 0x34], ax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x44], 0
cmp eax, 0x10
jb 0x4153e1
inc eax
lea ecx, [esp + 0x64]
push eax
push dword [esp + 0x68]
call fcn.00405140
mov eax, dword [esp + 0x60]
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], 0
mov byte [esp + 0x64], 0
cmp eax, 0x10
jb 0x41540e
inc eax
lea ecx, [esp + 0x4c]
push eax
push dword [esp + 0x50]
call fcn.00405140
test ebx, ebx
jne 0x415481
jmp 0x414d98
lea ecx, [esp + 0x34]
call fcn.00403da0
lea ecx, [esp + 0x64]
call fcn.00403f30
mov eax, dword [esp + 0x60]
cmp eax, 0x10
jb 0x415441
inc eax
lea ecx, [esp + 0x4c]
push eax
push dword [esp + 0x50]
call fcn.00405140
xor bl, bl
mov ecx, dword [esp + 0x90]
cmp ecx, 0x10
jb 0x415464
inc ecx
push ecx
push dword [esp + 0x80]
lea ecx, [esp + 0x84]
call fcn.00405140
mov ecx, dword [esp + 0x94]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00466c90
mov esp, ebp
pop ebp
ret 4
mov esi, dword [esp + 0x14]
cmp ebx, 2
je 0x415441
mov al, byte [esp + 0xf]
test al, al
jne 0x415497
mov ecx, dword [esi]
call fcn.00406430
mov ebx, eax
cmp ebx, 2
je 0x415441
mov ecx, dword [esi]
lea eax, [esp + 0x7c]
push eax
call fcn.004065c0
test al, al
je 0x415441
cmp ebx, 1
je 0x4154ca
push str.components
lea ecx, [esp + 0x80]
call fcn.00415bb0
test eax, eax
jne 0x415441
mov bl, 1
jmp 0x415443
call fcn.0046c8dc
int3