Function at 0x431b70
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x458330]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x98], 0
push 0x8f
push 0
lea eax, [ebp - 0x97]
push eax
call fcn.00435470
add esp, 0xc
push 0x90
push 0xee
lea ecx, [ebp - 0x98]
push ecx
call fcn.00405400
add esp, 0xc
push 0xa
mov edx, dword [ebp + 0x18]
push edx
lea eax, [ebp - 0x95]
push eax
call fcn.004360a0
add esp, 0xc
push 0xa
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0x8a]
push edx
call fcn.004360a0
add esp, 0xc
mov ax, word [ebp + 0x10]
mov word [ebp - 0x7e], ax
lea ecx, [ebp - 0x8a]
push ecx
call fcn.00405550
add esp, 4
cmp eax, 1
jne 0x431f83
lea edx, [ebp - 0x8a]
push edx
call fcn.00405480
add esp, 4
cmp eax, 1
jne 0x431f83
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xf030
push ecx
push 0x4598be
push 0x4598a0
push 0x459882
push 0x459864
push 0x459846
push 0x459828
push str.SELECT_SCFMasterLevel_SCFMasterPoints_SCFMasterExperience__s__s__s__s__s__s_SCFPCPoints_SCFMarried_SCFMarryHusbandWife_SCFGensFamily_SCFGensContribution_SCFGensRank_SCFGensRecvReward_SCFGensDD___CAST__DATEDIFF_dd_SCFGensDateLeave_GETDATE_____as_int_1__RankTitle1_RankTitle2_RankTitle3_BlueEventPoints_SummerEventPoints_FROM__s.dbo.Character_WHERE_Name___s
mov edx, dword [ebp + 8]
add edx, 0x7dc0
push edx
call fcn.00407950
add esp, 0x28
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
cwde
cmp eax, 0x64
je 0x431f75
push str.SCFMasterLevel
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov dword [ebp - 0x7c], eax
push str.SCFMasterPoints
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov dword [ebp - 0x78], eax
push str.SCFMasterExperience
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407d40
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
push str.RankTitle1
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov dword [ebp - 0x64], eax
push str.RankTitle2
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov dword [ebp - 0x60], eax
push str.RankTitle3
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov dword [ebp - 0x5c], eax
push str.BlueEventPoints
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov dword [ebp - 0x14], eax
push str.SummerEventPoints
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov dword [ebp - 0x10], eax
push 0x459828
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov dword [ebp - 0x68], eax
push 0x459846
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov dword [ebp - 0x2c], eax
push 0x459864
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov dword [ebp - 0x58], eax
push 0x459882
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov dword [ebp - 0x28], eax
push 0x4598a0
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov dword [ebp - 0x34], eax
push 0x4598be
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov dword [ebp - 0x30], eax
push str.SCFPCPoints
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov dword [ebp - 0x54], eax
push str.SCFMarried
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
movzx ecx, al
mov dword [ebp - 0x50], ecx
lea edx, [ebp - 0x4c]
push edx
push str.SCFMarryHusbandWife
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407ca0
push str.SCFGensFamily
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov byte [ebp - 0x41], al
push str.SCFGensContribution
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov dword [ebp - 0x40], eax
push str.SCFGensRank
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov dword [ebp - 0x3c], eax
push str.SCFGensRecvReward
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov byte [ebp - 0x37], al
push str.SCFGensDD
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
je 0x431e76
cmp dword [ebp - 0x9c], 4
jle 0x431e78
jmp 0x431e7c
mov byte [ebp - 0x38], 1
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
push 0x4598be
mov eax, dword [ebp + 8]
add eax, 0xf030
push eax
push 0x459882
push 0x459864
push 0x459846
push 0x459828
push str.SELECT__s___s___s___s_FROM__s.dbo.Character_WHERE__s__1
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
push ecx
call fcn.00407950
add esp, 0x20
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
movsx edx, ax
cmp edx, 0x64
je 0x431f33
push 0x459828
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov dword [ebp - 0x24], eax
push 0x459846
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov dword [ebp - 0x20], eax
push 0x459846
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov dword [ebp - 0x1c], eax
push 0x459882
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov dword [ebp - 0x18], eax
jmp 0x431f4f
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x18], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
push 0x90
lea eax, [ebp - 0x98]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00406820
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435f91
mov esp, ebp
pop ebp
ret