Function at 0x468e50
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.0x468e6f.10
movzx eax, byte [eax + 0x469144]
jmp dword [eax*4 + 0x469130]
mov esi, dword [0x54fea4]
cmp dword [ebp + 8], esi
jne 0x468ebb
mov eax, dword [0x54f254]
sub eax, 0
je 0x468eb5
sub eax, 1
je 0x468ead
sub eax, 1
jne 0x468ea8
mov ecx, dword [0x54af08]
call fcn.00475de0
mov esi, dword [eax + 0x88]
jmp 0x468ebb
mov esi, dword [ebp + 0xc]
jmp 0x468ebb
mov esi, dword [0x54feac]
jmp 0x468ebb
mov esi, dword [0x54fea8]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 2
push 0xffffffffffffffff
push 0x100c
push esi
call edi
test eax, eax
jns 0x468ed5
xor ebx, ebx
jmp 0x468ee3
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
ret
mov eax, dword [ebp + 8]
cmp eax, dword [0x54fea4]
jne 0x468f20
mov ebx, 0x65
jmp 0x468f32
xor ebx, ebx
cmp eax, dword [0x54feac]
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 0x46908f
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 0x468f7b
mov esi, dword [0x54fea4]
jmp 0x468f97
cmp ebx, 0x66
jne 0x468f88
mov esi, dword [0x54fea8]
jmp 0x468f97
cmp ebx, 0x68
jne 0x46908f
mov esi, dword [0x54feac]
push 2
push 0xffffffffffffffff
push 0x100c
push esi
call edi
cmp eax, 0xffffffff
je 0x46908f
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 0x46908f
cmp ebx, 0x65
jne 0x468ffd
mov esi, dword [ebp - 0x1c]
mov ecx, dword [0x54af08]
push esi
push dword [esi + 0x24]
call fcn.00475920
push esi
call fcn.004a8350
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, 0x66
jne 0x469017
push dword [ebp - 0x1c]
push esi
call fcn.004a8070
add esp, 8
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, 0x68
jne 0x46908f
mov ecx, dword [ebp - 0x1c]
test byte [ecx + 0xd4], 8
je 0x469049
push 0x10
push 0x500f28
push 0x50c920
push dword [0x54fea4]
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 0x469073
push 0x10
push 0x4fa6f4
push 0x50c98c
push dword [0x54fea0]
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 [0x532de8]
push ecx
push 0
push 0x4a8370
mov dword [ecx + 0x24], eax
call fcn.004d6098
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