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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2ac
mov eax, dword [0x43e054]
xor eax, esp
mov dword [esp + 0x2a8], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, edx
mov dword [esp + 0x18], edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
cmp edi, 0x1000
jb 0x408f56
cmp edi, 0x1100
jb 0x4092e4
lea eax, [edi - 0x200]
cmp eax, 0xe
ja 0x408fb8
mov eax, dword [esp + 0x14]
movsx edx, ax
push dword [esi + 0x24]
mov dword [esp + 0x40], edx
mov edx, eax
shr edx, 0x10
movsx edx, dx
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x6c], edx
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x78], eax
xor eax, eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ecx
lea edi, [esp + 0x7c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x40]
call fcn.00408c13
lea eax, [esp + 0x68]
push eax
push 0
push 0x407
push dword [esi + 0x24]
call ebx
mov edi, dword [ebp + 0xc]
cmp edi, 0x201
jne 0x408ff9
cmp byte [esi + 0xac], 0
je 0x409224
movsx eax, word [esp + 0x14]
sub eax, dword [esi + 0x84]
push eax
call fcn.0041b351
cmp eax, 8
pop ecx
jle 0x409206
push 0xfffffffffffffff4
push dword [esi]
call dword [sym.imp.USER32.dll_GetClassLongW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
cmp edi, 0x200
jne 0x409054
cmp byte [esi + 0xac], 0
je 0x409e46
movsx edi, word [esp + 0x14]
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esp + 0x18]
jne 0x40902a
test byte [esp + 0x10], 1
jne 0x409292
sub edi, dword [esi + 0x84]
push edi
call fcn.0041b351
cmp eax, 8
pop ecx
jle 0x4092d6
push 0xfffffffffffffff4
push dword [esi]
call dword [sym.imp.USER32.dll_GetClassLongW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov edi, dword [ebp + 0xc]
cmp edi, 0x202
jne 0x409090
cmp byte [esi + 0xac], 0
je 0x409e46
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esp + 0x18]
jne 0x409e46
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 0xfffffffffffffff4
push dword [esi]
call dword [sym.imp.USER32.dll_GetClassLongW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, 0x102
cmp edi, eax
ja 0x409bd3
je 0x409b4c
cmp edi, 0x20
jbe 0x4092fa
sub edi, 0x30
je 0x409a4d
sub edi, 0x1e
je 0x409611
sub edi, 0x34
je 0x4095d6
sub edi, 5
je 0x4095b7
sub edi, 0x79
jne 0x409e46
mov edi, dword [esp + 0x18]
xor eax, eax
cmp byte [esi + 0xb4], al
push 0xfffffffffffffff4
sete al
push edi
mov dword [esp + 0x70], edi
dec eax
and eax, 0xfffff78e
add eax, 0x7d7
mov dword [esp + 0x78], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov cx, word [esp + 0x10]
and dword [esp + 0x76], 0
mov word [esp + 0x74], cx
lea ecx, [esp + 0x68]
push ecx
push eax
push 0x4e
push edi
mov dword [esp + 0x7c], eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call ebx
mov eax, dword [esp + 0x10]
cmp eax, 0x26
ja 0x409167
je 0x40952e
cmp eax, 0x21
jb 0x409e46
cmp eax, 0x22
jbe 0x4094a6
cmp eax, 0x23
je 0x40947f
cmp eax, 0x24
je 0x409466
cmp eax, 0x25
jne 0x409e46
jmp 0x40916c
sub eax, 0x27
jne 0x4091b1
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x409e46
cmp dword [esp + 0x10], 0x27
mov eax, ecx
jne 0x40955f
call fcn.00405f46
test al, al
je 0x409e46
mov eax, ecx
call fcn.00405f50
test al, al
je 0x40955b
push 0x28
xor eax, eax
pop ecx
mov dword [ebp + 0xc], 0x100
jmp 0x408f33
dec eax
je 0x40952e
sub eax, 0x43
jne 0x409e46
push 0xa2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
je 0x409e46
mov eax, esi
xor edi, edi
call fcn.00406a97
test eax, eax
jle 0x409a41
test edi, edi
jne 0x409508
cmp byte [esi + 0x90], 0
je 0x409508
mov eax, dword [esi + 0x8c]
jmp 0x40950e
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetCapture]
push dword [esi + 0x2c]
call dword [sym.imp.USER32.dll_SetCursor]
movsx eax, word [esp + 0x14]
mov dword [esi + 0xb0], eax
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esp + 0x14]
movsx eax, word [esp + 0x14]
shr ecx, 0x10
movsx ecx, cx
push ecx
push eax
lea eax, [esp + 0x24]
push eax
xor edi, edi
push edi
lea eax, [esp + 0x4c]
push eax
mov eax, esi
mov dword [esp + 0x30], edi
call fcn.00407b86
mov ebx, eax
test bl, 0xe0
je 0x40926f
mov eax, dword [esi]
push edi
push edi
push dword [esp + 0x24]
push edi
push 0xfffffffffffffffe
pop ecx
call fcn.00406b32
test bl, 0x40
je 0x409ce8
mov edi, dword [esp + 0x1c]
mov eax, edi
call fcn.00405f50
neg al
sbb al, al
inc al
movzx eax, al
push eax
jmp 0x409577
mov edx, dword [esi + 0xb0]
sub edi, edx
je 0x4092d6
mov eax, dword [esi + 0x84]
mov ecx, dword [esi + 0x88]
lea ebx, [eax + edi]
cmp ebx, ecx
jge 0x4092b3
sub ecx, eax
mov edi, ecx
add edx, edi
add edi, eax
mov eax, edi
mov dword [esi + 0xb0], edx
call fcn.004076c4
mov edx, edi
xor ecx, ecx
mov eax, esi
call fcn.00406af3
mov eax, esi
call fcn.00407323
push dword [esi + 0x2c]
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x409e46
push dword [esp + 0x14]
push ecx
push edi
push dword [esp + 0x24]
mov ecx, esi
call fcn.0040a395
jmp 0x409ea4
je 0x409459
cmp edi, 2
je 0x409448
cmp edi, 5
je 0x4093f5
cmp edi, 6
jbe 0x409e46
cmp edi, 8
jbe 0x4093de
cmp edi, 0xb
je 0x409392
cmp edi, 0xf
je 0x40933f
cmp edi, 0x14
jne 0x409e46
xor eax, eax
inc eax
jmp 0x409ea4
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push ebx
mov edi, eax
push edi
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_GetUpdateRgn]
cmp eax, 1
je 0x409386
lea eax, [esp + 0x68]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_BeginPaint]
push edi
lea ebx, [esp + 0x6c]
mov ecx, esi
call fcn.00407e7a
mov eax, ebx
push eax
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_EndPaint]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.default.0x409dcb
cmp dword [esp + 0x10], 0
push dword [esp + 0x14]
setne al
cmp dword [esp + 0x14], 0
mov byte [esi + 0xc4], al
je 0x4093cb
push dword [esp + 0x14]
push 0xb
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov edi, eax
mov eax, esi
call fcn.00406a50
mov eax, edi
jmp 0x409ea4
push 0
push 0xb
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_DefWindowProcW]
jmp 0x409ea4
mov eax, dword [esi + 0x70]
test eax, eax
je 0x409e46
push eax
push esi
call fcn.00408bf5
jmp 0x409e46
mov eax, esi
call fcn.00407323
mov eax, esi
call fcn.004073ec
call fcn.004077fe
and dword [esp + 0x6c], 0
push 0xa
pop ecx
xor eax, eax
mov dword [esp + 0x68], 0x30
lea edi, [esp + 0x70]
rep stosd dword es:[edi], eax
mov eax, dword [esi]
lea ecx, [esp + 0x78]
push ecx
push eax
mov dword [esp + 0x78], eax
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esp + 0x68]
push eax
push 0
push 0x434
push dword [esi + 0x24]
call ebx
jmp 0x409e46
mov byte [esi + 0xc4], 0
call fcn.00406e99
jmp 0x409e46
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x10], eax
jmp 0x409331
xor ecx, ecx
mov eax, esi
call fcn.00406eb4
mov ebx, eax
mov eax, esi
call fcn.00406b9d
xor eax, eax
jmp 0x4095ab
mov ecx, esi
call fcn.00406a11
mov ecx, eax
dec ecx
mov eax, esi
call fcn.00406eb4
mov ebx, eax
mov eax, esi
call fcn.00406b9d
mov ecx, esi
call fcn.00406a11
dec eax
jmp 0x4095ab
mov ebx, dword [esi + 0x70]
test ebx, ebx
je 0x409e46
xor eax, eax
mov dword [esp + 0x68], 0x1c
lea edi, [esp + 0x70]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 2
stosd dword es:[edi], eax
pop eax
lea ecx, [esp + 0x68]
push ecx
push eax
push dword [esi + 0x14]
mov dword [esp + 0x78], eax
call dword [sym.imp.USER32.dll_GetScrollInfo]
xor edi, edi
cmp dword [esp + 0x78], edi
jbe 0x409550
cmp dword [esp + 0x10], 0x22
jne 0x4094f2
mov ecx, ebx
call fcn.00405f5d
jmp 0x4094f9
mov eax, ebx
call fcn.00405f90
test eax, eax
je 0x409550
inc edi
mov ebx, eax
cmp edi, dword [esp + 0x78]
jb 0x4094e2
jmp 0x409550
push edi
call fcn.00408a14
mov edx, eax
mov ecx, edi
mov eax, esi
call fcn.00406af3
mov eax, esi
inc edi
call fcn.00406a97
cmp edi, eax
jl 0x4091e6
jmp 0x409a41
mov eax, dword [esi + 0x70]
test eax, eax
je 0x409e46
cmp dword [esp + 0x10], 0x28
jne 0x409549
mov ecx, eax
call fcn.00405f5d
jmp 0x40954e
call fcn.00405f90
mov ebx, eax
test ebx, ebx
je 0x409e46
push ebx
jmp 0x40959a
push 1
jmp 0x409575
call fcn.00405f50
test al, al
je 0x409583
mov eax, ecx
call fcn.00405f46
test al, al
je 0x409583
push 0
mov edi, ecx
mov eax, esi
call fcn.00406ce8
jmp 0x409e46
mov ebx, dword [ecx + 8]
test ebx, ebx
je 0x409e46
lea eax, [esi + 0x38]
cmp ebx, eax
je 0x409e46
push ecx
push esi
call fcn.00408b50
mov edi, eax
mov eax, esi
call fcn.00406b9d
mov eax, edi
mov ecx, esi
call fcn.004079a8
jmp 0x409e46
push dword [esp + 0x14]
push dword [esp + 0x14]
push 0x87
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_DefWindowProcW]
or eax, 1
jmp 0x409ea4
mov eax, dword [esi + 0x30]
test eax, eax
je 0x4095ea
cmp byte [esi + 0x34], 0
jne 0x4095ea
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
movzx eax, word [0x440650]
push 0
push eax
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SetPropW]
mov eax, esi
call fcn.00405e12
push esi
call fcn.0041a268
pop ecx
jmp 0x409e46
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
cmp eax, dword [esi + 0x24]
jne 0x409835
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
cmp ecx, 0xfffffdee
je 0x4096c3
cmp ecx, 0xfffffdf7
jne 0x409835
push dword [esi + 0xa0]
xor edi, edi
push 1
push edi
push dword [esi + 0x98]
lea eax, [esp + 0x3c]
push dword [esi + 0x9c]
mov ecx, esi
call fcn.00407d45
lea eax, [esp + 0x2c]
push eax
push 1
push 0x41f
push dword [esi + 0x24]
call ebx
push 2
lea eax, [esp + 0x30]
push eax
push edi
push dword [esi]
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 0x15
push edi
push edi
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push edi
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_SetWindowPos]
push edi
push dword [esi + 0x28]
push 0x30
push dword [esi + 0x24]
call ebx
mov eax, dword [esi + 0x24]
push edi
push edi
push dword [esi + 0xa0]
mov ecx, 0x7d5
push dword [esi + 0x98]
call fcn.00406b32
jmp case.0x409dcb.8
xor ecx, ecx
cmp dword [esi + 0xa0], ecx
je 0x40982e
cmp dword [esi + 0x98], ecx
jl 0x40982e
lea edi, [eax + 0x10]
add eax, 0xc
push eax
push ecx
mov dword [eax], edi
push dword [esi + 0xa0]
mov dword [esp + 0x34], eax
push dword [esi + 0x98]
mov eax, dword [esi]
mov ecx, 0x7d4
call fcn.00406b32
test eax, eax
jne case.default.0x409dcb
mov eax, dword [esi + 0xa0]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
push 0x50
push edi
push dword [esi + 0x98]
push eax
call dword [edx + 8]
xor ebx, ebx
push 0x4e
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esp + 0x34], eax
call fcn.00406ec5
push dword [esi + 0xa0]
mov dword [esp + 0x3c], eax
push 1
push 1
push dword [esi + 0x98]
lea eax, [esp + 0x5c]
push dword [esi + 0x9c]
mov ecx, esi
call fcn.00407d45
xor eax, eax
mov dword [esp + 0x68], 0x1c
lea edi, [esp + 0x70]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x68]
push eax
push 2
push dword [esi + 0x1c]
mov dword [esp + 0x78], 4
call dword [sym.imp.USER32.dll_GetScrollInfo]
mov eax, dword [esp + 0x4c]
cmp eax, dword [esi + 0x84]
jne 0x4097a8
cmp dword [esp + 0x7c], ebx
jne case.default.0x409dcb
mov edi, dword [esi + 0x94]
push dword [esi]
and edi, 0xfffb3fff
or edi, 0x400
call dword [sym.imp.USER32.dll_GetDC]
push dword [esi + 0x28]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
mov dword [esp + 0x24], eax
call ebx
push edi
mov dword [esp + 0x40], eax
lea eax, [esp + 0x30]
push eax
push 0xffffffffffffffff
push dword [esp + 0x30]
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [esp + 0x3c]
push dword [esp + 0x20]
call ebx
push dword [esp + 0x1c]
push dword [esi]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x34]
sub eax, dword [esp + 0x4c]
sub ecx, dword [esp + 0x2c]
cmp ecx, eax
jle 0x409822
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
jmp 0x409835
mov eax, dword [esp + 0x28]
mov dword [eax], 0x4358ec
jmp 0x409835
mov dword [eax + 0xc], 0x4358ec
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edi, dword [esi + 4]
cmp eax, edi
je 0x40984b
cmp eax, dword [esi + 0xc]
jne 0x409e46
mov edx, dword [ecx + 8]
cmp edx, 0xfffffebb
je 0x409a06
cmp edx, 0xfffffebe
je 0x4099ea
cmp edx, 0xfffffebf
je 0x409a41
cmp edx, 0xfffffec0
je 0x4098a9
cmp edx, 0xfffffec9
je 0x409898
cmp edx, 0xfffffffb
jne 0x409e46
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push edx
pop ecx
jmp 0x409cde
push 0
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp case.default.0x409dcb
mov ecx, dword [ecx + 0x14]
test byte [ecx], 1
je 0x409e46
mov ebx, dword [esp + 0x14]
mov edi, dword [ebx + 0xc]
test edi, edi
jne 0x4098cf
mov ecx, dword [ecx + 4]
cmp ecx, dword [esi + 0x88]
jl case.0x409dcb.8
xor ecx, ecx
cmp eax, dword [esi + 0xc]
sete cl
add ecx, edi
mov eax, ecx
lea edi, [esp + 0x2c]
mov dword [esp + 0x1c], eax
call fcn.00406aab
lea eax, [esp + 0x68]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebx + 0x14]
mov edi, dword [eax + 4]
mov eax, dword [esp + 0x34]
sub edi, eax
add edi, dword [esp + 0x2c]
je case.default.0x409dcb
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x74]
xor ebx, ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], ecx
cmp dword [esp + 0x1c], ebx
jne 0x409934
dec eax
mov dword [esp + 0x3c], eax
push dword [esi + 0x14]
call fcn.00406f79
test al, al
je 0x40994c
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub dword [esp + 0x44], eax
push 2
push ebx
push ebx
push ebx
lea eax, [esp + 0x4c]
push eax
push ebx
push edi
push dword [esi]
call dword [sym.imp.USER32.dll_ScrollWindowEx]
cmp dword [esp + 0x1c], ebx
jne 0x40996e
cmp byte [esi + 0x90], bl
jne 0x4099a2
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x58], eax
push ebx
lea eax, [esp + 0x50]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp dword [esp + 0x1c], ebx
jne 0x4099d5
mov eax, dword [esp + 0x34]
add eax, edi
call fcn.004076c4
mov eax, esi
call fcn.00407323
mov eax, esi
call fcn.004073ec
push dword [esi + 0xc]
mov edi, dword [sym.imp.USER32.dll_UpdateWindow]
call edi
push dword [esi + 0x18]
call edi
push dword [esi + 0x1c]
call edi
jmp case.default.0x409dcb
mov eax, esi
call fcn.00407323
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp case.default.0x409dcb
cmp eax, edi
jne 0x4099f2
xor ecx, ecx
jmp 0x4099f6
mov ecx, dword [ecx + 0xc]
inc ecx
xor eax, eax
push eax
push eax
push eax
push ecx
mov ecx, 0x7d3
jmp 0x409cdc
xor ebx, ebx
cmp eax, dword [esi + 0xc]
sete bl
add ebx, dword [ecx + 0xc]
jne 0x409a23
cmp byte [esi + 0x90], bl
je 0x409a23
mov edi, dword [esi + 0x8c]
jmp 0x409a2b
push ebx
call fcn.00408a14
mov edi, eax
mov edx, edi
mov ecx, ebx
mov eax, esi
call fcn.00406af3
test ebx, ebx
jne 0x409a41
mov eax, edi
call fcn.004076c4
mov eax, esi
call fcn.00407323
jmp 0x409e46
cmp word [esp + 0x14], 0
mov eax, dword [esp + 0x10]
setne byte [esp + 0x23]
movzx edi, byte [esp + 0x23]
push edi
push eax
push 0x30
push dword [esi + 4]
mov dword [esi + 0x28], eax
call ebx
push edi
push dword [esi + 0x28]
push 0x30
push dword [esi + 0xc]
call ebx
push edi
push dword [esi + 0x28]
push 0x30
push dword [esi + 0x24]
call ebx
push edi
push dword [esi + 0x28]
push 0x30
push dword [esi + 8]
call ebx
push edi
push dword [esi + 0x28]
push 0x30
push dword [esi + 0x10]
call ebx
lea eax, [esp + 0x68]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetClientRect]
and dword [esp + 0x4c], 0
push 6
pop ecx
xor eax, eax
lea edi, [esp + 0x50]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x3c]
push eax
xor edi, edi
push edi
push 0x1205
push dword [esi + 4]
call ebx
mov eax, dword [esp + 0x64]
mov ebx, dword [sym.imp.USER32.dll_SetWindowPos]
or eax, 0x40
push eax
push dword [esp + 0x64]
push dword [esi + 0x84]
push edi
push edi
push dword [esp + 0x64]
push dword [esi + 4]
call ebx
mov ecx, dword [esp + 0x64]
mov eax, dword [esi + 0x84]
or ecx, 0x40
push ecx
push dword [esp + 0x64]
mov ecx, dword [esp + 0x64]
sub ecx, eax
push ecx
push edi
push eax
push dword [esi + 4]
push dword [esi + 0xc]
call ebx
cmp byte [esi + 0x90], 0
je 0x409b35
mov eax, esi
call fcn.004076b2
mov eax, esi
call fcn.004073ec
cmp byte [esp + 0x23], 0
je case.default.0x409dcb
mov eax, esi
call fcn.00406a50
jmp case.default.0x409dcb
cmp dword [esi + 0x54], 0
je 0x409e46
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x409b68
call fcn.00405f5d
mov edi, eax
test edi, edi
jne 0x409b6b
mov edi, dword [esi + 0x4c]
push dword [esp + 0x10]
call fcn.0041b33e
movzx eax, ax
pop ecx
mov dword [esp + 0x3c], eax
mov ebx, edi
mov ecx, dword [ebx + 4]
mov eax, dword [ecx]
push 0x104
lea edx, [esp + 0xac]
push edx
push 0
push ebx
call dword [eax + 8]
movzx eax, word [eax]
push eax
call fcn.0041b33e
pop ecx
cmp ax, word [esp + 0x3c]
je 0x409bc0
mov ecx, ebx
call fcn.00405f5d
mov ebx, eax
test ebx, ebx
jne 0x409bb7
mov ebx, dword [esi + 0x4c]
cmp ebx, edi
jne 0x409b7e
jmp 0x409e46
mov eax, esi
call fcn.00406b9d
push ebx
push esi
call fcn.00408b50
jmp 0x4095ab
mov eax, 0x2000
cmp edi, eax
ja 0x409e32
je 0x409e19
cmp edi, 0x114
je 0x409d8a
cmp edi, 0x115
je 0x409d04
cmp edi, 0x201
je 0x409224
cmp edi, 0x202
jbe 0x409e46
cmp edi, 0x204
jbe 0x409c7f
cmp edi, 0x20a
je 0x409c3c
cmp edi, 0x31a
jne 0x409e46
call fcn.004061b4
jmp 0x409e46
mov eax, dword [esp + 0x10]
shr eax, 0x10
cwde
add dword [esi + 0x80], eax
push dword [esi + 0x80]
call fcn.0041b351
cmp eax, 0x28
pop ecx
jl 0x409e46
mov eax, dword [esi + 0x80]
cdq
push 0x28
pop ecx
idiv ecx
mov ecx, esi
neg eax
mov dword [esi + 0x80], edx
call fcn.00406f8e
jmp 0x409e46
mov ecx, dword [esp + 0x14]
movsx eax, word [esp + 0x14]
and dword [esp + 0x24], 0
and dword [esp + 0x28], 0
shr ecx, 0x10
movsx ecx, cx
push ecx
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x4c]
push eax
mov eax, esi
call fcn.00407b86
test al, 0xe0
je 0x409e46
mov ebx, dword [esp + 0x28]
mov eax, esi
call fcn.00406b9d
xor ecx, ecx
cmp dword [ebp + 0xc], 0x203
push 0
sete cl
push 0
push ebx
push dword [esp + 0x30]
lea ecx, [ecx + ecx - 5]
mov eax, dword [esi]
call fcn.00406b32
jmp 0x409e46
test ebx, 0x1e0
je 0x409e46
mov ebx, dword [esp + 0x1c]
mov eax, esi
call fcn.00406b9d
jmp 0x409e46
xor eax, eax
mov dword [esp + 0x68], 0x1c
lea edi, [esp + 0x70]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x68]
push eax
push 2
push dword [esi + 0x14]
mov dword [esp + 0x78], 7
call dword [sym.imp.USER32.dll_GetScrollInfo]
movzx eax, word [esp + 0x10]
cmp eax, 8
ja case.default.0x409dcb
jmp dword [eax*4 + 0x409ebc]
mov eax, dword [esp + 0x10]
shr eax, 0x10
mov dword [esp + 0x7c], eax
jmp 0x409d7c
mov eax, dword [esp + 0x74]
jmp 0x409d4b
and dword [esp + 0x7c], 0
jmp 0x409d7c
inc dword [esp + 0x7c]
jmp 0x409d7c
dec dword [esp + 0x7c]
jmp 0x409d7c
mov eax, dword [esp + 0x78]
add dword [esp + 0x7c], eax
jmp 0x409d7c
mov eax, dword [esp + 0x78]
sub dword [esp + 0x7c], eax
push dword [esp + 0x7c]
call fcn.00406f35
jmp 0x409e46
cmp dword [esp + 0x14], 0
je 0x409e46
xor eax, eax
mov dword [esp + 0x68], 0x1c
lea edi, [esp + 0x70]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x68]
push eax
push 2
push dword [esp + 0x1c]
mov dword [esp + 0x78], 7
call dword [sym.imp.USER32.dll_GetScrollInfo]
movzx eax, word [esp + 0x10]
cmp eax, 8
ja case.default.0x409dcb
jmp dword [eax*4 + 0x409ee0]
mov eax, dword [esp + 0x10]
shr eax, 0x10
mov dword [esp + 0x7c], eax
jmp 0x409e0a
mov eax, dword [esp + 0x74]
jmp 0x409dd9
and dword [esp + 0x7c], 0
jmp 0x409e0a
inc dword [esp + 0x7c]
jmp 0x409e0a
dec dword [esp + 0x7c]
jmp 0x409e0a
mov eax, dword [esp + 0x78]
add dword [esp + 0x7c], eax
jmp 0x409e0a
mov eax, dword [esp + 0x78]
sub dword [esp + 0x7c], eax
push dword [esp + 0x7c]
push dword [esp + 0x18]
call fcn.0040747a
jmp 0x409e46
cmp dword [esp + 0x14], 0
setne al
movzx eax, al
push eax
mov eax, dword [esp + 0x14]
call fcn.00406a29
xor eax, eax
jmp 0x409ea4
sub edi, 0x2001
je 0x409e8a
dec edi
je 0x409e81
dec edi
je 0x409e75
dec edi
je 0x409e62
dec edi
je 0x409e56
push dword [esp + 0x14]
push dword [esp + 0x14]
push dword [ebp + 0xc]
jmp 0x4093cf
push dword [esp + 0x10]
push esi
call fcn.00408b50
jmp 0x409ea4
mov eax, dword [esp + 0x14]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
call fcn.0040a362
jmp 0x409ea4
push dword [esp + 0x10]
push esi
call fcn.00408bf5
jmp case.default.0x409dcb
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x1c]
jmp 0x409ea4
cmp dword [esp + 0x14], 0
mov edi, dword [esp + 0x10]
setne al
movzx eax, al
push eax
mov eax, esi
call fcn.00406ce8
movzx eax, al
mov ecx, dword [esp + 0x2b4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004179b6
mov esp, ebp
pop ebp
ret 0xc