Function at 0x40d6d0
Capabilities:
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [0x520404]
xor eax, esp
mov dword [esp + 0x84], eax
mov edx, dword [ebp + 0x14]
push esi
mov esi, ecx
mov dword [esp + 0x10], edx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x1c], esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], edi
cmp ecx, 0x100
ja 0x40dd78
je 0x40dcb2
lea eax, [ecx - 1]
cmp eax, 0x85
ja case.0x40e64d.34772
movzx eax, byte [eax + 0x40e728]
jmp dword [eax*4 + 0x40e6ec]
sub esp, 0x10
mov ecx, esi
call fcn.0040fd70
mov ecx, dword [esp + 0x14]
jmp 0x40da8d
mov ecx, dword [esi + 0xb4]
test ecx, ecx
je 0x40d767
push 0
push 0
push ecx
mov dword [esp], 0
push 0
push 0
push 0
push 0xb
call fcn.0043c4c0
mov ecx, dword [esi + 0xb8]
test ecx, ecx
je 0x40d78a
push 0
push 0
push ecx
mov dword [esp], 0
push 0
push 0
push 0
push 0xe
call fcn.0043c4c0
mov ecx, dword [esi + 0xc8]
test ecx, ecx
je 0x40d7ad
push 0
push 0
push ecx
mov dword [esp], 0
push 0
push 0
push 0
push 0xe
call fcn.0043c4c0
mov ecx, dword [esi + 0xd4]
test ecx, ecx
je 0x40d7d0
push 0
push 0
push ecx
mov dword [esp], 0
push 0
push 0
push 0
push 0xe
call fcn.0043c4c0
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi + 0xac]
test ecx, ecx
je 0x40d81a
push 0
push 0
push ecx
mov dword [esp], 0
push 0
push 0
push 0
push 0xfffffc1b
call fcn.0043c4c0
mov eax, dword [esi + 0xac]
mov ecx, esi
push 0
push 0
push 0x20
push eax
mov dword [esi + 0xac], 0
call fcn.0040ef60
mov ecx, dword [esp + 0x14]
jmp 0x40da8b
mov eax, 1
mov dword [edx], eax
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004a7f4e
mov esp, ebp
pop ebp
ret 0x10
mov ecx, esi
call fcn.0040f000
mov ecx, dword [esp + 0x14]
mov dword [ecx], 1
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004a7f4e
mov esp, ebp
pop ebp
ret 0x10
push edx
push edi
push dword [ebp + 0xc]
push ecx
mov ecx, esi
call fcn.00410740
mov ecx, dword [esp + 0x14]
jmp 0x40da8d
mov eax, dword [esi + 0xc8]
test eax, eax
mov edx, dword [esi + 0xb8]
mov ecx, dword [esi + 0xd4]
cmovne edx, eax
mov eax, edi
mov dword [esp + 0x20], ecx
shr eax, 0x10
cwde
mov dword [esp + 0x2c], eax
mov dword [esi + 0xc4], eax
test ecx, ecx
je 0x40d8bd
movsx edx, di
mov dword [esp + 0x28], edx
mov dword [esi + 0xc0], edx
jmp 0x40d8d4
movsx ecx, di
mov dword [esp + 0x28], ecx
mov dword [esi + 0xc0], ecx
mov ecx, edx
mov dword [esp + 0x20], edx
test edx, edx
je 0x40d930
cmp byte [ecx + 0x24], 0
je 0x40d930
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esp + 0x28]
sub esp, 8
mov eax, esp
mov byte [esi + 0xe3], 0
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
push ecx
mov dword [esp], 0
push 0
push edi
push dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
push 0xe
call fcn.0043c4c0
mov dword [esi + 0xb8], 0
mov dword [esi + 0xc8], 0
mov dword [esi + 0xd4], 0
mov ecx, dword [esp + 0x14]
jmp 0x40da8b
movsx eax, di
mov dword [esp + 0x18], eax
mov eax, edi
shr eax, 0x10
cwde
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [esi + 0xb8], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0xc0], eax
mov dword [esi + 0xc4], ecx
je 0x40d9bc
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esp + 0x18]
sub esp, 8
mov ecx, esp
mov byte [esi + 0xe3], 0
mov dword [ecx], eax
mov eax, dword [esp + 0x24]
mov dword [ecx + 4], eax
mov ecx, dword [esi + 0xb8]
push ecx
mov dword [esp], 0
push 0
push ecx
push dword [ebp + 0xc]
push 0xfffffc19
call fcn.0043c4c0
mov dword [esi + 0xb8], 0
mov ecx, dword [esp + 0x14]
jmp 0x40da8b
cmp di, 1
jne case.0x40e64d.34772
cmp dword [esi + 0xb8], 0
jne 0x40da83
cmp dword [esi + 0xc8], 0
jne 0x40da83
cmp dword [esi + 0xd4], 0
jne 0x40da83
lea eax, [esp + 0x18]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x1c], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0x18]
push eax
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x18]
mov eax, dword [esp + 0x18]
mov dword [esi + 0xc4], ecx
mov ecx, dword [esi + 0x10]
push 0
push 0
mov dword [esi + 0xc0], eax
mov eax, dword [ecx]
push 0xd
push edx
push 0x411a80
mov eax, dword [eax + 0x60]
call eax
test eax, eax
je 0x40d81a
mov ecx, dword [esp + 0x18]
sub esp, 8
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [esp + 0x24]
push ecx
mov dword [esp], 0
push 0
push edi
push dword [ebp + 0xc]
mov dword [edx + 4], ecx
mov ecx, eax
push 0x24
call fcn.0043c4c0
mov ecx, dword [esp + 0x14]
mov dword [ecx], 1
jmp 0x40da8b
mov dword [edx], 1
mov ecx, edx
xor eax, eax
cmp dword [ecx], 0
jne 0x40daa8
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0xc]
push dword [sym.imp.USER32.dll_DefWindowProcW]
call dword [sym.imp.USER32.dll_CallWindowProcW]
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004a7f4e
mov esp, ebp
pop ebp
ret 0x10
test edi, edi
je case.0x40d72a.133
push edi
push dword [ebp + 0xc]
lea eax, [ecx + 0x2000]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x14]
jmp 0x40da8d
mov dword [edx], 1
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004a7f4e
mov esp, ebp
pop ebp
ret 0x10
lea eax, [esp + 0x50]
xorps xmm0, xmm0
push eax
push 2
push dword [esi + 0xc]
movaps xmmword [esp + 0x5c], xmm0
movaps xmmword [esp + 0x6c], xmm0
movq qword [esp + 0x7c], xmm0
mov dword [esp + 0x5c], 0x28
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x58]
neg eax
push eax
mov eax, dword [esp + 0x58]
neg eax
push eax
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
sub eax, ecx
mov dword [edi + 8], eax
mov eax, dword [esp + 0x4c]
sub eax, edx
mov dword [edi + 0x10], ecx
mov dword [edi + 0xc], eax
mov ecx, esi
lea eax, [esp + 0x30]
mov dword [edi + 0x14], edx
push eax
call fcn.0040d620
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x24]
mov edx, dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x1f0]
mov dword [esp + 0x2c], ecx
cmp ecx, 0x64
je 0x40dbd8
push 0x64
push ecx
push eax
call edx
push 0x64
push dword [esp + 0x30]
mov dword [esp + 0x20], eax
push dword [esp + 0x30]
mov eax, dword [sym.imp.KERNEL32.dll_MulDiv]
call eax
mov edx, dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
add ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
add eax, ecx
mov ecx, dword [esp + 0x3c]
lea ecx, [ecx + esi]
mov esi, dword [esp + 0x28]
lea ecx, [ecx + esi]
mov esi, dword [esp + 0x20]
je 0x40dbfd
mov dword [edi + 0x20], eax
test ecx, ecx
je 0x40dc04
mov dword [edi + 0x24], ecx
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x1f0]
mov dword [esp + 0x18], ecx
cmp ecx, 0x64
je 0x40dc41
push 0x64
push ecx
push eax
call edx
mov edx, dword [esp + 0x28]
push 0x64
push dword [esp + 0x1c]
mov dword [esp + 0x28], eax
mov eax, dword [sym.imp.KERNEL32.dll_MulDiv]
push edx
call eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
add ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
add eax, ecx
mov ecx, dword [esp + 0x3c]
lea ecx, [ecx + edx]
mov edx, dword [esp + 0x28]
lea ecx, [ecx + edx]
je 0x40dc62
mov dword [edi + 0x18], eax
test ecx, ecx
je 0x40dc69
mov dword [edi + 0x1c], ecx
mov ecx, dword [esp + 0x14]
mov dword [ecx], 0
jmp 0x40da92
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_IsIconic]
mov ecx, dword [esp + 0x14]
neg eax
sbb eax, eax
inc eax
mov dword [ecx], eax
xor eax, eax
cmp dword [ebp + 0xc], eax
sete al
mov dword [esp + 0x18], eax
jmp 0x40da8d
push edx
push edi
sub esp, 8
mov ecx, esi
call fcn.00411350
mov ecx, dword [esp + 0x14]
jmp 0x40da8d
mov ecx, dword [esi + 0xac]
test ecx, ecx
je 0x40d81a
mov eax, dword [ebp + 0xc]
cmp eax, 9
jne 0x40dd53
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x40dd31
mov ecx, dword [esi + 0xac]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x40dd31
push 0
push 0x5219c0
push 0x5219fc
push 0
push dword [esi + 0xac]
call fcn.004ada2c
add esp, 0x14
test eax, eax
je 0x40dd31
push 0
push 0x5219c0
push 0x5219fc
push 0
push dword [esi + 0xac]
call fcn.004ada2c
add esp, 0x14
cmp byte [eax + 0x33d], 0
jne 0x40d81a
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.0040ebb0
mov ecx, dword [esp + 0x14]
jmp 0x40da8b
push 0
push 0
push ecx
mov dword [esp], 0
push eax
push edi
push eax
push 3
mov dword [esi + 0xbc], ecx
call fcn.0043c4c0
mov ecx, dword [esp + 0x14]
jmp 0x40da8b
cmp ecx, 0x231
ja 0x40e394
je 0x40e4d5
cmp ecx, 0x10d
ja 0x40de3f
je 0x40de0f
sub ecx, 0x101
je 0x40ddd9
sub ecx, 1
jne case.0x40e64d.34772
mov ecx, dword [esi + 0xac]
test ecx, ecx
je 0x40d81a
mov eax, dword [ebp + 0xc]
push 0
push 0
push ecx
mov dword [esp], 0
push eax
push edi
push eax
push 5
call fcn.0043c4c0
mov ecx, dword [esp + 0x14]
jmp 0x40da8b
mov ecx, dword [esi + 0xbc]
test ecx, ecx
je 0x40de06
mov eax, dword [ebp + 0xc]
push 0
push 0
push ecx
mov dword [esp], 0
push eax
push edi
push eax
push 4
call fcn.0043c4c0
mov dword [esi + 0xbc], 0
mov ecx, dword [esp + 0x14]
jmp 0x40da8b
mov ecx, dword [esi + 0xac]
test ecx, ecx
je 0x40d81a
mov eax, dword [ebp + 0xc]
push 0
push 0
push ecx
mov dword [esp], 0
push eax
push edi
push eax
push 0x21
call fcn.0043c4c0
mov ecx, dword [esp + 0x14]
jmp 0x40da8b
lea eax, [ecx - 0x10e]
cmp eax, 0xfc
ja case.0x40e64d.34772
movzx eax, byte [eax + 0x40e7dc]
jmp dword [eax*4 + 0x40e7b0]
cmp dword [esi + 0xc8], 0
jne 0x40d81a
cmp dword [esi + 0xd4], 0
jne 0x40d81a
cmp byte [esi + 0xe2], 0
jne 0x40decf
mov eax, dword [esi + 0xc]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x78]
mov dword [esp + 0x30], 0x10
mov dword [esp + 0x34], 3
test eax, eax
jne 0x40dea9
mov dword [esp + 0x3c], 0x190
jmp 0x40debd
push 0
push 3
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [esi + 0xe2], 1
mov eax, edi
movsx edx, di
shr eax, 0x10
cmp byte [esi + 0xe3], 0
cwde
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov dword [esi + 0xc0], edx
mov dword [esi + 0xc4], eax
jne 0x40df11
push edi
push dword [ebp + 0xc]
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.0040e9d0
test al, al
je 0x40d81a
mov edx, dword [esp + 0x18]
cmp dword [esi + 0xb8], 0
je 0x40df31
sub esp, 8
mov ecx, esp
push ecx
mov dword [ecx], edx
mov eax, dword [esp + 0x28]
mov dword [ecx + 4], eax
mov ecx, dword [esi + 0xb8]
jmp 0x40df53
cmp dword [esi + 0xb0], 0
je 0x40d81a
sub esp, 8
mov ecx, esp
push ecx
mov dword [ecx], edx
mov eax, dword [esp + 0x28]
mov dword [ecx + 4], eax
mov ecx, dword [esi + 0xb0]
mov dword [esp], 0
push 0
push edi
push dword [ebp + 0xc]
push 9
call fcn.0043c4c0
mov ecx, dword [esp + 0x14]
jmp 0x40da8b
cmp dword [esi + 0xc8], 0
jne 0x40d81a
cmp dword [esi + 0xd4], 0
jne 0x40d81a
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetFocus]
movsx ecx, di
lea edx, [esp + 0x20]
mov dword [esp + 0x20], ecx
mov eax, edi
shr eax, 0x10
mov dword [esi + 0xc0], ecx
mov ecx, dword [esi + 0x10]
cwde
push 0
push 0
mov dword [esp + 0x2c], eax
mov dword [esi + 0xc4], eax
mov eax, dword [ecx]
push 0xd
push edx
push 0x411a80
mov eax, dword [eax + 0x60]
call eax
mov dword [esp + 0x18], eax
test eax, eax
je 0x40d81a
cmp dword [eax + 0x288], esi
jne 0x40d81a
mov dword [esi + 0xb8], eax
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x48]
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [esp + 0x20]
sub esp, 8
mov ecx, esp
mov byte [esi + 0xe3], 1
push ecx
mov dword [esp], 0
push 0
push edi
push dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 4], eax
mov ecx, dword [esp + 0x30]
push 0xd
call fcn.0043c4c0
mov ecx, dword [esp + 0x14]
jmp 0x40da8b
cmp dword [esi + 0xc8], 0
jne 0x40d81a
cmp dword [esi + 0xd4], 0
jne 0x40d81a
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetFocus]
movsx ecx, di
lea edx, [esp + 0x20]
mov dword [esp + 0x20], ecx
mov eax, edi
shr eax, 0x10
mov dword [esi + 0xc0], ecx
mov ecx, dword [esi + 0x10]
cwde
push 0
push 0
mov dword [esp + 0x2c], eax
mov dword [esi + 0xc4], eax
mov eax, dword [ecx]
push 0xd
push edx
push 0x411a80
mov eax, dword [eax + 0x60]
call eax
mov dword [esp + 0x18], eax
test eax, eax
je 0x40d81a
cmp dword [eax + 0x288], esi
jne 0x40d81a
mov dword [esi + 0xb8], eax
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x48]
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [esp + 0x20]
sub esp, 8
mov ecx, esp
mov byte [esi + 0xe3], 1
push ecx
mov dword [esp], 0
push 0
push edi
push dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 4], eax
mov ecx, dword [esp + 0x30]
push 0xf
call fcn.0043c4c0
mov ecx, dword [esp + 0x14]
jmp 0x40da8b
cmp dword [esi + 0xc8], 0
jne 0x40d81a
cmp dword [esi + 0xd4], 0
jne 0x40d81a
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetFocus]
movsx ecx, di
lea edx, [esp + 0x20]
mov dword [esp + 0x20], ecx
mov eax, edi
shr eax, 0x10
mov dword [esi + 0xc0], ecx
mov ecx, dword [esi + 0x10]
cwde
push 0
push 0
mov dword [esp + 0x2c], eax
mov dword [esi + 0xc4], eax
mov eax, dword [ecx]
push 0xd
push edx
push 0x411a80
mov eax, dword [eax + 0x60]
call eax
mov dword [esp + 0x18], eax
test eax, eax
je 0x40d81a
cmp dword [eax + 0x288], esi
jne 0x40d81a
push dword [esi + 0xc]
mov dword [esi + 0xb8], eax
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [esp + 0x20]
sub esp, 8
mov ecx, esp
mov byte [esi + 0xe3], 1
push ecx
mov dword [esp], 0
push 0
push edi
push dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 4], eax
mov ecx, dword [esp + 0x30]
push 0xfffffc18
call fcn.0043c4c0
mov ecx, dword [esp + 0x14]
jmp 0x40da8b
mov eax, edi
movsx ecx, di
shr eax, 0x10
cwde
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], eax
mov dword [esi + 0xc0], ecx
mov dword [esi + 0xc4], eax
call dword [sym.imp.USER32.dll_ReleaseCapture]
cmp dword [esi + 0xb8], 0
mov byte [esi + 0xe3], 0
je 0x40d9bc
mov ecx, dword [esp + 0x18]
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
push ecx
mov dword [esp], 0
push 0
push edi
push dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0xb8]
push 0xe
jmp 0x40d9ad
mov eax, edi
movsx ecx, di
shr eax, 0x10
cwde
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], eax
mov dword [esi + 0xc0], ecx
mov dword [esi + 0xc4], eax
call dword [sym.imp.USER32.dll_ReleaseCapture]
cmp dword [esi + 0xb8], 0
mov byte [esi + 0xe3], 0
je 0x40d81a
mov ecx, dword [esp + 0x18]
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
push ecx
mov dword [esp], 0
push 0
push edi
push dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0xb8]
push 0x10
call fcn.0043c4c0
mov ecx, dword [esp + 0x14]
jmp 0x40da8b
mov ecx, dword [esi + 0xac]
test ecx, ecx
je 0x40d81a
mov eax, dword [ebp + 0xc]
push 0
push 0
push ecx
mov dword [esp], 0
push eax
push edi
push eax
push 0x22
call fcn.0043c4c0
mov ecx, dword [esp + 0x14]
jmp 0x40da8b
movsx eax, di
mov dword [esp + 0x18], eax
mov eax, edi
shr eax, 0x10
cwde
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x18]
mov eax, dword [esp + 0x18]
mov dword [esi + 0xc4], ecx
mov ecx, dword [esi + 0x10]
push 0
push 0
mov dword [esi + 0xc0], eax
mov eax, dword [ecx]
push 0xd
push edx
push 0x411a80
mov eax, dword [eax + 0x60]
call eax
mov ecx, eax
test ecx, ecx
je 0x40d81a
cmp dword [ecx + 0x288], esi
jne 0x40d81a
mov eax, dword [ebp + 0xc]
push 0
push 0
push ecx
mov dword [esp], 0
push 0
shr eax, 0x10
push edi
cwde
push eax
push 0x13
call fcn.0043c4c0
mov ecx, dword [esp + 0x14]
jmp 0x40da8b
test edi, edi
je case.0x40e64d.34772
push edi
push dword [ebp + 0xc]
lea eax, [ecx + 0x2000]
mov dword [edx], 1
push eax
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x14]
jmp 0x40da8d
cmp dword [ebp + 0xc], 0xf060
jne 0x40d81a
push 0
push 0
push 0x10
mov dword [edx], 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0x14]
jmp 0x40da8b
cmp ecx, 0x8001
ja 0x40e526
je 0x40e507
lea eax, [ecx - 0x232]
cmp eax, 0xae
ja case.0x40e64d.34772
movzx eax, byte [eax + 0x40e8f8]
jmp dword [eax*4 + 0x40e8dc]
mov eax, dword [ebp + 0xc]
push 0x60
push 0x64
movzx eax, ax
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esi + 0x1f0], eax
mov ecx, dword [edi + 4]
mov eax, dword [edi + 0xc]
mov edx, dword [edi]
sub eax, ecx
push 0x14
push eax
mov eax, dword [edi + 8]
sub eax, edx
push eax
push ecx
push edx
push 0
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push 0
push 5
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0x14]
jmp 0x40da8b
push edx
push edi
sub esp, 8
mov ecx, esi
call fcn.00410900
mov ecx, dword [esp + 0x14]
jmp 0x40da8d
mov ecx, dword [esi + 0x78]
mov edx, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x40e44a
lea eax, [esi + 0x7c]
push eax
push 0
push 0x411
push ecx
call edx
mov edx, dword [sym.imp.USER32.dll_SendMessageW]
cmp byte [esi + 0xe2], 0
je 0x40e461
push 0xffffffffffffffff
push 0
push 0x200
push dword [esi + 0xc]
call edx
mov ecx, dword [esp + 0x14]
mov byte [esi + 0xe2], 0
jmp 0x40da8b
push ecx
push edi
push dword [ebp + 0xc]
push ecx
mov ecx, esi
call fcn.00410ba0
mov ecx, dword [esp + 0x14]
jmp 0x40da8d
push edx
push edi
push dword [ebp + 0xc]
push ecx
mov ecx, esi
call fcn.00410ed0
mov ecx, dword [esp + 0x14]
jmp 0x40da8d
sub ecx, 0x83
je 0x40e4e8
sub ecx, 0x1ae
je 0x40e4d5
sub ecx, 1
jne 0x40d9bc
push 0x37
push ecx
push ecx
push ecx
push ecx
push ecx
push dword [esi + 0xc]
mov dword [esi + 0x258], ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x14]
jmp 0x40da8b
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x258], 1
jmp 0x40da8b
cmp dword [esi + 0x258], 0
je 0x40e4f8
test edi, edi
je 0x40e4f8
inc dword [edi + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [edx], 1
jmp 0x40da8b
xor eax, eax
mov ecx, edx
cmp dword [ebp + 0xc], eax
je 0x40e51b
mov dword [esi + 0x1f8], edi
jmp 0x40da8d
mov edi, dword [esi + 0x1f8]
jmp 0x40da8d
cmp ecx, 0x87d1
ja 0x40e63e
je 0x40e62e
add ecx, 0xffff7ffe
cmp ecx, 3
ja case.0x40e64d.34772
jmp dword [ecx*4 + 0x40e9a8]
test edi, edi
je 0x40d851
push 0
push 0x521a20
push 0x5219fc
push 0
push edi
mov ecx, esi
call fcn.0040ed00
push eax
call fcn.004ada2c
add esp, 0x14
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004a7f4e
mov esp, ebp
pop ebp
ret 0x10
test edi, edi
je 0x40d851
push 0
push 0x521a20
push 0x5219fc
push 0
push edi
mov ecx, esi
call fcn.0040ece0
push eax
call fcn.004ada2c
mov ecx, dword [esp + 0xa0]
add esp, 0x14
pop edi
pop esi
xor ecx, esp
call fcn.004a7f4e
mov esp, ebp
pop ebp
ret 0x10
test edi, edi
je case.0x40e64d.34772
cmp dword [ebp + 0xc], 0
mov ecx, edx
je 0x40e601
mov eax, dword [edi]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x3c], eax
movups xmm0, xmmword [esp + 0x30]
movups xmmword [esi + 0x4c], xmm0
jmp 0x40da8b
movups xmm0, xmmword [esi + 0x4c]
movups xmmword [edi], xmm0
jmp 0x40da8b
test edi, edi
je case.0x40e64d.34772
cmp dword [ebp + 0xc], 0
mov ecx, edx
jne 0x40da8b
mov eax, dword [esi + 0x1f0]
mov dword [edi], eax
jmp 0x40da8b
mov ecx, esi
call fcn.0040fd20
mov ecx, dword [esp + 0x14]
jmp 0x40da8b
add ecx, 0xffff782e
cmp ecx, 4
ja case.0x40e64d.34772
jmp dword [ecx*4 + 0x40e9b8]
cmp dword [esi + 0x250], 0
je 0x40d9bc
cmp dword [esi + 0x254], 0
je 0x40d9bc
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_IsZoomed]
mov ecx, dword [esi + 0x250]
mov edi, eax
mov esi, dword [ecx + 4]
add ecx, 4
test edi, edi
sete dl
movzx edx, dl
push edx
call dword [esi + 0x28]
mov esi, dword [esp + 0x20]
mov ecx, dword [esi + 0x254]
add ecx, 4
test edi, edi
setne al
movzx eax, al
mov edx, dword [ecx]
push eax
call dword [edx + 0x28]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
jmp 0x40da8b
mov dword [esi + 0x1f4], edi
jmp case.0x40e64d.34772
mov ecx, dword [esi + 0x10]
push 0
call fcn.0043a870
mov ecx, dword [esp + 0x14]
jmp 0x40da8b
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x90]
mov ecx, dword [esp + 0x14]
jmp 0x40da8b