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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43c505
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x44a120]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, dword [0x44a120]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x2b4], edi
jne 0x406c93
xor eax, eax
jmp 0x407161
mov dword [esi + 0x18], 0x4b
call fcn.00405850
mov eax, dword [eax + 0x2d8]
cmp eax, edi
je 0x406cc6
lea ecx, [esp + 0x10]
push ecx
push 0xc8
push edi
push 0x443684
push edi
push 0x466
push eax
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
push str.Clean_ShortCut...
mov ecx, 0x44cfe0
call fcn.00412bc0
add esp, 4
lea ecx, [esp + 0x54]
call fcn.00413a40
lea ecx, [esp + 0x38]
mov dword [esp + 0xb8], edi
call fcn.00413960
lea ecx, [esp + 0x8c]
mov byte [esp + 0xb8], 1
call fcn.00413c00
lea ecx, [esp + 0x70]
mov byte [esp + 0xb8], 2
call fcn.00413b20
mov ebx, 8
mov byte [esp + 0xb8], 3
cmp dword [esi + 0x2b8], ebx
jb 0x406d33
mov eax, dword [esi + 0x2a4]
jmp 0x406d39
lea eax, [esi + 0x2a4]
cmp dword [esp + 0x6c], ebx
mov ecx, dword [esp + 0x58]
jae 0x406d47
lea ecx, [esp + 0x58]
push eax
call fcn.004146c0
add esp, 4
cmp dword [esi + 0x2b8], ebx
jb 0x406d60
mov eax, dword [esi + 0x2a4]
jmp 0x406d66
lea eax, [esi + 0x2a4]
cmp dword [esp + 0x6c], ebx
mov ecx, dword [esp + 0x58]
jae 0x406d74
lea ecx, [esp + 0x58]
push eax
push ecx
push str.ClenShortCut___s____s_
mov ecx, 0x44cfe0
call fcn.00412bc0
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
add eax, 2
add esp, 0xc
cmp eax, ecx
mov dword [esi + 0x1c], eax
jle 0x406d9b
mov dword [esi + 0x1c], ecx
mov ebx, dword [esi + 0x1c]
call fcn.00405850
mov eax, dword [eax + 0x2d8]
cmp eax, edi
je 0x406dbb
push ebx
push edi
push 0x465
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ebx, 8
cmp dword [esi + 0x2b8], ebx
jb 0x406dd0
mov eax, dword [esi + 0x2a4]
jmp 0x406dd6
lea eax, [esi + 0x2a4]
cmp dword [esp + 0x50], ebx
mov ecx, dword [esp + 0x3c]
jae 0x406de4
lea ecx, [esp + 0x3c]
push eax
call fcn.004146c0
add esp, 4
cmp dword [esi + 0x2b8], ebx
jb 0x406dfd
mov eax, dword [esi + 0x2a4]
jmp 0x406e03
lea eax, [esi + 0x2a4]
cmp dword [esp + 0x50], ebx
mov ecx, dword [esp + 0x3c]
jae 0x406e11
lea ecx, [esp + 0x3c]
push eax
push ecx
push str.ClenShortCut___s____s_
mov ecx, 0x44cfe0
call fcn.00412bc0
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
add eax, 2
add esp, 0xc
cmp eax, ecx
mov dword [esi + 0x1c], eax
jle 0x406e38
mov dword [esi + 0x1c], ecx
mov ebx, dword [esi + 0x1c]
call fcn.00405850
mov eax, dword [eax + 0x2d8]
cmp eax, edi
je 0x406e58
push ebx
push edi
push 0x465
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [esp + 0xa0], edi
mov eax, 0x4436ec
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
je 0x406f2e
xor ebx, ebx
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x94]
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], edi
mov word [esp + 0x28], di
call fcn.004079e0
lea edi, [esp + 0x1c]
mov byte [esp + 0xb8], 4
call fcn.00413fb0
mov ecx, dword [esp + ebx*4 + 0x14]
mov edx, edi
call fcn.00414280
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
add eax, 2
cmp eax, ecx
mov dword [esi + 0x1c], eax
jle 0x406ec7
mov dword [esi + 0x1c], ecx
mov edi, dword [esi + 0x1c]
call fcn.00405850
mov eax, dword [eax + 0x2d8]
test eax, eax
je 0x406ee8
push edi
push 0
push 0x465
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [esp + 0x20]
mov edi, 8
cmp dword [esp + 0x34], edi
jae 0x406efb
lea edx, [esp + 0x20]
push 0
call fcn.00415910
add esp, 4
mov byte [esp + 0xb8], 3
cmp dword [esp + 0x34], edi
jb 0x406f20
mov edx, dword [esp + 0x20]
push edx
call fcn.0041c4fe
add esp, 4
add ebx, 1
xor edi, edi
cmp ebx, 2
jb 0x406e74
cmp dword [esp + 0x84], edi
je 0x407071
mov dword [esp + 0x10], edi
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x78]
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], edi
mov word [esp + 0x28], di
call fcn.004079e0
mov byte [esp + 0xb8], 5
mov eax, dword [esp + 0x30]
cmp eax, 1
jb 0x406fb5
lea edi, [eax - 1]
cmp edi, eax
jbe 0x406f7d
call fcn.0041d74b
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
jae 0x406f8c
lea eax, [esp + 0x20]
movzx ecx, word [eax + edi*2]
xor eax, eax
cmp cx, word [eax + 0x442e38]
je 0x406fb3
add eax, 2
cmp eax, 4
jb 0x406f92
push 1
push 0x43fc94
lea ecx, [esp + 0x24]
call fcn.00411f50
xor edi, edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + eax*4 + 0x14]
lea edx, [esp + 0x1c]
call fcn.00414280
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
add eax, 2
cmp eax, ecx
mov dword [esi + 0x1c], eax
jle 0x406fd9
mov dword [esi + 0x1c], ecx
test byte [0x44d42c], 1
jne 0x40700b
or dword [0x44d42c], 1
mov byte [esp + 0xb8], 6
call fcn.00405590
push 0x43c9b0
call fcn.0041ce30
add esp, 4
mov byte [esp + 0xb8], 5
mov ecx, dword [0x44d348]
cmp ecx, edi
mov eax, dword [esi + 0x1c]
je 0x407026
push eax
push edi
push 0x465
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [esp + 0x20]
mov ebx, 8
cmp dword [esp + 0x34], ebx
jae 0x407039
lea edx, [esp + 0x20]
push edi
call fcn.00415910
add esp, 4
mov byte [esp + 0xb8], 3
cmp dword [esp + 0x34], ebx
jb 0x40705d
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0041c4fe
add esp, 4
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, 2
mov dword [esp + 0x10], eax
jb 0x406f3f
mov eax, dword [esi + 0x18]
cmp eax, 0x4b
mov dword [esi + 0x1c], 0x4b
jge 0x407083
mov dword [esi + 0x1c], eax
test byte [0x44d42c], 1
jne 0x4070ad
or dword [0x44d42c], 1
mov byte [esp + 0xb8], 7
call fcn.00405590
push 0x43c9b0
call fcn.0041ce30
add esp, 4
mov eax, dword [0x44d348]
cmp eax, edi
je 0x4070c7
mov edx, dword [esi + 0x1c]
push edx
push edi
push 0x465
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov esi, 8
cmp dword [esp + 0x88], esi
jb 0x4070e2
mov eax, dword [esp + 0x74]
push eax
call fcn.0041c4fe
add esp, 4
cmp dword [esp + 0xa4], esi
mov ebx, 7
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], edi
mov word [esp + 0x74], di
jb 0x407113
mov ecx, dword [esp + 0x90]
push ecx
call fcn.0041c4fe
add esp, 4
cmp dword [esp + 0x50], esi
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa0], edi
mov word [esp + 0x90], di
jb 0x40713c
mov edx, dword [esp + 0x3c]
push edx
call fcn.0041c4fe
add esp, 4
cmp dword [esp + 0x6c], esi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], edi
mov word [esp + 0x3c], di
jb 0x40715c
mov eax, dword [esp + 0x58]
push eax
call fcn.0041c4fe
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.0041cb94
mov esp, ebp
pop ebp
ret