Function at 0x430460
Capabilities:
Enumerate pe sections
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x458330]
xor eax, ebp
mov dword [ebp - 8], eax
mov byte [ebp - 0xc0], 0
push 0x45
push 0
lea eax, [ebp - 0xbf]
push eax
call fcn.00435470
add esp, 0xc
push 0x46
push 0xcd
lea ecx, [ebp - 0xc0]
push ecx
call fcn.00405400
add esp, 0xc
mov edx, dword [ebp + 0xc]
mov al, byte [edx + 5]
mov byte [ebp - 0xbd], al
mov byte [ebp - 0x70], 0
push 0x63
push 0
lea ecx, [ebp - 0x6f]
push ecx
call fcn.00435470
add esp, 0xc
mov byte [ebp - 0x128], 0
push 0x63
push 0
lea edx, [ebp - 0x127]
push edx
call fcn.00435470
add esp, 0xc
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + 6]
mov dword [ebp - 0x144], ecx
cmp dword [ebp - 0x144], 5
ja case.default.0x430504
mov edx, dword [ebp - 0x144]
jmp dword [edx*4 + 0x430d08]
mov eax, dword [ebp + 8]
add eax, 0xf09e
push eax
push str._s_DESC_cLevel_DESC_SCFMasterLevel_DESC__LevelUp_Time_ASC
lea ecx, [ebp - 0x70]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x43069f
mov edx, dword [ebp + 8]
add edx, 0xf09e
push edx
push str.Money_DESC__s_DESC_cLevel_DESC_SCFMasterLevel_DESC__LevelUp_Time_ASC
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x43069f
push str.SCFVipMoney_DESC_SCFVipDays_DESC
lea ecx, [ebp - 0x70]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
jmp 0x43069f
push str.SCFVipDays_DESC_SCFVipMoney_DESC
lea edx, [ebp - 0x70]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
jmp 0x43069f
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + 7]
mov dword [ebp - 0x148], ecx
mov edx, dword [ebp - 0x148]
sub edx, 1
mov dword [ebp - 0x148], edx
cmp dword [ebp - 0x148], 4
ja case.default.0x4305a9
mov eax, dword [ebp - 0x148]
jmp dword [eax*4 + 0x430d20]
mov ecx, dword [ebp + 8]
add ecx, 0xf09e
push ecx
push str.Strength_DESC__s_DESC_cLevel_DESC_SCFMasterLevel_DESC__LevelUp_Time_ASC
lea edx, [ebp - 0x70]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x430649
mov eax, dword [ebp + 8]
add eax, 0xf09e
push eax
push str.Dexterity_DESC__s_DESC_cLevel_DESC_SCFMasterLevel_DESC__LevelUp_Time_ASC
lea ecx, [ebp - 0x70]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x430649
mov edx, dword [ebp + 8]
add edx, 0xf09e
push edx
push str.Vitality_DESC__s_DESC_cLevel_DESC_SCFMasterLevel_DESC__LevelUp_Time_ASC
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x430649
mov ecx, dword [ebp + 8]
add ecx, 0xf09e
push ecx
push str.Energy_DESC__s_DESC_cLevel_DESC_SCFMasterLevel_DESC__LevelUp_Time_ASC
lea edx, [ebp - 0x70]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x430649
mov eax, dword [ebp + 8]
add eax, 0xf09e
push eax
push str.leadership_DESC__s_DESC_cLevel_DESC_SCFMasterLevel_DESC__LevelUp_Time_ASC
lea ecx, [ebp - 0x70]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x430649
jmp 0x430cf9
jmp 0x43069f
mov edx, dword [ebp + 0xc]
mov al, byte [edx + 7]
mov byte [ebp - 0x14c], al
cmp byte [ebp - 0x14c], 1
je 0x43066b
cmp byte [ebp - 0x14c], 2
je 0x43067f
jmp 0x430693
push str.PkCount_DESC__PkLevel_DESC__PkTime_DESC
lea ecx, [ebp - 0x70]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
jmp 0x430698
push str.PkCount_ASC__PkLevel_ASC__PkTime_ASC
lea edx, [ebp - 0x70]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
jmp 0x430698
jmp 0x430cf9
jmp 0x43069f
jmp 0x430cf9
push str.WHERE_CtlCode__0
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 8]
test edx, edx
jl 0x43070d
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + 8]
cmp ecx, 0xff
je 0x43070d
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 8]
shl eax, 4
mov byte [ebp - 0x129], al
movzx ecx, byte [ebp - 0x129]
add ecx, 2
push ecx
movzx edx, byte [ebp - 0x129]
push edx
lea eax, [ebp - 0x128]
push eax
push str._d_AND_Class_BETWEEN__d_AND__d
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
mov dword [ebp - 0x74], 0
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 6]
cmp eax, 2
je 0x4307f1
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 6]
cmp edx, 3
je 0x4307f1
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x128]
push ecx
mov edx, dword [ebp + 8]
add edx, 0xf030
push edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + 9]
push ecx
push str.SELECT_TOP__d_AccountID_Name_FROM__s.dbo.Character__s_ORDER_BY__s
mov edx, dword [ebp + 8]
add edx, 0x7dc0
push edx
call fcn.00407950
add esp, 0x18
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 1
jne 0x4307de
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
cwde
cmp eax, 0x64
je 0x4307de
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 9]
cmp dword [ebp - 4], edx
jge 0x4307de
mov eax, dword [ebp - 4]
imul eax, eax, 0x16
lea ecx, [ebp + eax - 0xbc]
push ecx
push str.AccountID
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407ca0
mov edx, dword [ebp - 4]
imul edx, edx, 0x16
lea eax, [ebp + edx - 0xb1]
push eax
push str.Name
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407ca0
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
jmp 0x430771
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
jmp 0x430a55
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 6]
cmp eax, 3
jne 0x430814
push str.WHERE_SCFIsVip1
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
jmp 0x430829
push 0x44758c
lea edx, [ebp - 0x128]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x128]
push ecx
mov edx, dword [ebp + 8]
add edx, 0xf062
push edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + 9]
push ecx
push str.SELECT_TOP__d_memb___id_FROM__s.dbo.MEMB_INFO__s_ORDER_BY__s
mov edx, dword [ebp + 8]
add edx, 0x7dc0
push edx
call fcn.00407950
add esp, 0x18
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 1
jne 0x430a55
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
cwde
cmp eax, 0x64
je 0x4308b6
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 9]
cmp dword [ebp - 4], edx
jge 0x4308b6
mov eax, dword [ebp - 4]
imul eax, eax, 0x16
lea ecx, [ebp + eax - 0xbc]
push ecx
push str.memb___id
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407ca0
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x43086a
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
mov dword [ebp - 0x130], 0
jmp 0x4308df
mov eax, dword [ebp - 0x130]
add eax, 1
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x130]
cmp ecx, dword [ebp - 4]
jge 0x430971
mov edx, dword [ebp - 0x130]
imul edx, edx, 0x16
lea eax, [ebp + edx - 0xbc]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xf030
push ecx
push str.SELECT_GameIDC_FROM__s.dbo.AccountCharacter_WHERE_Id_s
mov edx, dword [ebp + 8]
add edx, 0x7dc0
push edx
call fcn.00407950
add esp, 0x10
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
cmp dword [ebp - 0x74], 1
jne 0x43095e
mov eax, dword [ebp - 0x130]
imul eax, eax, 0x16
lea ecx, [ebp + eax - 0xb1]
push ecx
push str.GameIDC
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407ca0
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
jmp 0x4308d0
mov dword [ebp - 0x138], 0
jmp 0x43098c
mov edx, dword [ebp - 0x138]
add edx, 1
mov dword [ebp - 0x138], edx
mov eax, dword [ebp - 0x138]
cmp eax, dword [ebp - 4]
jge 0x430a55
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x16
lea edx, [ebp + ecx - 0xbc]
test edx, edx
je 0x430a50
mov eax, dword [ebp - 0x138]
imul eax, eax, 0x16
movsx ecx, byte [ebp + eax - 0xb1]
test ecx, ecx
jne 0x430a50
mov edx, dword [ebp + 8]
add edx, 0xf09e
push edx
mov eax, dword [ebp - 0x138]
imul eax, eax, 0x16
lea ecx, [ebp + eax - 0xbc]
push ecx
mov edx, dword [ebp + 8]
add edx, 0xf030
push edx
push str.SELECT_TOP_1_Name_FROM__s.dbo.Character_WHERE_AccountID_s_ORDER_BY__s_DESC__cLevel_DESC__SCFMasterLevel_DESC__LevelUp_Time_ASC
mov eax, dword [ebp + 8]
add eax, 0x7dc0
push eax
call fcn.00407950
add esp, 0x14
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
cmp dword [ebp - 0x74], 1
jne 0x430a42
mov ecx, dword [ebp - 0x138]
imul ecx, ecx, 0x16
lea edx, [ebp + ecx - 0xb1]
push edx
push str.Name
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407ca0
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
jmp 0x43097d
cmp dword [ebp - 4], 0
jle 0x430cf9
mov dword [ebp - 0x140], 0
jmp 0x430a7a
mov eax, dword [ebp - 0x140]
add eax, 1
mov dword [ebp - 0x140], eax
mov ecx, dword [ebp - 0x140]
cmp ecx, dword [ebp - 4]
jge 0x430ce8
mov edx, dword [ebp - 4]
imul edx, edx, 0x16
lea eax, [ebp + edx - 0xbc]
test eax, eax
je 0x430ce3
mov ecx, dword [ebp - 0x140]
add ecx, 1
push ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 7]
push eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 6]
push edx
mov eax, dword [ebp - 0x140]
imul eax, eax, 0x16
lea ecx, [ebp + eax - 0xb1]
push ecx
mov edx, dword [ebp - 0x140]
imul edx, edx, 0x16
lea eax, [ebp + edx - 0xbc]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xf030
push ecx
push str.INSERT_INTO__s.dbo.Titan_Rank__AccountID_Name_RankDate_RankType_RankSubType_RankTop__VALUES___s__s_getdate____d__d__d_
mov edx, dword [ebp + 8]
add edx, 0x7dc0
push edx
call fcn.00407950
add esp, 0x20
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + 0xa]
cmp dword [ebp - 0x140], ecx
jge 0x430ce3
mov edx, dword [ebp - 0x140]
imul edx, edx, 0x16
movsx eax, byte [ebp + edx - 0xb1]
test eax, eax
je 0x430ce3
mov ecx, dword [ebp - 0x140]
imul ecx, ecx, 0x1c
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + ecx + 0x1c]
push eax
mov ecx, dword [ebp - 0x140]
imul ecx, ecx, 0x1c
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + ecx + 0x1a]
push eax
mov ecx, dword [ebp - 0x140]
imul ecx, ecx, 0x1c
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + ecx + 0x19]
push eax
mov ecx, dword [ebp - 0x140]
imul ecx, ecx, 0x1c
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + ecx + 0x18]
push eax
mov ecx, dword [ebp - 0x140]
imul ecx, ecx, 0x1c
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + ecx + 0x17]
push eax
mov ecx, dword [ebp - 0x140]
imul ecx, ecx, 0x1c
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + ecx + 0x16]
push eax
mov ecx, dword [ebp - 0x140]
imul ecx, ecx, 0x1c
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + ecx + 0x15]
push eax
mov ecx, dword [ebp - 0x140]
imul ecx, ecx, 0x1c
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + ecx + 0x1b]
push eax
mov ecx, dword [ebp - 0x140]
imul ecx, ecx, 0x1c
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + ecx + 0x14]
push eax
mov ecx, dword [ebp - 0x140]
imul ecx, ecx, 0x1c
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + ecx + 0x13]
push eax
mov ecx, dword [ebp - 0x140]
imul ecx, ecx, 0x1c
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + ecx + 0x12]
push eax
mov ecx, dword [ebp - 0x140]
imul ecx, ecx, 0x1c
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + ecx + 0x11]
push eax
mov ecx, dword [ebp - 0x140]
imul ecx, ecx, 0x1c
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + ecx + 0x10]
push eax
mov ecx, dword [ebp - 0x140]
imul ecx, ecx, 0x1c
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + ecx + 0xf]
push eax
mov ecx, dword [ebp - 0x140]
imul ecx, ecx, 0x1c
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + ecx + 0xe]
push eax
mov ecx, dword [ebp - 0x140]
imul ecx, ecx, 0x1c
mov edx, dword [ebp + 0xc]
movzx eax, word [edx + ecx + 0xc]
push eax
mov ecx, dword [ebp - 0x140]
imul ecx, ecx, 0x1c
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ecx + 0x24]
push eax
mov ecx, dword [ebp - 0x140]
imul ecx, ecx, 0x1c
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ecx + 0x20]
push eax
mov ecx, dword [ebp - 0x140]
imul ecx, ecx, 0x16
lea edx, [ebp + ecx - 0xb1]
push edx
mov eax, dword [ebp - 0x140]
imul eax, eax, 0x16
lea ecx, [ebp + eax - 0xbc]
push ecx
mov edx, dword [ebp + 8]
add edx, 0xf030
push edx
push str.INSERT_INTO__s.dbo.Titan_Rewards__AccountID_Name_Zen_VipMoney_Num_Lvl_Opt_Luck_Skill_Dur_Excellent_Ancient_JOH_Sock1_Sock2_Sock3_Sock4_Sock5_Days_SerialFFFFFFFE__VALUES___s__s__d__d__d__d__d__d__d__d__d__d__d__d__d__d__d__d__d__d_
mov eax, dword [ebp + 8]
add eax, 0x7dc0
push eax
call fcn.00407950
add esp, 0x5c
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
jmp 0x430a6b
push 0x46
lea ecx, [ebp - 0xc0]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004067c0
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00435f91
mov esp, ebp
pop ebp
ret