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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, 0x4444
call fcn.004351e0
mov eax, dword [0x446040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
push esi
push edi
mov byte [ebp - 0x4302], dl
mov dword [ebp - 0x4328], ecx
mov dword [ebp - 0x430c], eax
jmp 0x407291
mov esi, dword [ebp - 0x4328]
imul edi, esi, 0x68
mov dword [ebp - 0x4344], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x5117d8], 0
mov cl, byte [ebp - 0x4302]
mov dword [edi + 0x51195c], eax
mov edi, dword [ebp - 0x430c]
je 0x4072fc
test cl, cl
je 0x4072fc
cmp cl, 7
je 0x4072fc
movzx eax, byte [edi + 5]
push eax
movzx eax, byte [edi + 4]
push eax
movzx eax, byte [edi + 3]
push eax
movzx eax, byte [edi + 2]
push eax
movzx eax, byte [edi + 1]
push eax
movzx eax, cl
push eax
push str.DSPROTOCOL:_Head:__x__1:__x__2:__x__3:__x__4:__x__5:__x
push 0
call fcn.0041cff0
mov cl, byte [ebp - 0x4302]
add esp, 0x20
movzx eax, cl
cmp eax, 0xf9
ja case.0x4074b4.1
movzx eax, byte [eax + 0x40f420]
jmp dword [eax*4 + 0x40f2f4]
xor eax, eax
mov dword [ebp - 0x431f], eax
push str.SELECT_ItemCount_FROM_GameServerInfo_WHERE_Number0
push 0x446e50
mov dword [ebp - 0x4320], 0x10008c1
mov dword [ebp - 0x431c], eax
call fcn.0041ad00
add esp, 8
test al, al
je 0x40739e
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40739e
push str.ItemCount
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x40736b
or eax, eax
jmp 0x40737c
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push dword [0x446e5c]
mov dword [ebp - 0x431c], eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
jmp 0x4073e6
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
push str.INSERT_INTO_GameServerInfo__Number_ItemCount_ZenCount_AceItemCount__VALUES__0_0_0_0_
push 0x446e50
call fcn.0041ad00
add esp, 8
push dword [0x446e5c]
call edi
push 2
push dword [0x446e5c]
call esi
mov esi, dword [ebp - 0x4328]
push 8
lea eax, [ebp - 0x4320]
push eax
push esi
call fcn.0041c330
mov eax, dword [ebp - 0x430c]
mov ecx, dword [ebp - 0x4344]
movzx edi, word [eax + 0x38]
movzx esi, word [eax + 4]
lea ecx, [ecx + 0x511920]
add eax, 6
push eax
push 0x32
push ecx
call fcn.0042136d
mov ecx, dword [ebp - 0x4344]
add esp, 0xc
mov word [ecx + 0x511952], si
push edi
mov word [ecx + 0x511954], di
movzx eax, word [ecx + 0x511952]
push eax
lea eax, [ecx + 0x511920]
push eax
push dword [ecx + 0x5118fc]
push str._ServerManager___d__ServerInfo___s____d____d_
push 0
call fcn.0041cff0
add esp, 0x18
jmp case.0x4074b4.1
mov edx, esi
mov ecx, edi
call fcn.0040f940
jmp case.0x4074b4.1
mov edx, esi
mov ecx, edi
call fcn.004102b0
jmp case.0x4074b4.1
mov edx, esi
mov ecx, edi
call fcn.004107c0
jmp case.0x4074b4.1
mov edx, esi
mov ecx, edi
call fcn.00410c30
jmp case.0x4074b4.1
cmp byte [edi], 0xc1
jne 0x40749e
mov al, byte [edi + 3]
jmp 0x4074a1
mov al, byte [edi + 4]
movzx eax, al
cmp eax, 0x75
ja case.0x4074b4.1
movzx eax, byte [eax + 0x40f530]
jmp dword [eax*4 + 0x40f51c]
push esi
push edi
call fcn.0041d170
jmp case.0x4074b4.1
cmp dword [edi + 0xf1c], 0
lea eax, [edi + 0x13]
push 0x50fc10
push 0
push eax
push 0
push 0xf00
push 0xfffffffffffffffd
push 0xfffffffffffffffe
push 1
lea esi, [edi + 8]
mov dword [0x50fc10], 0xf00
push 1
push dword [0x446e5c]
mov dword [ebp - 0x4308], esi
jne 0x407569
call dword [sym.imp.ODBC32.dll_SQLBindParameter]
push esi
push dword [edi + 0xf14]
push str.UPDATE_warehouse_SET_Items__Money_d_WHERE_AccountID_s
push 0x446e50
call fcn.0041ad00
add esp, 0x10
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov ecx, dword [ebp - 0x430c]
push dword [ebp - 0x4308]
push dword [ecx + 0xf18]
push str.UPDATE_warehouse_SET_pw_d_WHERE_AccountID_s
push 0x446e50
call fcn.0041ad00
add esp, 0x10
jmp 0x40f2be
call dword [sym.imp.ODBC32.dll_SQLBindParameter]
push dword [edi + 0xf1c]
push esi
push dword [edi + 0xf14]
push str.UPDATE_ExtWarehouse_SET_Items__Money_d_WHERE_AccountID_s_AND_Number_d
push 0x446e50
call fcn.0041ad00
add esp, 0x14
jmp 0x407522
push esi
push edi
call fcn.0041d600
jmp case.0x4074b4.1
push 0x50fc10
push 0
lea eax, [edi + 0x13]
mov dword [0x50fc10], 0xf00
push eax
push 0
push 0xf00
push 0xfffffffffffffffd
push 0xfffffffffffffffe
push 1
push 1
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLBindParameter]
lea eax, [edi + 8]
push eax
push dword [edi + 0xf18]
mov dword [ebp - 0x431c], eax
push dword [edi + 0xf14]
push str.UPDATE_WarehouseGuild_SET_Items__Money_d_pw_d_WHERE_Guild_s
push 0x446e50
call fcn.0041ad00
add esp, 0x14
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov eax, dword [0x51080c]
mov esi, dword [0x510810]
mov dword [ebp - 0x4328], eax
cmp eax, esi
je case.0x4074b4.1
mov edi, dword [ebp - 0x431c]
nop dword [eax]
mov edx, edi
mov ecx, eax
mov al, byte [ecx]
cmp al, byte [edx]
mov byte [ebp - 0x4302], al
mov eax, dword [ebp - 0x4328]
jne 0x407676
cmp byte [ebp - 0x4302], 0
je 0x407672
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
mov byte [ebp - 0x4302], al
mov eax, dword [ebp - 0x4328]
jne 0x407676
add ecx, 2
add edx, 2
cmp byte [ebp - 0x4302], 0
jne 0x407634
xor ecx, ecx
jmp 0x40767b
sbb ecx, ecx
or ecx, 1
lea edx, [eax + 0xb]
test ecx, ecx
je 0x407693
mov eax, edx
mov dword [ebp - 0x4328], eax
cmp eax, esi
jne 0x407630
jmp case.0x4074b4.1
sub esi, edx
push esi
push edx
push eax
call fcn.00420a40
add esp, 0xc
sub dword [0x510810], 0xb
jmp case.0x4074b4.1
mov edx, esi
mov ecx, edi
call fcn.004116a0
jmp case.0x4074b4.1
mov edx, esi
mov ecx, edi
call fcn.00411890
jmp case.0x4074b4.1
mov edx, esi
mov ecx, edi
call fcn.00411ad0
jmp case.0x4074b4.1
movzx eax, word [edi + 4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x4217], xmm0
mov word [ebp - 0x4214], ax
movzx eax, word [edi + 0xe]
mov word [ebp - 0x420a], ax
mov al, byte [edi + 0x10]
movq qword [ebp - 0x4207], xmm0
movq xmm0, qword [edi + 6]
add edi, 0x11
mov byte [ebp - 0x4208], al
mov dword [ebp - 0x41ff], 0
movq qword [ebp - 0x4212], xmm0
movzx eax, word [edi + 8]
movq xmm0, qword [edi]
mov word [ebp - 0x41ff], ax
mov al, byte [edi + 0xa]
mov byte [ebp - 0x41fd], al
xor eax, eax
mov byte [ebp - 0x41fb], 0
mov word [ebp - 0x4218], 0x1ec1
mov byte [ebp - 0x4216], 0xa
movq qword [ebp - 0x4207], xmm0
nop word [eax + eax]
mov cl, byte [edi + eax]
cmp cl, 0x20
je 0x4077c0
cmp cl, 0x22
je 0x4077c0
cmp cl, 0x27
je 0x4077c0
inc eax
cmp eax, 0xb
jl 0x407760
mov esi, dword [0x446ac0]
cmp esi, dword [0x446ac4]
je 0x40779f
push esi
push edi
call fcn.0041efc0
add esp, 8
test eax, eax
jne 0x4077c0
add esi, 0x20
cmp esi, dword [0x446ac4]
jne 0x407786
mov ecx, dword [ebp - 0x4328]
lea eax, [ebp - 0x4218]
push 0x1e
push eax
push ecx
mov byte [ebp - 0x41fc], 0
call fcn.0041c330
jmp case.0x4074b4.1
mov ecx, dword [ebp - 0x4328]
lea eax, [ebp - 0x4218]
push 0x1e
push eax
push ecx
mov byte [ebp - 0x41fc], 1
call fcn.0041c330
jmp case.0x4074b4.1
cmp byte [edi], 0xc1
jne 0x4077eb
mov al, byte [edi + 3]
jmp 0x4077ee
mov al, byte [edi + 4]
test al, al
je 0x4078f4
cmp al, 0x30
jne case.0x4074b4.1
lea eax, [edi + 0x11]
push eax
push str.SELECT_Name_FROM_QuestKillCount_WHERE_Name_s
push 0x446e50
mov dword [ebp - 0x4308], eax
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x407892
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x407892
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov eax, dword [ebp - 0x430c]
push dword [ebp - 0x4308]
push dword [eax + 0x44]
push dword [eax + 0x30]
push dword [eax + 0x40]
push dword [eax + 0x2c]
push dword [eax + 0x3c]
push dword [eax + 0x28]
push dword [eax + 0x38]
push dword [eax + 0x24]
push dword [eax + 0x34]
push dword [eax + 0x20]
push dword [eax + 0x1c]
push str.UPDATE_QuestKillCount_SET_QuestIndex_d_MonsterClass1_d_KillCount1_d_MonsterClass2_d_KillCount2_d_MonsterClass3_d_KillCount3_d_MonsterClass4_d_KillCount4_d_MonsterClass5_d_KillCount5_d_WHERE_Name_s
push 0x446e50
call fcn.0041ad00
add esp, 0x38
jmp 0x40f2be
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov eax, dword [ebp - 0x430c]
push dword [eax + 0x44]
push dword [eax + 0x30]
push dword [eax + 0x40]
push dword [eax + 0x2c]
push dword [eax + 0x3c]
push dword [eax + 0x28]
push dword [eax + 0x38]
push dword [eax + 0x24]
push dword [eax + 0x34]
push dword [eax + 0x20]
push dword [eax + 0x1c]
push dword [ebp - 0x4308]
push str.INSERT_INTO_QuestKillCount__Name_QuestIndex_MonsterClass1_KillCount1_MonsterClass2_KillCount2_MonsterClass3_KillCount3_MonsterClass4_KillCount4_MonsterClass5_KillCount5__VALUES___s__d__d__d__d__d__d__d__d__d__d__d_
push 0x446e50
call fcn.0041ad00
add esp, 0x38
jmp 0x40f2be
push esi
push edi
call fcn.0041b060
jmp case.0x4074b4.1
cmp byte [edi], 0xc1
jne 0x40790a
mov al, byte [edi + 3]
jmp 0x40790d
mov al, byte [edi + 4]
test al, al
je 0x407a5d
cmp al, 0x30
jne case.0x4074b4.1
lea eax, [edi + 0x13]
push eax
push str.SELECT_Name_FROM_MasterSkillTree_WHERE_Name_s
push 0x446e50
mov dword [ebp - 0x4308], eax
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x4079da
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x4079da
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov eax, dword [ebp - 0x430c]
push 0x50fc10
push 0
add eax, 0x30
mov dword [0x50fc10], 0xb4
push eax
push 0
push 0xb4
push 0xfffffffffffffffd
push 0xfffffffffffffffe
push 1
push 1
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLBindParameter]
mov eax, dword [ebp - 0x430c]
push dword [ebp - 0x4308]
push dword [eax + 0x2c]
push dword [eax + 0x28]
push dword [eax + 0x24]
push dword [eax + 0x20]
push str.UPDATE_MasterSkillTree_SET_MasterLevel_d_MasterPoint_d_MasterExperience_I64d_MasterSkill__WHERE_Name_s
push 0x446e50
call fcn.0041ad00
add esp, 0x1c
jmp 0x40f2be
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov eax, dword [ebp - 0x430c]
push 0x50fc10
push 0
add eax, 0x30
mov dword [0x50fc10], 0xb4
push eax
push 0
push 0xb4
push 0xfffffffffffffffd
push 0xfffffffffffffffe
push 1
push 1
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLBindParameter]
mov eax, dword [ebp - 0x430c]
push dword [eax + 0x2c]
push dword [eax + 0x28]
push dword [eax + 0x24]
push dword [eax + 0x20]
push dword [ebp - 0x4308]
push str.INSERT_INTO_MasterSkillTree__Name_MasterLevel_MasterPoint_MasterExperience_MasterSkill__VALUES___s__d__d__I64d___
push 0x446e50
call fcn.0041ad00
add esp, 0x1c
jmp 0x40f2be
push 0xe7
lea eax, [ebp - 0x12f]
push 0
push eax
call fcn.0041f470
movzx eax, word [edi + 4]
lea ecx, [edi + 0x11]
movq xmm0, qword [edi + 6]
add esp, 0xc
mov word [ebp - 0x12a], ax
movzx eax, word [edi + 0xe]
mov word [ebp - 0x120], ax
mov al, byte [edi + 0x10]
mov byte [ebp - 0x11e], al
movzx eax, word [ecx + 8]
push ecx
movq qword [ebp - 0x128], xmm0
movq xmm0, qword [ecx]
mov word [ebp - 0x115], ax
mov al, byte [ecx + 0xa]
push str.SELECT__FROM_MasterSkillTree_WHERE_Name_s
push 0x446e50
mov dword [ebp - 0x130], 0xde800c2
mov byte [ebp - 0x12c], 0
movq qword [ebp - 0x11d], xmm0
mov byte [ebp - 0x113], al
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x407bd2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x407bd2
push str.MasterLevel
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x407b17
or eax, eax
jmp 0x407b28
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.MasterPoint
mov dword [ebp - 0x110], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x407b41
or eax, eax
jmp 0x407b52
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.MasterExperience
mov dword [ebp - 0x10c], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x407b6e
or eax, eax
or edx, 0xffffffff
jmp 0x407b7f
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.004240c2
add esp, 4
mov dword [ebp - 0x108], eax
lea eax, [ebp - 0x100]
push 0xb4
push eax
push str.MasterSkill
mov dword [ebp - 0x104], edx
call fcn.0041afa0
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0xe8
lea eax, [ebp - 0x130]
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0xb4
lea eax, [ebp - 0x100]
mov dword [ebp - 0x110], 0
xorps xmm0, xmm0
mov dword [ebp - 0x10c], 0
push 0xff
push eax
movlpd qword [ebp - 0x108], xmm0
call fcn.0041f470
add esp, 0xc
lea eax, [ebp - 0x130]
push 0xe8
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
cmp byte [edi], 0xc1
jne 0x407c45
mov al, byte [edi + 3]
jmp 0x407c48
mov al, byte [edi + 4]
movzx eax, al
cmp eax, 0x31
ja case.0x4074b4.1
movzx eax, byte [eax + 0x40f5bc]
jmp dword [eax*4 + 0x40f5a8]
movzx eax, word [edi + 4]
lea ecx, [edi + 0x11]
xorps xmm0, xmm0
mov dword [ebp - 0x41ff], 0
movups xmmword [ebp - 0x4217], xmm0
mov word [ebp - 0x4214], ax
movzx eax, word [edi + 0xe]
mov word [ebp - 0x420a], ax
mov al, byte [edi + 0x10]
movq qword [ebp - 0x4207], xmm0
movq xmm0, qword [edi + 6]
mov byte [ebp - 0x4208], al
movzx eax, word [ecx + 8]
push ecx
movq qword [ebp - 0x4212], xmm0
movq xmm0, qword [ecx]
mov word [ebp - 0x41ff], ax
mov al, byte [ecx + 0xa]
push str.SELECT_Status_FROM_EventLeoTheHelper_WHERE_Name_s
push 0x446e50
mov byte [ebp - 0x41fb], 0
mov dword [ebp - 0x4218], 0xe1ec1
mov dword [ebp - 0x431c], ecx
movq qword [ebp - 0x4207], xmm0
mov byte [ebp - 0x41fd], al
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x407d65
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x407d65
push str.Status
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x407d20
or eax, eax
jmp 0x407d31
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push dword [0x446e5c]
mov byte [ebp - 0x41fc], al
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x1e
lea eax, [ebp - 0x4218]
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
push dword [ebp - 0x431c]
push str.INSERT_INTO_EventLeoTheHelper__Name_Status__VALUES___s_0_
push 0x446e50
call fcn.0041ad00
add esp, 0xc
push dword [0x446e5c]
call edi
push 2
push dword [0x446e5c]
call esi
mov esi, dword [ebp - 0x4328]
lea eax, [ebp - 0x4218]
push 0x1e
push eax
push esi
mov byte [ebp - 0x41fc], 0
call fcn.0041c330
jmp case.0x4074b4.1
movzx eax, word [edi + 4]
lea ecx, [edi + 0x11]
xorps xmm0, xmm0
mov dword [ebp - 0x41ff], 0
movups xmmword [ebp - 0x4217], xmm0
mov word [ebp - 0x4214], ax
movzx eax, word [edi + 0xe]
mov word [ebp - 0x420a], ax
mov al, byte [edi + 0x10]
movq qword [ebp - 0x4207], xmm0
movq xmm0, qword [edi + 6]
mov byte [ebp - 0x4208], al
movzx eax, word [ecx + 8]
push ecx
movq qword [ebp - 0x4212], xmm0
movq xmm0, qword [ecx]
mov word [ebp - 0x41ff], ax
mov al, byte [ecx + 0xa]
push str.SELECT_Status_FROM_EventSantaClaus_WHERE_Name_s
push 0x446e50
mov byte [ebp - 0x41fb], 0
mov dword [ebp - 0x4218], 0x10e1ec1
mov dword [ebp - 0x431c], ecx
movq qword [ebp - 0x4207], xmm0
mov byte [ebp - 0x41fd], al
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x407e7d
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
jne 0x407d0d
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
push dword [ebp - 0x431c]
push str.INSERT_INTO_EventSantaClaus__Name_Status__VALUES___s_0_
jmp 0x407d8e
lea eax, [edi + 0x11]
push eax
push str.SELECT_Name_FROM_EventLeoTheHelper_WHERE_Name_s
push 0x446e50
mov dword [ebp - 0x431c], eax
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x407f24
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x407f24
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov ecx, dword [ebp - 0x430c]
mov eax, dword [ebp - 0x431c]
push eax
movzx eax, byte [ecx + 0x1c]
push eax
push str.UPDATE_EventLeoTheHelper_SET_Status_d_WHERE_Name_s
push 0x446e50
call fcn.0041ad00
add esp, 0x10
jmp 0x40f2be
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov ecx, dword [ebp - 0x430c]
movzx eax, byte [ecx + 0x1c]
push eax
lea eax, [ecx + 0x11]
push eax
push str.INSERT_INTO_EventLeoTheHelper__Name_Status__VALUES___s__d_
push 0x446e50
call fcn.0041ad00
add esp, 0x10
jmp 0x40f2be
lea eax, [edi + 0x11]
push eax
push str.SELECT_Name_FROM_EventSantaClaus_WHERE_Name_s
push 0x446e50
mov dword [ebp - 0x431c], eax
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x407fe1
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x407fe1
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov ecx, dword [ebp - 0x430c]
mov eax, dword [ebp - 0x431c]
push eax
movzx eax, byte [ecx + 0x1c]
push eax
push str.UPDATE_EventSantaClaus_SET_Status_d_WHERE_Name_s
push 0x446e50
call fcn.0041ad00
add esp, 0x10
jmp 0x40f2be
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov ecx, dword [ebp - 0x430c]
movzx eax, byte [ecx + 0x1c]
push eax
lea eax, [ecx + 0x11]
push eax
push str.INSERT_INTO_EventSantaClaus__Name_Status__VALUES___s__d_
push 0x446e50
call fcn.0041ad00
add esp, 0x10
jmp 0x40f2be
cmp byte [edi], 0xc1
jne 0x40802f
mov al, byte [edi + 3]
jmp 0x408032
mov al, byte [edi + 4]
movzx eax, al
cmp eax, 9
ja case.0x4074b4.1
jmp dword [eax*4 + 0x40f5f0]
push 0x27
lea eax, [ebp - 0x421f]
push 0
push eax
call fcn.0041f470
movzx eax, word [edi + 4]
lea edx, [edi + 6]
movq xmm0, qword [edx]
lea ecx, [edi + 0x11]
mov word [ebp - 0x421c], ax
add esp, 0xc
movzx eax, word [edx + 8]
mov word [ebp - 0x4212], ax
mov al, byte [edx + 0xa]
push ecx
mov byte [ebp - 0x4210], al
movzx eax, word [ecx + 8]
push edx
movq qword [ebp - 0x421a], xmm0
movq xmm0, qword [ecx]
mov word [ebp - 0x4207], ax
mov al, byte [ecx + 0xa]
push str.EXEC_WZ_GetResetInfo__s__s
push 0x446e50
mov dword [ebp - 0x4220], 0xf28c1
movq qword [ebp - 0x420f], xmm0
mov byte [ebp - 0x4205], al
call fcn.0041ad00
add esp, 0x10
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
push str.ResetDay
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x4080e6
or eax, eax
jmp 0x4080f7
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.ResetWek
mov dword [ebp - 0x4204], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x408110
or eax, eax
jmp 0x408121
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.ResetMon
mov dword [ebp - 0x4200], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x40813a
or eax, eax
jmp 0x40814b
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push dword [0x446e5c]
mov dword [ebp - 0x41fc], eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x28
lea eax, [ebp - 0x4220]
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
push 0x27
lea eax, [ebp - 0x421f]
push 0
push eax
call fcn.0041f470
movzx eax, word [edi + 4]
lea edx, [edi + 6]
movq xmm0, qword [edx]
lea ecx, [edi + 0x11]
mov word [ebp - 0x421c], ax
add esp, 0xc
movzx eax, word [edx + 8]
mov word [ebp - 0x4212], ax
mov al, byte [edx + 0xa]
push ecx
mov byte [ebp - 0x4210], al
movzx eax, word [ecx + 8]
push edx
movq qword [ebp - 0x421a], xmm0
movq xmm0, qword [ecx]
mov word [ebp - 0x4207], ax
mov al, byte [ecx + 0xa]
push str.EXEC_WZ_GetMasterResetInfo__s__s
push 0x446e50
mov dword [ebp - 0x4220], 0x10f28c1
movq qword [ebp - 0x420f], xmm0
mov byte [ebp - 0x4205], al
call fcn.0041ad00
add esp, 0x10
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
push str.MasterResetDay
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x408220
or eax, eax
jmp 0x408231
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.MasterResetWek
mov dword [ebp - 0x4204], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x408252
or eax, eax
push str.MasterResetMon
jmp 0x408126
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.MasterResetMon
jmp 0x408126
push esi
push edi
call fcn.00404ea0
jmp case.0x4074b4.1
push dword [edi + 0x38]
lea eax, [edi + 0x27]
push dword [edi + 0x34]
push eax
lea eax, [edi + 0x1c]
push eax
lea eax, [edi + 0x11]
push eax
lea eax, [edi + 6]
push eax
push str.EXEC_WZ_SetReward__s__s__s__s__d__d
push 0x446e50
call fcn.0041ad00
add esp, 0x20
jmp 0x40a5dc
push dword [edi + 0x20]
lea eax, [edi + 0x11]
push dword [edi + 0x1c]
push eax
lea eax, [edi + 6]
push eax
push str.EXEC_WZ_SetRewardAll__s__s__d__d
push 0x446e50
call fcn.0041ad00
add esp, 0x18
jmp 0x40a5dc
push 0x27
lea eax, [ebp - 0x421f]
push 0
push eax
call fcn.0041f470
movzx eax, word [edi + 4]
lea esi, [edi + 6]
movq xmm0, qword [esi]
lea edx, [edi + 0x11]
mov word [ebp - 0x421c], ax
lea ecx, [edi + 0x1c]
movzx eax, word [esi + 8]
add esp, 0xc
mov word [ebp - 0x4212], ax
mov al, byte [esi + 0xa]
mov byte [ebp - 0x4210], al
movzx eax, word [edx + 8]
push ecx
mov word [ebp - 0x4207], ax
mov al, byte [edx + 0xa]
push edx
movq qword [ebp - 0x421a], xmm0
movq xmm0, qword [edx]
mov byte [ebp - 0x4205], al
movzx eax, word [ecx + 8]
push esi
movq qword [ebp - 0x420f], xmm0
movq xmm0, qword [ecx]
mov word [ebp - 0x41fc], ax
mov al, byte [ecx + 0xa]
push str.EXEC_WZ_RenameCharacter__s__s__s
push 0x446e50
mov dword [ebp - 0x4220], 0x50f28c1
movq qword [ebp - 0x4204], xmm0
mov byte [ebp - 0x41fa], al
call fcn.0041ad00
add esp, 0x14
test al, al
je 0x4083ce
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x4083ce
push 0x447a7e
call fcn.0042415e
add esp, 4
mov byte [ebp - 0x41f9], al
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov ecx, dword [ebp - 0x4328]
lea eax, [ebp - 0x4220]
push 0x28
push eax
push ecx
call fcn.0041c330
jmp case.0x4074b4.1
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov ecx, dword [ebp - 0x4328]
lea eax, [ebp - 0x4220]
push 0x28
push eax
push ecx
mov byte [ebp - 0x41f9], 2
call fcn.0041c330
jmp case.0x4074b4.1
xor eax, eax
mov word [ebp - 0x431b], ax
mov dword [ebp - 0x431f], eax
mov word [ebp - 0x431a], ax
mov ax, word [edi + 4]
mov word [ebp - 0x431c], ax
lea eax, [edi + 6]
push eax
push str.SELECT__FROM_Character_WHERE_Name_s
push 0x446e50
mov dword [ebp - 0x4320], 0x60f08c1
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x4084fd
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x4084fd
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
lea eax, [edi + 6]
push eax
movzx eax, word [edi + 0x12]
push eax
push str.UPDATE_MEMB_INFO_SET_BLOC_CODE1_BLOC_EXPIRE_getdate___d__WHERE_MEMB___ID_SELECT_TOP_1_AccountID_FROM_Character_WHERE_Name___s_
push 0x446e50
call fcn.0041ad00
add esp, 0x10
test al, al
mov eax, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push dword [0x446e5c]
jne 0x4084d1
call eax
mov eax, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call eax
push 8
lea eax, [ebp - 0x4320]
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
call eax
mov eax, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call eax
push 8
lea eax, [ebp - 0x4320]
mov byte [ebp - 0x431a], 1
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 8
lea eax, [ebp - 0x4320]
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
xor eax, eax
mov word [ebp - 0x431b], ax
mov dword [ebp - 0x431f], eax
mov word [ebp - 0x431a], ax
mov ax, word [edi + 4]
mov word [ebp - 0x431c], ax
lea eax, [edi + 6]
push eax
push str.SELECT__FROM_Character_WHERE_Name_s
push 0x446e50
mov dword [ebp - 0x4320], 0x70f08c1
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x4084fd
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x4084fd
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
lea eax, [edi + 6]
push eax
movzx eax, word [edi + 0x12]
push eax
push str.UPDATE_CHARACTER_SET_CTLCODE1_BLOC_EXPIRE_getdate___d__WHERE_NAME_s
jmp 0x408490
xor eax, eax
mov dword [ebp - 0x431f], eax
mov word [ebp - 0x431b], ax
mov byte [ebp - 0x4319], al
mov ax, word [edi + 4]
mov word [ebp - 0x431c], ax
lea eax, [edi + 6]
push eax
push str.SELECT__FROM_CustomGift_WHERE_AccountID_s
push 0x446e50
mov dword [ebp - 0x4320], 0x80f08c1
mov dword [ebp - 0x4308], eax
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x4086a5
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x4086a5
push str.Quantity
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x40862a
or eax, eax
jmp 0x40863b
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
inc al
mov byte [ebp - 0x431a], al
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
push dword [ebp - 0x4308]
push str.UPDATE_CustomGift_SET_QuantityQuantity1_WHERE_AccountID_s
push 0x446e50
call fcn.0041ad00
add esp, 0xc
push dword [0x446e5c]
call edi
push 2
push dword [0x446e5c]
call esi
mov esi, dword [ebp - 0x4328]
lea eax, [ebp - 0x4320]
push 8
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push dword [ebp - 0x4308]
push str.INSERT_INTO_CustomGift__AccountID_Quantity__VALUES___s_1_
push 0x446e50
call fcn.0041ad00
add esp, 0xc
push dword [0x446e5c]
test al, al
jne 0x40870f
call edi
mov eax, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call eax
push 8
lea eax, [ebp - 0x4320]
mov byte [ebp - 0x431a], 0
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
call edi
mov eax, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call eax
push 8
lea eax, [ebp - 0x4320]
mov byte [ebp - 0x431a], 1
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
push esi
push edi
call fcn.00405070
jmp case.0x4074b4.1
cmp byte [edi], 0xc1
jne 0x408751
mov al, byte [edi + 3]
jmp 0x408754
mov al, byte [edi + 4]
test al, al
je 0x40887c
cmp al, 0x30
jne case.0x4074b4.1
lea eax, [edi + 0x13]
push eax
push str.SELECT_Name_FROM_QuestWorld_WHERE_Name_s
push 0x446e50
mov dword [ebp - 0x4308], eax
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x40880b
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40880b
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov eax, dword [ebp - 0x430c]
push 0x50fc10
push 0
add eax, 0x1e
mov dword [0x50fc10], 0x190
push eax
push 0
push 0x190
push 0xfffffffffffffffd
push 0xfffffffffffffffe
push 1
push 1
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLBindParameter]
push dword [ebp - 0x4308]
push str.UPDATE_QuestWorld_SET_QuestWorldList__WHERE_Name_s
push 0x446e50
call fcn.0041ad00
add esp, 0xc
jmp 0x40f2be
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov eax, dword [ebp - 0x430c]
push 0x50fc10
push 0
add eax, 0x1e
mov dword [0x50fc10], 0x190
push eax
push 0
push 0x190
push 0xfffffffffffffffd
push 0xfffffffffffffffe
push 1
push 1
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLBindParameter]
push dword [ebp - 0x4308]
push str.INSERT_INTO_QuestWorld__Name_QuestWorldList__VALUES___s___
push 0x446e50
call fcn.0041ad00
add esp, 0xc
jmp 0x40f2be
push 0x1ad
lea eax, [ebp - 0x1f7]
push 0
push eax
call fcn.0041f470
movzx eax, word [edi + 4]
lea ecx, [edi + 0x11]
movq xmm0, qword [edi + 6]
add esp, 0xc
mov word [ebp - 0x1f2], ax
movzx eax, word [edi + 0xe]
mov word [ebp - 0x1e8], ax
mov al, byte [edi + 0x10]
mov byte [ebp - 0x1e6], al
movzx eax, word [ecx + 8]
push ecx
movq qword [ebp - 0x1f0], xmm0
movq xmm0, qword [ecx]
mov word [ebp - 0x1dd], ax
mov al, byte [ecx + 0xa]
push str.SELECT_QuestWorldList_FROM_QuestWorld_WHERE_Name_s
push 0x446e50
mov dword [ebp - 0x1f8], 0x10ae01c2
mov byte [ebp - 0x1f4], 0
movq qword [ebp - 0x1e5], xmm0
mov byte [ebp - 0x1db], al
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x408962
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x408962
push 0x190
lea eax, [ebp - 0x1da]
push eax
push str.QuestWorldList
call fcn.0041afa0
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x1ae
lea eax, [ebp - 0x1f8]
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x190
lea eax, [ebp - 0x1da]
push 0xff
push eax
call fcn.0041f470
add esp, 0xc
lea eax, [ebp - 0x1f8]
push 0x1ae
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
cmp byte [edi], 0xc1
jne 0x4089b6
mov al, byte [edi + 3]
jmp 0x4089b9
mov al, byte [edi + 4]
movzx eax, al
cmp eax, 0x30
ja case.0x4074b4.1
movzx eax, byte [eax + 0x40f634]
jmp dword [eax*4 + 0x40f618]
push esi
push edi
call fcn.00418360
jmp case.0x4074b4.1
movzx eax, word [edi + 4]
lea ecx, [edi + 0x11]
xorps xmm0, xmm0
mov dword [ebp - 0x41ff], 0
movups xmmword [ebp - 0x4217], xmm0
mov word [ebp - 0x4214], ax
movzx eax, word [edi + 0xe]
mov word [ebp - 0x420a], ax
mov al, byte [edi + 0x10]
movq qword [ebp - 0x4207], xmm0
movq xmm0, qword [edi + 6]
mov byte [ebp - 0x4208], al
movzx eax, word [ecx + 8]
push ecx
movq qword [ebp - 0x4212], xmm0
movq xmm0, qword [ecx]
mov word [ebp - 0x41ff], ax
mov al, byte [ecx + 0xa]
push str.DELETE_FROM_Gens_Rank_WHERE_Name_s
push 0x446e50
mov byte [ebp - 0x41fb], 0
mov dword [ebp - 0x4218], 0x1111ec1
movq qword [ebp - 0x4207], xmm0
mov byte [ebp - 0x41fd], al
call fcn.0041ad00
add esp, 0xc
push dword [0x446e5c]
test al, al
jne 0x408a95
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov byte [ebp - 0x41fc], 1
jmp 0x408ab0
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov byte [ebp - 0x41fc], 0
push 0x1e
lea eax, [ebp - 0x4218]
push eax
push esi
call fcn.0041c330
mov eax, dword [edi + 0x20]
push 0xffffffffffffffff
inc eax
push eax
movzx eax, byte [edi + 0x1c]
push eax
call fcn.00418890
jmp case.0x4074b4.1
push esi
push edi
call fcn.004184f0
jmp case.0x4074b4.1
push esi
push edi
call fcn.004186c0
jmp case.0x4074b4.1
push 0x27
lea eax, [ebp - 0x421f]
push 0
push eax
call fcn.0041f470
movzx eax, word [edi + 4]
lea ecx, [edi + 0x11]
movq xmm0, qword [edi + 6]
add esp, 0xc
mov word [ebp - 0x421c], ax
movzx eax, word [edi + 0xe]
mov word [ebp - 0x4212], ax
mov al, byte [edi + 0x10]
mov byte [ebp - 0x4210], al
movzx eax, word [ecx + 8]
push ecx
movq qword [ebp - 0x421a], xmm0
movq xmm0, qword [ecx]
mov word [ebp - 0x4207], ax
mov al, byte [ecx + 0xa]
push str.SELECT_Rank_Status_FROM_Gens_Reward_WHERE_Name_s
push 0x446e50
mov dword [ebp - 0x4220], 0x41128c1
movq qword [ebp - 0x420f], xmm0
mov byte [ebp - 0x4205], al
mov word [ebp - 0x4204], 0
mov dword [ebp - 0x4200], 0
mov dword [ebp - 0x41fc], 0
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x408c32
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x408c32
mov al, byte [edi + 0x1c]
push str.Rank
mov byte [ebp - 0x4203], al
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x408bc3
or eax, eax
jmp 0x408bd4
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.Status
mov dword [ebp - 0x4200], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x408bed
or eax, eax
jmp 0x408bfe
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push dword [0x446e5c]
mov dword [ebp - 0x41fc], eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x28
lea eax, [ebp - 0x4220]
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x28
lea eax, [ebp - 0x4220]
mov byte [ebp - 0x4204], 1
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
lea eax, [edi + 0x11]
push eax
push str.SELECT_Name_FROM_Gens_Reward_WHERE_Name_s
push 0x446e50
mov dword [ebp - 0x4308], eax
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x408cdd
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x408cdd
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov ecx, dword [ebp - 0x430c]
push dword [ebp - 0x4308]
push dword [ecx + 0x24]
push str.UPDATE_Gens_Reward_SET_Status_d_WHERE_Name_s
push 0x446e50
call fcn.0041ad00
add esp, 0x10
jmp 0x40f2be
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov eax, dword [ebp - 0x430c]
push dword [eax + 0x24]
push dword [eax + 0x20]
push dword [ebp - 0x4308]
push str.INSERT_INTO_Gens_Reward__Name_Rank_Status__VALUES___s__d__d_
jmp 0x40f2b1
cmp byte [edi], 0xc1
jne 0x408d21
mov al, byte [edi + 3]
jmp 0x408d24
mov al, byte [edi + 4]
test al, al
je 0x408e4c
cmp al, 0x30
jne case.0x4074b4.1
lea eax, [edi + 0x13]
push eax
push str.SELECT_Name_FROM_HelperData_WHERE_Name_s
push 0x446e50
mov dword [ebp - 0x4308], eax
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x408ddb
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x408ddb
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov eax, dword [ebp - 0x430c]
push 0x50fc10
push 0
add eax, 0x1e
mov dword [0x50fc10], 0x100
push eax
push 0
push 0x100
push 0xfffffffffffffffd
push 0xfffffffffffffffe
push 1
push 1
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLBindParameter]
push dword [ebp - 0x4308]
push str.UPDATE_HelperData_SET_Data__WHERE_Name_s
push 0x446e50
call fcn.0041ad00
add esp, 0xc
jmp 0x40f2be
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov eax, dword [ebp - 0x430c]
push 0x50fc10
push 0
add eax, 0x1e
mov dword [0x50fc10], 0x100
push eax
push 0
push 0x100
push 0xfffffffffffffffd
push 0xfffffffffffffffe
push 1
push 1
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLBindParameter]
push dword [ebp - 0x4308]
push str.INSERT_INTO_HelperData__Name_Data__VALUES___s___
push 0x446e50
call fcn.0041ad00
add esp, 0xc
jmp 0x40f2be
push 0x11f
lea eax, [ebp - 0x167]
push 0
push eax
call fcn.0041f470
movzx eax, word [edi + 4]
lea ecx, [edi + 0x11]
movq xmm0, qword [edi + 6]
add esp, 0xc
mov word [ebp - 0x162], ax
movzx eax, word [edi + 0xe]
mov word [ebp - 0x158], ax
mov al, byte [edi + 0x10]
mov byte [ebp - 0x156], al
movzx eax, word [ecx + 8]
push ecx
movq qword [ebp - 0x160], xmm0
movq xmm0, qword [ecx]
mov word [ebp - 0x14d], ax
mov al, byte [ecx + 0xa]
push str.SELECT_Data_FROM_HelperData_WHERE_Name_s
push 0x446e50
mov dword [ebp - 0x168], 0x172001c2
mov byte [ebp - 0x164], 0
movq qword [ebp - 0x155], xmm0
mov byte [ebp - 0x14b], al
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x408f39
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x408f39
push 0x100
lea eax, [ebp - 0x149]
mov byte [ebp - 0x14a], 0
push eax
push str.Data
call fcn.0041afa0
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x120
lea eax, [ebp - 0x168]
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x100
lea eax, [ebp - 0x149]
mov byte [ebp - 0x14a], 1
push 0xff
push eax
call fcn.0041f470
add esp, 0xc
lea eax, [ebp - 0x168]
push 0x120
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
cmp byte [edi], 0xc1
jne 0x408f94
mov al, byte [edi + 3]
jmp 0x408f97
mov al, byte [edi + 4]
movzx eax, al
cmp eax, 0x34
ja case.0x4074b4.1
movzx eax, byte [eax + 0x40f69c]
jmp dword [eax*4 + 0x40f668]
push esi
push edi
call fcn.00402400
jmp case.0x4074b4.1
push esi
push edi
call fcn.004025c0
jmp case.0x4074b4.1
push esi
push edi
call fcn.004027b0
jmp case.0x4074b4.1
push esi
push edi
call fcn.00402ae0
jmp case.0x4074b4.1
push esi
push edi
call fcn.00402e70
jmp case.0x4074b4.1
mov ax, word [edi + 6]
xorps xmm0, xmm0
mov word [ebp - 0x4342], ax
xor cl, cl
mov edx, 0x14
mov ax, word [edi + 0x10]
movups xmmword [ebp - 0x420b], xmm0
mov word [ebp - 0x430a], ax
movq xmm0, qword [edi + 8]
mov al, byte [edi + 0x12]
mov word [ebp - 0x41fb], 0
mov byte [ebp - 0x41f9], 0
mov dword [ebp - 0x4340], edx
movq qword [ebp - 0x4320], xmm0
mov byte [ebp - 0x4321], al
mov byte [ebp - 0x4302], cl
mov dword [ebp - 0x4348], 0
cmp byte [edi + 0x13], cl
jbe 0x4091b7
lea eax, [ebp - 0x1034]
mov dword [ebp - 0x434c], eax
lea esi, [edi + 0x18]
nop dword [eax + eax]
push dword [esi]
push str.SELECT_Time_FROM_CashShopPeriodicItem_WHERE_ItemSerial_d
push 0x446e50
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x4090f7
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x4090f7
mov al, byte [esi - 4]
mov byte [ebp - 0x4334], al
mov eax, dword [esi]
push str.Time
mov dword [ebp - 0x4330], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x4090be
or eax, eax
jmp 0x4090cf
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push dword [0x446e5c]
mov dword [ebp - 0x4308], eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov eax, dword [ebp - 0x4308]
jmp 0x409154
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0
push dword [esi]
push str.INSERT_INTO_CashShopPeriodicItem__ItemSerial_Time__VALUES___d__d_
push 0x446e50
call fcn.0041ad00
add esp, 0x10
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov al, byte [esi - 4]
mov byte [ebp - 0x4334], al
mov eax, dword [esi]
mov dword [ebp - 0x4330], eax
xor eax, eax
mov ecx, dword [ebp - 0x434c]
add esi, 8
movq xmm0, qword [ebp - 0x4334]
mov edx, dword [ebp - 0x4340]
inc byte [ebp - 0x4302]
add edx, 0xc
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
add ecx, 0xc
movzx eax, byte [edi + 0x13]
mov dword [ebp - 0x434c], ecx
mov ecx, dword [ebp - 0x4348]
inc ecx
mov dword [ebp - 0x4340], edx
mov dword [ebp - 0x4348], ecx
cmp ecx, eax
jl 0x409070
movq xmm0, qword [ebp - 0x4320]
mov esi, dword [ebp - 0x4328]
mov cl, byte [ebp - 0x4302]
mov eax, edx
mov word [ebp - 0x1045], 0x518
shr eax, 8
mov byte [ebp - 0x1047], al
mov al, byte [ebp - 0x4207]
mov byte [ebp - 0x1043], al
mov ax, word [ebp - 0x4342]
mov word [ebp - 0x1042], ax
mov ax, word [ebp - 0x430a]
jmp 0x40a1ac
push 0x2b
lea eax, [ebp - 0x4223]
push 0
push eax
call fcn.0041f470
movzx eax, word [edi + 4]
lea ecx, [edi + 6]
movq xmm0, qword [ecx]
add esp, 0xc
mov word [ebp - 0x4220], ax
movzx eax, word [ecx + 8]
mov word [ebp - 0x4216], ax
mov al, byte [ecx + 0xa]
mov byte [ebp - 0x4214], al
mov eax, dword [edi + 0x14]
push ecx
mov dword [ebp - 0x4210], eax
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x420c], eax
mov eax, dword [edi + 0x1c]
push str.SELECT__FROM_CashShopData_WHERE_AccountID_s
push 0x446e50
mov dword [ebp - 0x4224], 0x6182cc1
movq qword [ebp - 0x421e], xmm0
mov dword [ebp - 0x4208], eax
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x409359
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x409359
push str.WCoinC
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x40929b
or edi, eax
jmp 0x4092ae
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
mov edi, eax
push str.WCoinP
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x4092c1
or eax, eax
jmp 0x4092d2
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.GoblinPoint
mov dword [ebp - 0x4308], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x4092eb
or ecx, eax
jmp 0x4092fe
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
mov ecx, eax
push dword [0x446e5c]
xor eax, eax
test edi, edi
cmovs edi, eax
mov eax, dword [ebp - 0x4308]
xor edx, edx
mov dword [ebp - 0x4204], edi
test eax, eax
cmovs eax, edx
mov dword [ebp - 0x4200], eax
xor eax, eax
test ecx, ecx
cmovs ecx, eax
mov dword [ebp - 0x41fc], ecx
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x2c
lea eax, [ebp - 0x4224]
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x2c
lea eax, [ebp - 0x4224]
mov dword [ebp - 0x4204], 0
push eax
push esi
mov dword [ebp - 0x4200], 0
mov dword [ebp - 0x41fc], 0
call fcn.0041c330
jmp case.0x4074b4.1
push edi
call fcn.00403170
jmp case.0x4074b4.1
push edi
call fcn.00403320
jmp case.0x4074b4.1
cmp byte [edi + 0x13], 0
mov eax, 0x13
mov ecx, 8
mov esi, dword [sym.imp.ODBC32.dll_SQLBindParameter]
cmovne ecx, eax
push 0x50fc10
push 0
movq xmm0, qword [ecx + edi]
movq qword [ebp - 0x44], xmm0
mov ax, word [ecx + edi + 8]
mov word [ebp - 0x3c], ax
mov al, byte [ecx + edi + 0xa]
mov byte [ebp - 0x3a], al
lea eax, [edi + 0x39]
push eax
push 0
push 0xb
push 0xc
push 1
push 1
push 1
push dword [0x446e5c]
mov dword [0x50fc10], 0xfffffffd
call esi
push 0x50fc14
push 0
lea eax, [edi + 0x44]
mov dword [0x50fc14], 0xfffffffd
push eax
push 0
push 0xc8
push 0xc
push 1
push 1
push 2
push dword [0x446e5c]
call esi
movzx eax, byte [edi + 0x38]
movsd xmm0, qword [edi + 0x30]
push eax
movzx eax, byte [edi + 0x1e]
sub esp, 8
movsd qword [esp], xmm0
push dword [edi + 0x28]
push dword [edi + 0x24]
push dword [edi + 0x20]
push eax
lea eax, [ebp - 0x44]
push eax
push 0
push str.INSERT_INTO_CashShopInventory__MainItemCode_AccountID_InventoryType_PackageMainIndex_ProductBaseIndex_ProductMainIndex_CoinValue_ProductType_GiftName_GiftText__VALUES___d__s__d__d__d__d__f__d_____
push 0x446e50
call fcn.0041ad00
add esp, 0x2c
jmp 0x40a5dc
push dword [edi + 0x1c]
push str.DELETE_FROM_CashShopInventory_WHERE_BaseItemCode_d
push 0x446e50
call fcn.0041ad00
add esp, 0xc
jmp 0x40a5dc
cmp byte [edi + 0x13], 0
mov dword [ebp - 0x4308], 0
jbe case.0x4074b4.1
lea esi, [edi + 0x14]
nop
push dword [esi]
push str.SELECT_ItemSerial_FROM_CashShopPeriodicItem_WHERE_ItemSerial_d
push 0x446e50
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x409500
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x409500
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push dword [esi]
push dword [esi + 4]
push str.UPDATE_CashShopPeriodicItem_SET_Time_d_WHERE_ItemSerial_d
jmp 0x409524
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push dword [esi + 4]
push dword [esi]
push str.INSERT_INTO_CashShopPeriodicItem__ItemSerial_Time__VALUES___d__d_
push 0x446e50
call fcn.0041ad00
add esp, 0x10
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov ecx, dword [ebp - 0x4308]
add esi, 8
movzx eax, byte [edi + 0x13]
inc ecx
mov dword [ebp - 0x4308], ecx
cmp ecx, eax
jl 0x4094b0
jmp case.0x4074b4.1
cmp byte [edi], 0xc1
jne 0x409576
mov al, byte [edi + 3]
jmp 0x409579
mov al, byte [edi + 4]
movzx eax, al
cmp eax, 0x31
ja case.0x4074b4.1
movzx eax, byte [eax + 0x40f6ec]
jmp dword [eax*4 + 0x40f6d4]
movzx eax, word [edi + 4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x420f], xmm0
add edi, 6
mov word [ebp - 0x420c], ax
push edi
push str.SELECT__FROM_LuckyCoin_WHERE_AccountID_s
mov dword [ebp - 0x41ff], 0
movq xmm0, qword [edi]
movzx eax, word [edi + 8]
mov word [ebp - 0x4202], ax
mov al, byte [edi + 0xa]
push 0x446e50
mov word [ebp - 0x41fb], 0
mov byte [ebp - 0x41f9], 0
mov dword [ebp - 0x4210], 0x1a18c1
movq qword [ebp - 0x420a], xmm0
mov byte [ebp - 0x4200], al
mov byte [ebp - 0x41ff], 0
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x409677
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x409677
push str.LuckyCoin
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x409632
or eax, eax
jmp 0x409643
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push dword [0x446e5c]
mov dword [ebp - 0x41fc], eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x18
lea eax, [ebp - 0x4210]
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push edi
push str.INSERT_INTO_LuckyCoin__AccountID_LuckyCoin__VALUES___s_0_
push 0x446e50
call fcn.0041ad00
add esp, 0xc
test al, al
mov eax, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push dword [0x446e5c]
jne 0x4096df
call eax
mov eax, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call eax
push 0x18
lea eax, [ebp - 0x4210]
mov byte [ebp - 0x41ff], 1
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
call eax
mov eax, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call eax
push 0x18
lea eax, [ebp - 0x4210]
mov dword [ebp - 0x41fc], 0
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
movzx eax, word [edi + 4]
lea ecx, [edi + 6]
xorps xmm0, xmm0
mov dword [ebp - 0x41ff], 0
movups xmmword [ebp - 0x420f], xmm0
mov word [ebp - 0x420c], ax
movzx eax, word [ecx + 8]
movq xmm0, qword [ecx]
mov word [ebp - 0x4202], ax
mov al, byte [ecx + 0xa]
push ecx
mov byte [ebp - 0x4200], al
mov al, byte [edi + 0x11]
push str.SELECT__FROM_LuckyCoin_WHERE_AccountID_s
push 0x446e50
mov word [ebp - 0x41fb], 0
mov byte [ebp - 0x41f9], 0
mov dword [ebp - 0x4210], 0x11a18c1
movq qword [ebp - 0x420a], xmm0
mov byte [ebp - 0x41ff], 0
mov byte [ebp - 0x41fe], al
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x4097fb
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x4097fb
push str.LuckyCoin
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x4097b6
or eax, eax
jmp 0x4097c7
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push dword [0x446e5c]
mov dword [ebp - 0x41fc], eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x18
lea eax, [ebp - 0x4210]
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x18
lea eax, [ebp - 0x4210]
mov byte [ebp - 0x41ff], 1
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
movzx eax, word [edi + 4]
lea ecx, [edi + 6]
xorps xmm0, xmm0
mov word [ebp - 0x41fb], 0
movups xmmword [ebp - 0x4213], xmm0
mov word [ebp - 0x4210], ax
movzx eax, word [ecx + 8]
mov word [ebp - 0x4206], ax
mov al, byte [ecx + 0xa]
push ecx
movq qword [ebp - 0x4203], xmm0
movq xmm0, qword [ecx]
mov byte [ebp - 0x4204], al
mov eax, dword [edi + 0x14]
push str.SELECT__FROM_LuckyCoin_WHERE_AccountID_s
push 0x446e50
mov byte [ebp - 0x41f9], 0
mov dword [ebp - 0x4214], 0x21a1cc1
movq qword [ebp - 0x420e], xmm0
mov byte [ebp - 0x4203], 0
mov dword [ebp - 0x4200], eax
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x40991b
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40991b
push str.LuckyCoin
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x4098d6
or eax, eax
jmp 0x4098e7
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push dword [0x446e5c]
mov dword [ebp - 0x41fc], eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x1c
lea eax, [ebp - 0x4214]
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x1c
lea eax, [ebp - 0x4214]
mov byte [ebp - 0x4203], 1
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
lea eax, [edi + 6]
push eax
push str.SELECT_LuckyCoin_FROM_LuckyCoin_WHERE_AccountID_s
push 0x446e50
mov dword [ebp - 0x4340], eax
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x409a0d
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x409a0d
push str.LuckyCoin
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x4099a1
mov dword [ebp - 0x4308], eax
jmp 0x4099b8
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
mov dword [ebp - 0x4308], eax
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov ecx, dword [ebp - 0x430c]
push dword [ebp - 0x4340]
mov eax, dword [ecx + 0x14]
mov ecx, closesocket
add eax, dword [ebp - 0x4308]
cmp eax, ecx
cmova eax, ecx
push eax
push str.UPDATE_LuckyCoin_SET_LuckyCoin_d_WHERE_AccountID_s
push 0x446e50
call fcn.0041ad00
add esp, 0x10
jmp 0x40f2be
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov ecx, dword [ebp - 0x430c]
push dword [ecx + 0x14]
push dword [ebp - 0x4340]
push str.INSERT_INTO_LuckyCoin__AccountID_LuckyCoin__VALUES___s__d_
push 0x446e50
call fcn.0041ad00
add esp, 0x10
jmp 0x40f2be
lea eax, [edi + 6]
push eax
push str.SELECT_LuckyCoin_FROM_LuckyCoin_WHERE_AccountID_s
push 0x446e50
mov dword [ebp - 0x431c], eax
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x409b0f
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x409b0f
push str.LuckyCoin
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x409aa2
mov dword [ebp - 0x4328], eax
jmp 0x409ab9
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
mov dword [ebp - 0x4328], eax
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov ecx, dword [ebp - 0x430c]
mov edx, dword [ecx + 0x14]
lea eax, [ecx + 6]
mov ecx, dword [ebp - 0x4328]
push eax
sub ecx, edx
xor eax, eax
cmp edx, dword [ebp - 0x4328]
cmovbe eax, ecx
push eax
push str.UPDATE_LuckyCoin_SET_LuckyCoin_d_WHERE_AccountID_s
push 0x446e50
call fcn.0041ad00
add esp, 0x10
jmp 0x40f2be
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov eax, dword [ebp - 0x431c]
push 0
push 0
push 0
push eax
push str.INSERT_INTO_LuckyCoin__AccountID_LuckyCoin__VALUES___s__d_
push 0x446e50
call fcn.0041ad00
add esp, 0x18
jmp 0x40f2be
mov ax, word [edi + 4]
xorps xmm0, xmm0
movq qword [ebp - 0x4337], xmm0
mov dl, 0x10
mov word [ebp - 0x4334], ax
mov eax, dword [edi + 8]
mov dword [ebp - 0x432f], 0
mov dword [ebp - 0x4330], eax
mov eax, dword [edi + 0xc]
xor edi, edi
mov word [ebp - 0x432b], 0
xor esi, esi
mov byte [ebp - 0x4329], 0
mov word [ebp - 0x4338], 0x10c1
mov byte [ebp - 0x4336], 0x1e
mov dword [ebp - 0x432c], eax
nop dword [eax]
mov ecx, dword [esi + 0x5118fc]
xor eax, eax
test ecx, ecx
js 0x409bc2
cmp ecx, 0x14
setl al
test eax, eax
je 0x409bef
cmp dword [esi + 0x511900], 0
je 0x409bef
cmp dword [esi + 0x511914], 0xffffffff
je 0x409bef
movzx eax, dl
push eax
lea eax, [ebp - 0x4338]
push eax
push edi
call fcn.0041c330
mov dl, byte [ebp - 0x4337]
add esi, 0x68
inc edi
cmp esi, 0x820
jl 0x409bb0
jmp case.0x4074b4.1
movzx eax, word [edi + 4]
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x4337], xmm0
push str.EXEC_WZ_CW_InfoLoad__d
push 0x446e50
mov dword [ebp - 0x432f], 0
mov word [ebp - 0x432b], 0
mov byte [ebp - 0x4329], 0
mov word [ebp - 0x4338], 0x10c1
mov byte [ebp - 0x4336], 0x1f
mov word [ebp - 0x4334], ax
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x409cf3
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x409cf3
push str.CRYWOLF_STATE
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x409c84
or eax, eax
jmp 0x409c95
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.CRYWOLF_OCCUFY
mov dword [ebp - 0x4330], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x409cae
or eax, eax
jmp 0x409cbf
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push dword [0x446e5c]
mov dword [ebp - 0x432c], eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x10
lea eax, [ebp - 0x4338]
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x10
lea eax, [ebp - 0x4338]
mov dword [ebp - 0x4330], 0
push eax
push esi
mov dword [ebp - 0x432c], 0
call fcn.0041c330
jmp case.0x4074b4.1
push 0x9d
lea eax, [ebp - 0x442f]
push 0
push eax
call fcn.0041f470
movzx eax, word [edi + 4]
lea esi, [edi + 0x12]
movq xmm0, qword [edi + 7]
mov ecx, 0x23
mov word [ebp - 0x442c], ax
add esp, 0xc
mov al, byte [edi + 6]
mov byte [ebp - 0x442a], al
movzx eax, word [edi + 0xf]
mov word [ebp - 0x4421], ax
mov al, byte [edi + 0x11]
lea edi, [ebp - 0x441e]
mov word [ebp - 0x4430], 0x9ec1
mov byte [ebp - 0x442e], 0x20
movq qword [ebp - 0x4429], xmm0
mov byte [ebp - 0x441f], al
rep movsd dword es:[edi], dword [esi]
xor edi, edi
xor esi, esi
mov ecx, dword [esi + 0x5118fc]
xor eax, eax
test ecx, ecx
js 0x409db6
cmp ecx, 0x14
setl al
test eax, eax
je 0x409de1
cmp dword [esi + 0x511900], 0
je 0x409de1
cmp dword [esi + 0x511914], 0xffffffff
je 0x409de1
movzx eax, byte [ebp - 0x442f]
push eax
lea eax, [ebp - 0x4430]
push eax
push edi
call fcn.0041c330
add esi, 0x68
inc edi
cmp esi, 0x820
jl 0x409da4
jmp case.0x4074b4.1
push 0x93
lea eax, [ebp - 0x441f]
push 0
push eax
call fcn.0041f470
movzx eax, word [edi + 4]
lea esi, [edi + 0x11]
mov word [ebp - 0x441c], ax
mov ecx, 0x20
mov al, byte [edi + 6]
add esp, 0xc
mov byte [ebp - 0x441a], al
mov al, byte [edi + 7]
mov byte [ebp - 0x4419], al
mov al, byte [edi + 8]
mov byte [ebp - 0x4418], al
movzx eax, word [edi + 0xa]
mov word [ebp - 0x4416], ax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x4414], eax
mov al, byte [edi + 0x10]
lea edi, [ebp - 0x440f]
mov word [ebp - 0x4420], 0x94c1
mov byte [ebp - 0x441e], 0x21
mov byte [ebp - 0x4410], al
rep movsd dword es:[edi], dword [esi]
xor edi, edi
xor esi, esi
nop
mov ecx, dword [esi + 0x5118fc]
xor eax, eax
test ecx, ecx
js 0x409e82
cmp ecx, 0x14
setl al
test eax, eax
je 0x409ead
cmp dword [esi + 0x511900], 0
je 0x409ead
cmp dword [esi + 0x511914], 0xffffffff
je 0x409ead
movzx eax, byte [ebp - 0x441f]
push eax
lea eax, [ebp - 0x4420]
push eax
push edi
call fcn.0041c330
add esi, 0x68
inc edi
cmp esi, 0x820
jl 0x409e70
jmp case.0x4074b4.1
cmp byte [edi], 0xc1
jne 0x409ec8
mov al, byte [edi + 3]
jmp 0x409ecb
mov al, byte [edi + 4]
test al, al
je 0x409fae
cmp al, 0x4a
jne case.0x4074b4.1
cmp byte [edi + 0x13], 0
mov dword [ebp - 0x4308], 0
jbe case.0x4074b4.1
lea esi, [edi + 0x14]
push dword [esi]
push str.SELECT_ItemSerial_FROM_LuckyItem_WHERE_ItemSerial_d
push 0x446e50
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x409f42
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x409f42
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push dword [esi]
push dword [esi + 4]
push str.UPDATE_LuckyItem_SET_DurabilitySmall_d_WHERE_ItemSerial_d
jmp 0x409f66
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push dword [esi + 4]
push dword [esi]
push str.INSERT_INTO_LuckyItem__ItemSerial_DurabilitySmall__VALUES___d__d_
push 0x446e50
call fcn.0041ad00
add esp, 0x10
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov ecx, dword [ebp - 0x4308]
add esi, 8
movzx eax, byte [edi + 0x13]
inc ecx
mov dword [ebp - 0x4308], ecx
cmp ecx, eax
jl 0x409ef2
jmp case.0x4074b4.1
mov ax, word [edi + 6]
xorps xmm0, xmm0
mov word [ebp - 0x430a], ax
xor cl, cl
mov edx, 0x14
mov ax, word [edi + 0x10]
movups xmmword [ebp - 0x420b], xmm0
mov word [ebp - 0x4342], ax
movq xmm0, qword [edi + 8]
mov al, byte [edi + 0x12]
mov word [ebp - 0x41fb], 0
mov byte [ebp - 0x41f9], 0
mov dword [ebp - 0x4340], edx
movq qword [ebp - 0x4320], xmm0
mov byte [ebp - 0x4321], al
mov byte [ebp - 0x4302], cl
mov dword [ebp - 0x4348], 0
cmp byte [edi + 0x13], cl
jbe 0x40a177
lea eax, [ebp - 0x1034]
mov dword [ebp - 0x434c], eax
lea esi, [edi + 0x18]
nop dword [eax]
push dword [esi]
push str.SELECT_DurabilitySmall_FROM_LuckyItem_WHERE_ItemSerial_d
push 0x446e50
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x40a0b7
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40a0b7
mov al, byte [esi - 4]
mov byte [ebp - 0x4334], al
mov eax, dword [esi]
push str.DurabilitySmall
mov dword [ebp - 0x4330], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x40a07e
or eax, eax
jmp 0x40a08f
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push dword [0x446e5c]
mov dword [ebp - 0x4308], eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov eax, dword [ebp - 0x4308]
jmp 0x40a114
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0
push dword [esi]
push str.INSERT_INTO_LuckyItem__ItemSerial_DurabilitySmall__VALUES___d__d_
push 0x446e50
call fcn.0041ad00
add esp, 0x10
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov al, byte [esi - 4]
mov byte [ebp - 0x4334], al
mov eax, dword [esi]
mov dword [ebp - 0x4330], eax
xor eax, eax
mov ecx, dword [ebp - 0x434c]
add esi, 8
movq xmm0, qword [ebp - 0x4334]
mov edx, dword [ebp - 0x4340]
inc byte [ebp - 0x4302]
add edx, 0xc
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
add ecx, 0xc
movzx eax, byte [edi + 0x13]
mov dword [ebp - 0x434c], ecx
mov ecx, dword [ebp - 0x4348]
inc ecx
mov dword [ebp - 0x4340], edx
mov dword [ebp - 0x4348], ecx
cmp ecx, eax
jl 0x40a030
movq xmm0, qword [ebp - 0x4320]
mov esi, dword [ebp - 0x4328]
mov cl, byte [ebp - 0x4302]
mov eax, edx
mov word [ebp - 0x1045], 0x22
shr eax, 8
mov byte [ebp - 0x1047], al
mov al, byte [ebp - 0x4207]
mov byte [ebp - 0x1043], al
mov ax, word [ebp - 0x430a]
mov word [ebp - 0x1042], ax
mov ax, word [ebp - 0x4342]
mov word [ebp - 0x1038], ax
mov al, byte [ebp - 0x4321]
mov byte [ebp - 0x1036], al
lea eax, [ebp - 0x1048]
push edx
push eax
push esi
movq qword [ebp - 0x1040], xmm0
mov byte [ebp - 0x1046], dl
mov byte [ebp - 0x1035], cl
mov byte [ebp - 0x1048], 0xc2
call fcn.0041c330
jmp case.0x4074b4.1
cmp byte [edi], 0xc1
jne 0x40a1f7
mov al, byte [edi + 3]
jmp 0x40a1fa
mov al, byte [edi + 4]
movzx eax, al
cmp eax, 0x32
ja case.0x4074b4.1
movzx eax, byte [eax + 0x40f734]
jmp dword [eax*4 + 0x40f720]
movzx eax, word [edi + 4]
lea ecx, [edi + 0x11]
xorps xmm0, xmm0
mov dword [ebp - 0x4207], 0
movups xmmword [ebp - 0x421f], xmm0
mov word [ebp - 0x421a], ax
movzx eax, word [edi + 0xe]
movq qword [ebp - 0x420f], xmm0
movq xmm0, qword [edi + 6]
mov word [ebp - 0x4210], ax
mov al, byte [edi + 0x10]
mov byte [ebp - 0x420e], al
movzx eax, word [ecx + 8]
mov word [ebp - 0x4205], ax
mov al, byte [ecx + 0xa]
push ecx
mov word [ebp - 0x4203], 0
movq qword [ebp - 0x4218], xmm0
movq xmm0, qword [ecx]
mov byte [ebp - 0x4203], al
xor al, al
push str.SELECT__FROM_PShopItemValue_WHERE_Name_s
push 0x446e50
mov word [ebp - 0x4202], 0
mov byte [ebp - 0x4220], 0xc2
mov word [ebp - 0x421d], 0x25
mov dword [ebp - 0x430c], 0x20
movq qword [ebp - 0x420d], xmm0
mov byte [ebp - 0x4302], al
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x40a3bb
push dword [0x446e5c]
mov eax, dword [sym.imp.ODBC32.dll_SQLFetch]
call eax
cmp ax, 0x64
je 0x40a3bb
mov esi, dword [sym.imp.ODBC32.dll_SQLFetch]
lea edi, [ebp - 0x420]
push str.Slot
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x40a308
mov dword [ebp - 0x4308], eax
jmp 0x40a31f
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
mov dword [ebp - 0x4308], eax
push str.Serial
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x40a336
mov dword [ebp - 0x4340], eax
jmp 0x40a34d
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
mov dword [ebp - 0x4340], eax
push str.Value
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x40a360
or eax, eax
jmp 0x40a371
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
mov ecx, dword [ebp - 0x4308]
mov dword [edi - 8], ecx
mov ecx, dword [ebp - 0x4340]
mov dword [edi - 4], ecx
mov dword [edi], eax
add edi, 0xc
mov al, byte [ebp - 0x4302]
push dword [0x446e5c]
add dword [ebp - 0x430c], 0xc
inc al
mov byte [ebp - 0x4302], al
mov byte [ebp - 0x4202], al
call esi
cmp ax, 0x64
jne 0x40a2f1
mov esi, dword [ebp - 0x4328]
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov ecx, dword [ebp - 0x430c]
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x421f], al
lea eax, [ebp - 0x448]
mov byte [ebp - 0x421e], cl
movups xmm0, xmmword [ebp - 0x4220]
push ecx
push eax
movups xmmword [ebp - 0x448], xmm0
push esi
movups xmm0, xmmword [ebp - 0x4210]
movups xmmword [ebp - 0x438], xmm0
call fcn.0041c330
jmp case.0x4074b4.1
cmp byte [edi + 0x1e], 0
mov dword [ebp - 0x4308], 0
jbe case.0x4074b4.1
lea ecx, [edi + 0x13]
lea esi, [edi + 0x24]
push dword [esi - 4]
push ecx
push str.SELECT_Name_FROM_PShopItemValue_WHERE_Name_s_AND_Slot_d
push 0x446e50
call fcn.0041ad00
add esp, 0x10
test al, al
je 0x40a48e
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40a48e
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push dword [esi - 4]
lea eax, [edi + 0x13]
push eax
push dword [esi + 4]
push dword [esi]
push str.UPDATE_PShopItemValue_SET_Serial_d_Value_d_WHERE_Name_s_AND_Slot_d
jmp 0x40a4b9
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push dword [esi + 4]
lea eax, [edi + 0x13]
push dword [esi]
push dword [esi - 4]
push eax
push str.INSERT_INTO_PShopItemValue__Name_Slot_Serial_Value__VALUES___s__d__d__d_
push 0x446e50
call fcn.0041ad00
add esp, 0x18
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov ecx, dword [ebp - 0x4308]
add esi, 0xc
movzx eax, byte [edi + 0x1e]
inc ecx
mov dword [ebp - 0x4308], ecx
cmp ecx, eax
lea ecx, [edi + 0x13]
jl 0x40a435
jmp case.0x4074b4.1
push dword [edi + 0x1c]
lea eax, [edi + 0x11]
push eax
push str.SELECT_Name_FROM_PShopItemValue_WHERE_Name_s_AND_Slot_d
push 0x446e50
call fcn.0041ad00
add esp, 0x10
test al, al
je 0x40a57b
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40a57b
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov eax, dword [ebp - 0x430c]
push dword [eax + 0x1c]
lea ecx, [eax + 0x11]
push ecx
push dword [eax + 0x24]
push dword [eax + 0x20]
push str.UPDATE_PShopItemValue_SET_Serial_d_Value_d_WHERE_Name_s_AND_Slot_d
push 0x446e50
call fcn.0041ad00
add esp, 0x18
jmp 0x40f2be
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov eax, dword [ebp - 0x430c]
push dword [eax + 0x24]
lea ecx, [eax + 0x11]
push dword [eax + 0x20]
push dword [eax + 0x1c]
push ecx
push str.INSERT_INTO_PShopItemValue__Name_Slot_Serial_Value__VALUES___s__d__d__d_
push 0x446e50
call fcn.0041ad00
add esp, 0x18
jmp 0x40f2be
push dword [edi + 0x1c]
lea eax, [edi + 0x11]
push eax
push str.DELETE_FROM_PShopItemValue_WHERE_Name_s_AND_Slot_d
push 0x446e50
call fcn.0041ad00
add esp, 0x10
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
jmp case.0x4074b4.1
mov ecx, edi
call fcn.00411d30
jmp case.0x4074b4.1
mov esi, dword [sym.imp.ODBC32.dll_SQLBindParameter]
lea eax, [edi + 0x1c]
push 0x50fc10
push 0
push eax
push 0
push 0xec0
push 0xfffffffffffffffd
push 0xfffffffffffffffe
push 1
push 1
push dword [0x446e5c]
mov dword [0x50fc10], 0xec0
call esi
push 0x50fc14
push 0
lea eax, [edi + 0xedc]
mov dword [0x50fc14], 0xa0
push eax
push 0
push 0xa0
push 0xfffffffffffffffd
push 0xfffffffffffffffe
push 1
push 2
push dword [0x446e5c]
call esi
lea eax, [edi + 0x11]
push eax
lea eax, [edi + 6]
push eax
push str.UPDATE_Character_SET_Inventory__NewSlots__WHERE_AccountID_s_AND_Name_s
jmp 0x40a5cf
mov ecx, edi
call fcn.00412040
jmp case.0x4074b4.1
cmp byte [edi + 0x11], 0
mov dword [ebp - 0x4308], 0
jbe case.0x4074b4.1
lea esi, [edi + 0x16]
nop dword [eax]
push dword [esi - 4]
push str.SELECT_ItemSerial_FROM_T_PetItem_Info_WHERE_ItemSerial_d
push 0x446e50
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x40a6f6
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40a6f6
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push dword [esi - 4]
movzx eax, byte [esi]
push dword [esi + 4]
push eax
push str.UPDATE_T_PetItem_Info_SET_Pet_Level_d_Pet_Exp_d_WHERE_ItemSerial_d
jmp 0x40a71f
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push dword [esi + 4]
movzx eax, byte [esi]
push eax
push dword [esi - 4]
push str.INSERT_INTO_T_PetItem_Info__ItemSerial_Pet_Level_Pet_Exp__VALUES___d__d__d_
push 0x446e50
call fcn.0041ad00
add esp, 0x14
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov ecx, dword [ebp - 0x4308]
add esi, 0xc
movzx eax, byte [edi + 0x11]
inc ecx
mov dword [ebp - 0x4308], ecx
cmp ecx, eax
jl 0x40a6a0
jmp case.0x4074b4.1
push dword [edi + 0x28]
lea eax, [edi + 0x11]
push dword [edi + 0x24]
push dword [edi + 0x20]
push dword [edi + 0x1c]
push eax
lea eax, [edi + 6]
push eax
push str.EXEC_WZ_SetResetInfo__s__s__d__d__d__d
push 0x446e50
call fcn.0041ad00
add esp, 0x20
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
jmp 0x40a5dc
push dword [edi + 0x2c]
lea eax, [edi + 0x11]
push dword [edi + 0x28]
push dword [edi + 0x24]
push dword [edi + 0x20]
push dword [edi + 0x1c]
push eax
lea eax, [edi + 6]
push eax
push str.EXEC_WZ_SetMasterResetInfo__s__s__d__d__d__d__d
push 0x446e50
call fcn.0041ad00
add esp, 0x24
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
jmp 0x40a5dc
lea eax, [edi + 0x11]
push eax
push str.SELECT_Name_FROM_RankingDuel_WHERE_Name_s
push 0x446e50
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x40a84b
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40a84b
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov ecx, dword [ebp - 0x430c]
mov eax, dword [ecx + 0x1c]
lea edx, [ecx + 0x11]
push edx
push dword [ecx + 0x20]
push eax
push eax
push str.UPDATE_RankingDuel_SET_WinScoreWinScore_d_WinScore_semanalWinScore_semanal_d_LoseScoreLoseScore_d_WHERE_Name_s
push 0x446e50
call fcn.0041ad00
add esp, 0x18
jmp 0x40f2be
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov ecx, dword [ebp - 0x430c]
mov eax, dword [ecx + 0x1c]
lea edx, [ecx + 0x11]
push eax
push dword [ecx + 0x20]
push eax
push edx
push str.INSERT_INTO_RankingDuel__Name_WinScore_LoseScore_WinScore_semanal__VALUES___s__d__d__d_
push 0x446e50
call fcn.0041ad00
add esp, 0x18
jmp 0x40f2be
push dword [edi + 0x1c]
lea eax, [edi + 0x11]
push eax
lea eax, [edi + 6]
push eax
push str.EXEC_WZ_RankingBloodCastle__s__s__d
push 0x446e50
call fcn.0041ad00
add esp, 0x14
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
jmp 0x40a5dc
push dword [edi + 0x1c]
lea eax, [edi + 0x11]
push eax
lea eax, [edi + 6]
push eax
push str.EXEC_WZ_RankingChaosCastle__s__s__d
jmp 0x40a8a2
push dword [edi + 0x1c]
lea eax, [edi + 0x11]
push eax
lea eax, [edi + 6]
push eax
push str.EXEC_WZ_RankingDevilSquare__s__s__d
jmp 0x40a8a2
push dword [edi + 0x1c]
lea eax, [edi + 0x11]
push eax
lea eax, [edi + 6]
push eax
push str.EXEC_WZ_RankingIllusionTemple__s__s__d
jmp 0x40a8a2
lea eax, [edi + 6]
push eax
movzx eax, byte [edi + 0x11]
push eax
push str.UPDATE_AccountCharacter_SET_ExtClass_d_WHERE_Id_s
jmp 0x40a5cf
push dword [edi + 0xc]
movzx eax, word [edi + 4]
push dword [edi + 8]
push eax
push str.EXEC_WZ_CW_InfoSave__d__d__d
jmp 0x40a8a2
cmp byte [edi], 0xc1
jne 0x40a925
mov al, byte [edi + 3]
jmp 0x40a928
mov al, byte [edi + 4]
movzx eax, al
cmp eax, 3
ja case.0x4074b4.1
jmp dword [eax*4 + 0x40f768]
mov edx, esi
mov ecx, edi
call fcn.00414940
jmp case.0x4074b4.1
push dword [edi + 0x44]
xor eax, eax
push dword [edi + 0x40]
mov word [ebp - 0x431b], ax
push dword [edi + 0x3c]
mov dword [ebp - 0x431f], eax
push dword [edi + 0x38]
mov word [ebp - 0x431a], ax
push dword [edi + 0x30]
mov ax, word [edi + 4]
mov word [ebp - 0x431c], ax
movzx eax, byte [edi + 0x2e]
push eax
movzx eax, byte [edi + 0x2d]
push eax
movzx eax, byte [edi + 0x2c]
push eax
movzx eax, byte [edi + 0x2b]
push eax
movzx eax, byte [edi + 0x2a]
push eax
movzx eax, byte [edi + 0x29]
push eax
movzx eax, byte [edi + 0x28]
push eax
movzx eax, byte [edi + 0x27]
push eax
movzx eax, byte [edi + 0x26]
push eax
movzx eax, byte [edi + 0x25]
push eax
movzx eax, byte [edi + 0x24]
push eax
movzx eax, byte [edi + 0x23]
push eax
movzx eax, byte [edi + 0x22]
push eax
movzx eax, byte [edi + 0x21]
push eax
movzx eax, byte [edi + 0x20]
push eax
movzx eax, word [edi + 0x1e]
push eax
movzx eax, byte [edi + 0x1d]
push eax
movzx eax, byte [edi + 0x1c]
push eax
lea eax, [edi + 0x11]
mov dword [ebp - 0x4320], 0x14f08c1
push eax
lea eax, [edi + 6]
push eax
push str.EXEC_WZ_GremoryCase_AddItem__s__s__d__d__d__d__d__d__d__d__d__d__d__d__d__d__d__d__d__d__d__I64d__I64d
push 0x446e50
call fcn.0041ad00
add esp, 0x6c
test al, al
je 0x40aa36
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40aa36
push 0x447a7e
call fcn.0042415e
add esp, 4
test eax, eax
jne 0x40aa2f
push 0x449a7e
call fcn.0042415e
add esp, 4
test eax, eax
je 0x40aa36
mov byte [ebp - 0x431a], 1
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 8
lea eax, [ebp - 0x4320]
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
mov edx, esi
mov ecx, edi
call fcn.00414eb0
jmp case.0x4074b4.1
push dword [edi + 0xc]
push dword [edi + 8]
push str.SELECT__FROM_GremoryCase_WHERE_AuthCode_d_and_ItemGUID_d
push 0x446e50
call fcn.0041ad00
add esp, 0x10
test al, al
jne 0x40aaa4
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40a5dc
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov eax, dword [ebp - 0x430c]
push dword [eax + 0xc]
push dword [eax + 8]
push str.DELETE_FROM_GremoryCase_WHERE_AuthCode_d_and_ItemGUID_d
push 0x446e50
call fcn.0041ad00
add esp, 0x10
jmp 0x40f2be
push dword [edi + 0x20]
lea eax, [edi + 0x11]
push dword [edi + 0x1c]
push eax
lea eax, [edi + 6]
push eax
push str.EXEC_WZ_CustomMonsterReward__s__s__d__d
push 0x446e50
call fcn.0041ad00
add esp, 0x18
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
jmp 0x40a5dc
push dword [edi + 0x24]
lea eax, [edi + 0x11]
push dword [edi + 0x20]
push dword [edi + 0x1c]
push eax
lea eax, [edi + 6]
push eax
push str.EXEC_WZ_CustomArenaRanking__s__s__d__d__d
push 0x446e50
call fcn.0041ad00
add esp, 0x1c
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
jmp 0x40a5dc
push dword [edi + 0x20]
lea eax, [edi + 0x11]
push dword [edi + 0x1c]
push eax
lea eax, [edi + 6]
push eax
push str.EXEC_WZ_TvTRanking__s__s__d__d
push 0x446e50
call fcn.0041ad00
add esp, 0x18
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
jmp 0x40a5dc
lea eax, [edi + 3]
push eax
push str.EXEC_WZ_GvGRanking__s
push 0x446e50
call fcn.0041ad00
add esp, 0xc
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
jmp 0x40a5dc
lea eax, [edi + 0x11]
push eax
lea eax, [edi + 6]
push eax
push str.EXEC_WZ_BattleRoyaleRanking__s__s
push 0x446e50
call fcn.0041ad00
add esp, 0x10
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
jmp 0x40a5dc
push dword [edi + 0x2c]
lea eax, [edi + 0x11]
push dword [edi + 0x28]
push dword [edi + 0x24]
push dword [edi + 0x20]
push dword [edi + 0x1c]
push eax
lea eax, [edi + 6]
push eax
push str.EXEC_WZ_RankingAll__s__s__d__d__d__d__d
jmp 0x40a7ba
lea esi, [edi + 0x11]
push esi
lea eax, [ebp - 0x42a0]
push eax
call fcn.00404310
test al, al
jne case.0x4074b4.1
push esi
lea eax, [ebp - 0x42a0]
push 0xb
push eax
call fcn.0042136d
add esp, 0xc
lea eax, [edi + 6]
push eax
lea eax, [ebp - 0x4295]
push 0xb
push eax
call fcn.0042136d
mov ax, word [edi + 4]
sub esp, 0x10
movups xmm0, xmmword [ebp - 0x42a0]
mov ecx, dword [ebp - 0x4344]
mov word [ebp - 0x428a], ax
mov eax, esp
mov dx, word [ecx + 0x511954]
movups xmmword [eax], xmm0
mov word [ebp - 0x4288], dx
movq xmm0, qword [ebp - 0x4290]
movq qword [eax + 0x10], xmm0
mov word [eax + 0x18], dx
call fcn.00404480
xor dl, dl
mov ecx, esi
call fcn.00406710
jmp case.0x4074b4.1
lea esi, [edi + 0x11]
push esi
lea eax, [ebp - 0x4220]
push eax
call fcn.00404310
test al, al
je case.0x4074b4.1
mov ax, word [ebp - 0x420a]
cmp ax, word [edi + 4]
jne case.0x4074b4.1
mov ecx, dword [ebp - 0x4344]
mov dx, word [ebp - 0x4208]
cmp dx, word [ecx + 0x511954]
jne case.0x4074b4.1
movups xmm0, xmmword [ebp - 0x4220]
sub esp, 0x1c
mov eax, esp
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x4210]
movq qword [eax + 0x10], xmm0
mov word [eax + 0x18], dx
call fcn.00404800
mov dl, 1
mov ecx, esi
call fcn.00406710
jmp case.0x4074b4.1
push 0xb3
lea eax, [ebp - 0x443f]
push 0
push eax
call fcn.0041f470
movzx eax, word [edi + 4]
add esp, 0xc
movq xmm0, qword [edi + 6]
mov word [ebp - 0x443c], ax
movzx eax, word [edi + 0xe]
mov word [ebp - 0x4432], ax
mov al, byte [edi + 0x10]
mov byte [ebp - 0x4430], al
movzx eax, word [edi + 0x19]
mov word [ebp - 0x4427], ax
mov al, byte [edi + 0x1b]
mov byte [ebp - 0x4425], al
lea eax, [edi + 0x1c]
push eax
mov dword [ebp - 0x431c], eax
lea eax, [ebp - 0x4214]
movq qword [ebp - 0x443a], xmm0
movq xmm0, qword [edi + 0x11]
push eax
mov word [ebp - 0x4440], 0xb4c1
mov byte [ebp - 0x443e], 0x72
movq qword [ebp - 0x442f], xmm0
call fcn.00404310
test al, al
jne 0x40ad8d
mov byte [ebp - 0x4424], al
lea esi, [edi + 0x27]
jmp 0x40ae7e
push 0xb3
lea eax, [ebp - 0xff]
mov byte [ebp - 0x4424], 1
push 0
push eax
call fcn.0041f470
movzx eax, word [ebp - 0x41fe]
add esp, 0xc
movq xmm0, qword [ebp - 0x4209]
mov ecx, 0x23
mov word [ebp - 0xfc], ax
movzx eax, word [ebp - 0x4201]
mov word [ebp - 0xf2], ax
mov al, byte [ebp - 0x41ff]
mov byte [ebp - 0xf0], al
movzx eax, word [ebp - 0x420c]
mov word [ebp - 0xe7], ax
mov al, byte [ebp - 0x420a]
mov byte [ebp - 0xe5], al
movzx eax, word [edi + 0x19]
mov word [ebp - 0xdc], ax
mov al, byte [edi + 0x1b]
movq qword [ebp - 0xfa], xmm0
movq xmm0, qword [ebp - 0x4214]
mov byte [ebp - 0xda], al
lea eax, [edi + 0x27]
movq qword [ebp - 0xef], xmm0
mov esi, eax
movq xmm0, qword [edi + 0x11]
lea edi, [ebp - 0xd9]
mov word [ebp - 0x100], 0xb4c1
mov byte [ebp - 0xfe], 0x73
movq qword [ebp - 0xe4], xmm0
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x41fc]
mov dword [ebp - 0x4308], eax
call fcn.0041d0c0
test eax, eax
je 0x40ae78
push 0xb4
lea ecx, [ebp - 0x100]
push ecx
push dword [eax + 4]
call fcn.0041c330
mov esi, dword [ebp - 0x4308]
mov edx, dword [ebp - 0x431c]
lea edi, [ebp - 0x4418]
push 0xb4
mov ecx, 0x23
mov ax, word [edx + 8]
movq xmm0, qword [edx]
mov word [ebp - 0x441b], ax
mov al, byte [edx + 0xa]
mov byte [ebp - 0x4419], al
lea eax, [ebp - 0x4440]
movq qword [ebp - 0x4423], xmm0
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x4328]
push eax
push ecx
call fcn.0041c330
jmp case.0x4074b4.1
lea eax, [edi + 3]
push eax
push str.SELECT_Name_FROM_RankingKingGuild_WHERE_Name_s
push 0x446e50
mov dword [ebp - 0x4308], eax
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x40af39
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40af39
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov ecx, dword [ebp - 0x430c]
push dword [ebp - 0x4308]
mov eax, dword [ecx + 0xc]
push eax
push eax
push str.UPDATE_RankingKingGuild_SET_ScoreScore_d_Score_semanalScore_semanal_d_WHERE_Name_s
jmp 0x40f2b1
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov ecx, dword [ebp - 0x430c]
mov eax, dword [ecx + 0xc]
push eax
push eax
push dword [ebp - 0x4308]
push str.INSERT_INTO_RankingKingGuild__Name_Score_Score_semanal__VALUES___s__d__d_
jmp 0x40f2b1
lea eax, [edi + 0x11]
push eax
push str.SELECT_Name_FROM_RankingKingPlayer_WHERE_Name_s
push 0x446e50
mov dword [ebp - 0x4308], eax
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x40afdd
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40afdd
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov ecx, dword [ebp - 0x430c]
push dword [ebp - 0x4308]
mov eax, dword [ecx + 0x1c]
push eax
push eax
push str.UPDATE_RankingKingPlayer_SET_ScoreScore_d_Score_semanalScore_semanal_d_WHERE_Name_s
jmp 0x40f2b1
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov ecx, dword [ebp - 0x430c]
mov eax, dword [ecx + 0x1c]
push eax
push eax
push dword [ebp - 0x4308]
push str.INSERT_INTO_RankingKingPlayer__Name_Score_Score_semanal__VALUES___s__d__d_
jmp 0x40f2b1
push 0xf5
lea eax, [ebp - 0x13f]
push 0
push eax
call fcn.0041f470
movzx eax, word [edi + 4]
lea esi, [edi + 0x11]
movq xmm0, qword [edi + 6]
mov ecx, 0x16
mov word [ebp - 0x13c], ax
add esp, 0xc
movzx eax, word [edi + 0xe]
mov word [ebp - 0x132], ax
mov al, byte [edi + 0x10]
lea edi, [ebp - 0x12f]
mov word [ebp - 0x140], 0xf6c1
mov byte [ebp - 0x13e], 0x78
movq qword [ebp - 0x13a], xmm0
mov byte [ebp - 0x130], al
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x23
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x430c]
lea edi, [ebp - 0xd6]
add esi, 0x6a
rep movsd dword es:[edi], dword [esi]
xor edi, edi
xor esi, esi
mov ecx, dword [esi + 0x5118fc]
xor eax, eax
test ecx, ecx
js 0x40b0a5
cmp ecx, 0x14
setl al
test eax, eax
je 0x40b0d0
cmp dword [esi + 0x511900], 0
je 0x40b0d0
cmp dword [esi + 0x511914], 0xffffffff
je 0x40b0d0
movzx eax, byte [ebp - 0x13f]
push eax
lea eax, [ebp - 0x140]
push eax
push edi
call fcn.0041c330
add esi, 0x68
inc edi
cmp esi, 0x820
jl 0x40b093
jmp case.0x4074b4.1
cmp byte [edi], 0xc1
jne 0x40b0eb
mov al, byte [edi + 3]
jmp 0x40b0ee
mov al, byte [edi + 4]
movzx eax, al
cmp eax, 0x1b
ja case.0x4074b4.1
jmp dword [eax*4 + 0x40f778]
push 0x37
lea eax, [ebp - 0x422f]
push 0
push eax
call fcn.0041f470
movzx eax, word [edi + 4]
lea ecx, [ebp - 0x4270]
add esp, 0xc
mov dword [ebp - 0x4230], 0x8038c1
mov word [ebp - 0x4228], ax
push ecx
push dword [edi + 8]
push eax
call fcn.00403530
test eax, eax
je 0x40b15b
push 0x38
lea eax, [ebp - 0x4230]
mov dword [ebp - 0x422c], 0
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
movzx eax, word [ebp - 0x4270]
xorps xmm0, xmm0
mov word [ebp - 0x4226], ax
mov al, byte [ebp - 0x426e]
mov byte [ebp - 0x4224], al
mov al, byte [ebp - 0x426d]
mov byte [ebp - 0x4223], al
movzx eax, word [ebp - 0x426c]
mov word [ebp - 0x4222], ax
mov al, byte [ebp - 0x426a]
mov byte [ebp - 0x4220], al
mov al, byte [ebp - 0x4269]
mov byte [ebp - 0x421f], al
mov al, byte [ebp - 0x4268]
mov ecx, dword [ebp - 0x4254]
mov byte [ebp - 0x421e], al
mov al, byte [ebp - 0x4267]
mov byte [ebp - 0x421d], al
mov al, byte [ebp - 0x4266]
mov byte [ebp - 0x421c], al
mov eax, dword [ebp - 0x4258]
mov dword [ebp - 0x4210], eax
mov eax, dword [ebp - 0x4250]
mov dword [ebp - 0x4208], eax
mov eax, dword [ebp - 0x424c]
mov dword [ebp - 0x4204], eax
mov eax, dword [ebp - 0x4248]
mov dword [ebp - 0x4200], eax
mov eax, dword [ebp - 0x4244]
mov dword [ebp - 0x41fc], eax
mov eax, dword [ebp - 0x4265]
movq qword [ebp - 0x421b], xmm0
mov dword [ebp - 0x421b], eax
lea eax, [ebp - 0x4230]
push 0x38
push eax
mov dword [ebp - 0x420c], ecx
mov ecx, dword [ebp - 0x4261]
push esi
mov dword [ebp - 0x422c], 1
mov dword [ebp - 0x4217], ecx
call fcn.0041c330
jmp case.0x4074b4.1
mov edx, esi
mov ecx, edi
call fcn.00412190
jmp case.0x4074b4.1
mov eax, dword [edi + 8]
xorps xmm0, xmm0
mov ecx, dword [edi + 0x10]
movups xmmword [ebp - 0x4213], xmm0
mov dword [ebp - 0x4208], eax
mov eax, dword [edi + 0x28]
mov edx, dword [edi + 0xc]
movzx esi, word [edi + 4]
movq qword [ebp - 0x4203], xmm0
mov word [ebp - 0x41fb], 0
mov byte [ebp - 0x41f9], 0
mov dword [ebp - 0x41fc], eax
xor eax, eax
mov dword [ebp - 0x430c], eax
movzx eax, byte [edi + 0x26]
push eax
movzx eax, byte [edi + 0x25]
push eax
movzx eax, byte [edi + 0x24]
push eax
push dword [edi + 0x20]
mov dword [ebp - 0x4214], 0x3801cc1
push dword [edi + 0x1c]
mov word [ebp - 0x420c], si
push dword [edi + 0x18]
mov dword [ebp - 0x4204], edx
push dword [edi + 0x14]
mov dword [ebp - 0x4200], ecx
push ecx
push edx
push esi
push str.EXEC_WZ_CS_ReqNpcBuy__d___d___d___d___d___d___d___d___d___d
push 0x446e50
call fcn.0041ad00
add esp, 0x30
push dword [0x446e5c]
test al, al
je 0x40b362
call dword [sym.imp.ODBC32.dll_SQLFetch]
movzx eax, ax
cmp ax, 0x64
je 0x40b35c
cmp ax, 0xffff
je 0x40b35c
push str.QueryResult
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x40b327
or eax, eax
jmp 0x40b338
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push dword [0x446e5c]
mov dword [ebp - 0x430c], eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
xor eax, eax
jmp 0x40b37b
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov eax, 1
xor ecx, ecx
test eax, eax
mov eax, dword [ebp - 0x430c]
cmovne eax, ecx
mov ecx, dword [ebp - 0x4328]
mov dword [ebp - 0x4210], eax
lea eax, [ebp - 0x4214]
push 0x1c
push eax
push ecx
call fcn.0041c330
jmp case.0x4074b4.1
mov edx, esi
mov ecx, edi
call fcn.00412310
jmp case.0x4074b4.1
movzx eax, word [edi + 4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x421b], xmm0
mov word [ebp - 0x4214], ax
mov eax, dword [edi + 8]
mov edi, dword [edi + 0xc]
mov dword [ebp - 0x4210], eax
mov eax, dword [ebp - 0x430c]
movups xmmword [ebp - 0x420b], xmm0
mov word [ebp - 0x41fb], 0
mov byte [ebp - 0x41f9], 0
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x14]
mov esi, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
push ecx
push edx
mov dword [ebp - 0x4200], ecx
mov ecx, dword [ebp - 0x430c]
push esi
mov dword [ebp - 0x41fc], eax
push edi
movzx eax, word [ecx + 4]
push eax
push str.EXEC_WZ_CS_ReqNpcUpgrade__d___d___d___d___d
push 0x446e50
mov dword [ebp - 0x421c], 0x58024c1
mov dword [ebp - 0x420c], edi
mov dword [ebp - 0x4208], esi
mov dword [ebp - 0x4204], edx
call fcn.0041ad00
add esp, 0x1c
push dword [0x446e5c]
test al, al
je 0x40b4b0
call dword [sym.imp.ODBC32.dll_SQLFetch]
movzx eax, ax
cmp ax, 0x64
je 0x40b4aa
cmp ax, 0xffff
je 0x40b4aa
push str.QueryResult
call fcn.0041af50
cmp eax, 0xffffffff
je 0x40b48c
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
test eax, eax
je 0x40b4aa
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
xor ecx, ecx
jmp 0x40b4c9
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov ecx, 1
xor eax, eax
test ecx, ecx
mov ecx, dword [ebp - 0x4328]
sete al
mov dword [ebp - 0x4218], eax
lea eax, [ebp - 0x421c]
push 0x24
push eax
push ecx
call fcn.0041c330
jmp case.0x4074b4.1
mov edx, esi
mov ecx, edi
call fcn.00412480
jmp case.0x4074b4.1
mov edx, esi
mov ecx, edi
call fcn.00412600
jmp case.0x4074b4.1
mov eax, dword [edi + 8]
lea edx, [ebp - 0x4308]
movzx ecx, word [edi + 4]
xorps xmm0, xmm0
push edx
movups xmmword [ebp - 0x4217], xmm0
lea edx, [ebp - 0x4320]
mov dword [ebp - 0x420c], eax
mov eax, dword [edi + 0xc]
push edx
push eax
movq qword [ebp - 0x4207], xmm0
push ecx
mov dword [ebp - 0x41ff], 0
mov word [ebp - 0x41fb], 0
mov byte [ebp - 0x41f9], 0
mov dword [ebp - 0x4218], 0x88020c1
mov word [ebp - 0x4210], cx
mov dword [ebp - 0x4208], eax
mov dword [ebp - 0x4308], 0
movlpd qword [ebp - 0x4320], xmm0
call fcn.00403830
push 0x20
test eax, eax
je 0x40b5a8
lea eax, [ebp - 0x4218]
mov dword [ebp - 0x4214], 0
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
mov eax, dword [ebp - 0x4308]
mov ecx, dword [ebp - 0x431c]
mov dword [ebp - 0x4214], eax
mov eax, dword [ebp - 0x4320]
mov dword [ebp - 0x4200], eax
lea eax, [ebp - 0x4218]
push eax
push esi
mov dword [ebp - 0x41fc], ecx
call fcn.0041c330
jmp case.0x4074b4.1
mov edx, esi
mov ecx, edi
call fcn.00412760
jmp case.0x4074b4.1
mov ax, word [edi + 4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x4217], xmm0
mov word [ebp - 0x4210], ax
mov eax, dword [edi + 8]
mov dword [ebp - 0x420c], eax
mov byte [ebp - 0x30], 0
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x4308]
push eax
lea eax, [ebp - 0x4218]
mov dword [ebp - 0x34], ecx
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x4308], 0
push eax
movzx eax, word [edi + 4]
push eax
movq qword [ebp - 0x4207], xmm0
mov dword [ebp - 0x41ff], 0
mov word [ebp - 0x41fb], 0
mov byte [ebp - 0x41f9], 0
mov dword [ebp - 0x4218], 0xa8020c1
call fcn.00403920
mov ecx, dword [ebp - 0x4308]
xor edx, edx
test eax, eax
lea eax, [ebp - 0x4218]
push 0x20
push eax
cmovne ecx, edx
push esi
mov dword [ebp - 0x4214], ecx
call fcn.0041c330
jmp case.0x4074b4.1
push dword [edi + 8]
movzx eax, word [edi + 4]
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x4337], xmm0
xor ecx, ecx
push str.EXEC_WZ_CS_ModifySiegeEnd__d___d
mov dword [ebp - 0x432f], 0
push 0x446e50
mov word [ebp - 0x432b], 0
mov byte [ebp - 0x4329], 0
mov dword [ebp - 0x4338], 0xb8010c1
mov word [ebp - 0x4330], ax
mov dword [ebp - 0x4328], ecx
call fcn.0041ad00
add esp, 0x10
push dword [0x446e5c]
test al, al
je 0x40b75e
call dword [sym.imp.ODBC32.dll_SQLFetch]
movzx eax, ax
cmp ax, 0x64
je 0x40b758
cmp ax, 0xffff
je 0x40b758
push str.QueryResult
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x40b723
or ecx, eax
mov dword [ebp - 0x4328], ecx
jmp 0x40b73a
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
mov dword [ebp - 0x4328], eax
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
xor eax, eax
jmp 0x40b777
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov eax, 1
xor ecx, ecx
test eax, eax
mov eax, dword [ebp - 0x4328]
cmovne eax, ecx
mov dword [ebp - 0x4334], eax
lea eax, [ebp - 0x4338]
push 0x10
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
movzx eax, word [edi + 4]
xor ecx, ecx
xorps xmm0, xmm0
mov byte [ebp - 8], cl
movups xmmword [ebp - 0x436f], xmm0
mov dword [ebp - 0x4328], ecx
mov ecx, dword [edi + 0x10]
mov word [ebp - 0x4368], ax
mov dword [ebp - 0x4340], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x4308], ecx
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x435f], 0
lea edx, [ecx + 1]
mov word [ebp - 0x435b], 0
mov byte [ebp - 0x4359], 0
mov dword [ebp - 0x4370], 0xc8018c1
mov dword [ebp - 0x431c], eax
mov dword [ebp - 0x10], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b806
sub ecx, edx
xor eax, eax
test ecx, ecx
jle 0x40b844
nop word [eax + eax]
mov dl, byte [ebp + eax - 0x10]
cmp dl, 0x20
je 0x40b909
cmp dl, 0x22
je 0x40b909
cmp dl, 0x27
je 0x40b909
inc eax
cmp eax, ecx
jl 0x40b820
mov ecx, dword [ebp - 0x431c]
mov eax, dword [edi + 8]
mov dword [ebp - 0x4360], ecx
mov ecx, dword [ebp - 0x4308]
mov dword [ebp - 0x435c], ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
push dword [ebp - 0x4340]
mov dword [ebp - 0x4364], eax
push str.EXEC_WZ_CS_ModifyCastleOwnerInfo__d___d___s
push 0x446e50
call fcn.0041ad00
add esp, 0x14
push dword [0x446e5c]
test al, al
je 0x40b8f5
call dword [sym.imp.ODBC32.dll_SQLFetch]
movzx eax, ax
cmp ax, 0x64
je 0x40b8ef
cmp ax, 0xffff
je 0x40b8ef
push str.QueryResult
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x40b8ba
or ecx, eax
mov dword [ebp - 0x4328], ecx
jmp 0x40b8d1
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
mov dword [ebp - 0x4328], eax
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
xor eax, eax
jmp 0x40b90e
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov eax, 1
xor ecx, ecx
test eax, eax
mov eax, dword [ebp - 0x4328]
cmovne eax, ecx
mov dword [ebp - 0x436c], eax
lea eax, [ebp - 0x4370]
push 0x18
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
mov eax, dword [edi + 8]
xorps xmm0, xmm0
movzx ecx, word [edi + 4]
movups xmmword [ebp - 0x4387], xmm0
mov dword [ebp - 0x437c], eax
xor eax, eax
mov word [ebp - 0x4380], cx
mov dword [ebp - 0x431c], ecx
mov byte [ebp - 0x14], al
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x4328], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x4377], 0
lea edx, [ecx + 1]
mov word [ebp - 0x4373], 0
mov byte [ebp - 0x4371], 0
mov dword [ebp - 0x4388], 0xd8018c1
mov dword [ebp - 0x1c], eax
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b9a0
sub ecx, edx
xor eax, eax
test ecx, ecx
jle 0x40b9d4
nop
mov dl, byte [ebp + eax - 0x1c]
cmp dl, 0x20
je 0x40ba83
cmp dl, 0x22
je 0x40ba83
cmp dl, 0x27
je 0x40ba83
inc eax
cmp eax, ecx
jl 0x40b9b0
mov eax, dword [ebp - 0x4378]
mov ecx, dword [ebp - 0x4374]
mov dword [edi + 0xc], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x431c]
mov dword [edi + 0x10], ecx
push str.EXEC_WZ_CS_ReqRegAttackGuild__d___s
push 0x446e50
call fcn.0041ad00
add esp, 0x10
push dword [0x446e5c]
test al, al
je 0x40ba6f
call dword [sym.imp.ODBC32.dll_SQLFetch]
movzx eax, ax
cmp ax, 0x64
je 0x40ba69
cmp ax, 0xffff
je 0x40ba69
push str.QueryResult
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x40ba34
or eax, eax
jmp 0x40ba45
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push dword [0x446e5c]
mov dword [ebp - 0x4328], eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
xor eax, eax
jmp 0x40ba88
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov eax, 1
xor ecx, ecx
test eax, eax
mov eax, dword [ebp - 0x4328]
cmovne eax, ecx
mov dword [ebp - 0x4384], eax
lea eax, [ebp - 0x4388]
push 0x18
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
movzx eax, word [edi + 4]
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x4333], xmm0
xor edi, edi
push str.EXEC_WZ_CS_ResetCastleSiege__d
mov word [ebp - 0x432b], 0
push 0x446e50
mov byte [ebp - 0x4329], 0
mov dword [ebp - 0x4334], 0xe800cc1
mov word [ebp - 0x432c], ax
call fcn.0041ad00
add esp, 0xc
push dword [0x446e5c]
test al, al
je 0x40bb80
call dword [sym.imp.ODBC32.dll_SQLFetch]
movzx eax, ax
cmp ax, 0x64
je 0x40bb7a
cmp ax, 0xffff
je 0x40bb7a
push str.QueryResult
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x40bb2a
or edi, eax
jmp 0x40bb3d
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
mov edi, eax
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
xor eax, eax
xor ecx, ecx
test eax, eax
lea eax, [ebp - 0x4334]
push 0xc
push eax
cmovne edi, ecx
push esi
mov dword [ebp - 0x4330], edi
call fcn.0041c330
jmp case.0x4074b4.1
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov eax, 1
xor ecx, ecx
test eax, eax
lea eax, [ebp - 0x4334]
push 0xc
push eax
cmovne edi, ecx
push esi
mov dword [ebp - 0x4330], edi
call fcn.0041c330
jmp case.0x4074b4.1
push 0x85
lea eax, [ebp - 0x4417]
push 0
push eax
call fcn.0041f470
mov ax, word [edi + 4]
lea esi, [edi + 6]
mov ecx, 0x20
mov dword [ebp - 0x4418], 0xf8086c1
lea edi, [ebp - 0x4412]
mov word [ebp - 0x4414], ax
rep movsd dword es:[edi], dword [esi]
add esp, 0xc
xor edi, edi
xor esi, esi
nop dword [eax]
mov ecx, dword [esi + 0x5118fc]
xor eax, eax
test ecx, ecx
js 0x40bc12
cmp ecx, 0x14
setl al
test eax, eax
je 0x40bc3a
cmp dword [esi + 0x511900], 0
je 0x40bc3a
cmp dword [esi + 0x511914], 0xffffffff
je 0x40bc3a
push 0x86
lea eax, [ebp - 0x4418]
push eax
push edi
call fcn.0041c330
add esi, 0x68
inc edi
cmp esi, 0x820
jl 0x40bc00
jmp case.0x4074b4.1
mov edx, esi
mov ecx, edi
call fcn.004128b0
jmp case.0x4074b4.1
mov edx, esi
mov ecx, edi
call fcn.00412a50
jmp case.0x4074b4.1
mov edx, esi
mov ecx, edi
call fcn.00412be0
jmp case.0x4074b4.1
mov eax, dword [edi + 0xc]
xorps xmm0, xmm0
mov ecx, dword [edi + 8]
movzx edx, word [edi + 4]
xor edi, edi
push eax
push ecx
push edx
movups xmmword [ebp - 0x433b], xmm0
push str.EXEC_WZ_CS_ReqNpcRemove__d___d___d
mov word [ebp - 0x432b], 0
mov byte [ebp - 0x4329], 0
push 0x446e50
mov dword [ebp - 0x433c], 0x168014c1
mov word [ebp - 0x4334], dx
mov dword [ebp - 0x4330], ecx
mov dword [ebp - 0x432c], eax
call fcn.0041ad00
add esp, 0x14
push dword [0x446e5c]
test al, al
je 0x40bd55
call dword [sym.imp.ODBC32.dll_SQLFetch]
movzx eax, ax
cmp ax, 0x64
je 0x40bd4f
cmp ax, 0xffff
je 0x40bd4f
push str.QueryResult
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x40bcff
or edi, eax
jmp 0x40bd12
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
mov edi, eax
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
xor eax, eax
xor ecx, ecx
test eax, eax
lea eax, [ebp - 0x433c]
push 0x14
push eax
cmovne edi, ecx
push esi
mov dword [ebp - 0x4338], edi
call fcn.0041c330
jmp case.0x4074b4.1
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov eax, 1
xor ecx, ecx
test eax, eax
lea eax, [ebp - 0x433c]
push 0x14
push eax
cmovne edi, ecx
push esi
mov dword [ebp - 0x4338], edi
call fcn.0041c330
jmp case.0x4074b4.1
mov ax, word [edi + 4]
xorps xmm0, xmm0
mov ecx, dword [edi + 0x1c]
movups xmmword [ebp - 0x4217], xmm0
mov word [ebp - 0x4214], ax
mov eax, dword [edi + 8]
mov dword [ebp - 0x4210], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x420c], eax
mov eax, dword [edi + 0x10]
movq qword [ebp - 0x4207], xmm0
mov dword [ebp - 0x4208], eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x4204], eax
mov eax, dword [edi + 0x18]
xor edi, edi
mov dword [ebp - 0x41ff], 0
xor esi, esi
mov word [ebp - 0x41fb], 0
mov byte [ebp - 0x41f9], 0
mov dword [ebp - 0x4218], 0x178020c1
mov dword [ebp - 0x4200], eax
mov dword [ebp - 0x41fc], ecx
nop word [eax + eax]
mov ecx, dword [esi + 0x5118fc]
xor eax, eax
test ecx, ecx
js 0x40be22
cmp ecx, 0x14
setl al
test eax, eax
je 0x40be47
cmp dword [esi + 0x511900], 0
je 0x40be47
cmp dword [esi + 0x511914], 0xffffffff
je 0x40be47
push 0x20
lea eax, [ebp - 0x4218]
push eax
push edi
call fcn.0041c330
add esi, 0x68
inc edi
cmp esi, 0x820
jl 0x40be10
jmp case.0x4074b4.1
movzx eax, word [edi + 4]
xorps xmm0, xmm0
mov ecx, dword [edi + 8]
movq qword [ebp - 0x4333], xmm0
mov word [ebp - 0x432b], 0
mov byte [ebp - 0x4329], 0
mov dword [ebp - 0x4334], 0x18800cc1
mov word [ebp - 0x432c], ax
mov dword [ebp - 0x4308], 0
movlpd qword [ebp - 0x4320], xmm0
test ecx, ecx
jns 0x40bebf
push 0xc
lea eax, [ebp - 0x4334]
mov dword [ebp - 0x4330], 0
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
lea edx, [ebp - 0x4308]
push edx
lea edx, [ebp - 0x4320]
push edx
push ecx
push eax
call fcn.00403830
test eax, eax
je 0x40bef6
push 0xc
lea eax, [ebp - 0x4334]
mov dword [ebp - 0x4330], 0
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
mov eax, dword [ebp - 0x4308]
mov dword [ebp - 0x4330], eax
lea eax, [ebp - 0x4334]
push 0xc
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
movzx eax, word [edi + 4]
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x4333], xmm0
xor edi, edi
push str.EXEC_WZ_CS_ResetCastleTaxInfo__d
mov word [ebp - 0x432b], 0
push 0x446e50
mov byte [ebp - 0x4329], 0
mov dword [ebp - 0x4334], 0x19800cc1
mov word [ebp - 0x432c], ax
call fcn.0041ad00
add esp, 0xc
push dword [0x446e5c]
test al, al
je 0x40bfc4
call dword [sym.imp.ODBC32.dll_SQLFetch]
movzx eax, ax
cmp ax, 0x64
je 0x40bfbe
cmp ax, 0xffff
je 0x40bfbe
push str.QueryResult
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x40bf8d
or edi, eax
jmp 0x40bfa0
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
mov edi, eax
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
xor eax, eax
jmp 0x40bfdd
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov eax, 1
push 0xc
test eax, eax
lea eax, [ebp - 0x4334]
push eax
push esi
jne 0x40c0d8
mov dword [ebp - 0x4330], edi
call fcn.0041c330
jmp case.0x4074b4.1
movzx eax, word [edi + 4]
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x4333], xmm0
xor edi, edi
push str.EXEC_WZ_CS_ResetSiegeGuildInfo__d
mov word [ebp - 0x432b], 0
push 0x446e50
mov byte [ebp - 0x4329], 0
mov dword [ebp - 0x4334], 0x1a800cc1
mov word [ebp - 0x432c], ax
call fcn.0041ad00
add esp, 0xc
push dword [0x446e5c]
test al, al
je 0x40c0ad
call dword [sym.imp.ODBC32.dll_SQLFetch]
movzx eax, ax
cmp ax, 0x64
je 0x40c0a7
cmp ax, 0xffff
je 0x40c0a7
push str.QueryResult
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x40c076
or edi, eax
jmp 0x40c089
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
mov edi, eax
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
xor eax, eax
jmp 0x40c0c6
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov eax, 1
push 0xc
test eax, eax
lea eax, [ebp - 0x4334]
push eax
push esi
je 0x40bfef
mov dword [ebp - 0x4330], 0
call fcn.0041c330
jmp case.0x4074b4.1
movzx eax, word [edi + 4]
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x4333], xmm0
xor edi, edi
push str.EXEC_WZ_CS_ResetRegSiegeInfo__d
mov word [ebp - 0x432b], 0
push 0x446e50
mov byte [ebp - 0x4329], 0
mov dword [ebp - 0x4334], 0x1b800cc1
mov word [ebp - 0x432c], ax
call fcn.0041ad00
add esp, 0xc
push dword [0x446e5c]
test al, al
je 0x40c19a
call dword [sym.imp.ODBC32.dll_SQLFetch]
movzx eax, ax
cmp ax, 0x64
je 0x40c194
cmp ax, 0xffff
je 0x40c194
push str.QueryResult
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x40c163
or edi, eax
jmp 0x40c176
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
mov edi, eax
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
xor eax, eax
jmp 0x40c1b3
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov eax, 1
push 0xc
test eax, eax
lea eax, [ebp - 0x4334]
push eax
push esi
jne 0x40c0d8
mov dword [ebp - 0x4330], edi
call fcn.0041c330
jmp case.0x4074b4.1
mov edx, esi
mov ecx, edi
call fcn.00412d80
jmp case.0x4074b4.1
test edi, edi
je case.0x4074b4.1
movzx eax, word [edi + 4]
lea ecx, [ebp - 0x4308]
push ecx
lea ecx, [ebp - 0x41d4]
mov word [ebp - 0x41e0], ax
push ecx
push eax
mov dword [ebp - 0x4308], 0xc8
mov dword [ebp - 0x41d8], 0
call fcn.00403a80
mov byte [ebp - 0x41e8], 0xc2
mov byte [ebp - 0x41e5], 0x82
test eax, eax
je 0x40c287
mov edx, dword [ebp - 0x41d8]
mov dword [ebp - 0x41e4], 0
lea eax, [edx*8]
sub eax, edx
lea eax, [eax*4 + 0x14]
movzx ecx, ax
mov eax, ecx
mov byte [ebp - 0x41e6], cl
shr eax, 8
mov byte [ebp - 0x41e7], al
lea eax, [edx*8]
sub eax, edx
lea eax, [eax*4 + 0x14]
push eax
lea eax, [ebp - 0x41e8]
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
mov edx, dword [ebp - 0x4308]
mov dword [ebp - 0x41e4], 1
mov dword [ebp - 0x41d8], edx
lea eax, [edx*8]
sub eax, edx
lea eax, [eax*4 + 0x14]
movzx ecx, ax
mov eax, ecx
mov byte [ebp - 0x41e6], cl
shr eax, 8
mov byte [ebp - 0x41e7], al
lea eax, [edx*8]
sub eax, edx
lea eax, [eax*4 + 0x14]
push eax
lea eax, [ebp - 0x41e8]
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
test edi, edi
je case.0x4074b4.1
movzx ecx, word [edi + 4]
mov word [ebp - 0x1798], cx
mov eax, dword [edi + 8]
mov dword [ebp - 0x1794], eax
lea eax, [ebp - 0x4308]
push eax
lea eax, [ebp - 0x178c]
mov dword [ebp - 0x4308], 0x64
push eax
push ecx
mov dword [ebp - 0x1790], 0
call fcn.00403d30
mov byte [ebp - 0x17a0], 0xc2
mov byte [ebp - 0x179d], 0x83
test eax, eax
je 0x40c37f
mov edx, dword [ebp - 0x1790]
mov eax, edx
shl eax, 4
add eax, 0x14
shl edx, 4
movzx ecx, ax
add edx, 0x14
mov eax, ecx
mov dword [ebp - 0x179c], 0
shr eax, 8
mov byte [ebp - 0x179f], al
lea eax, [ebp - 0x17a0]
push edx
push eax
push esi
mov byte [ebp - 0x179e], cl
call fcn.0041c330
jmp case.0x4074b4.1
mov edx, dword [ebp - 0x4308]
mov eax, edx
shl eax, 4
add eax, 0x14
mov dword [ebp - 0x1790], edx
movzx ecx, ax
mov eax, ecx
shl edx, 4
shr eax, 8
add edx, 0x14
mov byte [ebp - 0x179f], al
lea eax, [ebp - 0x17a0]
push edx
push eax
push esi
mov dword [ebp - 0x179c], 1
mov byte [ebp - 0x179e], cl
call fcn.0041c330
jmp case.0x4074b4.1
test edi, edi
je case.0x4074b4.1
movzx eax, word [edi + 4]
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x4333], xmm0
push str.DELETE_MuCastle_NPC_WHERE_MAP_SVR_GROUP___d
mov word [ebp - 0x432b], 0
push 0x446e50
mov byte [ebp - 0x4329], 0
mov word [ebp - 0x4334], 0xcc1
mov byte [ebp - 0x4332], 0x84
mov word [ebp - 0x432c], ax
mov dword [ebp - 0x431c], eax
call fcn.0041ad00
add esp, 0xc
push dword [0x446e5c]
test al, al
jne 0x40c449
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov eax, 1
jmp 0x40c4fd
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
cmp dword [edi + 8], 0
mov dword [ebp - 0x4308], 0
jle 0x40c4fb
lea ecx, [edi + 0x25]
mov dword [ebp - 0x4340], ecx
nop word [eax + eax]
movzx eax, byte [ecx + 1]
push eax
movzx eax, byte [ecx]
push eax
movzx eax, byte [ecx - 1]
push eax
push dword [ecx - 5]
push dword [ecx - 9]
push dword [ecx - 0xd]
push dword [ecx - 0x11]
push dword [ecx - 0x15]
push dword [ecx - 0x19]
push dword [ebp - 0x431c]
push str.EXEC_WZ_CS_ReqNpcBuy__d___d___d___d___d___d___d___d___d___d
push 0x446e50
call fcn.0041ad00
add esp, 0x30
push dword [0x446e5c]
test al, al
je 0x40c42b
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov eax, dword [ebp - 0x4308]
mov ecx, dword [ebp - 0x4340]
inc eax
add ecx, 0x1c
mov dword [ebp - 0x4308], eax
mov dword [ebp - 0x4340], ecx
cmp eax, dword [edi + 8]
jl 0x40c480
xor eax, eax
push 0xc
test eax, eax
lea eax, [ebp - 0x4334]
push eax
push esi
jne 0x40c0d8
mov dword [ebp - 0x4330], 1
call fcn.0041c330
jmp case.0x4074b4.1
test edi, edi
je case.0x4074b4.1
push str.DELETE_FROM_RankingCastleSiegeTime
push 0x446e50
call fcn.0041ad00
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
add esp, 8
push dword [0x446e5c]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
push str.DELETE_FROM_RankingCastleSiegeKills
push 0x446e50
call fcn.0041ad00
add esp, 8
push dword [0x446e5c]
call edi
push 2
push dword [0x446e5c]
call esi
mov ecx, dword [ebp - 0x430c]
mov dword [ebp - 0x4308], 0x64
movzx eax, word [ecx + 4]
lea ecx, [ebp - 0x4308]
push ecx
lea ecx, [ebp - 0x2ae0]
mov word [ebp - 0x2ae8], ax
push ecx
push eax
mov dword [ebp - 0x2ae4], 0
call fcn.00403ee0
mov byte [ebp - 0x2af0], 0xc2
mov byte [ebp - 0x2aed], 0x85
test eax, eax
je 0x40c61b
mov edx, dword [ebp - 0x2ae4]
mov dword [ebp - 0x2aec], 0
lea eax, [edx + edx*2]
lea eax, [eax*8 + 0x10]
movzx ecx, ax
mov eax, ecx
mov byte [ebp - 0x2aee], cl
mov ecx, dword [ebp - 0x4328]
shr eax, 8
mov byte [ebp - 0x2aef], al
lea eax, [edx + edx*2]
lea eax, [eax*8 + 0x10]
push eax
lea eax, [ebp - 0x2af0]
push eax
push ecx
call fcn.0041c330
jmp case.0x4074b4.1
mov edx, dword [ebp - 0x4308]
mov dword [ebp - 0x2aec], 1
mov dword [ebp - 0x2ae4], edx
lea eax, [edx + edx*2]
lea eax, [eax*8 + 0x10]
movzx ecx, ax
mov eax, ecx
mov byte [ebp - 0x2aee], cl
mov ecx, dword [ebp - 0x4328]
shr eax, 8
mov byte [ebp - 0x2aef], al
lea eax, [edx + edx*2]
lea eax, [eax*8 + 0x10]
push eax
lea eax, [ebp - 0x2af0]
push eax
push ecx
call fcn.0041c330
jmp case.0x4074b4.1
mov edx, esi
mov ecx, edi
call fcn.00412f80
jmp case.0x4074b4.1
mov edx, esi
mov ecx, edi
call fcn.004131a0
jmp case.0x4074b4.1
test edi, edi
je case.0x4074b4.1
movzx eax, word [edi + 4]
lea ecx, [ebp - 0x4308]
push ecx
lea ecx, [ebp - 0x2070]
mov word [ebp - 0x2078], ax
push ecx
push eax
mov dword [ebp - 0x4308], 0x64
mov dword [ebp - 0x2074], 0
call fcn.004040e0
mov byte [ebp - 0x2080], 0xc2
mov byte [ebp - 0x207d], 0x88
test eax, eax
je 0x40c726
mov edx, dword [ebp - 0x2074]
mov dword [ebp - 0x207c], 0
lea eax, [edx + edx*4]
lea eax, [eax*4 + 0x10]
movzx ecx, ax
mov eax, ecx
mov byte [ebp - 0x207e], cl
shr eax, 8
mov byte [ebp - 0x207f], al
lea eax, [edx + edx*4]
lea eax, [eax*4 + 0x10]
push eax
lea eax, [ebp - 0x2080]
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
mov edx, dword [ebp - 0x4308]
mov dword [ebp - 0x207c], 1
mov dword [ebp - 0x2074], edx
lea eax, [edx + edx*4]
lea eax, [eax*4 + 0x10]
movzx ecx, ax
mov eax, ecx
mov byte [ebp - 0x207e], cl
shr eax, 8
mov byte [ebp - 0x207f], al
lea eax, [edx + edx*4]
lea eax, [eax*4 + 0x10]
push eax
lea eax, [ebp - 0x2080]
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
test edi, edi
je case.0x4074b4.1
movzx eax, word [edi + 4]
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x4333], xmm0
push str.DELETE_MuCastle_NPC_WHERE_MAP_SVR_GROUP___d
mov word [ebp - 0x432b], 0
push 0x446e50
mov byte [ebp - 0x4329], 0
mov word [ebp - 0x4334], 0xcc1
mov byte [ebp - 0x4332], 0x89
mov word [ebp - 0x432c], ax
mov dword [ebp - 0x431c], eax
call fcn.0041ad00
add esp, 0xc
push dword [0x446e5c]
test al, al
jne 0x40c7f6
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov ecx, 1
jmp 0x40c8a4
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
cmp dword [edi + 8], 0
mov dword [ebp - 0x4308], 0
jle 0x40c8a2
lea ecx, [edi + 0x25]
mov dword [ebp - 0x4340], ecx
movzx eax, byte [ecx + 1]
push eax
movzx eax, byte [ecx]
push eax
movzx eax, byte [ecx - 1]
push eax
push dword [ecx - 5]
push dword [ecx - 9]
push dword [ecx - 0xd]
push dword [ecx - 0x11]
push dword [ecx - 0x15]
push dword [ecx - 0x19]
push dword [ebp - 0x431c]
push str.EXEC_WZ_CS_ReqNpcUpdate__d___d___d___d___d___d___d___d___d___d
push 0x446e50
call fcn.0041ad00
add esp, 0x30
push dword [0x446e5c]
test al, al
je 0x40c7d8
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov eax, dword [ebp - 0x4308]
mov ecx, dword [ebp - 0x4340]
inc eax
add ecx, 0x1c
mov dword [ebp - 0x4308], eax
mov dword [ebp - 0x4340], ecx
cmp eax, dword [edi + 8]
jl 0x40c827
xor ecx, ecx
xor eax, eax
test ecx, ecx
push 0xc
sete al
mov dword [ebp - 0x4330], eax
lea eax, [ebp - 0x4334]
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
push dword [ebx + 0xc]
mov ecx, esi
push edi
call fcn.00416650
add esp, 8
jmp case.0x4074b4.1
push dword [ebx + 0xc]
mov ecx, esi
push edi
call fcn.00405390
add esp, 8
jmp case.0x4074b4.1
lea ecx, [edi + 0x1c]
mov edx, str.marry
mov al, byte [ecx]
cmp al, byte [edx]
mov byte [ebp - 0x4321], al
lea eax, [edi + 0x1c]
jne 0x40c92f
cmp byte [ebp - 0x4321], 0
je 0x40c92b
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
mov byte [ebp - 0x4321], al
lea eax, [edi + 0x1c]
jne 0x40c92f
add ecx, 2
add edx, 2
cmp byte [ebp - 0x4321], 0
jne 0x40c8f3
xor ecx, ecx
jmp 0x40c934
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x40c963
lea eax, [edi + 0x11]
push eax
lea eax, [edi + 6]
push eax
push str.EXEC_WZ_SetMarryInfo__s__s
push 0x446e50
call fcn.0041ad00
add esp, 0x10
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
jmp 0x40a5dc
mov ecx, str.divorce
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40c988
test dl, dl
je 0x40c984
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40c988
add eax, 2
add ecx, 2
test dl, dl
jne 0x40c968
xor eax, eax
jmp 0x40c98d
sbb eax, eax
or eax, 1
test eax, eax
jne case.0x4074b4.1
lea eax, [edi + 0x11]
push eax
lea eax, [edi + 6]
push eax
push str.EXEC_WZ_SetDivorceInfo__s__s
push 0x446e50
call fcn.0041ad00
add esp, 0x10
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
jmp 0x40a5dc
movzx eax, word [edi + 4]
lea ecx, [edi + 6]
xorps xmm0, xmm0
mov word [ebp - 0x41fb], 0
movups xmmword [ebp - 0x4213], xmm0
mov word [ebp - 0x4210], ax
movzx eax, word [ecx + 8]
push ecx
movq qword [ebp - 0x4203], xmm0
movq xmm0, qword [ecx]
mov word [ebp - 0x4206], ax
mov al, byte [ecx + 0xa]
push str.SELECT__FROM_CustomQuest_WHERE_Name_s
push 0x446e50
mov byte [ebp - 0x41f9], 0
mov word [ebp - 0x4214], 0x1cc1
mov byte [ebp - 0x4212], 0xf1
movq qword [ebp - 0x420e], xmm0
mov byte [ebp - 0x4204], al
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x40cad3
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40cad3
push str.Quest
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x40ca64
or eax, eax
jmp 0x40ca75
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.MonsterCount
mov dword [ebp - 0x4200], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x40ca8e
or eax, eax
jmp 0x40ca9f
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push dword [0x446e5c]
mov dword [ebp - 0x41fc], eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x1c
lea eax, [ebp - 0x4214]
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x1c
lea eax, [ebp - 0x4214]
mov dword [ebp - 0x4200], 0
push eax
push esi
mov dword [ebp - 0x41fc], 0x1869f
call fcn.0041c330
jmp case.0x4074b4.1
lea eax, [edi + 6]
push eax
push str.SELECT__FROM_CustomQuest_WHERE_Name_s
push 0x446e50
mov dword [ebp - 0x431c], eax
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x40cb8c
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40cb8c
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov ecx, dword [ebp - 0x430c]
mov eax, dword [ebp - 0x431c]
push eax
push dword [ecx + 0x14]
push str.Update_CustomQuest_SET_Quest___d__MonsterCount__99999_WHERE_Name___s
push 0x446e50
call fcn.0041ad00
add esp, 0x10
jmp 0x40f2be
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov ecx, dword [ebp - 0x430c]
push dword [ecx + 0x14]
lea eax, [ecx + 6]
push eax
push str.INSERT_INTO_CustomQuest__Name_Quest_MonsterCount__VALUES___s__d_99999_
push 0x446e50
call fcn.0041ad00
add esp, 0x10
jmp 0x40f2be
push dword [edi + 0x24]
lea eax, [edi + 0x11]
push dword [edi + 0x20]
push dword [edi + 0x1c]
push eax
lea eax, [edi + 6]
push eax
push str.EXEC_WZ_SetCoin__s__s__d__d__d
push 0x446e50
call fcn.0041ad00
add esp, 0x1c
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
jmp 0x40a5dc
movzx eax, word [edi + 4]
mov dword [ebp - 0x4308], eax
movzx eax, word [edi + 6]
xor edi, edi
push eax
push str.EXEC_WZ_CustomRanking__d
push 0x446e50
mov dword [ebp - 0x430c], 0x10
mov dword [ebp - 0x4340], eax
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x40cd1c
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40cd1c
lea edi, [ebp - 0x1038]
xor esi, esi
nop dword [eax + eax]
push str.VALUE1
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x40cc85
xorps xmm0, xmm0
mov dword [ebp - 0x42f0], 0
movaps xmmword [ebp - 0x4300], xmm0
jmp 0x40cca1
shl eax, 0xd
push 0x13
add eax, 0x447a7e
push eax
lea eax, [ebp - 0x4300]
push 0x14
push eax
call fcn.0042750d
add esp, 0x10
push str.VALUE2
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x40ccb7
or eax, eax
or edx, 0xffffffff
jmp 0x40ccc8
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.004240c2
add esp, 4
movups xmm0, xmmword [ebp - 0x4300]
add dword [ebp - 0x430c], 0x20
inc esi
push dword [0x446e5c]
movups xmmword [edi], xmm0
mov dword [ebp - 0x42e8], eax
mov dword [ebp - 0x42e4], edx
movups xmm0, xmmword [ebp - 0x42f0]
movups xmmword [edi + 0x10], xmm0
add edi, 0x20
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
jne 0x40cc60
mov dword [ebp - 0x431c], esi
mov esi, dword [ebp - 0x4328]
mov edi, dword [ebp - 0x431c]
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov ecx, dword [ebp - 0x430c]
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x1047], al
mov eax, dword [ebp - 0x4308]
mov dword [ebp - 0x1044], eax
mov eax, dword [ebp - 0x4340]
mov dword [ebp - 0x1040], eax
lea eax, [ebp - 0x1048]
push ecx
push eax
push esi
mov byte [ebp - 0x1048], 0xc2
mov byte [ebp - 0x1046], cl
mov byte [ebp - 0x1045], 0xf4
mov dword [ebp - 0x103c], edi
call fcn.0041c330
jmp case.0x4074b4.1
mov edx, esi
mov ecx, edi
call fcn.00413340
jmp case.0x4074b4.1
lea eax, [edi + 6]
push eax
push str.SELECT__FROM_CustomAttack_WHERE_Name_s
push 0x446e50
mov dword [ebp - 0x431c], eax
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x40ce49
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40ce49
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov ecx, dword [ebp - 0x430c]
mov eax, dword [ebp - 0x431c]
push eax
push dword [ecx + 0x34]
movzx eax, word [ecx + 0x20]
push dword [ecx + 0x30]
push dword [ecx + 0x2c]
push dword [ecx + 0x28]
push dword [ecx + 0x24]
push eax
movzx eax, word [ecx + 0x1e]
push eax
movzx eax, word [ecx + 0x1c]
push eax
movzx eax, word [ecx + 0x1a]
push eax
movzx eax, word [ecx + 0x18]
push eax
movzx eax, word [ecx + 0x16]
push eax
movzx eax, word [ecx + 0x14]
push eax
movzx eax, word [ecx + 0x12]
push eax
push str.Update_CustomAttack_SET_Active___d__Skill___d__Map___d__PosX___d__PosY___d__AutoBuff___d__OffPvP___d__AutoReset___d__AutoAddStr___d__AutoAddAgi___d__AutoAddVit___d__AutoAddEne___d__AutoAddCmd___d__WHERE_Name___s
push 0x446e50
call fcn.0041ad00
add esp, 0x40
jmp 0x40f2be
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov ecx, dword [ebp - 0x430c]
push dword [ecx + 0x34]
movzx eax, word [ecx + 0x20]
push dword [ecx + 0x30]
push dword [ecx + 0x2c]
push dword [ecx + 0x28]
push dword [ecx + 0x24]
push eax
movzx eax, word [ecx + 0x1e]
push eax
movzx eax, word [ecx + 0x1c]
push eax
movzx eax, word [ecx + 0x1a]
push eax
movzx eax, word [ecx + 0x18]
push eax
movzx eax, word [ecx + 0x16]
push eax
movzx eax, word [ecx + 0x14]
push eax
movzx eax, word [ecx + 0x12]
push eax
lea eax, [ecx + 6]
push eax
push str.INSERT_INTO_CustomAttack__Name_Active_Skill_Map_PosX_PosY_AutoBuff_OffPvP_AutoReset_AutoAddStr_AutoAddAgi_AutoAddVit_AutoAddEne_AutoAddCmd__VALUES___s__d__d__d__d__d__d__d__d__d__d__d__d__d_
push 0x446e50
call fcn.0041ad00
add esp, 0x40
jmp 0x40f2be
cmp byte [edi], 0xc1
lea ecx, [edi + 4]
mov dword [ebp - 0x4344], ecx
jne 0x40ced2
mov al, byte [edi + 3]
jmp 0x40ced4
mov al, byte [ecx]
movzx eax, al
cmp eax, 0x52
ja case.0x4074b4.1
movzx eax, byte [eax + 0x40f8c4]
jmp dword [eax*4 + 0x40f7e8]
mov ax, word [ecx]
xorps xmm0, xmm0
movups xmmword [ebp - 0x433b], xmm0
mov word [ebp - 0x4338], ax
movzx eax, word [edi + 0x12]
push eax
lea eax, [edi + 6]
mov word [ebp - 0x432b], 0
push eax
push str.SELECT__FROM_CustomNpcQuest_WHERE_Name_s_and_Quest___d
push 0x446e50
mov byte [ebp - 0x4329], 0
mov dword [ebp - 0x433c], 0xf714c1
call fcn.0041ad00
add esp, 0x10
test al, al
je 0x40cfc1
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40cfc1
push str.Count
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x40cf64
or eax, eax
jmp 0x40cf75
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.MonsterCount
mov dword [ebp - 0x4330], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x40cf8e
or eax, eax
jmp 0x40cf9f
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push dword [0x446e5c]
mov dword [ebp - 0x432c], eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
jmp 0x40cfef
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov dword [ebp - 0x4330], 0
mov dword [ebp - 0x432c], 0x1869f
movzx eax, word [edi + 0x12]
mov word [ebp - 0x4336], ax
movzx eax, word [edi + 0x14]
mov word [ebp - 0x4334], ax
lea eax, [ebp - 0x433c]
push 0x14
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
movzx eax, word [edi + 0x12]
lea ecx, [edi + 6]
push eax
push ecx
push str.SELECT__FROM_CustomNpcQuest_WHERE_Name_s_and_Quest___d
push 0x446e50
call fcn.0041ad00
add esp, 0x10
test al, al
je 0x40d08e
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40d08e
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov ecx, dword [ebp - 0x430c]
movzx eax, word [ecx + 0x12]
push eax
lea eax, [ecx + 6]
push eax
push str.Update_CustomNpcQuest_SET_Count__Count1_MonsterCount99999_WHERE_Name___s_and_Quest___d
push 0x446e50
call fcn.0041ad00
add esp, 0x10
jmp 0x40f2be
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov ecx, dword [ebp - 0x430c]
movzx eax, word [ecx + 0x12]
push eax
lea eax, [ecx + 6]
push eax
push str.INSERT_INTO_CustomNpcQuest__Name_quest_count_MonsterCount__VALUES___s__d_1_99999_
push 0x446e50
call fcn.0041ad00
add esp, 0x10
jmp 0x40f2be
movzx eax, word [edi + 0x12]
lea ecx, [edi + 6]
push eax
push ecx
push str.SELECT__FROM_CustomNpcQuest_WHERE_Name_s_and_Quest___d
push 0x446e50
mov dword [ebp - 0x431c], ecx
call fcn.0041ad00
add esp, 0x10
test al, al
je 0x40d143
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40d143
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov ecx, dword [ebp - 0x430c]
movzx eax, word [ecx + 0x12]
push eax
lea eax, [ecx + 6]
push eax
push dword [ecx + 0x14]
push str.Update_CustomNpcQuest_SET_MonsterCount_d_WHERE_Name___s_and_Quest___d
jmp 0x40f2b1
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov eax, dword [ebp - 0x430c]
push dword [eax + 0x14]
movzx eax, word [eax + 0x12]
push eax
mov eax, dword [ebp - 0x431c]
push eax
push str.INSERT_INTO_CustomNpcQuest__Name_quest_count_monstercount__VALUES___s__d_0__d_
jmp 0x40f2b1
lea eax, [edi + 6]
push eax
push str.UPDATE_Character_SET_ItemStart1_WHERE_name_s
push 0x446e50
call fcn.0041ad00
add esp, 0xc
jmp 0x40a5dc
movzx eax, word [edi + 0x12]
mov dword [ebp - 0x4308], 0
mov dword [ebp - 0x4340], 0
mov dword [ebp - 0x434c], 0
mov dword [ebp - 0x4348], 0
mov dword [ebp - 0x4358], 0
mov dword [ebp - 0x4354], 0
mov dword [ebp - 0x4350], 0
mov dword [ebp - 0x4344], 0
mov dword [ebp - 0x430c], 0
mov dword [ebp - 0x4328], 0
cmp eax, 9
ja case.default.0x40d208
jmp dword [eax*4 + 0x40f918]
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x4308], eax
jmp case.default.0x40d208
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x4340], eax
jmp case.default.0x40d208
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x434c], eax
jmp case.default.0x40d208
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x4348], eax
jmp case.default.0x40d208
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x4358], eax
jmp case.default.0x40d208
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x4354], eax
jmp case.default.0x40d208
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x4350], eax
jmp case.default.0x40d208
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x4344], eax
jmp case.default.0x40d208
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x430c], eax
jmp case.default.0x40d208
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x4328], eax
lea eax, [edi + 6]
push eax
push str.SELECT__FROM_CustomJewelBank_WHERE_AccountID_s
push 0x446e50
mov dword [ebp - 0x431c], eax
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x40d328
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40d328
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
push dword [ebp - 0x431c]
push dword [ebp - 0x4328]
push dword [ebp - 0x430c]
push dword [ebp - 0x4344]
push dword [ebp - 0x4350]
push dword [ebp - 0x4354]
push dword [ebp - 0x4358]
push dword [ebp - 0x4348]
push dword [ebp - 0x434c]
push dword [ebp - 0x4340]
push dword [ebp - 0x4308]
push str.Update_CustomJewelBank_SET_Bless_d_Soul_d_Life_d_Creation_d_Guardian_d_GemStone_d_Harmony_d_Chaos_d_LowStone_d_HighStone_d_WHERE_AccountID___s
push 0x446e50
call fcn.0041ad00
add esp, 0x34
jmp 0x40f2be
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
push dword [ebp - 0x4328]
push dword [ebp - 0x430c]
push dword [ebp - 0x4344]
push dword [ebp - 0x4350]
push dword [ebp - 0x4354]
push dword [ebp - 0x4358]
push dword [ebp - 0x4348]
push dword [ebp - 0x434c]
push dword [ebp - 0x4340]
push dword [ebp - 0x4308]
push dword [ebp - 0x431c]
push str.INSERT_INTO_CustomJewelBank__AccountID_Bless_Soul_Life_Creation_Guardian_GemStone_Harmony_Chaos_LowStone_HighStone__VALUES___s__d__d__d__d__d__d__d__d__d__d_
push 0x446e50
call fcn.0041ad00
add esp, 0x34
jmp 0x40f2be
mov edx, esi
mov ecx, edi
call fcn.00413610
jmp case.0x4074b4.1
movzx eax, word [edi + 0x12]
lea ecx, [edi + 6]
push eax
push ecx
push str.SELECT__FROM_CustomQuest_WHERE_Name_s_and_Quest___d
push 0x446e50
mov dword [ebp - 0x431c], ecx
call fcn.0041ad00
add esp, 0x10
test al, al
je 0x40d41e
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40d41e
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov ecx, dword [ebp - 0x430c]
movzx eax, word [ecx + 0x12]
push eax
lea eax, [ecx + 6]
push eax
push dword [ecx + 0x14]
push str.Update_CustomQuest_SET_MonsterCount_d_WHERE_Name___s_and_Quest___d
jmp 0x40f2b1
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov eax, dword [ebp - 0x430c]
push dword [eax + 0x14]
movzx eax, word [eax + 0x12]
push eax
mov eax, dword [ebp - 0x431c]
push eax
push str.INSERT_INTO_CustomQuest__Name_quest_monstercount__VALUES___s__d__d_
jmp 0x40f2b1
mov edx, esi
mov ecx, edi
call fcn.00413c40
jmp case.0x4074b4.1
lea eax, [edi + 6]
push eax
push str.SELECT__FROM_CustomAttackOffline_WHERE_AccountID_s
push 0x446e50
mov dword [ebp - 0x431c], eax
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x40d4e9
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40d4e9
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov ecx, dword [ebp - 0x430c]
mov eax, dword [ebp - 0x431c]
push eax
lea eax, [ecx + 0x1c]
push eax
lea eax, [ecx + 0x2c]
push eax
lea eax, [ecx + 0x11]
push eax
push str.Update_CustomAttackOffline_SET_Name___s_ServerName___s__IP___s_WHERE_AccountID___s
push 0x446e50
call fcn.0041ad00
add esp, 0x18
jmp 0x40f2be
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov ecx, dword [ebp - 0x430c]
lea eax, [ecx + 0x2c]
push eax
lea eax, [ecx + 0x1c]
push eax
lea eax, [ecx + 0x11]
push eax
lea eax, [ecx + 6]
push eax
push str.INSERT_INTO_CustomAttackOffline__AccountID_Name_IP_ServerName__VALUES___s__s__s__s_
push 0x446e50
call fcn.0041ad00
add esp, 0x18
jmp 0x40f2be
lea eax, [edi + 6]
push eax
push str.SELECT__FROM_CustomAttackOffline_WHERE_AccountID_s
push 0x446e50
mov dword [ebp - 0x431c], eax
call fcn.0041ad00
add esp, 0xc
test al, al
jne 0x40d56a
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40a5dc
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
push dword [ebp - 0x431c]
push str.DELETE_FROM_CustomAttackOffline_WHERE_AccountID_s
push 0x446e50
call fcn.0041ad00
add esp, 0xc
jmp 0x40f2be
mov edx, esi
mov ecx, edi
call fcn.00413f60
jmp case.0x4074b4.1
lea eax, [edi + 6]
push eax
push str.SELECT__FROM_CustomStoreOffline_WHERE_AccountID_s
push 0x446e50
mov dword [ebp - 0x431c], eax
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x40d633
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40d633
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov ecx, dword [ebp - 0x430c]
mov eax, dword [ebp - 0x431c]
push eax
lea eax, [ecx + 0x1c]
push eax
lea eax, [ecx + 0x2c]
push eax
lea eax, [ecx + 0x11]
push eax
push str.Update_CustomStoreOffline_SET_Name___s__ServerName___s__IP___s_WHERE_AccountID___s
push 0x446e50
call fcn.0041ad00
add esp, 0x18
jmp 0x40f2be
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov ecx, dword [ebp - 0x430c]
lea eax, [ecx + 0x2c]
push eax
lea eax, [ecx + 0x1c]
push eax
lea eax, [ecx + 0x11]
push eax
lea eax, [ecx + 6]
push eax
push str.INSERT_INTO_CustomStoreOffline__AccountID_Name_IP_ServerName__VALUES___s__s__s__s_
push 0x446e50
call fcn.0041ad00
add esp, 0x18
jmp 0x40f2be
lea eax, [edi + 6]
push eax
push str.SELECT__FROM_CustomStoreOffline_WHERE_AccountID_s
push 0x446e50
mov dword [ebp - 0x431c], eax
call fcn.0041ad00
add esp, 0xc
test al, al
jne 0x40d6b4
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40a5dc
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
push dword [ebp - 0x431c]
push str.DELETE_FROM_CustomStoreOffline_WHERE_AccountID_s
push 0x446e50
call fcn.0041ad00
add esp, 0xc
jmp 0x40f2be
mov edx, esi
mov ecx, edi
call fcn.00414280
jmp case.0x4074b4.1
push ecx
push str.SELECT__FROM_EventAuctionReward_WHERE_Account_s
push 0x446e50
call fcn.0041ad00
add esp, 0xc
test al, al
jne 0x40d72e
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
jne 0x40d72e
mov esi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
jmp 0x40d760
push dword [0x446e5c]
mov esi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call esi
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
lea ecx, [edi + 4]
push ecx
push str.DELETE_FROM_EventAuctionReward_WHERE_Account_s
push 0x446e50
call fcn.0041ad00
add esp, 0xc
push dword [0x446e5c]
call esi
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
lea eax, [edi + 4]
push eax
push str.UPDATE_EventAuction_SET_ended2_WHERE_CurrentAccount_s
push 0x446e50
call fcn.0041ad00
add esp, 0xc
push dword [0x446e5c]
call esi
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
jmp case.0x4074b4.1
movzx eax, word [ecx]
push eax
push str.SELECT__FROM_EventAuction_WHERE_AuctionIndex_d
push 0x446e50
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x40d829
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40d829
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov ecx, dword [ebp - 0x4344]
movzx eax, word [ecx]
mov ecx, dword [ebp - 0x430c]
push eax
push dword [ecx + 0x24]
lea eax, [ecx + 0x11]
push eax
lea eax, [ecx + 6]
push eax
push dword [ecx + 0x20]
push dword [ecx + 0x1c]
push str.Update_EventAuction_SET_CoinType___d__CurrentBid___d__CurrentAccount___s__CurrentName___s__Ended___d_WHERE_AuctionIndex_d
push 0x446e50
call fcn.0041ad00
add esp, 0x20
jmp 0x40f2be
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov ecx, dword [ebp - 0x430c]
push dword [ecx + 0x24]
lea eax, [ecx + 0x11]
push eax
lea eax, [ecx + 6]
push eax
push dword [ecx + 0x20]
movzx eax, word [ecx + 4]
push dword [ecx + 0x1c]
push eax
push str.INSERT_INTO_EventAuction__AuctionIndex_CoinType_CurrentBid_CurrentAccount_CurrentName_ended__VALUES___d__d__d__s__s__d_
push 0x446e50
call fcn.0041ad00
add esp, 0x20
jmp 0x40f2be
lea eax, [edi + 5]
push eax
push str.SELECT__FROM_EventAuctionReward_WHERE_Account_s
push 0x446e50
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x40d8aa
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
jne case.0x4074b4.1
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
cmp byte [edi + 0x10], 0
mov dword [ebp - 0x431c], 0
jbe case.0x4074b4.1
lea esi, [edi + 0x49]
nop dword [eax + eax]
push dword [esi + 4]
lea eax, [edi + 5]
push dword [esi]
push dword [esi - 4]
push dword [esi - 8]
push dword [esi - 0xc]
push dword [esi - 0x10]
push dword [esi - 0x14]
push dword [esi - 0x18]
push dword [esi - 0x1c]
push dword [esi - 0x20]
push dword [esi - 0x24]
push dword [esi - 0x28]
push dword [esi - 0x2c]
push dword [esi - 0x30]
push dword [esi - 0x34]
push dword [esi - 0x38]
push eax
push str.INSERT_INTO_EventAuctionReward__Account_ItemIndex_ItemLevel_ItemDur_ItemSkill_ItemLuck_ItemOption_ItemExcOpt_ItemSetOpt_ItemJoH_ItemOex_ItemSocket1_ItemSocket2_ItemSocket3_ItemSocket4_ItemSocket5_Time__VALUES___s__d__d__d__d__d__d__d__d__d__d__d__d__d__d__d__d_
push 0x446e50
call fcn.0041ad00
add esp, 0x4c
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov ecx, dword [ebp - 0x431c]
lea esi, [esi + 0x40]
movzx eax, byte [edi + 0x10]
inc ecx
mov dword [ebp - 0x431c], ecx
cmp ecx, eax
jl 0x40d8e0
jmp case.0x4074b4.1
mov edx, esi
mov ecx, edi
call fcn.00414430
jmp case.0x4074b4.1
push dword [edi + 0x30]
lea eax, [edi + 0x25]
push eax
lea eax, [edi + 0x1a]
push eax
lea eax, [edi + 0xf]
push eax
push ecx
push str.EXEC_WZ_SetPlayerKiller__s__s__s__s__d
push 0x446e50
call fcn.0041ad00
add esp, 0x1c
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
jmp 0x40a5dc
mov ax, word [edi + 6]
xorps xmm0, xmm0
push dword [edi + 0x14]
movq qword [ebp - 0x4333], xmm0
mov word [ebp - 0x432e], ax
mov al, byte [edi + 0x19]
mov word [ebp - 0x432b], 0
mov byte [ebp - 0x432b], al
mov al, byte [edi + 0x1a]
mov byte [ebp - 0x432a], al
movzx eax, byte [edi + 0x18]
push eax
lea eax, [edi + 8]
mov byte [ebp - 0x4329], 0
push eax
push str.SELECT__FROM_EventEntryCount_WHERE_Name_s_and_Type_d_and_EntryCount____d
push 0x446e50
mov dword [ebp - 0x4334], 0x21f70cc1
mov byte [ebp - 0x432c], 1
call fcn.0041ad00
add esp, 0x14
test al, al
je 0x40da5a
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40da5a
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov ax, word [edi + 4]
mov word [ebp - 0x4330], ax
lea eax, [ebp - 0x4334]
push 0xc
push eax
push esi
mov byte [ebp - 0x432c], 0
call fcn.0041c330
jmp case.0x4074b4.1
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov ax, word [edi + 4]
mov word [ebp - 0x4330], ax
lea eax, [ebp - 0x4334]
push 0xc
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
movzx eax, byte [edi + 0xf]
push eax
push ecx
push str.SELECT__FROM_EventEntryCount_WHERE_Name_s_and_Type_d
push 0x446e50
call fcn.0041ad00
add esp, 0x10
test al, al
je 0x40db05
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40db05
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov ecx, dword [ebp - 0x430c]
movzx eax, byte [ecx + 0xf]
push eax
lea eax, [ecx + 4]
push eax
push str.Update_EventEntryCount_SET_EntryCountEntryCount1_WHERE_Name___s_and_Type___d
push 0x446e50
call fcn.0041ad00
add esp, 0x10
jmp 0x40f2be
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov ecx, dword [ebp - 0x430c]
push 1
movzx eax, byte [ecx + 0xf]
push eax
lea eax, [ecx + 4]
push eax
push str.INSERT_INTO_EventEntryCount__Name_Type_EntryCount__VALUES___s__d__d_
jmp 0x40f2b1
lea eax, [edi + 6]
push eax
movzx eax, word [edi + 0x12]
push eax
push str.UPDATE_Character_SET_CustomFlag_d_WHERE_name_s
jmp 0x40a5cf
movzx eax, word [edi + 0x12]
xorps xmm0, xmm0
push eax
lea eax, [edi + 6]
movq qword [ebp - 0x431f], xmm0
push eax
mov dword [ebp - 0x4320], 0x24f70ac1
push str.SELECT__FROM_CustomFlag_WHERE_Name_s_and_FlagNumber_d
push 0x446e50
mov word [ebp - 0x4318], 0
call fcn.0041ad00
add esp, 0x10
test al, al
je 0x40dbc3
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40dbc3
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov byte [ebp - 0x4318], 1
jmp 0x40dbdd
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
movzx eax, word [edi + 4]
mov word [ebp - 0x431c], ax
movzx eax, word [edi + 0x12]
mov word [ebp - 0x431a], ax
lea eax, [ebp - 0x4320]
push 0xa
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
movzx eax, word [edi + 0x12]
lea ecx, [edi + 6]
push eax
push ecx
push str.SELECT__FROM_CustomFlag_WHERE_Name_s_and_FlagNumber_d
push 0x446e50
call fcn.0041ad00
add esp, 0x10
test al, al
je 0x40dc3c
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
jne 0x40a5dc
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov ecx, dword [ebp - 0x430c]
movzx eax, word [ecx + 0x12]
push eax
lea eax, [ecx + 6]
push eax
push str.INSERT_INTO_CustomFlag__Name_FlagNumber__VALUES___s__d_
push 0x446e50
call fcn.0041ad00
add esp, 0x10
jmp 0x40f2be
movzx eax, word [edi + 0x10]
push eax
push ecx
push str.SELECT__FROM_CustomCommandDelay_WHERE_Name_s_and_Command_d
push 0x446e50
call fcn.0041ad00
add esp, 0x10
test al, al
je 0x40dce8
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40dce8
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov ecx, dword [ebp - 0x430c]
movzx eax, word [ecx + 0x10]
push eax
lea eax, [ecx + 4]
push eax
push dword [ecx + 0x14]
push str.Update_CustomCommandDelay_SET_Delay_d_WHERE_Name___s_and_Command___d
jmp 0x40f2b1
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov eax, dword [ebp - 0x430c]
push dword [eax + 0x14]
movzx eax, word [eax + 0x10]
push eax
push dword [ebp - 0x4344]
push str.INSERT_INTO_CustomCommandDelay__Name_Command_Delay__VALUES___s__d__d_
jmp 0x40f2b1
mov ax, word [ecx]
xorps xmm0, xmm0
mov word [ebp - 0x430a], ax
lea eax, [edi + 6]
push eax
push str.SELECT__FROM_CustomCommandDelay_WHERE_Name_s
push 0x446e50
movq qword [ebp - 0x4333], xmm0
mov byte [ebp - 0x4321], 0
mov dword [ebp - 0x4308], 0xa
mov byte [ebp - 0x4302], 0
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x40de29
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLFetch]
call edi
cmp ax, 0x64
je 0x40de29
nop word [eax + eax]
cmp byte [ebp - 0x4302], 0x64
ja 0x40de29
push str.Command
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x40ddb0
or eax, eax
jmp 0x40ddc1
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.Delay
mov word [ebp - 0x4320], ax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x40dddb
or edx, eax
jmp 0x40ddee
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
mov edx, eax
mov eax, dword [ebp - 0x4308]
mov ecx, dword [ebp - 0x4320]
push dword [0x446e5c]
inc byte [ebp - 0x4302]
mov dword [ebp + eax - 0x848], ecx
mov dword [ebp + eax - 0x844], edx
add eax, 8
mov dword [ebp - 0x4308], eax
call edi
cmp ax, 0x64
jne 0x40dd90
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov ecx, dword [ebp - 0x4308]
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x847], al
mov al, byte [ebp - 0x432f]
mov byte [ebp - 0x843], al
mov ax, word [ebp - 0x430a]
mov word [ebp - 0x842], ax
mov al, byte [ebp - 0x4302]
mov byte [ebp - 0x840], al
mov al, byte [ebp - 0x4321]
mov byte [ebp - 0x83f], al
lea eax, [ebp - 0x848]
push ecx
push eax
push esi
mov byte [ebp - 0x848], 0xc2
mov byte [ebp - 0x846], cl
mov word [ebp - 0x845], 0x27f7
call fcn.0041c330
jmp case.0x4074b4.1
mov esi, dword [ecx]
test esi, esi
je case.0x4074b4.1
mov eax, dword [0x446b50]
mov edx, dword [0x446b54]
cmp eax, edx
je 0x40ded7
cmp dword [eax], esi
je case.0x4074b4.1
add eax, 4
cmp eax, edx
jne 0x40dec8
cmp edx, dword [0x446b58]
je 0x40deef
mov eax, esi
mov dword [edx], eax
add dword [0x446b54], 4
jmp case.0x4074b4.1
push ecx
push edx
mov ecx, 0x446b50
call fcn.00419ee0
jmp case.0x4074b4.1
movzx eax, word [ecx]
xorps xmm0, xmm0
mov edx, dword [0x446b54]
movq qword [ebp - 0x4333], xmm0
mov word [ebp - 0x4330], ax
movzx eax, word [edi + 6]
mov word [ebp - 0x432e], ax
mov eax, dword [0x446b50]
mov word [ebp - 0x432b], 0
mov byte [ebp - 0x4329], 0
mov dword [ebp - 0x4334], 0x29f70cc1
cmp eax, edx
je 0x40df80
mov edi, dword [eax]
lea ecx, [eax + 4]
sub edx, ecx
push edx
push ecx
push eax
call fcn.00420a40
sub dword [0x446b54], 4
add esp, 0xc
test edi, edi
je 0x40df80
push 0xc
lea eax, [ebp - 0x4334]
mov dword [ebp - 0x432c], edi
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
push str.EXEC_WZ_GetItemSerial
push 0x446e50
call fcn.0041ad00
add esp, 8
test al, al
je 0x40dfe9
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40dfe9
push 0x447a7e
call fcn.0042415e
add esp, 4
mov dword [ebp - 0x432c], eax
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0xc
lea eax, [ebp - 0x4334]
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0xc
lea eax, [ebp - 0x4334]
mov dword [ebp - 0x432c], 0
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
lea eax, [edi + 6]
push eax
movzx eax, word [edi + 0x12]
push eax
push str.UPDATE_Character_SET_CustomSkin_d_WHERE_name_s
jmp 0x40a5cf
movzx eax, word [edi + 0x12]
xorps xmm0, xmm0
push eax
lea eax, [edi + 6]
movq qword [ebp - 0x431f], xmm0
push eax
mov dword [ebp - 0x4320], 0x2bf70ac1
push str.SELECT__FROM_CustomSkin_WHERE_Name_s_and_SkinNumber_d
jmp 0x40db74
movzx eax, word [edi + 0x12]
lea ecx, [edi + 6]
push eax
push ecx
push str.SELECT__FROM_CustomSkin_WHERE_Name_s_and_SkinNumber_d
push 0x446e50
call fcn.0041ad00
add esp, 0x10
test al, al
je 0x40e091
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
jne 0x40a5dc
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov ecx, dword [ebp - 0x430c]
movzx eax, word [ecx + 0x12]
push eax
lea eax, [ecx + 6]
push eax
push str.INSERT_INTO_CustomSkin__Name_SkinNumber__VALUES___s__d_
push 0x446e50
call fcn.0041ad00
add esp, 0x10
jmp 0x40f2be
push ecx
push str.SELECT__FROM_ArcaBattleRegSign_WHERE_GuildName_s
push 0x446e50
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x40e142
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40e142
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov ecx, dword [ebp - 0x430c]
push dword [ebp - 0x4344]
push dword [ecx + 0x10]
push str.Update_ArcaBattleRegSign_SET_MarkCountMarkCount_d_WHERE_GuildName___s
push 0x446e50
call fcn.0041ad00
add esp, 0x10
jmp 0x40f2be
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov ecx, dword [ebp - 0x430c]
push dword [ecx + 0x10]
lea eax, [ecx + 4]
push eax
push str.INSERT_INTO_ArcaBattleRegSign__GuildName_MarkCount_RegDate__VALUES___s__d_getdate___
push 0x446e50
call fcn.0041ad00
add esp, 0x10
jmp 0x40f2be
mov ax, word [ecx]
xorps xmm0, xmm0
push str.EXEC_WZ_ArcaBattleTopRankSelect
push 0x446e50
movq qword [ebp - 0x4333], xmm0
xor edi, edi
mov word [ebp - 0x432b], 0
mov byte [ebp - 0x4329], 0
mov dword [ebp - 0x4308], 0xc
mov word [ebp - 0x430a], ax
call fcn.0041ad00
add esp, 8
test al, al
je 0x40e296
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40e296
lea edi, [ebp - 0x83c]
xor esi, esi
nop dword [eax]
push str.GUILD_NAME
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x40e213
xorps xmm0, xmm0
mov byte [ebp - 0x4278], 0
movq qword [ebp - 0x4280], xmm0
jmp 0x40e22f
shl eax, 0xd
push 8
add eax, 0x447a7e
push eax
lea eax, [ebp - 0x4280]
push 9
push eax
call fcn.0042750d
add esp, 0x10
push str.MARK_COUNT
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x40e242
or eax, eax
jmp 0x40e253
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push dword [0x446e5c]
add dword [ebp - 0x4308], 0x10
inc esi
mov dword [ebp - 0x4274], eax
movups xmm0, xmmword [ebp - 0x4280]
movups xmmword [edi], xmm0
add edi, 0x10
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
jne 0x40e1f0
mov dword [ebp - 0x431c], esi
mov esi, dword [ebp - 0x4328]
mov edi, dword [ebp - 0x431c]
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov ecx, dword [ebp - 0x4308]
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x847], al
mov al, byte [ebp - 0x432f]
mov byte [ebp - 0x843], al
mov ax, word [ebp - 0x430a]
mov word [ebp - 0x842], ax
lea eax, [ebp - 0x848]
push ecx
push eax
push esi
mov byte [ebp - 0x848], 0xc2
mov byte [ebp - 0x846], cl
mov word [ebp - 0x845], 0x31f7
mov dword [ebp - 0x840], edi
call fcn.0041c330
jmp case.0x4074b4.1
mov ax, word [ecx]
xorps xmm0, xmm0
movq qword [ebp - 0x4333], xmm0
mov word [ebp - 0x4330], ax
lea eax, [edi + 6]
push eax
push str.SELECT_top_1_MarkCount_FROM_ArcaBattleRegSign_WHERE_GuildName_s
mov word [ebp - 0x432b], 0
mov byte [ebp - 0x4329], 0
push 0x446e50
mov dword [ebp - 0x4334], 0x32f70cc1
mov dword [ebp - 0x432c], 0
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x40e399
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40e399
push str.MarkCount
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x40e382
or eax, eax
jmp 0x40e393
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
mov dword [ebp - 0x432c], eax
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0xc
lea eax, [ebp - 0x4334]
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
push str.DELETE_FROM_ArcaBattleRegSign
push 0x446e50
call fcn.0041ad00
mov esi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
add esp, 8
push dword [0x446e5c]
call esi
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push str.DELETE_FROM_ArcaBattleWinner
push 0x446e50
call fcn.0041ad00
add esp, 8
push dword [0x446e5c]
call esi
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
cmp dword [edi + 4], 0
lea esi, [edi + 4]
mov dword [ebp - 0x431c], 0
jbe case.0x4074b4.1
add edi, 0xc
movzx eax, word [edi - 2]
push eax
movzx eax, word [edi - 4]
push eax
push edi
push str.INSERT_INTO_ArcaBattleWinner_Guild_ObeliskGroup_ObeliskAttribute__VALUES___s__d__d_
push 0x446e50
call fcn.0041ad00
add esp, 0x14
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov eax, dword [ebp - 0x431c]
add edi, 0xe
inc eax
mov dword [ebp - 0x431c], eax
cmp eax, dword [esi]
jb 0x40e437
jmp case.0x4074b4.1
xorps xmm0, xmm0
mov word [ebp - 0x432b], 0
push str.Select_top_3__from_ArcaBattleWinner
push 0x446e50
movq qword [ebp - 0x4333], xmm0
xor edi, edi
mov byte [ebp - 0x4329], 0
mov dword [ebp - 0x4308], 0xc
call fcn.0041ad00
add esp, 8
test al, al
je 0x40e5ce
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40e5ce
lea edi, [ebp - 0x83c]
xor esi, esi
push str.Guild
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x40e509
xorps xmm0, xmm0
mov byte [ebp - 0x4234], 0
movq qword [ebp - 0x423c], xmm0
jmp 0x40e525
shl eax, 0xd
push 8
add eax, 0x447a7e
push eax
lea eax, [ebp - 0x423c]
push 9
push eax
call fcn.0042750d
add esp, 0x10
push str.ObeliskGroup
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x40e538
or eax, eax
jmp 0x40e549
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.ObeliskAttribute
mov word [ebp - 0x4240], ax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x40e563
or eax, eax
jmp 0x40e574
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push dword [0x446e5c]
add dword [ebp - 0x4308], 0xe
inc esi
mov word [ebp - 0x423e], ax
movq xmm0, qword [ebp - 0x4240]
mov eax, dword [ebp - 0x4238]
movq qword [edi], xmm0
mov dword [edi + 8], eax
mov ax, word [ebp - 0x4234]
mov word [edi + 0xc], ax
add edi, 0xe
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
jne 0x40e4e6
mov dword [ebp - 0x431c], esi
mov esi, dword [ebp - 0x4328]
mov edi, dword [ebp - 0x431c]
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov ecx, dword [ebp - 0x4308]
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x847], al
mov ax, word [ebp - 0x432f]
mov word [ebp - 0x843], ax
mov al, byte [ebp - 0x432d]
mov byte [ebp - 0x841], al
lea eax, [ebp - 0x848]
push ecx
push eax
push esi
mov byte [ebp - 0x848], 0xc2
mov byte [ebp - 0x846], cl
mov word [ebp - 0x845], 0x34f7
mov dword [ebp - 0x840], edi
call fcn.0041c330
jmp case.0x4074b4.1
mov ax, word [ecx]
xorps xmm0, xmm0
mov word [ebp - 0x430a], ax
lea eax, [edi + 6]
push eax
push str.SELECT__FROM_CustomItemBank_WHERE_AccountID_s
push 0x446e50
movq qword [ebp - 0x4333], xmm0
mov byte [ebp - 0x4321], 0
mov dword [ebp - 0x4308], 0xa
mov byte [ebp - 0x4302], 0
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x40e773
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLFetch]
call edi
cmp ax, 0x64
je 0x40e773
nop word [eax + eax]
cmp byte [ebp - 0x4302], 0x64
ja 0x40e773
push str.ItemIndex
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x40e6d0
or eax, eax
jmp 0x40e6e1
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.ItemLevel
mov word [ebp - 0x4320], ax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x40e6fb
or eax, eax
jmp 0x40e70c
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.ItemCount
mov byte [ebp - 0x431e], al
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x40e725
or edx, eax
jmp 0x40e738
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
mov edx, eax
mov eax, dword [ebp - 0x4308]
mov ecx, dword [ebp - 0x4320]
push dword [0x446e5c]
inc byte [ebp - 0x4302]
mov dword [ebp + eax - 0x1048], ecx
mov dword [ebp + eax - 0x1044], edx
add eax, 8
mov dword [ebp - 0x4308], eax
call edi
cmp ax, 0x64
jne 0x40e6b0
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov ecx, dword [ebp - 0x4308]
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x1047], al
mov al, byte [ebp - 0x432f]
mov byte [ebp - 0x1043], al
mov ax, word [ebp - 0x430a]
mov word [ebp - 0x1042], ax
mov al, byte [ebp - 0x4302]
mov byte [ebp - 0x1040], al
mov al, byte [ebp - 0x4321]
mov byte [ebp - 0x103f], al
lea eax, [ebp - 0x1048]
push ecx
push eax
push esi
mov byte [ebp - 0x1046], cl
mov word [ebp - 0x1045], 0x35f7
mov byte [ebp - 0x1048], 0xc2
call fcn.0041c330
jmp case.0x4074b4.1
mov edx, esi
mov ecx, edi
call fcn.004152b0
jmp case.0x4074b4.1
mov edx, esi
mov ecx, edi
call fcn.00415450
jmp case.0x4074b4.1
movzx eax, byte [edi + 0x11]
lea ecx, [edi + 6]
push eax
push ecx
xorps xmm0, xmm0
movq qword [ebp - 0x431f], xmm0
push str.SELECT__FROM_CustomLuckyWheel_WHERE_AccountID_s_and_WheelType_d_and_Amount___0
push 0x446e50
mov word [ebp - 0x4318], 0
mov dword [ebp - 0x4320], 0x38f70ac1
call fcn.0041ad00
add esp, 0x10
test al, al
je 0x40e8ce
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40e8ce
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov ecx, dword [ebp - 0x430c]
movzx eax, byte [ecx + 0x11]
push eax
lea eax, [ecx + 6]
push eax
push str.UPDATE_CustomLuckyWheel_SET_AmountAmount_1_WHERE_AccountID_s_and_WheelType_d_and_Amount___0
push 0x446e50
call fcn.0041ad00
add esp, 0x10
push dword [0x446e5c]
call edi
push 2
push dword [0x446e5c]
call esi
mov edi, dword [ebp - 0x430c]
mov esi, dword [ebp - 0x4328]
mov byte [ebp - 0x4318], 1
jmp 0x40e8e8
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
movzx eax, word [edi + 4]
mov word [ebp - 0x431c], ax
movzx eax, byte [edi + 0x11]
mov word [ebp - 0x431a], ax
lea eax, [ebp - 0x4320]
push 0xa
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
movzx eax, byte [edi + 0x11]
xorps xmm0, xmm0
push eax
lea eax, [edi + 6]
movq qword [ebp - 0x4333], xmm0
push eax
push str.SELECT__FROM_CustomLuckyWheel_WHERE_AccountID_s_and_WheelType_d
mov word [ebp - 0x432b], 0
mov byte [ebp - 0x4329], 0
push 0x446e50
mov dword [ebp - 0x4334], 0x39f70cc1
mov dword [ebp - 0x432c], 0
call fcn.0041ad00
add esp, 0x10
test al, al
je 0x40e99c
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40e99c
push str.Amount
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x40e985
or eax, eax
jmp 0x40e996
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
mov dword [ebp - 0x432c], eax
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
movzx eax, word [edi + 4]
mov word [ebp - 0x4330], ax
movzx eax, byte [edi + 0x11]
mov word [ebp - 0x432e], ax
lea eax, [ebp - 0x4334]
push 0xc
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
push ecx
push str.SELECT_memb___id_FROM_MEMB_INFO_WHERE_memb___id_s
push 0x446e50
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x40a5dc
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40a5dc
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
mov edi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call edi
mov ecx, dword [ebp - 0x430c]
xorps xmm0, xmm0
mov esi, dword [sym.imp.ODBC32.dll_SQLBindParameter]
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x20], 0
movq xmm0, qword [ecx + 0x41]
push 0x50fc10
movq qword [ebp - 0x2c], xmm0
mov eax, dword [ecx + 0x49]
push 0
mov dword [ebp - 0x24], eax
mov al, byte [ecx + 0x4d]
mov byte [ebp - 0x20], al
lea eax, [ecx + 0xf]
push eax
push 0
push 0x32
push 0xc
push 1
push 1
push 1
push dword [0x446e5c]
mov dword [0x50fc10], 0xfffffffd
call esi
push 0x50fc14
push 0
lea eax, [ebp - 0x2c]
mov dword [0x50fc14], 0xfffffffd
push eax
push 0
push 0xd
push 0xc
push 1
push 1
push 2
push dword [0x446e5c]
call esi
push dword [ebp - 0x4344]
push str.Update_MEMB_INFO_SET_mail_chek__1__mail_addr__sno__numb__where_memb___id_s
push 0x446e50
call fcn.0041ad00
add esp, 0xc
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call edi
jmp case.0x4074b4.1
mov edx, esi
mov ecx, edi
call fcn.00415730
jmp case.0x4074b4.1
mov edx, esi
mov ecx, edi
call fcn.00415910
jmp case.0x4074b4.1
lea eax, [edi + 8]
push eax
push str.SELECT__FROM_CustomBattlePassData_WHERE_Name_s
push 0x446e50
mov dword [ebp - 0x431c], eax
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x40eb78
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40eb78
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov eax, dword [ebp - 0x4344]
push dword [ebp - 0x431c]
push dword [eax]
push str.Update_CustomBattlePassData_SET_StarCountStarCount_d_WHERE_Name___s
push 0x446e50
call fcn.0041ad00
add esp, 0x10
jmp 0x40f2be
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov eax, dword [ebp - 0x4344]
push dword [eax]
push dword [ebp - 0x431c]
push str.INSERT_INTO_CustomBattlePassData__Name_StarCount__VALUES___s__d_
push 0x446e50
call fcn.0041ad00
add esp, 0x10
jmp 0x40f2be
push 0x27
lea eax, [ebp - 0x421f]
push 0
push eax
call fcn.0041f470
mov ax, word [edi + 4]
add esp, 0xc
mov word [ebp - 0x421c], ax
xorps xmm0, xmm0
mov al, byte [edi + 7]
mov byte [ebp - 0x4219], al
mov al, byte [edi + 6]
mov byte [ebp - 0x421a], al
movzx eax, al
push eax
lea eax, [edi + 8]
mov dword [ebp - 0x4220], 0x44f728c1
push eax
push str.SELECT__FROM_CustomDailyReward_WHERE_AccountID_s_and_Month_d
push 0x446e50
movups xmmword [ebp - 0x4218], xmm0
movups xmmword [ebp - 0x4208], xmm0
call fcn.0041ad00
add esp, 0x10
test al, al
je 0x40ec7e
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLFetch]
call edi
cmp ax, 0x64
je 0x40ec7e
nop dword [eax + eax]
push 0x44098c
call fcn.0041af50
cmp eax, 0xffffffff
je 0x40ec70
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
lea ecx, [eax - 1]
cmp ecx, 0x1f
ja 0x40ec70
mov byte [ebp + eax - 0x4219], 1
push dword [0x446e5c]
call edi
cmp ax, 0x64
jne 0x40ec40
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
movzx eax, byte [ebp - 0x421f]
push eax
lea eax, [ebp - 0x4220]
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
mov edx, esi
mov ecx, edi
call fcn.00415af0
jmp case.0x4074b4.1
mov edx, esi
mov ecx, edi
call fcn.00416000
jmp case.0x4074b4.1
cmp byte [edi + 5], 0
mov dword [ebp - 0x431c], 0
jbe case.0x4074b4.1
lea esi, [edi + 0x11]
nop word [eax + eax]
push dword [esi - 0xb]
push str.SELECT_ItemSerial_FROM_CustomExclusiveGlow_WHERE_ItemSerial_d
push 0x446e50
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x40ed6b
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40ed6b
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push dword [esi - 0xb]
movzx eax, byte [esi + 1]
push eax
movzx eax, byte [esi]
push eax
movzx eax, byte [esi - 1]
push eax
movzx eax, byte [esi - 2]
push eax
movzx eax, byte [esi - 3]
push eax
movzx eax, byte [esi - 4]
push eax
movzx eax, byte [esi - 5]
push eax
movzx eax, byte [esi - 6]
push eax
movzx eax, byte [esi - 7]
push eax
push str.UPDATE_CustomExclusiveGlow_SET_SkinR_d_SkinG_d_SkinB_d_SkinA_d_GlowR_d_GlowG_d_GlowB_d_GlowA_d_Bright_d_WHERE_ItemSerial_d
jmp 0x40edb9
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
movzx eax, byte [esi + 1]
push eax
movzx eax, byte [esi]
push eax
movzx eax, byte [esi - 1]
push eax
movzx eax, byte [esi - 2]
push eax
movzx eax, byte [esi - 3]
push eax
movzx eax, byte [esi - 4]
push eax
movzx eax, byte [esi - 5]
push eax
movzx eax, byte [esi - 6]
push eax
movzx eax, byte [esi - 7]
push eax
push dword [esi - 0xb]
push str.INSERT_INTO_CustomExclusiveGlow__ItemSerial_SkinR_SkinG_SkinB_SkinA_GlowR_GlowG_GlowB_GlowA_Bright__VALUES___d__d__d__d__d__d__d__d__d__d_
push 0x446e50
call fcn.0041ad00
add esp, 0x30
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov ecx, dword [ebp - 0x431c]
add esi, 0x10
movzx eax, byte [edi + 5]
inc ecx
mov dword [ebp - 0x431c], ecx
cmp ecx, eax
jl 0x40ecf0
jmp case.0x4074b4.1
push dword [ecx]
push str.SELECT_ItemSerial_FROM_CustomExclusiveGlow_WHERE_ItemSerial_d
push 0x446e50
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x40ee9f
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40ee9f
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov ecx, dword [ebp - 0x430c]
mov eax, dword [ebp - 0x4344]
push dword [eax]
movzx eax, byte [ecx + 0x10]
push eax
movzx eax, byte [ecx + 0xf]
push eax
movzx eax, byte [ecx + 0xe]
push eax
movzx eax, byte [ecx + 0xd]
push eax
movzx eax, byte [ecx + 0xc]
push eax
movzx eax, byte [ecx + 0xb]
push eax
movzx eax, byte [ecx + 0xa]
push eax
movzx eax, byte [ecx + 9]
push eax
movzx eax, byte [ecx + 8]
push eax
push str.UPDATE_CustomExclusiveGlow_SET_SkinR_d_SkinG_d_SkinB_d_SkinA_d_GlowR_d_GlowG_d_GlowB_d_GlowA_d_Bright_d_WHERE_ItemSerial_d
push 0x446e50
call fcn.0041ad00
add esp, 0x30
jmp 0x40f2be
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov ecx, dword [ebp - 0x430c]
movzx eax, byte [ecx + 0x10]
push eax
movzx eax, byte [ecx + 0xf]
push eax
movzx eax, byte [ecx + 0xe]
push eax
movzx eax, byte [ecx + 0xd]
push eax
movzx eax, byte [ecx + 0xc]
push eax
movzx eax, byte [ecx + 0xb]
push eax
movzx eax, byte [ecx + 0xa]
push eax
movzx eax, byte [ecx + 9]
push eax
movzx eax, byte [ecx + 8]
push eax
push dword [ecx + 4]
push str.INSERT_INTO_CustomExclusiveGlow__ItemSerial_SkinR_SkinG_SkinB_SkinA_GlowR_GlowG_GlowB_GlowA_Bright__VALUES___d__d__d__d__d__d__d__d__d__d_
push 0x446e50
call fcn.0041ad00
add esp, 0x30
jmp 0x40f2be
push dword [ecx]
push str.DELETE_FROM_CustomExclusiveGlow_WHERE_ItemSerial_d
push 0x446e50
call fcn.0041ad00
add esp, 0xc
jmp 0x40a5dc
mov edx, esi
call fcn.00416320
jmp case.0x4074b4.1
movzx eax, word [ecx]
push eax
push str.SELECT__FROM_CustomGuildReign_WHERE_Map_d
push 0x446e50
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x40efd1
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40efd1
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov eax, dword [ebp - 0x430c]
push 0x50fc10
push 0
add eax, 0xf
mov dword [0x50fc10], 0x20
push eax
push 0
push 0x20
push 0xfffffffffffffffd
push 0xfffffffffffffffe
push 1
push 1
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLBindParameter]
mov ecx, dword [ebp - 0x4344]
movzx eax, word [ecx]
push eax
mov eax, dword [ebp - 0x430c]
push dword [eax + 0x30]
add eax, 6
push eax
push str.Update_CustomGuildReign_SET_Guild_s_Mark__LastConquergetdate___ConquerTime2_d_ConquerCountConquerCount1_WHERE_Map___d
jmp 0x40f2b1
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov eax, dword [ebp - 0x430c]
push 0x50fc10
push 0
add eax, 0xf
mov dword [0x50fc10], 0x20
push eax
push 0
push 0x20
push 0xfffffffffffffffd
push 0xfffffffffffffffe
push 1
push 1
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLBindParameter]
mov eax, dword [ebp - 0x430c]
push dword [eax + 0x30]
add eax, 6
push eax
mov eax, dword [ebp - 0x4344]
movzx eax, word [eax]
push eax
push str.INSERT_INTO_CustomGuildReign__Map_Guild_Mark_ConquerTime2_ConquerCount__VALUES___d__s____d_1_
jmp 0x40f2b1
movzx eax, word [ecx]
push eax
push dword [edi + 8]
push str.Update_CustomGuildReign_SET_ConquerTime2_d_WHERE_Map___d
jmp 0x40a5cf
push 0x39
lea eax, [ebp - 0x42db]
push 0
push eax
call fcn.0041f470
mov word [ebp - 0x42dc], 0x3ac1
lea ecx, [edi + 6]
mov byte [ebp - 0x42da], 0xf8
add esp, 0xc
movzx eax, word [edi + 4]
mov word [ebp - 0x42d8], ax
movq xmm0, qword [ecx]
movq qword [ebp - 0x42d6], xmm0
movzx eax, word [ecx + 8]
push ecx
mov word [ebp - 0x42ce], ax
mov al, byte [ecx + 0xa]
push str.SELECT__FROM_CustomStore_WHERE_Name_s
push 0x446e50
mov byte [ebp - 0x42cc], al
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x40a5dc
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40a5dc
push str.Active
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x40f0e9
or eax, eax
jmp 0x40f0fa
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.Type
mov word [ebp - 0x42ca], ax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x40f114
or eax, eax
jmp 0x40f125
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.StoreName
mov word [ebp - 0x42c8], ax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x40f158
xorps xmm0, xmm0
mov dword [ebp - 0x42a6], 0
movups xmmword [ebp - 0x42c6], xmm0
movups xmmword [ebp - 0x42b6], xmm0
jmp 0x40f174
shl eax, 0xd
push 0x23
add eax, 0x447a7e
push eax
lea eax, [ebp - 0x42c6]
push 0x24
push eax
call fcn.0042750d
add esp, 0x10
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x3a
lea eax, [ebp - 0x42dc]
push eax
push esi
call fcn.0041c330
jmp case.0x4074b4.1
lea eax, [edi + 6]
push eax
push str.SELECT__FROM_CustomStore_WHERE_Name_s
push 0x446e50
mov dword [ebp - 0x431c], eax
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x40f247
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40f247
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov eax, dword [ebp - 0x430c]
push 0x50fc10
push 0
add eax, 0x16
mov dword [0x50fc10], 0xfffffffd
push eax
push 0
push 0x24
push 0xc
push 1
push 1
push 1
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLBindParameter]
mov ecx, dword [ebp - 0x430c]
mov eax, dword [ebp - 0x431c]
push eax
movzx eax, word [ecx + 0x14]
push eax
movzx eax, word [ecx + 0x12]
push eax
push str.Update_CustomStore_SET_Active___d__Type___d__StoreName____WHERE_Name___s
jmp 0x40f2b1
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov eax, dword [ebp - 0x430c]
push 0x50fc10
push 0
add eax, 0x16
mov dword [0x50fc10], 0xfffffffd
push eax
push 0
push 0x24
push 0xc
push 1
push 1
push 1
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLBindParameter]
mov ecx, dword [ebp - 0x430c]
movzx eax, word [ecx + 0x14]
push eax
movzx eax, word [ecx + 0x12]
push eax
lea eax, [ecx + 6]
push eax
push str.INSERT_INTO_CustomStore__Name_Active_Type_StoreName__VALUES___s__d__d___
push 0x446e50
call fcn.0041ad00
add esp, 0x14
push dword [0x446e5c]
call edi
push 2
push dword [0x446e5c]
call esi
jmp 0x40f2e0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
pop esi
call fcn.0041dc5d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret