Function at 0x401300
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x26c
mov eax, dword [0x43b010]
xor eax, esp
mov dword [esp + 0x268], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [esp + 0x10], eax
call fcn.004086d0
xor eax, eax
push 0x206
push eax
mov word [esp + 0x70], ax
lea eax, [esp + 0x72]
push eax
call fcn.0040dcd0
add esp, 0xc
lea eax, [esp + 0x68]
push 0x104
push eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
cmp word [esp + 0x68], ax
jne 0x40137e
xor ecx, ecx
jmp 0x401394
lea ecx, [esp + 0x68]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401385
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x1c]
call fcn.00402c30
push 1
push ecx
xor eax, eax
mov dword [esp + 0x64], 7
push eax
push ecx
lea edx, [esp + 0x58]
mov dword [esp + 0x68], 0
lea ecx, [esp + 0x24]
mov word [esp + 0x58], ax
call fcn.00407890
add esp, 0x10
test eax, eax
je 0x4013f1
cmp eax, 0x80092003
je 0x4013f1
cmp dword [esp + 0x5c], 8
jb 0x4013ed
push dword [esp + 0x48]
call fcn.0040bdcf
add esp, 4
xor bl, bl
jmp 0x40140f
lea ecx, [esp + 0x14]
call fcn.00407a60
cmp dword [esp + 0x5c], 8
mov bl, al
jb 0x40140f
push dword [esp + 0x48]
call fcn.0040bdcf
add esp, 4
test bl, bl
sete bl
cmp dword [esp + 0x28], 8
jb 0x401427
push dword [esp + 0x14]
call fcn.0040bdcf
add esp, 4
test bl, bl
je 0x40145b
push 0x10
push str.y20glufohptqje37
push str.Verification_of_your_TeamViewer_Note_version_failed__nTeamViewer_Note_will_quit_for_security_reasons._Please_reinstall_TeamViewer.
push 0
call dword [sym.imp.user32.dll_MessageBoxW]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.0040bdd4
mov esp, ebp
pop ebp
ret 0x10
call fcn.004093e0
push 0xc
xor eax, eax
mov dword [esp + 0x60], 7
push str.dvsev2l1tdkmk
lea ecx, [esp + 0x50]
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
call fcn.00402c30
cmp dword [esp + 0x5c], 8
lea eax, [esp + 0x48]
mov edi, dword [sym.imp.kernel32.dll_LoadLibraryExW]
cmovae eax, dword [esp + 0x48]
push 0x800
push 0
push eax
call edi
mov esi, eax
test esi, esi
jne 0x4014de
lea edx, [esp + 0x48]
lea ecx, [esp + 0x14]
call fcn.00408920
cmp dword [eax + 0x14], 8
jb 0x4014c0
mov eax, dword [eax]
push 0
push 0
push eax
call edi
cmp dword [esp + 0x28], 8
mov esi, eax
jb 0x4014dc
push dword [esp + 0x14]
call fcn.0040bdcf
add esp, 4
test esi, esi
sete bl
cmp dword [esp + 0x5c], 8
jb 0x4014f4
push dword [esp + 0x48]
call fcn.0040bdcf
add esp, 4
test bl, bl
je 0x401519
call fcn.00409150
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.0040bdd4
mov esp, ebp
pop ebp
ret 0x10
push dword [esp + 0x10]
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x64]
xorps xmm0, xmm0
mov edx, esi
movq qword [esp + 0x64], xmm0
call fcn.00403d70
add esp, 4
push 0x6d
push esi
call dword [sym.imp.user32.dll_LoadAcceleratorsW]
mov esi, dword [esp + 0x60]
sub esp, 8
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.00401630
test eax, eax
jne 0x401563
call fcn.00409150
mov ebx, 1
jmp 0x4015d1
push dword [ebp + 0x14]
push dword [esi + 4]
call dword [sym.imp.user32.dll_ShowWindow]
mov esi, dword [sym.imp.user32.dll_GetMessageW]
lea eax, [esp + 0x2c]
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x4015c8
mov edi, dword [sym.imp.user32.dll_TranslateMessage]
mov ebx, dword [sym.imp.user32.dll_DispatchMessageW]
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x10]
push dword [esp + 0x34]
call dword [sym.imp.user32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x4015b7
lea eax, [esp + 0x2c]
push eax
call edi
lea eax, [esp + 0x2c]
push eax
call ebx
push 0
push 0
push 0
lea eax, [esp + 0x38]
push eax
call esi
test eax, eax
jne 0x401592
call fcn.00409150
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x64]
test esi, esi
je 0x4015fe
or edi, 0xffffffff
lea ecx, [esi + 4]
mov eax, edi
lock xadd dword [ecx], eax
jne 0x4015fe
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x4015fe
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov ecx, dword [esp + 0x274]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040bdd4
mov esp, ebp
pop ebp
ret 0x10