Function at 0x404135
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc28
push ebx
push esi
lea eax, [ebp - 0x228]
push edi
xor esi, esi
push eax
push esi
call fcn.004056ae
pop ecx
test al, al
pop ecx
je 0x4041c6
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.00452490
lea eax, [ebp - 0x228]
push str.BSSvrCfg.ini
push eax
call fcn.004524a0
lea eax, [ebp - 0x428]
push str.wfbsprikey.bin
push eax
call fcn.004524a0
mov edi, dword [ebp + 8]
push 8
push esi
push edi
call fcn.00451f50
add esp, 0x24
lea eax, [ebp - 0x228]
mov ebx, str.BSSvrCfg
push eax
push 0x200
push edi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str.DbPath
push ebx
call esi
push edi
call fcn.004525b0
test eax, eax
pop ecx
jne 0x4041cd
xor al, al
jmp 0x404a89
and dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
push str.wfpwd.bin
call fcn.00403f39
pop ecx
mov dword [ebp - 0x28], eax
test eax, eax
pop ecx
je 0x404293
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x404293
inc eax
push eax
call fcn.00451b9f
test eax, eax
pop ecx
mov dword [ebp - 0x24], eax
jne 0x40421a
push 3
push eax
lea eax, [edi + 0x280]
push eax
call fcn.00451f50
add esp, 0xc
jmp 0x404288
mov ecx, dword [ebp - 0x20]
inc ecx
push ecx
push 0
push eax
call fcn.00451f50
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x24]
call fcn.00451bc0
and byte [ebp - 0xc28], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0xc27]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0xc28]
push eax
lea eax, [ebp - 0x428]
push dword [ebp - 0x24]
push eax
call dword [sym.imp.RSACrypt.dll_void___cdecl_WFRSADecryptString_char___char___char__]
lea eax, [ebp - 0xc28]
push eax
mov eax, dword [ebp + 8]
add eax, 0x280
push eax
call fcn.00452490
push dword [ebp - 0x24]
call fcn.00431aec
mov edi, dword [ebp + 8]
add esp, 0x30
push dword [ebp - 0x28]
call fcn.00431aec
pop ecx
jmp 0x4042a6
push 3
lea eax, [edi + 0x280]
push 0
push eax
call fcn.00451f50
add esp, 0xc
lea eax, [ebp - 0x228]
push eax
lea eax, [edi + 0x240]
push 0x40
push eax
push 0
push str.UserPwd
push ebx
call esi
lea eax, [ebp - 0x228]
push eax
lea eax, [edi + 0x200]
push 0x40
push eax
push 0
push str.SvrIP
push ebx
call esi
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x1c]
push 0x19
push eax
push 0
push 0x474884
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00452a87
mov word [edi + 0x2c0], ax
pop ecx
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x1c]
push 0x19
push eax
push 0
push str.SvrWaitPort
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00452a87
mov word [edi + 0x2c2], ax
pop ecx
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x1c]
push 0x19
push eax
push 0
push str.EndRecvPort
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00452a87
mov word [edi + 0x2c4], ax
pop ecx
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x1c]
push 0x19
push eax
push 0
push str.EndAgentPort
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00452a87
mov word [edi + 0x2c6], ax
pop ecx
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x1c]
push 0x19
push eax
push 0
push str.BSDataBufPoolSize
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00452a87
pop ecx
cmp ax, 0x1000
lea ecx, [edi + 0x2c8]
mov word [ecx], ax
jbe 0x4043af
mov word [ecx], 0x1000
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x1c]
push 0x19
push eax
push 0
push str.REALDataBufPoolSize
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00452a87
pop ecx
cmp ax, 0x1000
lea ecx, [edi + 0x2ca]
mov word [ecx], ax
jbe 0x4043e4
mov word [ecx], 0x1000
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x1c]
push 0x19
push eax
push 0
push str.BSActiveSeedCnt
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00452a87
mov word [edi + 0x2cc], ax
pop ecx
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x1c]
push 0x19
push eax
push 0
push str.BSBsDataSeedCnt
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00452a87
mov word [edi + 0x2ce], ax
pop ecx
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x1c]
push 0x19
push eax
push 0
push str.F6InstallWait
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00452a87
mov word [edi + 0x2d0], ax
pop ecx
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x1c]
push 0x19
push eax
push 0
push str.AutoSelMbrGpt
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00452a87
mov word [edi + 0x2d2], ax
pop ecx
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x1c]
push 0x19
push eax
push 0
push str.EndInfoFrom
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00452a87
mov word [edi + 0x2d4], ax
pop ecx
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x1c]
push 0x19
push eax
push 0
push str.AllocFileNum
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00452a87
test ax, ax
pop ecx
mov word [edi + 0x2d6], ax
jne 0x4044e2
mov word [edi + 0x2d6], 1
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x1c]
push 0x19
push eax
push 0
push str.AllocFileNum
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00452a87
test ax, ax
pop ecx
mov word [edi + 0x2d6], ax
jne 0x404518
mov word [edi + 0x2d6], 1
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x1c]
push 0x19
push eax
push 0
push str.WaitForRealBS
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00452a87
mov word [edi + 0x2d8], ax
pop ecx
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x1c]
push 0x19
push eax
push 0
push str.WaitForGroupBS
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00452a87
mov word [edi + 0x2da], ax
push 8
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.00451f50
add esp, 0x10
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x1c]
push 0x19
push eax
push 0
push str.JQMode
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00452a87
mov word [edi + 0x2dc], ax
push 8
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.00451f50
add esp, 0x10
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x1c]
push 0x19
push eax
push 0
push str.SeedMode
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00452a87
mov word [edi + 0x2de], ax
push 8
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.00451f50
add esp, 0x10
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x1c]
push 0x19
push eax
push 0
push str.BufPoolMode
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00452a87
mov word [edi + 0x2e0], ax
push 8
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.00451f50
add esp, 0x10
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x1c]
push 0x19
push eax
push 0
push str.OtherCheckSvr
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00452a87
mov word [edi + 0x2e2], ax
pop ecx
lea eax, [ebp - 0x228]
push eax
lea eax, [edi + 0x2e4]
push 0x40
push eax
push 0
push str.OtherCheckSvrIp
push ebx
call esi
push 8
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.00451f50
add esp, 0xc
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x1c]
push 0x19
push eax
push 0
push str.OtherCheckSvrPort
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00452a87
mov word [edi + 0x324], ax
push 8
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.00451f50
add esp, 0x10
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x1c]
push 0x19
push eax
push 0
push str.BookListCheck
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00452a87
mov word [edi + 0x4b4], ax
pop ecx
lea eax, [ebp - 0x228]
push eax
lea eax, [edi + 0x4b6]
push 0x40
push eax
push 0
push str.BookListCheckSvrIp
push ebx
call esi
push 8
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.00451f50
add esp, 0xc
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x1c]
push 0x19
push eax
push 0
push str.BoolListCheckSvrPort
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00452a87
mov word [edi + 0x4f6], ax
push 8
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.00451f50
add esp, 0x10
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x1c]
push 0x19
push eax
push 0
push str.AutoUpdateIdx
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00452a87
mov word [edi + 0x326], ax
push 8
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.00451f50
add esp, 0x10
lea eax, [ebp - 0x228]
push eax
lea eax, [edi + 0x328]
push 0x40
push eax
push 0
push str.SvrIp1
push ebx
call esi
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x1c]
push 0x19
push eax
push 0
push 0x474704
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00452a87
mov word [edi + 0x368], ax
push 8
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.00451f50
add esp, 0x10
lea eax, [ebp - 0x228]
push eax
lea eax, [edi + 0x36a]
push 0x40
push eax
push 0
push str.SvrIp2
push ebx
call esi
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x1c]
push 0x19
push eax
push 0
push 0x4746f0
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00452a87
mov word [edi + 0x3aa], ax
push 8
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.00451f50
add esp, 0x10
lea eax, [ebp - 0x228]
push eax
lea eax, [edi + 0x3ac]
push 0x40
push eax
push 0
push str.SvrIp3
push ebx
call esi
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x1c]
push 0x19
push eax
push 0
push 0x4746dc
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00452a87
mov word [edi + 0x3ec], ax
push 8
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.00451f50
add esp, 0x10
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x1c]
push 0x19
push eax
push 0
push 0x4746d0
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00452a87
mov dword [edi + 0x3f0], eax
pop ecx
lea eax, [ebp - 0x228]
push eax
lea eax, [edi + 0x3f4]
push 0x80
push eax
push 0
push str.MagUserName
push ebx
call esi
lea eax, [ebp - 0x228]
push eax
lea eax, [edi + 0x474]
push 0x40
push eax
push 0
push str.ClientBackBmp
push ebx
call esi
lea eax, [ebp - 0x228]
push eax
push 0x19
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x4746a4
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00452a87
mov word [edi + 0x4f8], ax
pop ecx
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x1c]
push 0x19
push eax
push 0
push 0x474694
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00452a87
mov word [edi + 0x4fa], ax
pop ecx
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x1c]
push 0x19
push eax
push 0
push str.KvmSvrMag
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00452a87
mov word [edi + 0x4fc], ax
pop ecx
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x1c]
push 0x19
push eax
push 0
push str.ClsTableMag
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00452a87
mov word [edi + 0x4fe], ax
pop ecx
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x1c]
push 0x19
push eax
push 0
push str.ClassRoomSys
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00452a87
mov word [edi + 0x500], ax
pop ecx
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x1c]
push 0x19
push eax
push 0
push 0x474658
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00452a87
pop ecx
mov word [edi + 0x502], ax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x1c]
push 0x19
push eax
push 0
push 0x474648
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00452a87
mov word [edi + 0x504], ax
pop ecx
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x1c]
push 0x19
push eax
push 0
push 0x474638
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00452a87
mov word [edi + 0x506], ax
pop ecx
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x1c]
push 0x19
push eax
push 0
push str.UpdateVerNum
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00452a87
mov dword [edi + 0x508], eax
pop ecx
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x1c]
push 0x19
push eax
push 0
push str.BlueDUMP
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00452a87
mov word [edi + 0x60c], ax
pop ecx
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x1c]
push 0x19
push eax
push 0
push str.UseDongleLicense
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00452a87
mov word [edi + 0x610], ax
pop ecx
lea eax, [ebp - 0x228]
add edi, 0x50c
push eax
push 0x40
push edi
push 0
push str.UpdateVerPath
push ebx
call esi
mov al, 1
pop edi
pop esi
pop ebx
leave
ret