Function at 0x46f1b4
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x904
push ebx
push esi
push edi
xor eax, eax
mov ebx, ecx
push 0x44
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0049a3b0
movaps xmm0, xmmword [0x4d5130]
xor eax, eax
mov edi, 0x208
mov dword [ebp - 0x10], eax
push edi
push eax
mov esi, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x2ec]
mov dword [ebp - 0x94], 0x7ee
push eax
movups xmmword [ebp - 0xa4], xmm0
call fcn.0049a3b0
xor eax, eax
push edi
push eax
lea eax, [ebp - 0x4f4]
push eax
call fcn.0049a3b0
xor eax, eax
push edi
push eax
lea eax, [ebp - 0x6fc]
push eax
call fcn.0049a3b0
add esp, 0x30
cmp dword [ebx + 8], esi
je 0x46f832
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46f832
push 0x3ee
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0xffff0000
xor ecx, ecx
mov dword [ebp - 0x18], eax
push ecx
push 0x1101
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
cmp dword [ebx + 0xc], eax
je 0x46f832
or eax, 0xffffffff
lea edi, [ebp - 0x7c]
stosd dword es:[edi], eax
push str.test.
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x90]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x4f4]
mov edi, 0x104
push edi
push eax
call fcn.0040c4d6
lea eax, [ebp - 0x4f4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
lea ecx, [ebp - 0x4f4]
add ecx, eax
sar eax, 1
sub edi, eax
mov dword [ebp - 0x1c], ecx
xor eax, eax
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x18]
push eax
push eax
push 0xb
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0xc]
xor edx, edx
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x64], 0xffff0002
mov dword [ebp - 0x60], 0x4d
mov dword [ebp - 0x54], 0xf020
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], ecx
cmp word [ecx], dx
je 0x46f646
cmp word [ecx + 2], dx
je 0x46f643
push ecx
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
call fcn.0040c4d6
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x4cbf10
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
mov ax, word [ecx]
mov ecx, 0xff00
and ax, cx
cmp cx, ax
jne 0x46f39c
push 0x104
lea eax, [ebp - 0x6fc]
push eax
lea eax, [ebp - 0x4f4]
push str.type
push eax
call fcn.00427818
add esp, 0x10
test eax, eax
jne 0x46f377
push 0x208
push eax
lea eax, [ebp - 0x6fc]
push eax
call fcn.0049a3b0
add esp, 0xc
mov eax, dword [ebp - 4]
xor ecx, ecx
mov byte [eax + 1], cl
movzx ecx, word [ebp - 0x6fc]
sub ecx, 0x30
je 0x46f396
sub ecx, 1
jne 0x46f39f
mov byte [eax + 1], 2
jmp 0x46f39f
mov byte [eax + 1], 1
jmp 0x46f39f
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 1]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + ecx*4 - 0x90]
test edx, edx
jne 0x46f4d1
cmp byte [ecx + ebx + 0x14], 0
mov eax, 0x1000
mov dword [ebp - 0x64], 0xffff0003
mov dword [ebp - 0x68], 0xffff0000
mov dword [ebp - 0x40], 1
lea edx, [eax + 0x20]
cmovne eax, edx
mov dword [ebp - 0x58], eax
xor eax, eax
push eax
push eax
push dword [ebp + ecx*4 - 0xa4]
call fcn.00441947
mov dword [ebp - 0x50], eax
add esp, 0xc
or eax, 0xffffffff
sub eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x68]
push eax
xor eax, eax
push eax
push 0x1132
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [ebp - 8]
mov dword [ebp - 0xc], eax
push 0x40
mov dword [ebp - 0x64], 0xffff0002
mov dword [ebp + edi*4 - 0x90], eax
xor eax, eax
push eax
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0xe4]
push eax
call fcn.0049a3b0
lea eax, [edi + 1]
push eax
push 0x4d5100
lea eax, [ebp - 0xe4]
push 0x20
push eax
call fcn.0040adba
mov edi, dword [ebp - 0x10]
add esp, 0x1c
test edi, edi
jne 0x46f483
push 0xffffffffffffffff
lea eax, [ebx + 0x1a]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0xe4]
push eax
xor eax, eax
push eax
push 0x409
call dword [sym.imp.KERNEL32.dll_CompareStringW]
mov edx, dword [ebp - 0xc]
cmp eax, 2
cmove edi, edx
mov dword [ebp - 0x10], edi
jmp 0x46f486
mov edx, dword [ebp - 0xc]
test esi, esi
jne 0x46f4b0
push 0xffffffffffffffff
lea eax, [ebx + 0x5a]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0xe4]
push eax
xor eax, eax
push eax
push 0x409
call dword [sym.imp.KERNEL32.dll_CompareStringW]
mov edx, dword [ebp - 0xc]
cmp eax, 2
cmove esi, edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x68], edx
test byte [eax], 1
mov edx, dword [ebp + ecx*4 - 0x7c]
je 0x46f4da
cmp edx, 0xffffffff
jne 0x46f4d6
mov dword [ebp + ecx*4 - 0x7c], 1
jmp 0x46f4f4
mov edi, dword [ebp - 0x10]
jmp 0x46f4b6
test edx, edx
jmp 0x46f4ea
cmp edx, 0xffffffff
jne 0x46f4e7
xor eax, eax
mov dword [ebp + ecx*4 - 0x7c], eax
jmp 0x46f4f4
cmp edx, 1
jne 0x46f4f4
mov dword [ebp + ecx*4 - 0x7c], 2
push 0x104
push dword [ebp - 0x14]
lea eax, [ebp - 0x2ec]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [ebp - 0x2ec]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x2ec]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
xor eax, eax
push 0x208
push eax
lea eax, [ebp - 0x904]
push eax
call fcn.0049a3b0
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x904]
push 0x104
push eax
movzx eax, byte [ecx + 1]
push eax
lea eax, [ebp - 0x4f4]
push eax
call fcn.0046dc02
add esp, 0x1c
test eax, eax
je 0x46f595
cmp dword [ebp - 0xc], 0
je 0x46f57d
push 0x4d5108
push 0x104
lea eax, [ebp - 0x2ec]
push eax
call fcn.0040ad38
lea eax, [ebp - 0x904]
push eax
push 0x104
lea eax, [ebp - 0x2ec]
push eax
call fcn.0040ad38
lea eax, [ebp - 0x2ec]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax]
and eax, 1
inc eax
shl eax, 0xc
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x68]
push eax
xor eax, eax
push eax
push 0x1132
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x46f619
test edi, edi
jne 0x46f5f6
push 0xffffffffffffffff
lea ecx, [ebx + 0x1a]
push ecx
push 0xffffffffffffffff
push dword [ebp - 0x14]
push 1
push 0x409
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
cmove edi, dword [ebp - 0xc]
mov dword [ebp - 0x10], edi
test esi, esi
jne 0x46f619
push 0xffffffffffffffff
lea eax, [ebx + 0x5a]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x14]
push 1
push 0x409
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
cmove esi, dword [ebp - 0xc]
push dword [ebp - 0x14]
add dword [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x14]
xor edx, edx
mov edi, dword [ebp - 0x18]
lea ecx, [ecx + eax*2]
add ecx, 2
inc dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
cmp word [ecx], dx
jne 0x46f301
mov dword [ebp - 8], esi
mov eax, dword [ebx + 0x9c]
push edx
inc eax
mov dword [ebp - 0x68], 0xffff0000
push edx
shl eax, 0xc
push 0x7e5
mov dword [ebp - 0x58], eax
call fcn.00441947
add esp, 0xc
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x3c], 0xfffffffa
push eax
xor eax, eax
push eax
push 0x1132
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
test edi, edi
je 0x46f694
test esi, esi
jne 0x46f713
xor eax, eax
push 0x40
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.0049a3b0
push 6
push 0x4d5100
lea eax, [ebp - 0xe4]
push 0x20
push eax
call fcn.0040adba
add esp, 0x1c
test edi, edi
jne 0x46f6e8
push 0xffffffffffffffff
lea eax, [ebx + 0x1a]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0xe4]
push eax
xor eax, eax
push eax
push 0x409
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
cmove edi, dword [ebp - 0x1c]
mov dword [ebp - 0x10], edi
test esi, esi
jne 0x46f713
push 0xffffffffffffffff
lea eax, [ebx + 0x5a]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0xe4]
push eax
xor eax, eax
push eax
push 0x409
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
cmove esi, dword [ebp - 0x1c]
mov dword [ebp - 8], esi
call fcn.0046ddda
push 0x3fd
push dword [ebx + 8]
mov esi, eax
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x46f734
push esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x3fe
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x46f74e
push esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
cmp dword [ebx + 0xa0], eax
je 0x46f75d
test esi, esi
je 0x46f75d
inc eax
mov esi, dword [sym.imp.USER32.dll_CheckDlgButton]
push eax
push 0x3fd
push dword [ebx + 8]
call esi
xor eax, eax
xor ecx, ecx
cmp dword [ebx + 0x9c], ecx
setne al
push eax
push 0x40a
push dword [ebx + 8]
call esi
xor eax, eax
xor ecx, ecx
cmp dword [ebx + 0xa4], ecx
setne al
push eax
push 0x3ff
push dword [ebx + 8]
call esi
mov edi, dword [ebp - 0x18]
xor ecx, ecx
mov dword [ebp - 0x60], 8
mov esi, ecx
mov dword [ebp - 0x54], 0xf000
mov ebx, dword [ebp + esi - 0x90]
test ebx, ebx
je 0x46f7ef
mov eax, dword [ebp + esi - 0x7c]
inc eax
mov dword [ebp - 0x5c], ebx
shl eax, 0xc
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x60]
push eax
push ecx
push 0x113f
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
xor eax, eax
push eax
push 0x1113
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
add esi, 4
cmp esi, 0x14
jb 0x46f7b3
mov eax, dword [ebp - 8]
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x18]
test eax, eax
je 0x46f815
push eax
push 9
push 0x110b
push ebx
call esi
test edi, edi
je 0x46f824
push edi
push 5
push 0x110b
push ebx
call esi
xor eax, eax
push eax
push 1
push 0xb
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
leave
ret