Function at 0x4694ee
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x3c
add eax, 0xfffffff7
push ebx
push esi
push edi
cmp eax, 0x1b
ja case.0x46944f.10
movzx eax, byte [eax + 0x469724]
jmp dword [eax*4 + 0x469710]
mov esi, dword [0x555ecc]
cmp dword [ebp + 8], esi
jne 0x46949b
mov eax, dword [0x555284]
sub eax, 0
je 0x469495
sub eax, 1
je 0x46948d
sub eax, 1
jne 0x469488
mov ecx, dword [0x550f38]
call fcn.004760d0
mov esi, dword [eax + 0x88]
jmp 0x46949b
mov esi, dword [ebp + 0xc]
jmp 0x46949b
mov esi, dword [0x555ed4]
jmp 0x46949b
mov esi, dword [0x555ed0]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 2
push 0xffffffffffffffff
push 0x100c
push esi
call edi
test eax, eax
jns 0x4694b5
xor ebx, ebx
jmp 0x4694c3
push 2
push 0xffffffffffffffff
push 0x100c
push esi
call edi
mov ebx, eax
push esi
call dword [sym.imp.USER32.dll_SetFocus]
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x2c], 3
push eax
push ebx
push 0x102b
push esi
mov dword [ebp - 0x30], 3
call edi
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
mov eax, dword [ebp + 8]
cmp eax, dword [0x555ecc]
jne 0x469500
mov ebx, 0x65
jmp 0x469512
xor ebx, ebx
cmp eax, dword [0x555ed4]
sete bl
lea ebx, [ebx*2 + 0x66]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 2
push 0xffffffffffffffff
push 0x100c
push eax
call edi
cmp eax, 0xffffffff
je 0x46966f
xorps xmm0, xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
movlpd qword [ebp - 8], xmm0
cmp ebx, 0x65
jne 0x46955b
mov esi, dword [0x555ecc]
jmp 0x469577
cmp ebx, 0x66
jne 0x469568
mov esi, dword [0x555ed0]
jmp 0x469577
cmp ebx, 0x68
jne 0x46966f
mov esi, dword [0x555ed4]
push 2
push 0xffffffffffffffff
push 0x100c
push esi
call edi
cmp eax, 0xffffffff
je 0x46966f
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x3c]
push eax
push 0
push 0x104b
push esi
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], 4
call edi
cmp eax, 1
jne 0x46966f
cmp ebx, 0x65
jne 0x4695dd
mov esi, dword [ebp - 0x1c]
mov ecx, dword [0x550f38]
push esi
push dword [esi + 0x24]
call fcn.00475c10
push esi
call fcn.004a81f0
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, 0x66
jne 0x4695f7
push dword [ebp - 0x1c]
push esi
call fcn.004a7f10
add esp, 8
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, 0x68
jne 0x46966f
mov ecx, dword [ebp - 0x1c]
test byte [ecx + 0xd4], 8
je 0x469629
push 0x10
push 0x502f28
push 0x50e930
push dword [0x555ecc]
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ecx + 0xe0], 0
jne 0x469653
push 0x10
push 0x4fc6f4
push 0x50e99c
push dword [0x555ec8]
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
lock inc dword [ecx + 0x20]
mov eax, dword [0x538dd8]
push ecx
push 0
push 0x4a8210
mov dword [ecx + 0x24], eax
call fcn.004d5fba
add esp, 0xc
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x3c]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0
push 0x102b
push edi
mov dword [ebp - 0x2c], 3
mov dword [ebp - 0x30], 3
call esi
push 0
push 0
push 0x1013
push edi
call esi
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x3c]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0
push 0
push 0x1004
push edi
mov dword [ebp - 0x2c], 3
mov dword [ebp - 0x30], 3
call esi
dec eax
push eax
push 0x102b
push edi
call esi
push 0
push 0
push 0
push 0x1004
push edi
call esi
dec eax
push eax
push 0x1013
push edi
call esi
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret