Function at 0x406b40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20d20
call fcn.00439910
mov eax, dword [0x4f62a0]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
je 0x406d0a
lea eax, [ebp + 0x24]
mov dword [ebp - 4], eax
xor ecx, ecx
mov word [ebp - 0x204e0], cx
push 0x10256
push 0
lea edx, [ebp - 0x204de]
push edx
call fcn.0042efe0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x10288], ax
push 0x1027e
push 0
lea ecx, [ebp - 0x10286]
push ecx
call fcn.0042efe0
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0x20]
push eax
push 0x10258
lea ecx, [ebp - 0x204e0]
push ecx
call fcn.004069e0
mov dword [ebp - 0x204e4], eax
cmp dword [ebp - 0x204e4], 0
jl 0x406d0a
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x20d1c], edx
cmp dword [ebp - 0x20d1c], 1
je 0x406bfa
cmp dword [ebp - 0x20d1c], 2
je 0x406c34
cmp dword [ebp - 0x20d1c], 3
je 0x406c6b
jmp 0x406ca2
lea eax, [ebp - 0x204e0]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0x4d24fc
push 0x4d2560
push 0x10280
lea edx, [ebp - 0x10288]
push edx
call fcn.00406a30
add esp, 0x24
jmp 0x406cd7
lea eax, [ebp - 0x204e0]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0x4d25a4
push str.___ws__6d___20ws:_5d___64ws___ws
push 0x10280
lea edx, [ebp - 0x10288]
push edx
call fcn.00406a30
add esp, 0x24
jmp 0x406cd7
lea eax, [ebp - 0x204e0]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0x4d264c
push 0x4d2668
push 0x10280
lea edx, [ebp - 0x10288]
push edx
call fcn.00406a30
add esp, 0x24
jmp 0x406cd7
lea eax, [ebp - 0x204e0]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0x4d26ac
push 0x4d26c8
push 0x10280
lea edx, [ebp - 0x10288]
push edx
call fcn.00406a30
add esp, 0x24
lea eax, [ebp - 0x10288]
push eax
lea ecx, [ebp - 0x20d18]
call fcn.00405d00
lea ecx, [ebp - 0x20d18]
push ecx
mov ecx, 0x4fb4f0
call fcn.00407620
lea ecx, [ebp - 0x20d18]
call fcn.00405d40
call fcn.00406ea0
cmp dword [0x4fb190], 0
je 0x406e90
lea edx, [ebp + 0x24]
mov dword [ebp - 0x204e8], edx
xor eax, eax
mov word [ebp - 0x20d10], ax
push 0x3fe
push 0
lea ecx, [ebp - 0x20d0e]
push ecx
call fcn.0042efe0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x20910], dx
push 0x426
push 0
lea eax, [ebp - 0x2090e]
push eax
call fcn.0042efe0
add esp, 0xc
mov ecx, dword [ebp - 0x204e8]
push ecx
mov edx, dword [ebp + 0x20]
push edx
push 0x400
lea eax, [ebp - 0x20d10]
push eax
call fcn.004069e0
mov dword [ebp - 0x20d14], eax
cmp dword [ebp - 0x20d14], 0
jl 0x406e90
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x20d20], ecx
cmp dword [ebp - 0x20d20], 1
je 0x406db6
cmp dword [ebp - 0x20d20], 2
je 0x406dec
cmp dword [ebp - 0x20d20], 3
je 0x406e1f
jmp 0x406e52
lea edx, [ebp - 0x20d10]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0x4d270c
push 0x4d23bc
push 0x428
lea eax, [ebp - 0x20910]
push eax
call fcn.00406a30
add esp, 0x20
jmp 0x406e83
lea ecx, [ebp - 0x20d10]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0x4d271c
push 0x4d2464
push 0x428
lea edx, [ebp - 0x20910]
push edx
call fcn.00406a30
add esp, 0x20
jmp 0x406e83
lea eax, [ebp - 0x20d10]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0x14]
push eax
push 0x4d272c
push 0x4d250c
push 0x428
lea ecx, [ebp - 0x20910]
push ecx
call fcn.00406a30
add esp, 0x20
jmp 0x406e83
lea edx, [ebp - 0x20d10]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0x4d273c
push str.___ws__6d___20ws:_5d_____ws
push 0x428
lea eax, [ebp - 0x20910]
push eax
call fcn.00406a30
add esp, 0x20
lea ecx, [ebp - 0x20910]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00425912
mov esp, ebp
pop ebp
ret