Function at 0x40dad0
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 [0x51a3c4]
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 + 0x28], esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], edi
cmp ecx, 0x100
ja 0x40e17a
je 0x40e0b4
lea eax, [ecx - 1]
cmp eax, 0x85
ja case.0x40e9ce.34772
movzx eax, byte [eax + 0x40eaa8]
jmp dword [eax*4 + 0x40ea6c]
sub esp, 0x10
mov ecx, esi
call fcn.00410090
mov ecx, dword [esp + 0x14]
jmp 0x40de8f
mov ecx, dword [esi + 0xb4]
test ecx, ecx
je 0x40db67
push 0
push 0
push ecx
mov dword [esp], 0
push 0
push 0
push 0
push 0xb
call fcn.00438d70
mov ecx, dword [esi + 0xb8]
test ecx, ecx
je 0x40db8a
push 0
push 0
push ecx
mov dword [esp], 0
push 0
push 0
push 0
push 0xe
call fcn.00438d70
mov ecx, dword [esi + 0xc8]
test ecx, ecx
je 0x40dbad
push 0
push 0
push ecx
mov dword [esp], 0
push 0
push 0
push 0
push 0xe
call fcn.00438d70
mov ecx, dword [esi + 0xd4]
test ecx, ecx
je 0x40dbd0
push 0
push 0
push ecx
mov dword [esp], 0
push 0
push 0
push 0
push 0xe
call fcn.00438d70
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi + 0xac]
test ecx, ecx
je 0x40dc1a
push 0
push 0
push ecx
mov dword [esp], 0
push 0
push 0
push 0
push 0xfffffc1b
call fcn.00438d70
mov eax, dword [esi + 0xac]
mov ecx, esi
push 0
push 0
push 0x20
push eax
mov dword [esi + 0xac], 0
call fcn.0040f2d0
push 4
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x40dc30
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esp + 0x14]
jmp 0x40de8d
mov eax, 1
mov dword [edx], eax
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004a44be
mov esp, ebp
pop ebp
ret 0x10
mov ecx, esi
call fcn.0040f370
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.004a44be
mov esp, ebp
pop ebp
ret 0x10
push edx
push edi
push dword [ebp + 0xc]
push ecx
mov ecx, esi
call fcn.004108f0
mov ecx, dword [esp + 0x14]
jmp 0x40de8f
mov eax, dword [esi + 0xc8]
test eax, eax
mov ecx, dword [esi + 0xb8]
cmovne ecx, eax
movsx edx, di
mov eax, dword [esi + 0xd4]
test eax, eax
mov dword [esp + 0x2c], edx
cmovne ecx, eax
mov dword [esi + 0xc0], edx
mov eax, edi
mov dword [esp + 0x20], ecx
shr eax, 0x10
cwde
mov dword [esp + 0x28], eax
mov dword [esi + 0xc4], eax
test ecx, ecx
je 0x40dd32
cmp byte [ecx + 0x24], 0
je 0x40dd32
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esp + 0x2c]
sub esp, 8
mov eax, esp
mov byte [esi + 0xe3], 0
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
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.00438d70
mov dword [esi + 0xb8], 0
mov dword [esi + 0xc8], 0
mov dword [esi + 0xd4], 0
mov ecx, dword [esp + 0x14]
jmp 0x40de8d
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 0x40ddbe
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.00438d70
mov dword [esi + 0xb8], 0
mov ecx, dword [esp + 0x14]
jmp 0x40de8d
cmp di, 1
jne case.0x40e9ce.34772
cmp dword [esi + 0xb8], 0
jne 0x40de85
cmp dword [esi + 0xc8], 0
jne 0x40de85
cmp dword [esi + 0xd4], 0
jne 0x40de85
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 0x411bf0
mov eax, dword [eax + 0x60]
call eax
test eax, eax
je 0x40dc30
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.00438d70
mov ecx, dword [esp + 0x14]
mov dword [ecx], 1
jmp 0x40de8d
mov dword [edx], 1
mov ecx, edx
xor eax, eax
cmp dword [ecx], 0
jne 0x40deaa
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.004a44be
mov esp, ebp
pop ebp
ret 0x10
test edi, edi
je case.0x40db2a.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 0x40de8f
mov dword [edx], 1
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004a44be
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.0040da20
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 + 0x1e0]
mov dword [esp + 0x20], ecx
cmp ecx, 0x64
je 0x40dfda
push 0x64
push ecx
push eax
call edx
push 0x64
push dword [esp + 0x24]
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 + 0x2c]
je 0x40dfff
mov dword [edi + 0x20], eax
test ecx, ecx
je 0x40e006
mov dword [edi + 0x24], ecx
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x1e0]
mov dword [esp + 0x18], ecx
cmp ecx, 0x64
je 0x40e043
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 0x40e064
mov dword [edi + 0x18], eax
test ecx, ecx
je 0x40e06b
mov dword [edi + 0x1c], ecx
mov ecx, dword [esp + 0x14]
mov dword [ecx], 0
jmp 0x40de94
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 0x40de8f
push edx
push edi
sub esp, 8
mov ecx, esi
call fcn.00411500
mov ecx, dword [esp + 0x14]
jmp 0x40de8f
mov ecx, dword [esi + 0xac]
test ecx, ecx
je 0x40dc30
mov eax, dword [ebp + 0xc]
cmp eax, 9
jne 0x40e155
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x40e133
mov ecx, dword [esi + 0xac]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x40e133
push 0
push 0x51b9b4
push 0x51b9f0
push 0
push dword [esi + 0xac]
call fcn.004aa04c
add esp, 0x14
test eax, eax
je 0x40e133
push 0
push 0x51b9b4
push 0x51b9f0
push 0
push dword [esi + 0xac]
call fcn.004aa04c
add esp, 0x14
cmp byte [eax + 0x32d], 0
jne 0x40dc30
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.0040ef20
mov ecx, dword [esp + 0x14]
jmp 0x40de8d
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.00438d70
mov ecx, dword [esp + 0x14]
jmp 0x40de8d
cmp ecx, 0x231
ja 0x40e796
je 0x40e8d7
cmp ecx, 0x10d
ja 0x40e241
je 0x40e211
sub ecx, 0x101
je 0x40e1db
sub ecx, 1
jne case.0x40e9ce.34772
mov ecx, dword [esi + 0xac]
test ecx, ecx
je 0x40dc30
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.00438d70
mov ecx, dword [esp + 0x14]
jmp 0x40de8d
mov ecx, dword [esi + 0xbc]
test ecx, ecx
je 0x40e208
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.00438d70
mov dword [esi + 0xbc], 0
mov ecx, dword [esp + 0x14]
jmp 0x40de8d
mov ecx, dword [esi + 0xac]
test ecx, ecx
je 0x40dc30
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.00438d70
mov ecx, dword [esp + 0x14]
jmp 0x40de8d
lea eax, [ecx - 0x10e]
cmp eax, 0xfc
ja case.0x40e9ce.34772
movzx eax, byte [eax + 0x40eb5c]
jmp dword [eax*4 + 0x40eb30]
cmp dword [esi + 0xc8], 0
jne 0x40dc30
cmp dword [esi + 0xd4], 0
jne 0x40dc30
cmp byte [esi + 0xe2], 0
jne 0x40e2d1
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 0x40e2ab
mov dword [esp + 0x3c], 0x190
jmp 0x40e2bf
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 0x40e313
push edi
push dword [ebp + 0xc]
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.0040ed40
test al, al
je 0x40dc30
mov edx, dword [esp + 0x18]
cmp dword [esi + 0xb8], 0
je 0x40e333
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 0x40e355
cmp dword [esi + 0xb0], 0
je 0x40dc30
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.00438d70
mov ecx, dword [esp + 0x14]
jmp 0x40de8d
cmp dword [esi + 0xc8], 0
jne 0x40dc30
cmp dword [esi + 0xd4], 0
jne 0x40dc30
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 0x411bf0
mov eax, dword [eax + 0x60]
call eax
mov dword [esp + 0x18], eax
test eax, eax
je 0x40dc30
cmp dword [eax + 0x278], esi
jne 0x40dc30
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.00438d70
mov ecx, dword [esp + 0x14]
jmp 0x40de8d
cmp dword [esi + 0xc8], 0
jne 0x40dc30
cmp dword [esi + 0xd4], 0
jne 0x40dc30
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 0x411bf0
mov eax, dword [eax + 0x60]
call eax
mov dword [esp + 0x18], eax
test eax, eax
je 0x40dc30
cmp dword [eax + 0x278], esi
jne 0x40dc30
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.00438d70
mov ecx, dword [esp + 0x14]
jmp 0x40de8d
cmp dword [esi + 0xc8], 0
jne 0x40dc30
cmp dword [esi + 0xd4], 0
jne 0x40dc30
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 0x411bf0
mov eax, dword [eax + 0x60]
call eax
mov dword [esp + 0x18], eax
test eax, eax
je 0x40dc30
cmp dword [eax + 0x278], esi
jne 0x40dc30
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.00438d70
mov ecx, dword [esp + 0x14]
jmp 0x40de8d
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 0x40ddbe
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 0x40ddaf
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 0x40dc30
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.00438d70
mov ecx, dword [esp + 0x14]
jmp 0x40de8d
mov ecx, dword [esi + 0xac]
test ecx, ecx
je 0x40dc30
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.00438d70
mov ecx, dword [esp + 0x14]
jmp 0x40de8d
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 0x411bf0
mov eax, dword [eax + 0x60]
call eax
mov ecx, eax
test ecx, ecx
je 0x40dc30
cmp dword [ecx + 0x278], esi
jne 0x40dc30
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.00438d70
mov ecx, dword [esp + 0x14]
jmp 0x40de8d
test edi, edi
je case.0x40e9ce.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 0x40de8f
cmp dword [ebp + 0xc], 0xf060
jne 0x40dc30
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 0x40de8d
cmp ecx, 0x8001
ja 0x40e914
je 0x40e909
lea eax, [ecx - 0x232]
cmp eax, 0xae
ja case.0x40e9ce.34772
movzx eax, byte [eax + 0x40ec78]
jmp dword [eax*4 + 0x40ec5c]
mov eax, dword [ebp + 0xc]
push 0x60
push 0x64
movzx eax, ax
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esi + 0x1e0], 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 0x40de8d
push edx
push edi
sub esp, 8
mov ecx, esi
call fcn.00410ab0
mov ecx, dword [esp + 0x14]
jmp 0x40de8f
mov ecx, dword [esi + 0x78]
mov edx, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x40e84c
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 0x40e863
push 0xffffffffffffffff
push 0
push 0x200
push dword [esi + 0xc]
call edx
mov ecx, dword [esp + 0x14]
mov byte [esi + 0xe2], 0
jmp 0x40de8d
push ecx
push edi
push dword [ebp + 0xc]
push ecx
mov ecx, esi
call fcn.00410d50
mov ecx, dword [esp + 0x14]
jmp 0x40de8f
push edx
push edi
push dword [ebp + 0xc]
push ecx
mov ecx, esi
call fcn.00411080
mov ecx, dword [esp + 0x14]
jmp 0x40de8f
sub ecx, 0x83
je 0x40e8ea
sub ecx, 0x1ae
je 0x40e8d7
sub ecx, 1
jne 0x40ddbe
push 0x37
push ecx
push ecx
push ecx
push ecx
push ecx
push dword [esi + 0xc]
mov dword [esi + 0x248], ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x14]
jmp 0x40de8d
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x248], 1
jmp 0x40de8d
cmp dword [esi + 0x248], 0
je 0x40e8fa
test edi, edi
je 0x40e8fa
inc dword [edi + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [edx], 1
jmp 0x40de8d
mov dword [esi + 0x1e8], edi
jmp case.0x40e9ce.34772
cmp ecx, 0x87d1
ja 0x40e9bf
je 0x40e9af
sub ecx, 0x8003
je 0x40e972
sub ecx, 1
jne case.0x40e9ce.34772
test edi, edi
je 0x40dc67
push ecx
push 0x51ba14
push 0x51b9f0
push ecx
push edi
mov ecx, esi
call fcn.0040f050
push eax
call fcn.004aa04c
add esp, 0x14
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004a44be
mov esp, ebp
pop ebp
ret 0x10
test edi, edi
je 0x40dc67
push 0
push 0x51ba14
push 0x51b9f0
push 0
push edi
mov ecx, esi
call fcn.0040f070
push eax
call fcn.004aa04c
mov ecx, dword [esp + 0xa0]
add esp, 0x14
pop edi
pop esi
xor ecx, esp
call fcn.004a44be
mov esp, ebp
pop ebp
ret 0x10
mov ecx, esi
call fcn.00410040
mov ecx, dword [esp + 0x14]
jmp 0x40de8d
add ecx, 0xffff782e
cmp ecx, 4
ja case.0x40e9ce.34772
jmp dword [ecx*4 + 0x40ed28]
cmp dword [esi + 0x240], 0
je 0x40ddbe
cmp dword [esi + 0x244], 0
je 0x40ddbe
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_IsZoomed]
mov ecx, dword [esi + 0x240]
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 + 0x2c]
mov ecx, dword [esi + 0x244]
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 0x40de8d
mov dword [esi + 0x1e4], edi
jmp case.0x40e9ce.34772
mov ecx, dword [esi + 0x10]
push 0
call fcn.00436f30
mov ecx, dword [esp + 0x14]
jmp 0x40de8d
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x90]
mov ecx, dword [esp + 0x14]
jmp 0x40de8d