Function at 0x46c065
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ecx
add ecx, 0x6a0
push ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + 0xc], 0x110
jne 0x46c0ae
push 0x5b1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
add ecx, 8
mov edx, dword [ecx]
call dword [edx + 0x24]
mov ecx, dword [ebp - 4]
call fcn.0046c43a
jmp case.0x46c150.4
cmp dword [ebp + 0xc], 0x138
je 0x46c0dc
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
add ecx, 8
mov edx, dword [ecx]
call dword [edx + 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 0x46c174
cmp dword [ebp - 8], 2
je 0x46c157
jmp case.0x46c150.4
cmp dword [ebp - 8], 0x111
ja 0x46c12c
cmp dword [ebp - 8], 0x111
je 0x46c27c
cmp dword [ebp - 8], 0x2b
je 0x46c25f
cmp dword [ebp - 8], 0x2c
je 0x46c24a
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 - 0x10]
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 - 0x10]
call fcn.0046a7e8
push 7
push dword [ebp + 8]
call fcn.0044d578
nop
nop
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 - 0x10]
nop
nop
nop
nop
nop
nop
call fcn.0046a852
jmp 0x46c352
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebp + 8]
jne 0x46c208
mov ecx, dword [ebp - 0x10]
nop
nop
nop
nop
nop
nop
call fcn.0046a72e
mov ecx, dword [ebp - 0x10]
nop
nop
nop
nop
nop
nop
call fcn.00469b7e
push eax
mov ecx, dword [ebp - 0x10]
nop
nop
nop
nop
nop
nop
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x6a0]
call dword [eax + 8]
mov ecx, dword [ebp - 0x10]
nop
nop
nop
nop
nop
nop
call fcn.0046a75c
jmp 0x46c245
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebp + 8]
jne 0x46c245
mov ecx, dword [ebp - 0x10]
call fcn.0046a72e
mov ecx, dword [ebp - 0x10]
call fcn.00469b7e
push eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x10]
call fcn.0046a75c
jmp 0x46c245
push dword [ebp + 0x14]
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
call dword [edx]
jmp 0x46c2cd
push dword [ebp + 0x14]
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x10]
call fcn.0046a118
mov eax, 1
jmp 0x46c277
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x10]
call fcn.0046a19a
push dword [ebp + 8]
push 0
push dword [ebp + 0x14]
call fcn.0044d6e6
jmp 0x46c352
movzx eax, word [ebp + 0x10]
cmp eax, 2
jne 0x46c294
push 0
mov ecx, dword [ebp - 4]
push dword [ecx]
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x46c2cd
cmp eax, 0x4d3
jne 0x46c2a8
push 0
push eax
push dword [ebp + 8]
call fcn.0041a155
jmp 0x46c2cd
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
sub eax, 0x403
test eax, eax
jne 0x46c2bf
dec eax
jmp 0x46c2c4
cmp eax, 1
jne 0x46c2d6
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00469adc
nop
nop
nop
nop
nop
nop
nop
jmp case.0x46c150.4
cmp eax, 0x47
jne 0x46c2f2
push dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
movzx ecx, cx
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.00469ecb
jmp case.0x46c150.4
cmp eax, 3
ja 0x46c324
push eax
call fcn.0043ee4c
nop
nop
nop
nop
nop
mov ecx, dword [ebp - 4]
add ecx, 8
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, dword [ebp - 0x10]
nop
nop
nop
nop
nop
nop
inc dword [ecx + 0x20]
push 0
push 9
call fcn.00469ecb
jmp case.0x46c150.4
cmp eax, 4
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.0043edd0
jmp 0x46c330
push 0x48b720
push 0
call fcn.0042f699
nop
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10