Function at 0x558720
Capabilities:
Check os version
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x16c
mov eax, dword [0x5b00cc]
xor eax, esp
mov dword [esp + 0x168], eax
mov ecx, dword [0x5f3a68]
test ecx, ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x30], ecx
je 0x55876d
mov eax, dword [ecx]
mov edx, dword [eax + 0x1d4]
push ebx
call edx
test al, al
jne 0x558d6e
mov eax, dword [ebx]
push 0xff
lea ecx, [esp + 0x74]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClassNameA]
mov ecx, 7
mov esi, ebx
mov edi, 0x5f4464
mov byte [esp + eax + 0x70], 0
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 4]
cmp eax, 0x100
je 0x5587a8
cmp eax, 0x104
jne 0x559858
mov ebx, dword [ebx + 8]
cmp ebx, 0xff
mov dword [esp + 0x2c], ebx
je 0x559858
call fcn.005586c0
test eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x10], 0
jne 0x5587df
lea edx, [ebx - 0xa6]
cmp edx, 0x11
jbe 0x559858
test eax, 0x1000
je 0x558832
mov eax, 0x586ee4
lea ebx, [esp + 0x14]
call fcn.00401ed0
mov eax, ebx
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.004ac650
add esp, 0xc
mov ebx, eax
lea edi, [esp + 0x10]
call fcn.004abdf0
mov esi, dword [esp + 0x20]
test esi, esi
je 0x558821
call fcn.004ab850
mov esi, dword [esp + 0x14]
test esi, esi
je 0x55882e
call fcn.004ab850
mov ebx, dword [esp + 0x2c]
test dword [esp + 0x50], 0x200
je 0x558888
mov eax, str.Shift
lea ebx, [esp + 0x14]
call fcn.00401ed0
mov eax, ebx
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.004ac650
add esp, 0xc
mov ebx, eax
lea edi, [esp + 0x10]
call fcn.004abdf0
mov esi, dword [esp + 0x20]
test esi, esi
je 0x558877
call fcn.004ab850
mov esi, dword [esp + 0x14]
test esi, esi
je 0x558884
call fcn.004ab850
mov ebx, dword [esp + 0x2c]
test dword [esp + 0x50], 0x800
je 0x558902
mov eax, str.Alt
lea ebx, [esp + 0x14]
call fcn.00401ed0
mov eax, ebx
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.004ac650
add esp, 0xc
mov ebx, eax
lea edi, [esp + 0x10]
call fcn.004abdf0
mov esi, dword [esp + 0x20]
test esi, esi
je 0x5588cd
call fcn.004ab850
mov esi, dword [esp + 0x14]
test esi, esi
je 0x5588da
call fcn.004ab850
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 5
jb 0x5588fe
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
push 0
push 0x20002
push 0x127
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x50]
lea edx, [ebx - 0x70]
cmp edx, 0x17
mov word [0x5f49b0], cx
ja 0x55897b
mov eax, 0x5a01b4
lea ebx, [esp + 0x14]
call fcn.00401ed0
mov eax, ebx
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.004ac650
add esp, 0xc
mov ebx, eax
lea edi, [esp + 0x10]
call fcn.004abdf0
mov esi, dword [esp + 0x20]
test esi, esi
je 0x558950
call fcn.004ab850
mov esi, dword [esp + 0x14]
test esi, esi
je 0x55895d
call fcn.004ab850
movzx eax, byte [esp + 0x2c]
sub al, 0x3f
lea ecx, [esp + 0x10]
push eax
push ecx
lea eax, [esp + 0x1c]
call fcn.004ac900
add esp, 8
jmp 0x558b9e
cmp ebx, 0x1b
jne 0x5589c4
mov eax, 0x586158
lea ebx, [esp + 0x14]
call fcn.00401ed0
mov edx, ebx
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004ac650
add esp, 0xc
mov ebx, eax
lea edi, [esp + 0x10]
call fcn.004abdf0
mov esi, dword [esp + 0x20]
test esi, esi
je 0x558ba9
call fcn.004ab850
jmp 0x558ba9
cmp ebx, 8
jne 0x558a0d
mov eax, str.Bksp
lea ebx, [esp + 0x14]
call fcn.00401ed0
mov edx, ebx
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004ac650
add esp, 0xc
mov ebx, eax
lea edi, [esp + 0x10]
call fcn.004abdf0
mov esi, dword [esp + 0x20]
test esi, esi
je 0x558ba9
call fcn.004ab850
jmp 0x558ba9
cmp ebx, 9
jne 0x558a56
mov eax, 0x5861f8
lea ebx, [esp + 0x14]
call fcn.00401ed0
mov edx, ebx
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004ac650
add esp, 0xc
mov ebx, eax
lea edi, [esp + 0x10]
call fcn.004abdf0
mov esi, dword [esp + 0x20]
test esi, esi
je 0x558ba9
call fcn.004ab850
jmp 0x558ba9
cmp ebx, 0xc
jne 0x558a9f
mov eax, 0x5a01b8
lea ebx, [esp + 0x14]
call fcn.00401ed0
mov edx, ebx
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004ac650
add esp, 0xc
mov ebx, eax
lea edi, [esp + 0x10]
call fcn.004abdf0
mov esi, dword [esp + 0x20]
test esi, esi
je 0x558ba9
call fcn.004ab850
jmp 0x558ba9
cmp ebx, 0x2d
jne 0x558ae8
mov eax, 0x586f2c
lea ebx, [esp + 0x14]
call fcn.00401ed0
mov edx, ebx
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004ac650
add esp, 0xc
mov ebx, eax
lea edi, [esp + 0x10]
call fcn.004abdf0
mov esi, dword [esp + 0x20]
test esi, esi
je 0x558ba9
call fcn.004ab850
jmp 0x558ba9
cmp ebx, 0xd
jne 0x558b2e
mov eax, str.Enter
lea ebx, [esp + 0x14]
call fcn.00401ed0
mov edx, ebx
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004ac650
add esp, 0xc
mov ebx, eax
lea edi, [esp + 0x10]
call fcn.004abdf0
mov esi, dword [esp + 0x20]
test esi, esi
je 0x558ba9
call fcn.004ab850
jmp 0x558ba9
lea eax, [ebx - 0x20]
cmp eax, 0xf
ja 0x558b75
mov eax, dword [eax*4 + 0x5b1490]
lea ebx, [esp + 0x14]
call fcn.00401ed0
mov edx, ebx
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004ac650
add esp, 0xc
mov ebx, eax
lea edi, [esp + 0x10]
call fcn.004abdf0
mov esi, dword [esp + 0x20]
test esi, esi
je 0x558ba9
call fcn.004ab850
jmp 0x558ba9
shr ecx, 9
and ecx, 0xffffff01
push ecx
call fcn.005649c0
mov byte [esp + 0x18], al
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x20]
call fcn.004ac900
add esp, 0xc
mov ebx, eax
lea edi, [esp + 0x10]
call fcn.004abdf0
mov esi, dword [esp + 0x14]
test esi, esi
je 0x558bb6
call fcn.004ab850
mov ecx, dword [esp + 0x4c]
mov ecx, dword [ecx]
call fcn.00556040
test eax, eax
mov byte [esp + 0x20], 0
je 0x558bda
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x1ec]
call eax
mov byte [esp + 0x20], al
mov edi, 4
mov esi, str.FAKE
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
call fcn.004ab970
mov eax, dword [esp + 0x24]
test eax, eax
je 0x558c04
mov dword [eax + 0x10], 0x600
cmp dword [esp + 0x50], 0
jne 0x558c97
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x558ca6
mov edx, dword [ecx]
mov eax, dword [edx + 0x88]
call eax
test al, al
je 0x558ca6
mov ebx, dword [esp + 0x2c]
push 0
call fcn.005649c0
mov byte [esp + 0x1f], al
add esp, 4
mov edi, 1
lea esi, [esp + 0x1b]
lea eax, [esp + 0x24]
call fcn.004ab970
mov eax, str.Alt
lea ebx, [esp + 0x14]
call fcn.00401ed0
lea ecx, [esp + 0x24]
push ecx
mov edx, ebx
push edx
lea eax, [esp + 0x40]
push eax
call fcn.004ac650
add esp, 0xc
mov ebx, eax
lea edi, [esp + 0x24]
call fcn.004abdf0
mov esi, dword [esp + 0x38]
test esi, esi
je 0x558c88
call fcn.004ab850
mov esi, dword [esp + 0x14]
test esi, esi
je 0x558ca6
call fcn.004ab850
jmp 0x558ca6
mov ecx, dword [esp + 0x20]
push ecx
xor eax, eax
call fcn.004fd8d0
add esp, 4
mov eax, dword [0x5f4888]
test eax, eax
mov dword [esp + 0x14], eax
je 0x558f80
mov edx, dword [eax]
mov ebx, dword [eax + 8]
mov edi, dword [eax + 0xc]
mov esi, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
test eax, eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], eax
je 0x558ce0
add dword [eax], 1
lea ecx, [esp + 0x10]
lea eax, [esp + 0x6c]
call fcn.004acb80
test eax, eax
sete al
test al, al
jne 0x558d13
test esi, esi
je 0x558f61
lea ecx, [esp + 0x24]
lea eax, [esp + 0x6c]
call fcn.004acb80
test eax, eax
jne 0x558f61
test esi, esi
jne 0x558d85
push esi
push ebx
mov eax, edi
push edi
sar eax, 0x1f
call dword [sym.imp.USER32.dll_GetMenuState]
test al, 1
jne 0x558f61
mov ecx, dword [esp + 0x20]
push 1
push ebx
push ecx
call fcn.004fd260
add esp, 0xc
test al, al
je 0x558f61
cmp dword [esp + 0x6c], esi
je 0x558d54
mov esi, dword [esp + 0x6c]
call fcn.004ab850
mov esi, dword [esp + 0x24]
test esi, esi
je 0x558d61
call fcn.004ab850
mov esi, dword [esp + 0x10]
test esi, esi
je 0x558d6e
call fcn.004ab850
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x168]
xor ecx, esp
call fcn.00566120
mov esp, ebp
pop ebp
ret
cmp esi, 1
jne 0x558e04
test ebx, ebx
je 0x558f61
push str.RBInstance
push ebx
call dword [sym.imp.USER32.dll_GetPropA]
mov edi, eax
test edi, edi
je 0x558f61
mov ecx, edi
call fcn.0051d0d0
mov esi, eax
call fcn.00556080
test al, al
je 0x558f61
cmp byte [edi + 0x4e], 0
je 0x558f61
cmp byte [edi + 0x4c], 0
je 0x558f61
cmp byte [edi + 0x4d], 0
je 0x558f61
call fcn.0051f100
mov edx, dword [edi]
mov eax, dword [edx + 0x1e0]
push 0
push 0
push 0
mov ecx, edi
call eax
mov esi, dword [esp + 0x6c]
test esi, esi
je 0x558d54
jmp 0x558d4f
cmp esi, 3
jne 0x558e8f
test ebx, ebx
je 0x558f61
mov ecx, dword [ebx + 0x38]
call fcn.0051d0d0
mov esi, eax
call fcn.00556080
test al, al
je 0x558f61
mov eax, dword [ebx + 0x38]
cmp byte [eax + 0x4e], 0
je 0x558f61
cmp byte [eax + 0x4c], 0
je 0x558f61
cmp byte [eax + 0x4d], 0
je 0x558f61
mov edi, eax
call fcn.0051f100
mov ebx, dword [ebx + 0x38]
mov edx, dword [ebx]
mov eax, dword [edx + 0x28]
push 0
push 0
push 0
mov ecx, ebx
call eax
call fcn.004feca0
cmp dword [esp + 0x6c], 0
je 0x558e7b
mov esi, dword [esp + 0x6c]
call fcn.004ab850
cmp dword [esp + 0x24], 0
je 0x558d61
mov esi, dword [esp + 0x24]
jmp 0x558d5c
cmp si, 2
jne 0x558f3a
test ebx, ebx
je 0x558f61
push str.RBInstance
push ebx
call dword [sym.imp.USER32.dll_GetPropA]
mov edi, eax
test edi, edi
je 0x558f61
mov ecx, edi
call fcn.0051d0d0
mov esi, eax
call fcn.00556080
test al, al
je 0x558f61
cmp byte [edi + 0x4e], 0
je 0x558f61
cmp byte [edi + 0x4c], 0
je 0x558f61
cmp byte [edi + 0x4d], 0
je 0x558f61
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x130b
push ebx
call esi
mov edx, dword [esp + 0x68]
shr edx, 0x10
cmp eax, edx
je 0x558f61
call fcn.0051f100
mov eax, dword [esp + 0x68]
push 0
shr eax, 0x10
push eax
push 0x130c
push ebx
call esi
cmp dword [edi + 0x200], 0
je 0x558e6b
mov ecx, dword [edi + 0x200]
mov edx, dword [ecx]
mov eax, dword [edx]
push edi
call eax
jmp 0x558e6b
cmp esi, 4
jne 0x558f61
test ebx, ebx
je 0x558f61
mov ecx, ebx
call fcn.0051d0d0
mov esi, eax
call fcn.00556080
test al, al
je 0x558f61
cmp byte [ebx + 0x4c], 0
je 0x558f61
cmp byte [ebx + 0x4d], 0
jne 0x558fb3
mov esi, dword [esp + 0x6c]
test esi, esi
je 0x558f6e
call fcn.004ab850
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x558cb7
mov ecx, dword [esp + 0x4c]
mov ecx, dword [ecx]
call fcn.00556040
mov edi, eax
test edi, edi
mov dword [esp + 0x20], edi
jne 0x558fd0
mov esi, dword [esp + 0x24]
test esi, esi
je 0x558fa2
call fcn.004ab850
mov esi, dword [esp + 0x10]
test esi, esi
je 0x559858
jmp 0x559853
mov edx, dword [ebx]
mov eax, dword [edx + 0x1dc]
mov ecx, ebx
call eax
mov esi, dword [esp + 0x6c]
test esi, esi
je 0x558d54
jmp 0x558d4f
mov edx, dword [0x5f3c3c]
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
lea eax, [ebx - 0x10]
cmp eax, 0x81
lea ecx, [esp + 0x44]
lea edx, [esp + 0x3c]
mov dword [esp + 0x48], edi
mov dword [esp + 0x3c], ecx
mov dword [0x5f3c3c], edx
ja case.0x55900d.21
movzx eax, byte [eax + 0x5598d0]
jmp dword [eax*4 + 0x5598c8]
xor edi, edi
mov esi, 0x57e81c
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
call fcn.004ab970
mov esi, dword [esp + 0x14]
test esi, esi
je 0x55903b
mov dword [esi + 0x10], 0x600
lea ebx, [esp + 0x14]
lea edi, [esp + 0x10]
call fcn.004abdf0
test esi, esi
je 0x559051
call fcn.004ab850
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x20]
cmp ebx, 0xd
jne 0x559077
mov ecx, dword [esp + 0x4c]
test dword [ecx + 0xc], 0x1000000
je 0x559077
mov dword [esp + 0x2c], 0x97
mov ebx, dword [esp + 0x2c]
lea eax, [ebx - 8]
cmp eax, 0x8f
mov byte [esp + 0x1b], 1
ja case.0x55908d.10
movzx edx, byte [eax + 0x55995c]
jmp dword [edx*4 + 0x559954]
mov byte [esp + 0x1b], 0
cmp ebx, 0x1b
mov esi, dword [esp + 0x30]
jne 0x55925f
test esi, esi
je 0x55925f
cmp dword [esi + 0x3c], 0
jne 0x55925f
lea eax, [esp + 0x70]
lea ebx, [esp + 0x34]
mov dword [esp + 0x1c], 1
call fcn.00401ed0
mov ecx, str.RICHEDIT
call fcn.00401f50
test al, al
jne 0x559149
lea eax, [esp + 0x70]
lea ebx, [esp + 0x54]
mov dword [esp + 0x1c], 3
call fcn.00401ed0
mov ecx, str.RICHEDIT20W
call fcn.00401f50
test al, al
jne 0x559149
lea eax, [esp + 0x70]
lea ebx, [esp + 0x14]
mov dword [esp + 0x1c], 7
call fcn.00401ed0
mov ecx, str.RICHEDIT50W
call fcn.00401f50
test al, al
jne 0x559149
lea eax, [esp + 0x70]
lea ebx, [esp + 0x38]
mov dword [esp + 0x1c], 0xf
call fcn.00401ed0
mov ecx, 0x5816e0
call fcn.00401f50
test al, al
mov byte [esp + 0x2b], 0
je 0x55914e
mov byte [esp + 0x2b], 1
mov ebx, dword [esp + 0x1c]
test bl, 8
je 0x55916b
mov esi, dword [esp + 0x38]
and ebx, 0xfffffff7
test esi, esi
mov dword [esp + 0x1c], ebx
je 0x55916b
call fcn.004ab850
test bl, 4
je 0x559184
mov esi, dword [esp + 0x14]
and ebx, 0xfffffffb
test esi, esi
mov dword [esp + 0x1c], ebx
je 0x559184
call fcn.004ab850
test bl, 2
je 0x55919d
mov esi, dword [esp + 0x54]
and ebx, 0xfffffffd
test esi, esi
mov dword [esp + 0x1c], ebx
je 0x55919d
call fcn.004ab850
test bl, 1
je 0x5591b6
mov esi, dword [esp + 0x34]
and ebx, 0xfffffffe
test esi, esi
mov dword [esp + 0x1c], ebx
je 0x5591b6
call fcn.004ab850
cmp byte [esp + 0x2b], 0
je 0x559253
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
mov edx, dword [eax + 0x7c]
call edx
xor esi, esi
test eax, eax
je 0x5591eb
mov esi, dword [eax + 0x3c]
test esi, esi
je 0x5591eb
call fcn.004fb6d0
push esi
call fcn.00416300
add esp, 4
test al, al
jne 0x5591fd
call fcn.004fa050
push esi
call fcn.00416300
add esp, 4
test al, al
je 0x559253
mov esi, dword [esi + 0x38]
test esi, esi
je 0x559253
mov eax, dword [esp + 0x50]
push eax
lea edi, [esi + 0xe68]
mov esi, dword [edi]
shr eax, 9
and eax, 0xffffff01
push 0x1b
push eax
mov ebx, 0x1b
add esi, 0x1c
call fcn.005649c0
mov edx, dword [esi]
add esp, 4
push eax
mov eax, dword [esp + 0x3c]
push eax
mov ecx, edi
call edx
test al, al
je 0x559253
lea edx, [esp + 0x3c]
call fcn.00520ac0
lea edx, [esp + 0x44]
call fcn.00520ac0
jmp 0x558d54
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
cmp byte [esp + 0x1b], 0
jne 0x55947b
mov eax, dword [esp + 0x40]
test eax, eax
mov byte [esp + 0x2b], 1
je 0x559400
cmp eax, dword [esp + 0x48]
je 0x559400
or dword [esp + 0x1c], 0x10
lea eax, [esp + 0x70]
lea ebx, [esp + 0x14]
call fcn.00401ed0
mov ecx, str.RICHEDIT
call fcn.00401f50
test al, al
jne 0x55930d
or dword [esp + 0x1c], 0x20
lea eax, [esp + 0x70]
lea ebx, [esp + 0x38]
call fcn.00401ed0
mov ecx, str.RICHEDIT20W
call fcn.00401f50
test al, al
jne 0x55930d
or dword [esp + 0x1c], 0x40
lea eax, [esp + 0x70]
lea ebx, [esp + 0x54]
call fcn.00401ed0
mov ecx, str.RICHEDIT50W
call fcn.00401f50
test al, al
jne 0x55930d
or dword [esp + 0x1c], 0x80
lea eax, [esp + 0x70]
lea ebx, [esp + 0x34]
call fcn.00401ed0
mov ecx, 0x5816e0
call fcn.00401f50
test al, al
mov byte [esp + 0x1b], 0
je 0x559312
mov byte [esp + 0x1b], 1
mov ebx, dword [esp + 0x1c]
test bl, bl
jns 0x559331
mov esi, dword [esp + 0x34]
and ebx, 0xffffff7f
test esi, esi
mov dword [esp + 0x1c], ebx
je 0x559331
call fcn.004ab850
test bl, 0x40
je 0x55934a
mov esi, dword [esp + 0x54]
and ebx, 0xffffffbf
test esi, esi
mov dword [esp + 0x1c], ebx
je 0x55934a
call fcn.004ab850
test bl, 0x20
je 0x559363
mov esi, dword [esp + 0x38]
and ebx, 0xffffffdf
test esi, esi
mov dword [esp + 0x1c], ebx
je 0x559363
call fcn.004ab850
test bl, 0x10
je 0x55937c
mov esi, dword [esp + 0x14]
and ebx, 0xffffffef
test esi, esi
mov dword [esp + 0x1c], ebx
je 0x55937c
call fcn.004ab850
cmp byte [esp + 0x1b], 0
je 0x559388
mov byte [esp + 0x2b], 0
cmp dword [esp + 0x10], 0
je 0x5593f5
mov eax, dword [esp + 0x10]
cmp dword [eax + 0xc], 0
je 0x5593f5
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x40]
mov esi, dword [ecx]
push eax
shr eax, 9
and eax, 0xffffff01
push ebx
push eax
add esi, 0xcc
call fcn.005649c0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esi]
add esp, 4
push eax
call edx
test al, al
je 0x5593f5
lea edx, [esp + 0x3c]
call fcn.00520ac0
lea edx, [esp + 0x44]
call fcn.00520ac0
mov esi, dword [esp + 0x24]
test esi, esi
je 0x5593ec
call fcn.004ab850
mov esi, dword [esp + 0x10]
jmp 0x558d69
cmp byte [esp + 0x2b], 0
mov ebx, dword [esp + 0x2c]
je 0x559449
cmp dword [esp + 0x10], 0
je 0x559449
mov eax, dword [esp + 0x10]
cmp dword [eax + 0xc], 0
je 0x559449
mov eax, dword [esp + 0x48]
test eax, eax
je 0x559449
mov esi, dword [eax]
mov eax, dword [esp + 0x50]
push eax
shr eax, 9
and eax, 0xffffff01
push ebx
push eax
add esi, 0xcc
call fcn.005649c0
mov ecx, dword [esp + 0x54]
mov edx, dword [esi]
add esp, 4
push eax
call edx
test al, al
jne 0x5593cd
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
call fcn.00556040
test eax, eax
mov dword [esp + 0x20], eax
jne 0x559473
lea edx, [esp + 0x3c]
call fcn.00520ac0
lea edx, [esp + 0x44]
call fcn.00520ac0
jmp 0x558f95
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x30]
cmp ebx, 0x28
je 0x55986f
cmp ebx, 0x26
je 0x55986f
cmp ebx, 0x25
je 0x55986f
cmp ebx, 0x27
je 0x55986f
cmp ebx, 9
jne 0x5595fb
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call ebx
test ax, ax
js 0x559829
push 0x10
call ebx
test ax, ax
jns 0x5594d6
mov edx, dword [edi]
mov eax, dword [edx + 0x230]
push esi
mov ecx, edi
call eax
jmp 0x5595d9
or dword [esp + 0x1c], 0x100
lea eax, [esp + 0x70]
lea ebx, [esp + 0x38]
call fcn.00401ed0
mov ecx, str.RICHEDIT
call fcn.00401f50
test al, al
jne 0x559544
or dword [esp + 0x1c], 0x200
lea eax, [esp + 0x70]
lea ebx, [esp + 0x54]
call fcn.00401ed0
mov ecx, str.RICHEDIT20W
call fcn.00401f50
test al, al
jne 0x559544
or dword [esp + 0x1c], 0x400
lea eax, [esp + 0x70]
lea ebx, [esp + 0x34]
call fcn.00401ed0
mov ecx, str.RICHEDIT50W
call fcn.00401f50
test al, al
mov byte [esp + 0x1b], 0
je 0x559549
mov byte [esp + 0x1b], 1
mov ebx, dword [esp + 0x1c]
test ebx, 0x400
je 0x559568
mov esi, dword [esp + 0x34]
and ebx, 0xfffffbff
test esi, esi
je 0x559568
call fcn.004ab850
test ebx, 0x200
je 0x559583
mov esi, dword [esp + 0x54]
and ebx, 0xfffffdff
test esi, esi
je 0x559583
call fcn.004ab850
test ebx, 0x100
je 0x559598
mov esi, dword [esp + 0x38]
test esi, esi
je 0x559598
call fcn.004ab850
cmp byte [esp + 0x1b], 0
je 0x5595c6
mov ecx, dword [0x5f3a68]
test ecx, ecx
je 0x5595c6
mov edx, dword [esp + 0x4c]
mov eax, dword [edx]
cmp eax, dword [ecx + 0x68]
jne 0x5595c6
mov edx, dword [ecx]
mov eax, dword [edx + 0x32c]
call eax
test al, al
jne 0x559829
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov eax, dword [esp + 0x30]
mov edx, dword [edx + 0x234]
push eax
call edx
mov esi, eax
test esi, esi
je 0x55923c
mov eax, dword [esi]
mov edx, dword [eax + 0xd8]
mov ecx, esi
call edx
mov edi, esi
call fcn.0051f100
jmp 0x55923c
cmp ebx, 0xd
je 0x5596b2
cmp ebx, 0x97
je 0x5596b2
cmp ebx, 0x1b
jne 0x559829
lea eax, [esp + 0x70]
lea ebx, [esp + 0x34]
call fcn.00401ed0
mov ecx, str.COMBOBOX
call fcn.00401f50
mov esi, dword [esp + 0x34]
test esi, esi
mov bl, al
je 0x55963f
call fcn.004ab850
test bl, bl
je 0x55965d
mov eax, dword [esp + 0x30]
test eax, eax
je 0x55965d
add eax, 0xffffffe4
je 0x55965d
cmp byte [eax + 0x228], 0
jne 0x559829
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
mov edx, dword [eax + 0x12c]
call edx
test eax, eax
je 0x559829
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x130]
call eax
lea edx, [esp + 0x3c]
call fcn.00520ac0
lea edx, [esp + 0x44]
call fcn.00520ac0
mov esi, dword [esp + 0x24]
test esi, esi
je 0x55969e
call fcn.004ab850
cmp dword [esp + 0x10], 0
je 0x558d6e
mov esi, dword [esp + 0x10]
jmp 0x558d69
test edi, edi
jne 0x5596d2
push 0x77e
push str.........CommonWin32win32windows.cpp
xor esi, esi
mov edx, 0x5882ac
lea ecx, [edi + 4]
call fcn.004f1fc0
add esp, 8
mov ecx, dword [edi + 0xc4]
or dword [esp + 0x1c], 0x800
lea eax, [esp + 0x70]
lea ebx, [esp + 0x38]
mov dword [esp + 0x14], ecx
call fcn.00401ed0
mov ecx, str.RICHEDIT
call fcn.00401f50
test al, al
jne 0x55974a
or dword [esp + 0x1c], 0x1000
lea eax, [esp + 0x70]
lea ebx, [esp + 0x54]
call fcn.00401ed0
mov ecx, str.RICHEDIT20W
call fcn.00401f50
test al, al
jne 0x55974a
or dword [esp + 0x1c], 0x2000
lea eax, [esp + 0x70]
lea ebx, [esp + 0x34]
call fcn.00401ed0
mov ecx, str.RICHEDIT50W
call fcn.00401f50
test al, al
mov byte [esp + 0x1b], 0
je 0x55974f
mov byte [esp + 0x1b], 1
mov ebx, dword [esp + 0x1c]
test ebx, 0x2000
je 0x55976e
mov esi, dword [esp + 0x34]
and ebx, 0xffffdfff
test esi, esi
je 0x55976e
call fcn.004ab850
test ebx, 0x1000
je 0x559789
mov esi, dword [esp + 0x54]
and ebx, 0xffffefff
test esi, esi
je 0x559789
call fcn.004ab850
test ebx, 0x800
je 0x55979e
mov esi, dword [esp + 0x38]
test esi, esi
je 0x55979e
call fcn.004ab850
cmp byte [esp + 0x1b], 0
mov edi, dword [esp + 0x30]
je 0x5597d9
test edi, edi
je 0x5597d9
mov edx, dword [esp + 0x4c]
mov eax, dword [edx]
cmp eax, dword [edi + 0x68]
jne 0x5597d9
mov edx, dword [edi]
mov eax, dword [edx + 0x234]
mov ecx, edi
call eax
test al, al
je 0x5597d9
cmp dword [esp + 0x14], 0
je 0x559829
cmp dword [esp + 0x2c], 0x97
jne 0x559829
lea eax, [esp + 0x70]
lea ebx, [esp + 0x34]
call fcn.00401ed0
mov ecx, str.COMBOBOX
call fcn.00401f50
mov esi, dword [esp + 0x34]
test esi, esi
mov bl, al
je 0x5597ff
call fcn.004ab850
test bl, bl
je 0x559817
test edi, edi
je 0x559817
lea eax, [edi - 0x1c]
test eax, eax
je 0x559817
cmp byte [eax + 0x228], 0
jne 0x559829
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x559829
mov edx, dword [ecx]
mov eax, dword [edx + 0x130]
call eax
lea edx, [esp + 0x3c]
call fcn.00520ac0
lea edx, [esp + 0x44]
call fcn.00520ac0
mov esi, dword [esp + 0x24]
test esi, esi
je 0x559848
call fcn.004ab850
cmp dword [esp + 0x10], 0
je 0x559858
mov esi, dword [esp + 0x10]
call fcn.004ab850
mov ecx, dword [esp + 0x174]
pop edi
pop esi
pop ebx
xor ecx, esp
xor al, al
call fcn.00566120
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x559829
mov edx, dword [esi]
mov eax, dword [edx + 0x88]
mov ecx, esi
call eax
test al, al
je 0x559829
cmp ebx, 0x25
je 0x559897
cmp ebx, 0x26
je 0x559897
mov edx, dword [edi]
mov eax, dword [edx + 0x234]
jmp 0x55989f
mov edx, dword [edi]
mov eax, dword [edx + 0x230]
push esi
mov ecx, edi
call eax
mov esi, eax
test esi, esi
je 0x55923c
mov edx, dword [esi]
mov eax, dword [edx + 0xd8]
mov ecx, esi
call eax
mov edi, esi
call fcn.0051f100
jmp 0x55923c