Function at 0x407eb5
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x43d703
call fcn.0041e498
push ecx
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push str.CLegendDlg::setBtnText1
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp + 8]
call fcn.00401742
cmp eax, 5
mov dword [ebp - 0x10], eax
jl 0x407f21
push 2
lea eax, [ebp - 0x14]
push 3
push eax
lea ecx, [ebp + 8]
call fcn.0042fed6
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00401751
push eax
push 0x44c
mov ecx, esi
call fcn.004354fc
mov ecx, eax
call fcn.004355ec
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00435f75
jmp 0x407f39
push 0x455124
push 0x44c
mov ecx, esi
call fcn.004354fc
mov ecx, eax
call fcn.004355ec
cmp dword [ebp - 0x10], 8
jl 0x407f7b
push 2
lea eax, [ebp - 0x14]
push 6
push eax
lea ecx, [ebp + 8]
call fcn.0042fed6
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00401751
push eax
push 0x44d
mov ecx, esi
call fcn.004354fc
mov ecx, eax
call fcn.004355ec
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00435f75
jmp 0x407f93
push 0x455128
push 0x44d
mov ecx, esi
call fcn.004354fc
mov ecx, eax
call fcn.004355ec
cmp dword [ebp - 0x10], 0xb
jl 0x407fd5
push 2
lea eax, [ebp - 0x14]
push 9
push eax
lea ecx, [ebp + 8]
call fcn.0042fed6
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00401751
push eax
push 0x44e
mov ecx, esi
call fcn.004354fc
mov ecx, eax
call fcn.004355ec
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00435f75
jmp 0x407fed
push 0x45512c
push 0x44e
mov ecx, esi
call fcn.004354fc
mov ecx, eax
call fcn.004355ec
cmp dword [ebp - 0x10], 0xe
jl 0x40802f
push 2
lea eax, [ebp - 0x14]
push 0xc
push eax
lea ecx, [ebp + 8]
call fcn.0042fed6
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00401751
push eax
push 0x44f
mov ecx, esi
call fcn.004354fc
mov ecx, eax
call fcn.004355ec
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00435f75
jmp 0x408047
push 0x455130
push 0x44f
mov ecx, esi
call fcn.004354fc
mov ecx, eax
call fcn.004355ec
cmp dword [ebp - 0x10], 0x11
jl 0x408089
push 2
lea eax, [ebp - 0x14]
push 0xf
push eax
lea ecx, [ebp + 8]
call fcn.0042fed6
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00401751
push eax
push 0x450
mov ecx, esi
call fcn.004354fc
mov ecx, eax
call fcn.004355ec
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00435f75
jmp 0x4080a1
push 0x455134
push 0x450
mov ecx, esi
call fcn.004354fc
mov ecx, eax
call fcn.004355ec
cmp dword [ebp - 0x10], 0x14
jl 0x4080e3
push 2
lea eax, [ebp - 0x14]
push 0x12
push eax
lea ecx, [ebp + 8]
call fcn.0042fed6
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00401751
push eax
push 0x451
mov ecx, esi
call fcn.004354fc
mov ecx, eax
call fcn.004355ec
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00435f75
jmp 0x4080fb
push 0x455138
push 0x451
mov ecx, esi
call fcn.004354fc
mov ecx, eax
call fcn.004355ec
cmp dword [ebp - 0x10], 0x17
jl 0x40813d
push 2
lea eax, [ebp - 0x14]
push 0x15
push eax
lea ecx, [ebp + 8]
call fcn.0042fed6
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00401751
push eax
push 0x452
mov ecx, esi
call fcn.004354fc
mov ecx, eax
call fcn.004355ec
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00435f75
jmp 0x408155
push 0x45513c
push 0x452
mov ecx, esi
call fcn.004354fc
mov ecx, eax
call fcn.004355ec
cmp dword [ebp - 0x10], 0x1a
jl 0x408197
push 2
lea eax, [ebp - 0x14]
push 0x18
push eax
lea ecx, [ebp + 8]
call fcn.0042fed6
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00401751
push eax
push 0x453
mov ecx, esi
call fcn.004354fc
mov ecx, eax
call fcn.004355ec
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00435f75
jmp 0x4081af
push 0x455140
push 0x453
mov ecx, esi
call fcn.004354fc
mov ecx, eax
call fcn.004355ec
push str.CLegendDlg::setBtnText2
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00435f75
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4