Function at 0x405b9f
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
lea edi, [ebp - 0x50]
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 4], 0
mov dword [ebp - 8], 1
mov dword [ebp - 0xc], 0
mov esi, esp
push 0x4c4b40
call dword [0x43b51c]
add esp, 4
cmp esi, esp
call fcn.0040b8f0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
sub ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x6a
ja case.0x405b98.4
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dl, byte [eax + 0x405f49]
jmp dword [edx*4 + 0x405f35]
mov esi, esp
push str..........
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp esi, esp
call fcn.0040b8f0
mov esi, esp
push 0x43617c
push str.Main.log
call dword [0x43b444]
add esp, 8
cmp esi, esp
call fcn.0040b8f0
mov esi, esp
push 0
push 0
lea ecx, [ebp - 8]
push ecx
push 0x280000
lea edx, [ebp - 0xc]
push edx
call dword [0x43b5f0]
add esp, 0x14
cmp esi, esp
call fcn.0040b8f0
mov esi, esp
call dword [0x43b6ac]
cmp esi, esp
call fcn.0040b8f0
mov esi, esp
push 0x1234567
call dword [0x43b5bc]
add esp, 4
cmp esi, esp
call fcn.0040b8f0
jmp case.0x405b98.4
mov esi, esp
push 0x436160
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp esi, esp
call fcn.0040b8f0
mov esi, esp
push 0x436150
push str.Main.log
call dword [0x43b444]
add esp, 8
cmp esi, esp
call fcn.0040b8f0
mov esi, esp
call dword [0x43b6ac]
cmp esi, esp
call fcn.0040b8f0
mov esi, esp
push 1
call dword [0x43b4d8]
add esp, 4
cmp esi, esp
call fcn.0040b8f0
push 2
call fcn.0040105a
add esp, 4
push 2
call fcn.00401082
add esp, 4
mov esi, esp
call dword [0x43b6ac]
cmp esi, esp
call fcn.0040b8f0
mov esi, esp
push 0x1234567
call dword [0x43b5bc]
add esp, 4
cmp esi, esp
call fcn.0040b8f0
jmp case.0x405b98.4
mov esi, esp
push 0x436128
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp esi, esp
call fcn.0040b8f0
mov esi, esp
push 0x436114
push str.Main.log
call dword [0x43b444]
add esp, 8
cmp esi, esp
call fcn.0040b8f0
mov esi, esp
call dword [0x43b6ac]
cmp esi, esp
call fcn.0040b8f0
mov esi, esp
push 2
call dword [0x43b4d8]
add esp, 4
cmp esi, esp
call fcn.0040b8f0
push 3
call fcn.0040105a
add esp, 4
push 3
call fcn.00401082
add esp, 4
mov esi, esp
push 0x8042
push str...Updatepara_init_flag
call dword [0x43b3dc]
add esp, 8
cmp esi, esp
call fcn.0040b8f0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x405d6d
mov esi, esp
push 4
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [0x43b3f0]
add esp, 0xc
cmp esi, esp
call fcn.0040b8f0
mov esi, esp
mov edx, dword [ebp - 4]
push edx
call dword [0x43b49c]
add esp, 4
cmp esi, esp
call fcn.0040b8f0
mov esi, esp
call dword [0x43b6ac]
cmp esi, esp
call fcn.0040b8f0
mov esi, esp
push 0x1234567
call dword [0x43b5bc]
add esp, 4
cmp esi, esp
call fcn.0040b8f0
jmp case.0x405b98.4
mov esi, esp
push 0x4360c0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp esi, esp
call fcn.0040b8f0
mov esi, esp
push 0x4360ac
push str.Main.log
call dword [0x43b444]
add esp, 8
cmp esi, esp
call fcn.0040b8f0
mov esi, esp
call dword [0x43b6ac]
cmp esi, esp
call fcn.0040b8f0
mov esi, esp
push str.b4_datainit
push str.Main.log
call dword [0x43b444]
add esp, 8
cmp esi, esp
call fcn.0040b8f0
mov esi, esp
push 3
call dword [0x43b4d8]
add esp, 4
cmp esi, esp
call fcn.0040b8f0
mov esi, esp
push str.b4_initwrite
push str.Main.log
call dword [0x43b444]
add esp, 8
cmp esi, esp
call fcn.0040b8f0
push 4
call fcn.0040105a
add esp, 4
mov esi, esp
push str.b4_clearctrldata
push str.Main.log
call dword [0x43b444]
add esp, 8
cmp esi, esp
call fcn.0040b8f0
push 4
call fcn.00401082
add esp, 4
mov esi, esp
push str.wr_para_init_flag
push str.Main.log
call dword [0x43b444]
add esp, 8
cmp esi, esp
call fcn.0040b8f0
mov esi, esp
push 0x8042
push str...Updatepara_init_flag
call dword [0x43b3dc]
add esp, 8
cmp esi, esp
call fcn.0040b8f0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x405ec6
mov esi, esp
push 4
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [0x43b3f0]
add esp, 0xc
cmp esi, esp
call fcn.0040b8f0
mov esi, esp
mov edx, dword [ebp - 4]
push edx
call dword [0x43b49c]
add esp, 4
cmp esi, esp
call fcn.0040b8f0
mov esi, esp
push str.b4_syncmm
push str.Main.log
call dword [0x43b444]
add esp, 8
cmp esi, esp
call fcn.0040b8f0
mov esi, esp
call dword [0x43b6ac]
cmp esi, esp
call fcn.0040b8f0
mov esi, esp
push str.ok_to_reboot
push str.Main.log
call dword [0x43b444]
add esp, 8
cmp esi, esp
call fcn.0040b8f0
mov esi, esp
push 0x1234567
call dword [0x43b5bc]
add esp, 4
cmp esi, esp
call fcn.0040b8f0
pop edi
pop esi
pop ebx
add esp, 0x50
cmp ebp, esp
call fcn.0040b8f0
mov esp, ebp
pop ebp
ret