Function at 0x46c065
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
cmp dword [ebp + 0xc], 0x110
jne 0x46c0a6
push 0x5b1
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
add ecx, 8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
call dword [edx + 0x24]
mov ecx, dword [ebp - 4]
call fcn.0046c43a
xor eax, eax
jmp 0x46c352
cmp dword [ebp + 0xc], 0x138
je 0x46c0dc
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 - 4]
add ecx, 8
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
call dword [eax + 0x24]
test eax, eax
je 0x46c0dc
mov eax, 1
jmp 0x46c352
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0x20
ja 0x46c0fd
cmp dword [ebp - 8], 0x20
je 0x46c17a
cmp dword [ebp - 8], 2
je 0x46c157
jmp case.0x46c150.4
cmp dword [ebp - 8], 0x111
ja 0x46c12c
cmp dword [ebp - 8], 0x111
je 0x46c29b
cmp dword [ebp - 8], 0x2b
je 0x46c285
cmp dword [ebp - 8], 0x2c
je 0x46c26c
jmp case.0x46c150.4
mov edx, dword [ebp - 8]
sub edx, 0x138
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0xcd
ja case.0x46c150.4
mov ecx, dword [ebp - 8]
xor eax, eax
mov al, byte [ecx + 0x46c36c]
jmp dword [eax*4 + 0x46c358]
nop
nop
nop
nop
nop
nop
nop
nop
nop
call fcn.00469e86
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x6a0
call fcn.0044f960
jmp case.0x46c150.4
mov edx, dword [ebp + 0x14]
shr edx, 0x10
movzx edx, dx
push edx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
add ecx, 0x6a0
call fcn.0046a7e8
jmp 0x46c1b8
mov edx, dword [ebp + 0x14]
shr edx, 0x10
movzx edx, dx
push edx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
add ecx, 0x6a0
call fcn.0046a852
jmp 0x46c352
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebp + 8]
jne 0x46c208
mov ecx, dword [ebp - 4]
add ecx, 0x6a0
call fcn.0046a72e
mov ecx, dword [ebp - 4]
add ecx, 0x6a0
call fcn.00469b7e
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x6a0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x6a0]
call dword [eax + 8]
mov ecx, dword [ebp - 4]
add ecx, 0x6a0
call fcn.0046a75c
jmp 0x46c26a
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebp + 8]
jne 0x46c26a
mov ecx, dword [ebp - 4]
add ecx, 0x6a0
call fcn.0046a72e
mov ecx, dword [ebp - 4]
add ecx, 0x6a0
call fcn.00469b7e
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x6a0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x6a0]
call dword [eax + 0xc]
mov ecx, dword [ebp - 4]
add ecx, 0x6a0
call fcn.0046a75c
jmp 0x46c26a
push dword [ebp + 0x14]
push dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
add ecx, 0x6a0
mov edx, dword [ecx]
call dword [edx]
jmp 0x46c2d4
push dword [ebp + 0x14]
push dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
add ecx, 0x6a0
call fcn.0046a118
xor eax, eax
inc eax
jmp 0x46c296
push dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
add ecx, 0x6a0
call fcn.0046a1a3
jmp 0x46c352
movzx eax, word [ebp + 0x10]
cmp eax, 2
jne 0x46c2b3
push 0
mov ecx, dword [ebp - 4]
push dword [ecx]
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x46c2d4
call fcn.0052f600
test eax, eax
jne 0x46c2c0
push 0xffffffffffffffff
jmp 0x46c2c6
cmp eax, 1
jne 0x46c2d6
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x6a0
call fcn.00469adc
jmp case.0x46c150.4
cmp eax, 0x47
jne 0x46c2f8
push dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
movzx ecx, cx
push ecx
mov ecx, dword [ebp - 4]
add ecx, 0x6a0
call fcn.00469ecb
jmp case.0x46c150.4
cmp eax, 2
jne 0x46c324
call fcn.0043ee7b
mov ecx, dword [ebp - 4]
add ecx, 8
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, dword [ebp - 4]
add ecx, 0x6a0
inc dword [ecx + 0x20]
push 0
push 9
call fcn.00469ecb
jmp case.0x46c150.4
cmp eax, 3
jne case.0x46c150.4
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x46c333
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp ax, 0x3fe
jae 0x46c343
call fcn.0043ee09
jmp 0x46c330
push 0x5000c0
push 0
call fcn.0042f699
nop
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10