Function at 0x404b2e
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe38
push ebx
push esi
lea eax, [ebp - 0x238]
push edi
push eax
push 0
call fcn.004056ae
pop ecx
test al, al
pop ecx
je 0x404c50
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.00452490
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x638]
push eax
call fcn.00452490
lea eax, [ebp - 0x238]
push str.BSSvrCfg.ini
push eax
call fcn.004524a0
lea eax, [ebp - 0x638]
push str.wfbspubkey.bin
push eax
call fcn.004524a0
lea eax, [ebp - 0x438]
push str.wfpwd.bin
push eax
call fcn.004524a0
mov edi, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esp, 0x28
lea eax, [ebp - 0x238]
mov ebx, str.BSSvrCfg
push eax
push edi
push str.DbPath
push ebx
call esi
lea eax, [ebp - 0x238]
push eax
lea eax, [edi + 0x200]
push eax
push str.SvrIP
push ebx
call esi
lea eax, [edi + 0x280]
push eax
call fcn.004525b0
test eax, eax
pop ecx
je 0x404c57
and byte [ebp - 0xe38], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0xe37]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0xe38]
push eax
mov eax, dword [ebp + 8]
add eax, 0x280
push eax
lea eax, [ebp - 0x638]
push eax
call dword [sym.imp.RSACrypt.dll_void___cdecl_WFRSAEncryptString_char___char___char__]
lea eax, [ebp - 0xe38]
push eax
call fcn.004525b0
push eax
lea eax, [ebp - 0xe38]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.00404a8e
add esp, 0x1c
test al, al
jne 0x404c66
xor al, al
jmp 0x4052ad
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x404c69
mov edi, dword [ebp + 8]
movzx eax, word [edi + 0x2c0]
push eax
mov edi, 0x4749b8
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00451ef5
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x38]
push eax
push str.SvrPort
push ebx
call esi
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x2c2]
push eax
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00451ef5
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x38]
push eax
push str.SvrWaitPort
push ebx
call esi
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x2c4]
push eax
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00451ef5
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x38]
push eax
push str.EndRecvPort
push ebx
call esi
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x2c6]
push eax
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00451ef5
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x38]
push eax
push str.EndAgentPort
push ebx
call esi
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x2c8]
push eax
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00451ef5
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x38]
push eax
push str.BSDataBufPoolSize
push ebx
call esi
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x2ca]
push eax
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00451ef5
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x38]
push eax
push str.REALDataBufPoolSize
push ebx
call esi
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x2cc]
push eax
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00451ef5
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x38]
push eax
push str.BSActiveSeedCnt
push ebx
call esi
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x2ce]
push eax
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00451ef5
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x38]
push eax
push str.BSBsDataSeedCnt
push ebx
call esi
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x2d0]
push eax
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00451ef5
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x38]
push eax
push str.F6InstallWait
push ebx
call esi
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x2d2]
push eax
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00451ef5
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x38]
push eax
push str.AutoSelMbrGpt
push ebx
call esi
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x2d4]
push eax
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00451ef5
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x38]
push eax
push str.EndInfoFrom
push ebx
call esi
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x2d6]
push eax
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00451ef5
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x38]
push eax
push str.AllocFileNum
push ebx
call esi
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x2d8]
push eax
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00451ef5
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x38]
push eax
push str.WaitForRealBS
push ebx
call esi
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x2da]
push eax
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00451ef5
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x38]
push eax
push str.WaitForGroupBS
push ebx
call esi
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x2dc]
push eax
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00451ef5
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x38]
push eax
push str.JQMode
push ebx
call esi
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x2de]
push eax
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00451ef5
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x38]
push eax
push str.SeedMode
push ebx
call esi
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x2e0]
push eax
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00451ef5
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x38]
push eax
push str.BufPoolMode
push ebx
call esi
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x2e2]
push eax
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00451ef5
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x38]
push eax
push str.OtherCheckSvr
push ebx
call esi
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x324]
push eax
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00451ef5
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x38]
push eax
push str.OtherCheckSvrPort
push ebx
call esi
lea eax, [ebp - 0x238]
push eax
mov eax, dword [ebp + 8]
add eax, 0x2e4
push eax
push str.OtherCheckSvrIp
push ebx
call esi
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x4b4]
push eax
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00451ef5
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x38]
push eax
push str.BookListCheck
push ebx
call esi
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x4f6]
push eax
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00451ef5
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x38]
push eax
push str.BoolListCheckSvrPort
push ebx
call esi
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x238]
add eax, 0x4b6
push ecx
push eax
push str.BookListCheckSvrIp
push ebx
call esi
mov eax, dword [ebp + 8]
add eax, 0x4b6
push eax
call fcn.00404ade
mov eax, dword [ebp + 8]
pop ecx
movzx eax, word [eax + 0x326]
push eax
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00451ef5
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x38]
push eax
push str.AutoUpdateIdx
push ebx
call esi
lea eax, [ebp - 0x238]
push eax
mov eax, dword [ebp + 8]
add eax, 0x328
push eax
push str.SvrIp1
push ebx
call esi
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x368]
push eax
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00451ef5
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x38]
push eax
push str.SvrPort1
push ebx
call esi
lea eax, [ebp - 0x238]
push eax
mov eax, dword [ebp + 8]
add eax, 0x36a
push eax
push str.SvrIp2
push ebx
call esi
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x3aa]
push eax
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00451ef5
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x38]
push eax
push str.SvrPort2
push ebx
call esi
lea eax, [ebp - 0x238]
push eax
mov eax, dword [ebp + 8]
add eax, 0x3ac
push eax
push str.SvrIp3
push ebx
call esi
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x3ec]
push eax
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00451ef5
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x38]
push eax
push str.SvrPort3
push ebx
call esi
mov eax, dword [ebp + 8]
push dword [eax + 0x3f0]
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00451ef5
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x38]
push eax
push str.SonWinType
push ebx
call esi
lea eax, [ebp - 0x238]
push eax
mov eax, dword [ebp + 8]
add eax, 0x3f4
push eax
push str.MagUserName
push ebx
call esi
lea eax, [ebp - 0x238]
push eax
mov eax, dword [ebp + 8]
add eax, 0x474
push eax
push str.ClientBackBmp
push ebx
call esi
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x4f8]
push eax
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00451ef5
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x38]
push eax
push str.HardwarePkt
push ebx
call esi
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x4fa]
push eax
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00451ef5
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x38]
push eax
push str.SoftRegister
push ebx
call esi
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x2d2]
push eax
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00451ef5
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x38]
push eax
push str.AutoSelMbrGpt
push ebx
call esi
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x502]
push eax
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00451ef5
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x38]
push eax
push str.UpdateOSAll
push ebx
call esi
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x504]
push eax
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00451ef5
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x38]
push eax
push str.OpenEndSuer
push ebx
call esi
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x506]
push eax
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00451ef5
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x38]
push eax
push str.OnlyOneBSSvr
push ebx
call esi
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x60c]
push eax
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00451ef5
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x38]
push eax
push str.BlueDUMP
push ebx
call esi
mov al, 1
pop edi
pop esi
pop ebx
leave
ret