Function at 0x56816f
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov dword [ebp - 0x190], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x194], eax
cmp dword [ebp - 0x194], 0x10f
ja 0x568222
cmp dword [ebp - 0x194], 0x10f
je 0x568b14
cmp dword [ebp - 0x194], 0x51
ja 0x5681ee
cmp dword [ebp - 0x194], 0x51
je 0x568b6c
mov ecx, dword [ebp - 0x194]
sub ecx, 1
mov dword [ebp - 0x194], ecx
cmp dword [ebp - 0x194], 0x2a
ja case.0x56826e.4
mov eax, dword [ebp - 0x194]
xor edx, edx
mov dl, byte [eax + 0x569521]
jmp dword [edx*4 + 0x569505]
mov ecx, dword [ebp - 0x194]
sub ecx, 0x100
mov dword [ebp - 0x194], ecx
cmp dword [ebp - 0x194], 0xe
ja case.0x56826e.4
mov eax, dword [ebp - 0x194]
xor edx, edx
mov dl, byte [eax + 0x569568]
jmp dword [edx*4 + 0x56954c]
cmp dword [ebp - 0x194], 0x206
ja 0x568275
cmp dword [ebp - 0x194], 0x206
je case.0x56826e.3
mov ecx, dword [ebp - 0x194]
sub ecx, 0x111
mov dword [ebp - 0x194], ecx
cmp dword [ebp - 0x194], 0xf4
ja case.0x56826e.4
mov eax, dword [ebp - 0x194]
xor edx, edx
mov dl, byte [eax + 0x56958b]
jmp dword [edx*4 + 0x569577]
cmp dword [ebp - 0x194], 0x40d
ja 0x5682c6
cmp dword [ebp - 0x194], 0x40d
je 0x568332
cmp dword [ebp - 0x194], 0x281
je 0x5685fd
cmp dword [ebp - 0x194], 0x282
je 0x568bbe
cmp dword [ebp - 0x194], 0x401
je 0x568e5a
jmp case.0x56826e.4
cmp dword [ebp - 0x194], 0x464
je 0x5690b9
cmp dword [ebp - 0x194], 0x465
je 0x569334
jmp case.0x56826e.4
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x190]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x190]
call dword [edx + 0x10]
jmp case.0x56826e.4
mov eax, dword [ebp - 0x190]
cmp dword [eax + 0xe8], 0
je 0x56832d
mov ecx, dword [ebp - 0x190]
mov ecx, dword [ecx + 0xe8]
call fcn.00433d1c
jmp case.0x56826e.4
mov edx, dword [ebp - 0x190]
cmp dword [edx + 0xe8], 0
je 0x5683f1
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + 0xe8]
call fcn.00434150
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jne 0x5683d4
mov ecx, dword [ebp - 0x190]
cmp dword [ecx + 0xe8], 0
je 0x5683c9
mov edx, dword [ebp - 0x190]
mov eax, dword [edx + 0xe8]
mov dword [ebp - 0x17c], eax
mov ecx, dword [ebp - 0x17c]
mov dword [ebp - 0x178], ecx
cmp dword [ebp - 0x178], 0
je 0x5683af
push 1
mov edx, dword [ebp - 0x178]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x178]
call dword [eax]
mov dword [ebp - 0x198], eax
jmp 0x5683b9
mov dword [ebp - 0x198], 0
mov ecx, dword [ebp - 0x190]
mov dword [ecx + 0xe8], 0
mov ecx, dword [ebp - 0x190]
call fcn.005672bf
mov edx, dword [ebp - 0x190]
cmp dword [edx + 0x1c], 0
jne 0x5683f1
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + 0xe8]
call fcn.00433d1c
jmp case.0x56826e.4
cmp dword [ebp + 0x10], 0x12
jne 0x56842c
cmp dword [0x13c1af0], 0
jne 0x56842a
mov ecx, dword [ebp - 0x190]
cmp dword [ecx + 0xf0], 0
je 0x56842a
mov edx, dword [ebp - 0x190]
mov eax, dword [edx + 0xf0]
mov dword [eax + 0x434], 1
jmp 0x568456
cmp dword [ebp + 0x10], 0x79
jne 0x568456
mov ecx, dword [ebp - 0x190]
cmp dword [ecx + 0xf0], 0
je 0x568456
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + 0xf0]
call fcn.004afaf7
jmp case.0x56826e.4
cmp dword [ebp + 0x10], 0x12
jne 0x568491
cmp dword [0x13c1af0], 0
jne 0x568491
mov ecx, dword [ebp - 0x190]
cmp dword [ecx + 0xf0], 0
je 0x568491
mov edx, dword [ebp - 0x190]
mov eax, dword [edx + 0xf0]
mov dword [eax + 0x434], 0
jmp 0x5684bb
cmp dword [ebp + 0x10], 0x79
jne 0x5684bb
mov ecx, dword [ebp - 0x190]
cmp dword [ecx + 0xf0], 0
je 0x5684bb
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + 0xf0]
call fcn.004afb3f
jmp case.0x56826e.4
cmp dword [ebp + 0x10], 0xf100
jne 0x5684e6
push 0
push 0xa4
push 0x100
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
jmp 0x5694ff
cmp dword [ebp + 0x10], 0xf020
jne 0x568501
mov edx, dword [0x13c1aa0]
mov dword [edx + 0x110], 0
jmp 0x568519
cmp dword [ebp + 0x10], 0xf030
jne 0x568519
mov eax, dword [0x13c1aa0]
mov dword [eax + 0x110], 1
jmp case.0x56826e.4
push 0xc000000f
push 0
push 0x281
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp + 0x10], 0
jne 0x568595
mov edx, dword [ebp - 0x190]
cmp dword [edx + 0xf0], 0
je 0x56855f
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + 0xf0]
mov dword [ecx + 0x434], 0
mov edx, dword [ebp - 0x190]
cmp dword [edx + 0xec], 0
je 0x568586
push 0xffffd8f0
push 0
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + 0xec]
call fcn.0042b8b0
mov ecx, dword [0x13c1aa0]
mov byte [ecx + 0x114], 0
jmp 0x5685f8
mov edx, dword [ebp - 0x190]
cmp dword [edx + 0xf0], 0
je 0x5685ba
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + 0xf0]
mov dword [ecx + 0x434], 0
mov edx, dword [ebp - 0x190]
cmp dword [edx + 0xec], 0
je 0x5685eb
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + 0xec]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + 0xec]
call fcn.0042b8b0
mov ecx, dword [0x13c1aa0]
mov byte [ecx + 0x114], 1
jmp case.0x56826e.4
cmp dword [ebp + 0x14], 0xffffffff
jne 0x56860c
mov dword [ebp + 0x10], 1
jmp 0x568613
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], recv
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_DefWindowProcA]
jmp 0x5694ff
mov eax, dword [ebp - 0x190]
cmp dword [eax + 0xe8], 0
je case.0x56826e.2
mov ecx, dword [ebp - 0x190]
mov edx, dword [ecx + 0xe8]
cmp dword [edx + 0x10c], 2
jne case.0x56826e.2
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + 0xe8]
call fcn.00433ebb
mov ecx, dword [ebp - 0x190]
cmp dword [ecx + 0xe8], 0
je 0x5686dc
mov edx, dword [ebp - 0x190]
mov eax, dword [edx + 0xe8]
mov dword [ebp - 0x184], eax
mov ecx, dword [ebp - 0x184]
mov dword [ebp - 0x180], ecx
cmp dword [ebp - 0x180], 0
je 0x5686c2
push 1
mov edx, dword [ebp - 0x180]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x180]
call dword [eax]
mov dword [ebp - 0x19c], eax
jmp 0x5686cc
mov dword [ebp - 0x19c], 0
mov ecx, dword [ebp - 0x190]
mov dword [ecx + 0xe8], 0
mov ecx, dword [ebp - 0x190]
call fcn.005672bf
cmp dword [0x5d4b48], 0
jne 0x5686fa
push 0
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x568745
cmp dword [0x5d4b48], 2
jne 0x568745
cmp dword [0x5d4b40], 0
je 0x568745
mov edx, dword [0x5d4b40]
cmp dword [edx + 0xa4], 0
jne 0x568729
mov eax, dword [0x5d4b4c]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x568745
mov ecx, dword [0x5d4b40]
cmp dword [ecx + 0xa4], 1
jne 0x568745
mov edx, dword [0x5d4b50]
push edx
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [ebp - 0x190]
cmp dword [eax + 0xf0], 0
je 0x56878a
mov ecx, dword [ebp + 0x14]
shr ecx, 0x10
and ecx, 0xffff
push ecx
mov edx, dword [ebp + 0x14]
and edx, 0xffff
and edx, 0xffff
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x190]
mov ecx, dword [edx + 0xf0]
call fcn.004b008c
jmp case.0x56826e.4
xor eax, eax
jmp 0x5694ff
mov eax, dword [ebp - 0x190]
cmp dword [eax + 0xe8], 0
je 0x568848
mov ecx, dword [ebp - 0x190]
mov edx, dword [ecx + 0xe8]
cmp dword [edx + 0x10c], 2
jne 0x568848
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + 0xe8]
call fcn.00433ebb
mov ecx, dword [ebp - 0x190]
cmp dword [ecx + 0xe8], 0
je 0x56883d
mov edx, dword [ebp - 0x190]
mov eax, dword [edx + 0xe8]
mov dword [ebp - 0x18c], eax
mov ecx, dword [ebp - 0x18c]
mov dword [ebp - 0x188], ecx
cmp dword [ebp - 0x188], 0
je 0x568823
push 1
mov edx, dword [ebp - 0x188]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x188]
call dword [eax]
mov dword [ebp - 0x1a0], eax
jmp 0x56882d
mov dword [ebp - 0x1a0], 0
mov ecx, dword [ebp - 0x190]
mov dword [ecx + 0xe8], 0
mov ecx, dword [ebp - 0x190]
call fcn.005672bf
mov edx, dword [ebp - 0x190]
cmp dword [edx + 0xf0], 0
je 0x5689f6
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov word [ebp - 0xc], ax
mov eax, dword [ebp - 0xc]
and eax, 0xffff
sar eax, 8
test eax, eax
jle 0x56888e
mov ecx, dword [ebp - 0x190]
mov edx, dword [ecx + 0xf0]
mov dword [edx + 0x438], 1
jmp 0x5688a4
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + 0xf0]
mov dword [ecx + 0x438], 0
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov word [ebp - 8], ax
mov edx, dword [ebp - 8]
and edx, 0xffff
sar edx, 8
test edx, edx
jle 0x5688d8
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + 0xf0]
mov dword [ecx + 0x440], 1
jmp 0x5688ee
mov edx, dword [ebp - 0x190]
mov eax, dword [edx + 0xf0]
mov dword [eax + 0x440], 0
cmp dword [ebp + 0x10], 0x11
jne 0x568900
mov dword [ebp - 0x10], 0
jmp 0x5689e1
cmp dword [0x684bb0], 0
je 0x5689e1
mov ecx, dword [ebp - 0x190]
mov edx, dword [ecx + 0xf0]
cmp dword [edx + 0x438], 0
je 0x5689e1
cmp dword [ebp + 0x10], 0xbd
je 0x568935
cmp dword [ebp + 0x10], 0x6d
jne 0x56894f
push 0x9c70
mov eax, dword [0x684bb0]
mov edx, dword [eax]
mov ecx, dword [0x684bb0]
call dword [edx + 0x5c]
jmp case.0x56826e.4
cmp dword [ebp + 0x10], 0xbb
je 0x56895e
cmp dword [ebp + 0x10], 0x6b
jne 0x568978
push 0x9c6f
mov eax, dword [0x684bb0]
mov edx, dword [eax]
mov ecx, dword [0x684bb0]
call dword [edx + 0x5c]
jmp case.0x56826e.4
cmp dword [ebp + 0x10], 0xdb
jne 0x56899b
push 0x9c5b
mov eax, dword [0x684bb0]
mov edx, dword [eax]
mov ecx, dword [0x684bb0]
call dword [edx + 0x5c]
jmp case.0x56826e.4
cmp dword [ebp + 0x10], 0xdd
jne 0x5689be
push 0x9c5c
mov eax, dword [0x684bb0]
mov edx, dword [eax]
mov ecx, dword [0x684bb0]
call dword [edx + 0x5c]
jmp case.0x56826e.4
cmp dword [ebp + 0x10], 0xde
jne 0x5689e1
push 0x9c5d
mov eax, dword [0x684bb0]
mov edx, dword [eax]
mov ecx, dword [0x684bb0]
call dword [edx + 0x5c]
jmp case.0x56826e.4
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x190]
mov ecx, dword [ecx + 0xf0]
call fcn.004afaf7
jmp case.0x56826e.4
mov edx, dword [ebp - 0x190]
cmp dword [edx + 0xf0], 0
je 0x568acd
cmp dword [ebp + 0x10], 0x2c
jne 0x568a25
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + 0xe0]
call fcn.00429ea8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov word [ebp - 0x18], ax
mov ecx, dword [ebp - 0x18]
and ecx, 0xffff
sar ecx, 8
test ecx, ecx
jle 0x568a59
mov edx, dword [ebp - 0x190]
mov eax, dword [edx + 0xf0]
mov dword [eax + 0x438], 1
jmp 0x568a6f
mov ecx, dword [ebp - 0x190]
mov edx, dword [ecx + 0xf0]
mov dword [edx + 0x438], 0
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov word [ebp - 0x14], ax
mov eax, dword [ebp - 0x14]
and eax, 0xffff
sar eax, 8
test eax, eax
jle 0x568aa2
mov ecx, dword [ebp - 0x190]
mov edx, dword [ecx + 0xf0]
mov dword [edx + 0x440], 1
jmp 0x568ab8
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + 0xf0]
mov dword [ecx + 0x440], 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + 0xf0]
call fcn.004afb3f
jmp case.0x56826e.4
mov ecx, dword [ebp - 0x190]
cmp dword [ecx + 0xf0], 0
je 0x568b0f
mov edx, dword [ebp - 0x190]
mov eax, dword [edx + 0xf0]
cmp dword [eax + 0x438], 0
jne 0x568b0f
mov ecx, dword [ebp + 0x14]
push ecx
mov dl, byte [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + 0xf0]
call fcn.004afb87
jmp case.0x56826e.4
mov ecx, dword [ebp - 0x190]
cmp dword [ecx + 0xf0], 0
je 0x568b3c
mov edx, dword [ebp + 0x14]
push edx
mov al, byte [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x190]
mov ecx, dword [ecx + 0xf0]
call fcn.004afbc3
jmp case.0x56826e.4
mov edx, dword [ebp - 0x190]
cmp dword [edx + 0xf0], 0
je 0x568b67
push 0
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x190]
mov ecx, dword [ecx + 0xf0]
call fcn.004afc69
jmp case.0x56826e.4
push 0x100
push 0
lea edx, [ebp - 0x118]
push edx
call fcn.005998e0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
push 4
push str.0804
lea ecx, [ebp - 0x114]
push ecx
call fcn.0059b960
add esp, 0xc
test eax, eax
jne 0x568bb9
push 0
push 0
push 0x10
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x56826e.4
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1a4], eax
mov ecx, dword [ebp - 0x1a4]
sub ecx, 3
mov dword [ebp - 0x1a4], ecx
cmp dword [ebp - 0x1a4], 3
ja case.default.0x568be9
mov edx, dword [ebp - 0x1a4]
jmp dword [edx*4 + 0x569680]
mov eax, dword [ebp - 0x190]
cmp dword [eax + 0xf8], 0
je 0x568c1c
mov ecx, dword [ebp - 0x190]
mov ecx, dword [ecx + 0xf8]
mov edx, dword [ebp - 0x190]
mov eax, dword [edx + 0xf8]
mov edx, dword [eax]
call dword [edx + 0x1c]
jmp case.default.0x568be9
mov eax, dword [ebp - 0x190]
cmp dword [eax + 0xf0], 0
je 0x568c55
mov ecx, dword [ebp - 0x190]
mov ecx, dword [ecx + 0xf0]
call fcn.004afc5e
push 1
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + 0xf0]
call fcn.004afc69
jmp case.default.0x568be9
mov ecx, dword [ebp - 0x190]
cmp dword [ecx + 0xf0], 0
je case.default.0x568be9
push 0
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + 0xf0]
call fcn.004afc69
jmp case.0x56826e.4
cmp dword [ebp + 0x10], 0x3e7
jne 0x568c9d
push 0
mov ecx, dword [ebp - 0x190]
call fcn.005696f2
jmp case.0x56826e.4
mov ecx, dword [ebp + 0x10]
and ecx, 0xffff
and ecx, 0xffff
mov dword [ebp - 0x120], ecx
mov edx, dword [ebp + 0x10]
shr edx, 0x10
and edx, 0xffff
mov dword [ebp - 0x124], edx
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp - 0x11c], eax
mov eax, dword [0x13c1aa0]
mov ecx, dword [ebp - 0x11c]
cmp ecx, dword [eax + 4]
je 0x568d68
cmp dword [ebp - 0x120], 0x9c96
jne 0x568d10
push 0
push 0
push 0x301
mov edx, dword [ebp - 0x11c]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, 1
jmp 0x5694ff
cmp dword [ebp - 0x120], 0x9ca4
jne 0x568d3c
push 0
push 0
push 0x302
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, 1
jmp 0x5694ff
cmp dword [ebp - 0x120], 0x9ca6
jne 0x568d68
push 0
push 0
push 0x300
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, 1
jmp 0x5694ff
cmp dword [0x684bb0], 0
je 0x568d88
mov edx, dword [ebp - 0x120]
push edx
mov eax, dword [0x684bb0]
mov edx, dword [eax]
mov ecx, dword [0x684bb0]
call dword [edx + 0x5c]
jmp case.0x56826e.4
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0x128]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + 0x118]
push ecx
mov edx, dword [ebp - 0x130]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x12c], eax
push 0xcc0020
push 0x15
push 0x56
push 0
push 0
mov eax, dword [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x128]
mov edx, dword [ebp - 0x128]
mov eax, dword [ecx + 0x28]
sub eax, dword [edx + 0x20]
push eax
mov ecx, dword [ebp - 0x128]
mov edx, dword [ebp - 0x128]
mov eax, dword [ecx + 0x24]
sub eax, dword [edx + 0x1c]
push eax
mov ecx, dword [ebp - 0x128]
mov edx, dword [ecx + 0x20]
push edx
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + 0x1c]
push ecx
mov edx, dword [ebp - 0x128]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ecx, dword [ebp - 0x12c]
push ecx
mov edx, dword [ebp - 0x130]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x130]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp case.0x56826e.4
cmp dword [0x13c1aa8], 0
je 0x5690b4
mov ecx, dword [ebp + 0x14]
and ecx, 0xffff
and ecx, 0xffff
cmp ecx, 1
je 0x568eac
mov ecx, dword [0x13c1aa8]
call fcn.0042617a
push 0
push 0
mov edx, dword [ebp - 0x190]
mov ecx, dword [edx + 0xf8]
mov eax, dword [ebp - 0x190]
mov edx, dword [eax + 0xf8]
mov eax, dword [edx]
call dword [eax + 8]
jmp case.0x56826e.4
mov ecx, dword [0x13c1aa8]
call fcn.004269db
test eax, eax
jne 0x568ecb
mov ecx, dword [0x13c1aa8]
call fcn.0042617a
jmp case.0x56826e.4
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x138], 0
lea ecx, [ebp - 0x138]
push ecx
lea edx, [ebp - 0x134]
push edx
mov ecx, dword [0x13c1aa8]
call fcn.00426a42
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
jne 0x568f0c
jmp 0x5690b4
cmp dword [ebp - 0x134], 0
je 0x568f1a
jmp 0x5690b4
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x140], eax
mov ecx, dword [ebp - 0x190]
mov ecx, dword [ecx + 0xf4]
mov edx, dword [ebp - 0x190]
mov eax, dword [edx + 0xf4]
mov edx, dword [eax]
call dword [edx + 8]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 8]
mov dword [0x13c1ad8], ecx
mov eax, dword [ebp - 0x13c]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [0x13c1adc], eax
cmp dword [0x13c1ab4], 0
jle 0x568fc1
mov edx, dword [ebp - 0x13c]
sub edx, dword [0x13c1ac4]
mov dword [ebp - 0x148], edx
push 4
lea eax, [ebp - 0x148]
push eax
mov ecx, dword [0x13c1ab4]
push ecx
call fcn.0059b2e8
add esp, 0xc
mov edx, dword [ebp - 0x140]
xor eax, eax
mov ax, word [edx]
push eax
mov ecx, dword [ebp - 0x140]
push ecx
mov edx, dword [0x13c1ab4]
push edx
call fcn.0059b2e8
add esp, 0xc
mov eax, dword [0x13c1ae0]
add eax, 0x2710
cmp dword [ebp - 0x13c], eax
jbe 0x569076
cmp dword [0x684bb0], 0
je 0x56906a
mov ecx, dword [0x684bb0]
cmp dword [ecx + 0x200ac], 0
je 0x56906a
mov edx, dword [ebp - 0x13c]
add edx, 0x1f4
cmp dword [0x13c1ad8], edx
jbe 0x569030
mov eax, dword [ebp - 0x13c]
add eax, 0x55
push eax
mov ecx, dword [ebp - 0x190]
mov ecx, dword [ecx + 0xf4]
mov edx, dword [ebp - 0x190]
mov eax, dword [edx + 0xf4]
mov edx, dword [eax]
call dword [edx + 4]
jmp 0x56906a
mov eax, dword [ebp - 0x13c]
sub eax, 0x1f4
cmp dword [0x13c1ad8], eax
jae 0x56906a
mov ecx, dword [ebp - 0x13c]
sub ecx, 0x55
push ecx
mov edx, dword [ebp - 0x190]
mov ecx, dword [edx + 0xf4]
mov eax, dword [ebp - 0x190]
mov edx, dword [eax + 0xf4]
mov eax, dword [edx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x13c]
mov dword [0x13c1ae0], ecx
mov edx, dword [ebp - 0x144]
push edx
mov eax, dword [ebp - 0x140]
xor ecx, ecx
mov cx, word [eax + 4]
push ecx
mov edx, dword [ebp - 0x190]
mov ecx, dword [edx + 0xf8]
mov eax, dword [ebp - 0x190]
mov edx, dword [eax + 0xf8]
mov eax, dword [edx]
call dword [eax + 8]
mov ecx, 1
test ecx, ecx
jne 0x568edf
jmp case.0x56826e.4
mov edx, dword [ebp - 0x190]
cmp dword [edx + 0xfc], 0
je 0x56932f
mov eax, dword [ebp + 0x14]
and eax, 0xffff
and eax, 0xffff
cmp eax, 1
je 0x569115
mov ecx, dword [ebp - 0x190]
mov ecx, dword [ecx + 0xfc]
call fcn.0042617a
push 0
push 0
mov edx, dword [ebp - 0x190]
mov ecx, dword [edx + 0xf8]
mov eax, dword [ebp - 0x190]
mov edx, dword [eax + 0xf8]
mov eax, dword [edx]
call dword [eax + 8]
jmp case.0x56826e.4
mov ecx, dword [ebp - 0x190]
mov ecx, dword [ecx + 0xfc]
call fcn.004269db
test eax, eax
jne 0x569140
mov edx, dword [ebp - 0x190]
mov ecx, dword [edx + 0xfc]
call fcn.0042617a
jmp case.0x56826e.4
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x150], 0
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x14c]
push ecx
mov edx, dword [ebp - 0x190]
mov ecx, dword [edx + 0xfc]
call fcn.00426a42
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 0
jne 0x569187
jmp 0x56932f
cmp dword [ebp - 0x14c], 0
je 0x569195
jmp 0x56932f
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x158], eax
mov ecx, dword [ebp - 0x190]
mov ecx, dword [ecx + 0xf4]
mov edx, dword [ebp - 0x190]
mov eax, dword [edx + 0xf4]
mov edx, dword [eax]
call dword [edx + 8]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax + 8]
mov dword [0x13c1ad8], ecx
mov eax, dword [ebp - 0x154]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [0x13c1adc], eax
cmp dword [0x13c1ab4], 0
jle 0x56923c
mov edx, dword [ebp - 0x154]
sub edx, dword [0x13c1ac4]
mov dword [ebp - 0x160], edx
push 4
lea eax, [ebp - 0x160]
push eax
mov ecx, dword [0x13c1ab4]
push ecx
call fcn.0059b2e8
add esp, 0xc
mov edx, dword [ebp - 0x158]
xor eax, eax
mov ax, word [edx]
push eax
mov ecx, dword [ebp - 0x158]
push ecx
mov edx, dword [0x13c1ab4]
push edx
call fcn.0059b2e8
add esp, 0xc
mov eax, dword [0x13c1ae0]
add eax, 0x2710
cmp dword [ebp - 0x154], eax
jbe 0x5692f1
cmp dword [0x684bb0], 0
je 0x5692e5
mov ecx, dword [0x684bb0]
cmp dword [ecx + 0x200ac], 0
je 0x5692e5
mov edx, dword [ebp - 0x154]
add edx, 0x1f4
cmp dword [0x13c1ad8], edx
jbe 0x5692ab
mov eax, dword [ebp - 0x154]
add eax, 0x55
push eax
mov ecx, dword [ebp - 0x190]
mov ecx, dword [ecx + 0xf4]
mov edx, dword [ebp - 0x190]
mov eax, dword [edx + 0xf4]
mov edx, dword [eax]
call dword [edx + 4]
jmp 0x5692e5
mov eax, dword [ebp - 0x154]
sub eax, 0x1f4
cmp dword [0x13c1ad8], eax
jae 0x5692e5
mov ecx, dword [ebp - 0x154]
sub ecx, 0x55
push ecx
mov edx, dword [ebp - 0x190]
mov ecx, dword [edx + 0xf4]
mov eax, dword [ebp - 0x190]
mov edx, dword [eax + 0xf4]
mov eax, dword [edx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x154]
mov dword [0x13c1ae0], ecx
mov edx, dword [ebp - 0x15c]
push edx
mov eax, dword [ebp - 0x158]
xor ecx, ecx
mov cx, word [eax + 4]
push ecx
mov edx, dword [ebp - 0x190]
mov ecx, dword [edx + 0xf8]
mov eax, dword [ebp - 0x190]
mov edx, dword [eax + 0xf8]
mov eax, dword [edx]
call dword [eax + 8]
mov ecx, 1
test ecx, ecx
jne 0x569154
jmp case.0x56826e.4
mov edx, dword [ebp - 0x190]
cmp dword [edx + 0xec], 0
je 0x569354
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + 0xec]
call fcn.0042b3d1
jmp case.0x56826e.4
cmp dword [0x684bb0], 0
je 0x569426
mov ecx, dword [0x684bb0]
cmp dword [ecx + 0x24], 0x7530
jne 0x569426
cmp dword [0x13c1ae4], 0
jne 0x5693f2
mov edx, dword [ebp - 0x190]
mov ecx, dword [edx + 0xf4]
mov eax, dword [ebp - 0x190]
mov edx, dword [eax + 0xf4]
mov eax, dword [edx]
call dword [eax + 8]
mov dword [0x13c1ae4], eax
mov ecx, dword [0x684bb0]
mov dword [ebp - 0x174], ecx
mov edx, dword [ebp - 0x174]
mov eax, dword [edx + 0x4c]
mov cx, word [eax + 0x20]
mov word [ebp - 0x16a], cx
mov word [ebp - 0x16c], 0x3ae
mov dword [ebp - 0x164], 0
push 0x10
lea edx, [ebp - 0x170]
push edx
mov ecx, dword [0x13c1aa4]
call fcn.0042790e
xor eax, eax
jmp 0x5694ff
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + 0xf4]
mov edx, dword [ebp - 0x190]
mov eax, dword [edx + 0xf4]
mov edx, dword [eax]
call dword [edx + 8]
mov ecx, dword [0x13c1ae4]
add ecx, 0xbb8
cmp eax, ecx
jae 0x569426
xor eax, eax
jmp 0x5694ff
mov edx, dword [ebp - 0x190]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x190]
call dword [eax + 8]
cmp dword [0x13c1ab4], 0
jle 0x569459
mov ecx, dword [0x13c1ab4]
push ecx
call fcn.0059a01f
add esp, 4
mov dword [0x13c1ab4], 0
mov dword [0x13c1aec], 1
call fcn.00426061
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov dword [0x13c1ae4], 0
xor eax, eax
jmp 0x5694ff
mov eax, dword [ebp - 0x190]
cmp dword [eax + 0xe8], 0
je 0x5694e9
mov ecx, dword [ebp - 0x190]
mov edx, dword [ecx + 0xe8]
cmp dword [edx + 0x11c], 0
je 0x5694e9
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x190]
mov edx, dword [ecx + 0xe8]
mov eax, dword [edx + 0x11c]
mov ecx, dword [ebp - 0x190]
mov edx, dword [ecx + 0xe8]
mov ecx, dword [edx + 0x11c]
mov edx, dword [ecx]
push eax
call dword [edx + 0x98]
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_DefWindowProcA]
mov esp, ebp
pop ebp
ret 0x10