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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42f33d
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1908
call fcn.0042ee60
mov eax, dword [0x43e040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x18cd], dl
mov esi, ecx
mov dword [ebp - 0x18cc], esi
mov edi, dword [ebx + 8]
imul eax, esi, 0x68
mov dword [ebp - 0x18b4], edi
mov dword [ebp - 0x18b8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x18b8]
mov dword [ecx + 0x5d290c], eax
movzx eax, byte [ebp - 0x18cd]
cmp eax, 0xe1
ja case.0x407922.1
movzx eax, byte [eax + 0x40cd60]
jmp dword [eax*4 + 0x40cc7c]
push str.SELECT_ItemCount_FROM_GameServerInfo_WHERE_Number0
push 0x43edd8
mov dword [ebp - 0x20], 0x10008c1
mov dword [ebp - 0x1c], 0
call fcn.00414960
add esp, 8
test al, al
je 0x407810
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x407810
push str.ItemCount
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x4077e0
or eax, eax
jmp 0x4077f1
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push dword [0x43ede4]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
jmp 0x40785e
push dword [0x43ede4]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call esi
push str.INSERT_INTO_GameServerInfo__Number_ItemCount_ZenCount_AceItemCount__VALUES__0_0_0_0_
push 0x43edd8
call fcn.00414960
add esp, 8
push dword [0x43ede4]
call edi
push 2
push dword [0x43ede4]
call esi
mov edi, dword [ebp - 0x18b4]
mov esi, dword [ebp - 0x18cc]
push 8
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.00416260
mov eax, dword [ebp - 0x18b8]
movzx esi, word [edi + 0x38]
movzx edi, word [edi + 4]
lea ecx, [eax + 0x5d28d0]
mov eax, dword [ebp - 0x18b4]
add eax, 6
push eax
push 0x32
push ecx
call fcn.0041afdd
mov ecx, dword [ebp - 0x18b8]
add esp, 0xc
push esi
push edi
lea eax, [ecx + 0x5d28d0]
mov word [ecx + 0x5d2902], di
push eax
push dword [ecx + 0x5d28ac]
mov word [ecx + 0x5d2904], si
push str._ServerManager___d__ServerInfo___s____d____d_
push 0
call fcn.00417120
add esp, 0x18
jmp case.0x407922.1
mov edx, esi
mov ecx, edi
call fcn.0040d180
jmp case.0x407922.1
mov edx, esi
mov ecx, edi
call fcn.0040d910
jmp case.0x407922.1
mov edx, esi
mov ecx, edi
call fcn.0040df80
jmp case.0x407922.1
mov edx, esi
mov ecx, edi
call fcn.0040e3d0
jmp case.0x407922.1
cmp byte [edi], 0xc1
jne 0x40790c
mov al, byte [edi + 3]
jmp 0x40790f
mov al, byte [edi + 4]
movzx eax, al
cmp eax, 0x71
ja case.0x407922.1
movzx eax, byte [eax + 0x40ce6c]
jmp dword [eax*4 + 0x40ce44]
push esi
push edi
call fcn.00417320
jmp case.0x407922.1
cmp dword [edi + 0xf1c], 0
lea eax, [edi + 0x13]
push 0x5d08e0
push 0
push eax
push 0
push 0xf00
push 0xfffffffffffffffd
push 0xfffffffffffffffe
push 1
lea esi, [edi + 8]
mov dword [0x5d08e0], 0xf00
push 1
push dword [0x43ede4]
mov dword [ebp - 0x18b8], esi
jne 0x4079ca
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 0x43edd8
call fcn.00414960
add esp, 0x10
push dword [0x43ede4]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call esi
mov edx, dword [ebp - 0x18b4]
push dword [ebp - 0x18b8]
push dword [edx + 0xf18]
push str.UPDATE_warehouse_SET_pw_d_WHERE_AccountID_s
jmp 0x4089ea
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 0x43edd8
call fcn.00414960
add esp, 0x14
jmp 0x407990
push edi
call fcn.00416ee0
jmp case.0x407922.1
movzx eax, word [edi + 4]
lea edx, [edi + 6]
movq xmm0, qword [edx]
lea ecx, [edi + 0x11]
mov word [ebp - 0x7f2], ax
movzx eax, word [edx + 8]
mov word [ebp - 0x7e8], ax
mov al, byte [edx + 0xa]
push ecx
mov byte [ebp - 0x7e6], al
movzx eax, word [ecx + 8]
push edx
movq qword [ebp - 0x7f0], xmm0
movq xmm0, qword [ecx]
mov word [ebp - 0x7dd], ax
mov al, byte [ecx + 0xa]
push str.SELECT_account_items_targetname_state_FROM_TRADE_X_WHERE_account_s_and_name_s
push 0x43edd8
mov dword [ebp - 0x7f8], 0x5ac07c2
mov byte [ebp - 0x7f4], 0x41
movq qword [ebp - 0x7e5], xmm0
mov byte [ebp - 0x7db], al
call fcn.00414960
add esp, 0x10
test al, al
je 0x407b50
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x407b50
push 0x780
lea eax, [ebp - 0x7cd]
push eax
push str.Items
call fcn.00414c00
push str.targetname
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x407ad2
xorps xmm0, xmm0
mov word [ebp - 0x7d2], 0
movq qword [ebp - 0x7da], xmm0
mov byte [ebp - 0x7d0], 0
jmp 0x407aee
shl eax, 0xd
push 0xa
add eax, 0x4405be
push eax
lea eax, [ebp - 0x7da]
push 0xb
push eax
call fcn.004211ed
add esp, 0x10
push str.state
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x407b01
or eax, eax
jmp 0x407b12
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push dword [0x43ede4]
mov byte [ebp - 0x7ce], al
mov byte [ebp - 0x7cf], 1
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x7ac
lea eax, [ebp - 0x7f8]
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x7ac
lea eax, [ebp - 0x7f8]
mov byte [ebp - 0x7cf], 0
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
movzx eax, word [edi + 4]
lea edx, [edi + 6]
movq xmm0, qword [edx]
lea ecx, [edi + 0x11]
mov word [ebp - 0x1886], ax
movzx eax, word [edx + 8]
mov word [ebp - 0x187c], ax
mov al, byte [edx + 0xa]
push ecx
mov byte [ebp - 0x187a], al
movzx eax, word [ecx + 8]
push edx
movq qword [ebp - 0x1884], xmm0
movq xmm0, qword [ecx]
mov word [ebp - 0x1871], ax
mov al, byte [ecx + 0xa]
push str.SELECT_ElementSlot_FROM_Character_WHERE_AccountID_s_and_Name_s
push 0x43edd8
mov dword [ebp - 0x188c], 0x53e00c2
mov byte [ebp - 0x1888], 0x51
movq qword [ebp - 0x1879], xmm0
mov byte [ebp - 0x186f], al
call fcn.00414960
add esp, 0x10
test al, al
je 0x407c55
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x407c55
push 0x20
lea eax, [ebp - 0x186e]
push eax
push str.ElementSlot
call fcn.00414c00
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x3e
lea eax, [ebp - 0x188c]
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
movaps xmm0, xmmword [0x43a5b0]
lea eax, [ebp - 0x188c]
push 0x3e
push eax
push esi
movups xmmword [ebp - 0x186e], xmm0
movups xmmword [ebp - 0x185e], xmm0
call fcn.00416260
jmp case.0x407922.1
lea eax, [edi + 0x13]
push eax
lea ecx, [edi + 8]
mov dword [ebp - 0x1c], eax
push ecx
push str.SELECT_AccountID_FROM_Character_WHERE_AccountID_s_and_name_s
push 0x43edd8
mov dword [ebp - 0x2c], ecx
call fcn.00414960
add esp, 0x10
test al, al
je 0x40afb5
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40afb5
push dword [0x43ede4]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call esi
mov eax, dword [ebp - 0x18b4]
push 0x5d08e0
push 0
add eax, 0x1e
mov dword [0x5d08e0], 0x20
push eax
push 0
push 0x20
push 0xfffffffffffffffd
push 0xfffffffffffffffe
push 1
push 1
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLBindParameter]
push dword [ebp - 0x1c]
push dword [ebp - 0x2c]
push str.UPDATE_Character_SET_ElementSlot__WHERE_AccountID_s_and_name_s
jmp 0x4089ea
movzx eax, word [edi + 4]
lea edx, [edi + 6]
movq xmm0, qword [edx]
lea ecx, [edi + 0x11]
mov word [ebp - 0x7ea], ax
movzx eax, word [edx + 8]
mov word [ebp - 0x7e0], ax
mov al, byte [edx + 0xa]
push ecx
mov byte [ebp - 0x7de], al
movzx eax, word [ecx + 8]
push edx
movq qword [ebp - 0x7e8], xmm0
movq xmm0, qword [ecx]
mov word [ebp - 0x7d5], ax
mov al, byte [ecx + 0xa]
push str.SELECT__FROM_CHAOS_BOX_GENESIS_WHERE_Account_s_and_Name_s
push 0x43edd8
mov dword [ebp - 0x7f0], 0x5a807c2
mov byte [ebp - 0x7ec], 0x60
movq qword [ebp - 0x7dd], xmm0
mov byte [ebp - 0x7d3], al
call fcn.00414960
add esp, 0x10
test al, al
je 0x407e97
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x407e97
push 0x780
lea eax, [ebp - 0x7c8]
push eax
push str.Items
call fcn.00414c00
push str.State
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x407df4
or eax, eax
jmp 0x407e05
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push str.SelectedKey
mov byte [ebp - 0x7d1], al
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x407e1e
or eax, eax
jmp 0x407e2f
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push str.SelectedComb
mov dword [ebp - 0x7d0], eax
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x407e48
or eax, eax
jmp 0x407e59
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push dword [0x43ede4]
mov dword [ebp - 0x7cc], eax
mov byte [ebp - 0x7d2], 1
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x7a8
lea eax, [ebp - 0x7f0]
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x7a8
lea eax, [ebp - 0x7f0]
mov byte [ebp - 0x7d2], 0
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
push edi
call fcn.004042a0
jmp case.0x407922.1
push 0x5d2890
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [0x5d2888]
mov esi, dword [0x5d2884]
lea eax, [esi + edx]
test al, 3
jne 0x407f18
lea eax, [edx + 4]
shr eax, 2
cmp dword [0x5d2880], eax
ja 0x407f18
push ecx
call fcn.00415810
mov edx, dword [0x5d2888]
mov esi, dword [0x5d2884]
mov ecx, dword [0x5d2880]
lea eax, [ecx*4 - 1]
and eax, esi
mov dword [0x5d2884], eax
lea esi, [eax + edx]
mov edx, esi
lea eax, [ecx - 1]
mov ecx, dword [0x5d287c]
shr edx, 2
and eax, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x1c], eax
cmp dword [ecx + eax*4], 0
jne 0x407f64
push 0x10
call fcn.00417b34
mov edx, dword [ebp - 0x1c]
add esp, 4
mov ecx, dword [0x5d287c]
mov dword [ecx + edx*4], eax
mov edx, dword [ebp - 0x2c]
mov ecx, dword [0x5d2880]
and esi, 3
mov eax, dword [0x5d287c]
dec ecx
and ecx, edx
push 0x5d2890
mov ecx, dword [eax + ecx*4]
mov eax, dword [edi + 4]
mov dword [ecx + esi*4], eax
inc dword [0x5d2888]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp case.0x407922.1
mov edx, esi
mov ecx, edi
call fcn.0040ec20
jmp case.0x407922.1
mov edx, esi
mov ecx, edi
call fcn.0040ee60
jmp case.0x407922.1
mov edx, esi
mov ecx, edi
call fcn.0040f090
jmp case.0x407922.1
movzx eax, word [edi + 4]
movq xmm0, qword [edi + 6]
mov word [ebp - 0x1834], ax
movzx eax, word [edi + 0xe]
mov word [ebp - 0x182a], ax
mov al, byte [edi + 0x10]
add edi, 0x11
mov byte [ebp - 0x1828], al
movq qword [ebp - 0x1832], xmm0
mov word [ebp - 0x1838], 0x1ec1
movzx eax, word [edi + 8]
movq xmm0, qword [edi]
mov word [ebp - 0x181f], ax
mov al, byte [edi + 0xa]
mov byte [ebp - 0x181d], al
xor eax, eax
mov byte [ebp - 0x1836], 0xa
movq qword [ebp - 0x1827], xmm0
nop
mov cl, byte [edi + eax]
cmp cl, 0x20
je 0x4080ca
cmp cl, 0x22
je 0x4080ca
cmp cl, 0x27
je 0x4080ca
inc eax
cmp eax, 0xb
jl 0x408020
mov esi, dword [0x43eac0]
cmp esi, dword [0x43eac4]
je 0x40806b
push esi
push edi
call fcn.00418c30
add esp, 8
test eax, eax
jne 0x4080ca
add esi, 0x20
cmp esi, dword [0x43eac4]
jne 0x408052
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str._a_zA_Z0_9___
call fcn.00401f90
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
push edi
call fcn.00401f90
push 0
mov dword [ebp - 4], 0xffffffff
call fcn.00405100
test al, al
jne 0x4080aa
cmp dword [0x5d26fc], 0
je 0x4080ca
push 0x1e
lea eax, [ebp - 0x1838]
mov byte [ebp - 0x181c], 0
push eax
push dword [ebp - 0x18cc]
call fcn.00416260
jmp case.0x407922.1
push 0x1e
lea eax, [ebp - 0x1838]
mov byte [ebp - 0x181c], 1
push eax
push dword [ebp - 0x18cc]
call fcn.00416260
jmp case.0x407922.1
mov edx, esi
mov ecx, edi
call fcn.0040f2d0
jmp case.0x407922.1
cmp byte [edi], 0xc1
lea ecx, [edi + 4]
mov dword [ebp - 0x2c], ecx
jne 0x408108
mov al, byte [edi + 3]
jmp 0x40810a
mov al, byte [ecx]
movzx eax, al
cmp eax, 0x52
ja case.0x407922.1
movzx eax, byte [eax + 0x40cef8]
jmp dword [eax*4 + 0x40cee0]
push esi
push edi
call fcn.00414cd0
jmp case.0x407922.1
lea eax, [edi + 0x11]
push eax
push str.SELECT_Name_FROM_QuestKillCount_WHERE_Name_s
push 0x43edd8
mov dword [ebp - 0x18b8], eax
call fcn.00414960
add esp, 0xc
test al, al
je 0x4081c4
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x4081c4
push dword [0x43ede4]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call esi
mov eax, dword [ebp - 0x18b4]
push dword [ebp - 0x18b8]
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 0x43edd8
call fcn.00414960
add esp, 0x38
jmp 0x4089f7
push dword [0x43ede4]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call esi
mov eax, dword [ebp - 0x18b4]
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 - 0x18b8]
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 0x43edd8
call fcn.00414960
add esp, 0x38
jmp 0x4089f7
push 0x5d08e0
push 0
lea eax, [edi + 0x24]
mov dword [0x5d08e0], 0x10
push eax
push 0
push 0x10
push 0xfffffffffffffffd
push 0xfffffffffffffffe
push 1
push 1
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLBindParameter]
movzx eax, byte [edi + 0x37]
push eax
movzx eax, byte [edi + 0x36]
push eax
movzx eax, byte [edi + 0x35]
push eax
push dword [edi + 0x20]
movzx eax, byte [edi + 0x34]
push dword [edi + 0x1c]
push eax
lea eax, [edi + 0xf]
push eax
lea eax, [edi + 4]
push eax
push str.INSERT_INTO__dbo_._OFF_TRADE_SYSTEM____Account___Name___Item___slot___value___coin___map___x___y___VALUES___s__s_____d___d___d___d___d___d_
push 0x43edd8
call fcn.00414960
add esp, 0x28
jmp 0x40afb5
movzx eax, byte [edi + 0x1a]
lea edx, [edi + 0xf]
push eax
push edx
push ecx
push str.SELECT__FROM_OFF_TRADE_SYSTEM_WHERE_Account_s_and_Name_s_and_slot_d
push 0x43edd8
call fcn.00414960
add esp, 0x14
test al, al
je 0x40afb5
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40afb5
push dword [0x43ede4]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call esi
mov edx, dword [ebp - 0x18b4]
movzx eax, byte [edx + 0x1a]
push eax
lea eax, [edx + 0xf]
push eax
lea eax, [edx + 4]
push eax
push str.DELETE_FROM_OFF_TRADE_SYSTEM_WHERE_Account_s_and_Name_s_and_slot_d
push 0x43edd8
call fcn.00414960
add esp, 0x14
jmp 0x4089f7
lea eax, [edi + 0xf]
push eax
push ecx
push str.SELECT__FROM_OFF_TRADE_SYSTEM_WHERE_Account_s_and_Name_s
push 0x43edd8
mov dword [ebp - 0x1c], eax
call fcn.00414960
add esp, 0x10
test al, al
je 0x40afb5
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40afb5
push dword [0x43ede4]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call esi
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x2c]
push eax
push str.DELETE_FROM_OFF_TRADE_SYSTEM_WHERE_Account_s_and_Name_s
jmp 0x4089ea
cmp byte [edi], 0xc1
jne 0x40837f
mov al, byte [edi + 3]
jmp 0x408382
mov al, byte [edi + 4]
test al, al
je 0x4084d2
cmp al, 0x30
jne case.0x407922.1
lea eax, [edi + 0x13]
push eax
push str.SELECT_Name_FROM_MasterSkillTree_WHERE_Name_s
push 0x43edd8
mov dword [ebp - 0x18b8], eax
call fcn.00414960
add esp, 0xc
test al, al
je 0x40844f
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40844f
push dword [0x43ede4]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call esi
mov eax, dword [ebp - 0x18b4]
push 0x5d08e0
push 0
add eax, 0x30
mov dword [0x5d08e0], 0xb4
push eax
push 0
push 0xb4
push 0xfffffffffffffffd
push 0xfffffffffffffffe
push 1
push 1
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLBindParameter]
mov eax, dword [ebp - 0x18b4]
push dword [ebp - 0x18b8]
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 0x43edd8
call fcn.00414960
add esp, 0x1c
jmp 0x4089f7
push dword [0x43ede4]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call esi
mov eax, dword [ebp - 0x18b4]
push 0x5d08e0
push 0
add eax, 0x30
mov dword [0x5d08e0], 0xb4
push eax
push 0
push 0xb4
push 0xfffffffffffffffd
push 0xfffffffffffffffe
push 1
push 1
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLBindParameter]
mov eax, dword [ebp - 0x18b4]
push dword [eax + 0x2c]
push dword [eax + 0x28]
push dword [eax + 0x24]
push dword [eax + 0x20]
push dword [ebp - 0x18b8]
push str.INSERT_INTO_MasterSkillTree__Name_MasterLevel_MasterPoint_MasterExperience_MasterSkill__VALUES___s__d__d__I64d___
push 0x43edd8
call fcn.00414960
add esp, 0x1c
jmp 0x4089f7
movzx eax, word [edi + 4]
lea ecx, [edi + 0x11]
movq xmm0, qword [edi + 6]
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 0x43edd8
mov dword [ebp - 0x130], 0xde800c2
mov byte [ebp - 0x12c], 0
movq qword [ebp - 0x11d], xmm0
mov byte [ebp - 0x113], al
call fcn.00414960
add esp, 0xc
test al, al
je 0x408631
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x408631
push str.MasterLevel
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x408576
or eax, eax
jmp 0x408587
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push str.MasterPoint
mov dword [ebp - 0x110], eax
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x4085a0
or eax, eax
jmp 0x4085b1
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push str.MasterExperience
mov dword [ebp - 0x10c], eax
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x4085cd
or eax, eax
or edx, 0xffffffff
jmp 0x4085de
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041dda2
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.00414c00
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0xe8
lea eax, [ebp - 0x130]
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
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.004190e0
add esp, 0xc
lea eax, [ebp - 0x130]
push 0xe8
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
cmp byte [edi], 0xc1
jne 0x4086a4
mov al, byte [edi + 3]
jmp 0x4086a7
mov al, byte [edi + 4]
movzx eax, al
cmp eax, 0x31
ja case.0x407922.1
movzx eax, byte [eax + 0x40cf60]
jmp dword [eax*4 + 0x40cf4c]
movzx eax, word [edi + 4]
lea ecx, [edi + 0x11]
movq xmm0, qword [edi + 6]
mov word [ebp - 0x1834], ax
movzx eax, word [edi + 0xe]
mov word [ebp - 0x182a], ax
mov al, byte [edi + 0x10]
mov byte [ebp - 0x1828], al
movzx eax, word [ecx + 8]
push ecx
movq qword [ebp - 0x1832], xmm0
movq xmm0, qword [ecx]
mov word [ebp - 0x181f], ax
mov al, byte [ecx + 0xa]
push str.SELECT_Status_FROM_EventLeoTheHelper_WHERE_Name_s
push 0x43edd8
mov dword [ebp - 0x1838], 0xe1ec1
mov dword [ebp - 0x1c], ecx
movq qword [ebp - 0x1827], xmm0
mov byte [ebp - 0x181d], al
call fcn.00414960
add esp, 0xc
test al, al
je 0x40879e
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40879e
push str.Status
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x408759
or eax, eax
jmp 0x40876a
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push dword [0x43ede4]
mov byte [ebp - 0x181c], al
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x1e
lea eax, [ebp - 0x1838]
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
push dword [0x43ede4]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call esi
push dword [ebp - 0x1c]
push str.INSERT_INTO_EventLeoTheHelper__Name_Status__VALUES___s_0_
push 0x43edd8
call fcn.00414960
add esp, 0xc
push dword [0x43ede4]
call edi
push 2
push dword [0x43ede4]
call esi
mov esi, dword [ebp - 0x18cc]
lea eax, [ebp - 0x1838]
push 0x1e
push eax
push esi
mov byte [ebp - 0x181c], 0
call fcn.00416260
jmp case.0x407922.1
movzx eax, word [edi + 4]
lea ecx, [edi + 0x11]
movq xmm0, qword [edi + 6]
mov word [ebp - 0x1834], ax
movzx eax, word [edi + 0xe]
mov word [ebp - 0x182a], ax
mov al, byte [edi + 0x10]
mov byte [ebp - 0x1828], al
movzx eax, word [ecx + 8]
push ecx
movq qword [ebp - 0x1832], xmm0
movq xmm0, qword [ecx]
mov word [ebp - 0x181f], ax
mov al, byte [ecx + 0xa]
push str.SELECT_Status_FROM_EventSantaClaus_WHERE_Name_s
push 0x43edd8
mov dword [ebp - 0x1838], 0x10e1ec1
mov dword [ebp - 0x1c], ecx
movq qword [ebp - 0x1827], xmm0
mov byte [ebp - 0x181d], al
call fcn.00414960
add esp, 0xc
test al, al
je 0x40888d
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
jne 0x408746
push dword [0x43ede4]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call esi
push dword [ebp - 0x1c]
push str.INSERT_INTO_EventSantaClaus__Name_Status__VALUES___s_0_
jmp 0x4087c4
lea eax, [edi + 0x11]
push eax
push str.SELECT_Name_FROM_EventLeoTheHelper_WHERE_Name_s
push 0x43edd8
mov dword [ebp - 0x1c], eax
call fcn.00414960
add esp, 0xc
test al, al
je 0x40891e
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40891e
push dword [0x43ede4]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call esi
mov edx, dword [ebp - 0x18b4]
mov eax, dword [ebp - 0x1c]
push eax
movzx eax, byte [edx + 0x1c]
push eax
push str.UPDATE_EventLeoTheHelper_SET_Status_d_WHERE_Name_s
jmp 0x4089ea
push dword [0x43ede4]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call esi
mov edx, dword [ebp - 0x18b4]
movzx eax, byte [edx + 0x1c]
push eax
lea eax, [edx + 0x11]
push eax
push str.INSERT_INTO_EventLeoTheHelper__Name_Status__VALUES___s__d_
jmp 0x4089ea
lea eax, [edi + 0x11]
push eax
push str.SELECT_Name_FROM_EventSantaClaus_WHERE_Name_s
push 0x43edd8
mov dword [ebp - 0x1c], eax
call fcn.00414960
add esp, 0xc
test al, al
je 0x4089b8
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x4089b8
push dword [0x43ede4]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call esi
mov edx, dword [ebp - 0x18b4]
mov eax, dword [ebp - 0x1c]
push eax
movzx eax, byte [edx + 0x1c]
push eax
push str.UPDATE_EventSantaClaus_SET_Status_d_WHERE_Name_s
jmp 0x4089ea
push dword [0x43ede4]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call esi
mov edx, dword [ebp - 0x18b4]
movzx eax, byte [edx + 0x1c]
push eax
lea eax, [edx + 0x11]
push eax
push str.INSERT_INTO_EventSantaClaus__Name_Status__VALUES___s__d_
push 0x43edd8
call fcn.00414960
add esp, 0x10
push dword [0x43ede4]
call edi
push 2
push dword [0x43ede4]
call esi
jmp case.0x407922.1
cmp byte [edi], 0xc1
jne 0x408a18
mov al, byte [edi + 3]
jmp 0x408a1b
mov al, byte [edi + 4]
test al, al
je 0x408b43
cmp al, 0x30
jne case.0x407922.1
lea eax, [edi + 0x13]
push eax
push str.SELECT_Name_FROM_QuestWorld_WHERE_Name_s
push 0x43edd8
mov dword [ebp - 0x18b8], eax
call fcn.00414960
add esp, 0xc
test al, al
je 0x408ad2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x408ad2
push dword [0x43ede4]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call esi
mov eax, dword [ebp - 0x18b4]
push 0x5d08e0
push 0
add eax, 0x1e
mov dword [0x5d08e0], 0x190
push eax
push 0
push 0x190
push 0xfffffffffffffffd
push 0xfffffffffffffffe
push 1
push 1
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLBindParameter]
push dword [ebp - 0x18b8]
push str.UPDATE_QuestWorld_SET_QuestWorldList__WHERE_Name_s
push 0x43edd8
call fcn.00414960
add esp, 0xc
jmp 0x4089f7
push dword [0x43ede4]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call esi
mov eax, dword [ebp - 0x18b4]
push 0x5d08e0
push 0
add eax, 0x1e
mov dword [0x5d08e0], 0x190
push eax
push 0
push 0x190
push 0xfffffffffffffffd
push 0xfffffffffffffffe
push 1
push 1
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLBindParameter]
push dword [ebp - 0x18b8]
push str.INSERT_INTO_QuestWorld__Name_QuestWorldList__VALUES___s___
push 0x43edd8
call fcn.00414960
add esp, 0xc
jmp 0x4089f7
movzx eax, word [edi + 4]
lea ecx, [edi + 0x11]
movq xmm0, qword [edi + 6]
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 0x43edd8
mov dword [ebp - 0x1f8], 0x10ae01c2
mov byte [ebp - 0x1f4], 0
movq qword [ebp - 0x1e5], xmm0
mov byte [ebp - 0x1db], al
call fcn.00414960
add esp, 0xc
test al, al
je 0x408c13
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x408c13
push 0x190
lea eax, [ebp - 0x1da]
push eax
push str.QuestWorldList
call fcn.00414c00
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x1ae
lea eax, [ebp - 0x1f8]
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x190
lea eax, [ebp - 0x1da]
push 0xff
push eax
call fcn.004190e0
add esp, 0xc
lea eax, [ebp - 0x1f8]
push 0x1ae
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
cmp byte [edi], 0xc1
jne 0x408c67
mov al, byte [edi + 3]
jmp 0x408c6a
mov al, byte [edi + 4]
movzx eax, al
cmp eax, 0x30
ja case.0x407922.1
movzx eax, byte [eax + 0x40cfb0]
jmp dword [eax*4 + 0x40cf94]
movzx eax, word [edi + 4]
lea ecx, [edi + 0x11]
movq xmm0, qword [edi + 6]
mov word [ebp - 0x183c], ax
movzx eax, word [edi + 0xe]
mov word [ebp - 0x1832], ax
mov al, byte [edi + 0x10]
mov byte [ebp - 0x1830], al
movzx eax, word [ecx + 8]
mov word [ebp - 0x1827], ax
mov al, byte [ecx + 0xa]
mov byte [ebp - 0x1825], al
movzx eax, byte [edi + 0x1c]
push eax
push ecx
movq qword [ebp - 0x183a], xmm0
movq xmm0, qword [ecx]
push str.INSERT_INTO_Gens_Rank__Name_Family_Contribution__VALUES___s__d_0_
push 0x43edd8
mov dword [ebp - 0x1840], 0x1128c1
movq qword [ebp - 0x182f], xmm0
mov word [ebp - 0x1824], 0
mov dword [ebp - 0x1820], 0
mov dword [ebp - 0x181c], 0
call fcn.00414960
add esp, 0x10
push dword [0x43ede4]
test al, al
jne 0x408d4b
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x28
lea eax, [ebp - 0x1840]
mov byte [ebp - 0x1824], 1
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
mov al, byte [edi + 0x1c]
mov byte [ebp - 0x1823], al
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
movzx eax, byte [edi + 0x1c]
push eax
lea eax, [edi + 0x11]
push eax
push str.EXEC_WZ_GetCharacterGensInfo__s__d
push 0x43edd8
call fcn.00414960
add esp, 0x10
test al, al
je 0x408e25
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x408e25
push str.Rank
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x408db4
or eax, eax
jmp 0x408dc5
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push str.Contribution
mov dword [ebp - 0x1820], eax
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x408dde
or eax, eax
jmp 0x408def
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push dword [0x43ede4]
mov dword [ebp - 0x181c], eax
mov eax, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call eax
mov eax, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call eax
push 0x28
lea eax, [ebp - 0x1840]
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
push dword [0x43ede4]
mov eax, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call eax
mov eax, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call eax
push 0x28
lea eax, [ebp - 0x1840]
mov byte [ebp - 0x1824], 1
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
movzx eax, word [edi + 4]
lea ecx, [edi + 0x11]
movq xmm0, qword [edi + 6]
mov word [ebp - 0x1834], ax
movzx eax, word [edi + 0xe]
mov word [ebp - 0x182a], ax
mov al, byte [edi + 0x10]
mov byte [ebp - 0x1828], al
movzx eax, word [ecx + 8]
push ecx
movq qword [ebp - 0x1832], xmm0
movq xmm0, qword [ecx]
mov word [ebp - 0x181f], ax
mov al, byte [ecx + 0xa]
push str.DELETE_FROM_Gens_Rank_WHERE_Name_s
push 0x43edd8
mov dword [ebp - 0x1838], 0x1111ec1
movq qword [ebp - 0x1827], xmm0
mov byte [ebp - 0x181d], al
call fcn.00414960
add esp, 0xc
push dword [0x43ede4]
test al, al
jne 0x408eef
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov byte [ebp - 0x181c], 1
jmp 0x408f0a
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov byte [ebp - 0x181c], 0
push 0x1e
lea eax, [ebp - 0x1838]
push eax
push esi
call fcn.00416260
mov eax, dword [edi + 0x20]
push 0xffffffffffffffff
inc eax
push eax
movzx eax, byte [edi + 0x1c]
push eax
call fcn.00412670
jmp case.0x407922.1
push esi
push edi
call fcn.004122f0
jmp case.0x407922.1
push esi
push edi
call fcn.004124b0
jmp case.0x407922.1
movzx eax, word [edi + 4]
lea ecx, [edi + 0x11]
movq xmm0, qword [edi + 6]
mov word [ebp - 0x183c], ax
movzx eax, word [edi + 0xe]
mov word [ebp - 0x1832], ax
mov al, byte [edi + 0x10]
mov byte [ebp - 0x1830], al
movzx eax, word [ecx + 8]
push ecx
movq qword [ebp - 0x183a], xmm0
movq xmm0, qword [ecx]
mov word [ebp - 0x1827], ax
mov al, byte [ecx + 0xa]
push str.SELECT_Rank_Status_FROM_Gens_Reward_WHERE_Name_s
push 0x43edd8
mov dword [ebp - 0x1840], 0x41128c1
movq qword [ebp - 0x182f], xmm0
mov byte [ebp - 0x1825], al
mov word [ebp - 0x1824], 0
mov dword [ebp - 0x1820], 0
mov dword [ebp - 0x181c], 0
call fcn.00414960
add esp, 0xc
test al, al
je 0x409079
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x409079
mov al, byte [edi + 0x1c]
push str.Rank
mov byte [ebp - 0x1823], al
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40900a
or eax, eax
jmp 0x40901b
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push str.Status
mov dword [ebp - 0x1820], eax
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x409034
or eax, eax
jmp 0x409045
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push dword [0x43ede4]
mov dword [ebp - 0x181c], eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x28
lea eax, [ebp - 0x1840]
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x28
lea eax, [ebp - 0x1840]
mov byte [ebp - 0x1824], 1
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
lea eax, [edi + 0x11]
push eax
push str.SELECT_Name_FROM_Gens_Reward_WHERE_Name_s
push 0x43edd8
mov dword [ebp - 0x18b8], eax
call fcn.00414960
add esp, 0xc
test al, al
je 0x409117
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x409117
push dword [0x43ede4]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call esi
mov edx, dword [ebp - 0x18b4]
push dword [ebp - 0x18b8]
push dword [edx + 0x24]
push str.UPDATE_Gens_Reward_SET_Status_d_WHERE_Name_s
jmp 0x4089ea
push dword [0x43ede4]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call esi
mov eax, dword [ebp - 0x18b4]
push dword [eax + 0x24]
push dword [eax + 0x20]
push dword [ebp - 0x18b8]
push str.INSERT_INTO_Gens_Reward__Name_Rank_Status__VALUES___s__d__d_
push 0x43edd8
call fcn.00414960
add esp, 0x14
jmp 0x4089f7
cmp byte [edi], 0xc1
jne 0x409168
mov al, byte [edi + 3]
jmp 0x40916b
mov al, byte [edi + 4]
test al, al
je 0x409293
cmp al, 0x30
jne case.0x407922.1
lea eax, [edi + 0x13]
push eax
push str.SELECT_Name_FROM_HelperData_WHERE_Name_s
push 0x43edd8
mov dword [ebp - 0x18b8], eax
call fcn.00414960
add esp, 0xc
test al, al
je 0x409222
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x409222
push dword [0x43ede4]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call esi
mov eax, dword [ebp - 0x18b4]
push 0x5d08e0
push 0
add eax, 0x1e
mov dword [0x5d08e0], 0x100
push eax
push 0
push 0x100
push 0xfffffffffffffffd
push 0xfffffffffffffffe
push 1
push 1
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLBindParameter]
push dword [ebp - 0x18b8]
push str.UPDATE_HelperData_SET_Data__WHERE_Name_s
push 0x43edd8
call fcn.00414960
add esp, 0xc
jmp 0x4089f7
push dword [0x43ede4]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call esi
mov eax, dword [ebp - 0x18b4]
push 0x5d08e0
push 0
add eax, 0x1e
mov dword [0x5d08e0], 0x100
push eax
push 0
push 0x100
push 0xfffffffffffffffd
push 0xfffffffffffffffe
push 1
push 1
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLBindParameter]
push dword [ebp - 0x18b8]
push str.INSERT_INTO_HelperData__Name_Data__VALUES___s___
push 0x43edd8
call fcn.00414960
add esp, 0xc
jmp 0x4089f7
movzx eax, word [edi + 4]
lea ecx, [edi + 0x11]
movq xmm0, qword [edi + 6]
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 0x43edd8
mov dword [ebp - 0x168], 0x172001c2
mov byte [ebp - 0x164], 0
movq qword [ebp - 0x155], xmm0
mov byte [ebp - 0x14b], al
call fcn.00414960
add esp, 0xc
test al, al
je 0x40936a
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40936a
push 0x100
lea eax, [ebp - 0x149]
mov byte [ebp - 0x14a], 0
push eax
push str.Data
call fcn.00414c00
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x120
lea eax, [ebp - 0x168]
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x100
lea eax, [ebp - 0x149]
mov byte [ebp - 0x14a], 1
push 0xff
push eax
call fcn.004190e0
add esp, 0xc
lea eax, [ebp - 0x168]
push 0x120
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
cmp byte [edi], 0xc1
jne 0x4093c5
mov al, byte [edi + 3]
jmp 0x4093c8
mov al, byte [edi + 4]
movzx eax, al
cmp eax, 0x44
ja case.0x407922.1
movzx eax, byte [eax + 0x40d02c]
jmp dword [eax*4 + 0x40cfe4]
push esi
push edi
call fcn.00402470
jmp case.0x407922.1
push esi
push edi
call fcn.00402600
jmp case.0x407922.1
push esi
push edi
call fcn.004027c0
jmp case.0x407922.1
push esi
push edi
call fcn.00402ac0
jmp case.0x407922.1
push esi
push edi
call fcn.00402e50
jmp case.0x407922.1
cmp byte [edi + 0x13], 0
mov edx, 0x14
movzx eax, word [edi + 6]
movq xmm0, qword [edi + 8]
mov word [ebp - 0x1826], ax
movzx eax, word [edi + 0x10]
mov word [ebp - 0x181c], ax
mov al, byte [edi + 0x12]
mov byte [ebp - 0x182c], 0xc2
mov word [ebp - 0x1829], 0x518
mov dword [ebp - 0x18b4], edx
movq qword [ebp - 0x1824], xmm0
mov byte [ebp - 0x181a], al
mov byte [ebp - 0x1819], 0
mov dword [ebp - 0x1c], 0
jbe 0x40af21
lea eax, [ebp - 0x1034]
mov dword [ebp - 0x2c], eax
lea esi, [edi + 0x18]
nop dword [eax]
push dword [esi]
push str.SELECT_Time_FROM_CashShopPeriodicItem_WHERE_ItemSerial_d
push 0x43edd8
call fcn.00414960
add esp, 0xc
test al, al
je 0x409517
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x409517
mov al, byte [esi - 4]
mov byte [ebp - 0x18c4], al
mov eax, dword [esi]
push str.Time
mov dword [ebp - 0x18c0], eax
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x4094de
or eax, eax
jmp 0x4094ef
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push dword [0x43ede4]
mov dword [ebp - 0x18b8], eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov eax, dword [ebp - 0x18b8]
jmp 0x409574
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0
push dword [esi]
push str.INSERT_INTO_CashShopPeriodicItem__ItemSerial_Time__VALUES___d__d_
push 0x43edd8
call fcn.00414960
add esp, 0x10
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov al, byte [esi - 4]
mov byte [ebp - 0x18c4], al
mov eax, dword [esi]
mov dword [ebp - 0x18c0], eax
xor eax, eax
mov ecx, dword [ebp - 0x2c]
add esi, 8
movq xmm0, qword [ebp - 0x18c4]
mov edx, dword [ebp - 0x18b4]
inc byte [ebp - 0x1819]
add edx, 0xc
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
add ecx, 0xc
movzx eax, byte [edi + 0x13]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x1c]
inc ecx
mov dword [ebp - 0x18b4], edx
mov dword [ebp - 0x1c], ecx
cmp ecx, eax
jl 0x409490
jmp 0x40af1b
movzx eax, word [edi + 4]
lea ecx, [edi + 6]
movq xmm0, qword [ecx]
mov word [ebp - 0x1840], ax
movzx eax, word [ecx + 8]
mov word [ebp - 0x1836], ax
mov al, byte [ecx + 0xa]
mov byte [ebp - 0x1834], al
mov eax, dword [edi + 0x14]
push ecx
mov dword [ebp - 0x1830], eax
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x182c], eax
mov eax, dword [edi + 0x1c]
push str.SELECT__FROM_CashShopData_WHERE_AccountID_s
push 0x43edd8
mov dword [ebp - 0x1844], 0x6182cc1
movq qword [ebp - 0x183e], xmm0
mov dword [ebp - 0x1828], eax
call fcn.00414960
add esp, 0xc
test al, al
je 0x4096ec
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x4096ec
push str.WCoinC
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x409653
or eax, eax
jmp 0x409664
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push str.WCoinP
mov dword [ebp - 0x1824], eax
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40967d
or eax, eax
jmp 0x40968e
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push str.GoblinPoint
mov dword [ebp - 0x1820], eax
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x4096a7
or eax, eax
jmp 0x4096b8
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push dword [0x43ede4]
mov dword [ebp - 0x181c], eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x2c
lea eax, [ebp - 0x1844]
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x2c
lea eax, [ebp - 0x1844]
mov dword [ebp - 0x1824], 0
push eax
push esi
mov dword [ebp - 0x1820], 0
mov dword [ebp - 0x181c], 0
call fcn.00416260
jmp case.0x407922.1
push edi
call fcn.00403140
jmp case.0x407922.1
push edi
call fcn.004032f0
jmp case.0x407922.1
cmp byte [edi + 0x13], 0
mov eax, 0x13
mov esi, dword [sym.imp.ODBC32.dll_SQLBindParameter]
mov ecx, 8
cmovne ecx, eax
push 0x5d08e0
push 0
mov ax, word [ecx + edi + 8]
movq xmm0, qword [ecx + edi]
mov word [ebp - 0x18], ax
mov al, byte [ecx + edi + 0xa]
mov byte [ebp - 0x16], al
lea eax, [edi + 0x39]
push eax
push 0
push 0xb
push 0xc
push 1
push 1
push 1
push dword [0x43ede4]
movq qword [ebp - 0x20], xmm0
mov dword [0x5d08e0], 0xfffffffd
call esi
push 0x5d08e4
push 0
lea eax, [edi + 0x44]
mov dword [0x5d08e4], 0xfffffffd
push eax
push 0
push 0xc8
push 0xc
push 1
push 1
push 2
push dword [0x43ede4]
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 - 0x20]
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 0x43edd8
call fcn.00414960
add esp, 0x2c
jmp 0x40afb5
push dword [edi + 0x1c]
push str.DELETE_FROM_CashShopInventory_WHERE_BaseItemCode_d
push 0x43edd8
call fcn.00414960
add esp, 0xc
jmp 0x40afb5
cmp byte [edi + 0x13], 0
mov dword [ebp - 0x1c], 0
jbe case.0x407922.1
lea esi, [edi + 0x14]
nop
push dword [esi]
push str.SELECT_ItemSerial_FROM_CashShopPeriodicItem_WHERE_ItemSerial_d
push 0x43edd8
call fcn.00414960
add esp, 0xc
test al, al
je 0x409890
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x409890
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
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 0x4098b4
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
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 0x43edd8
call fcn.00414960
add esp, 0x10
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov ecx, dword [ebp - 0x1c]
add esi, 8
movzx eax, byte [edi + 0x13]
inc ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, eax
jl 0x409840
jmp case.0x407922.1
cmp byte [edi + 0x13], 0
mov ecx, 0x14
movzx eax, word [edi + 6]
movq xmm0, qword [edi + 8]
mov word [ebp - 0x1826], ax
movzx eax, word [edi + 0x10]
mov word [ebp - 0x181c], ax
mov al, byte [edi + 0x12]
mov byte [ebp - 0x182c], 0xc2
mov word [ebp - 0x1829], 0x4018
mov dword [ebp - 0x2c], ecx
movq qword [ebp - 0x1824], xmm0
mov byte [ebp - 0x181a], al
mov byte [ebp - 0x1819], 0
mov dword [ebp - 0x18b4], 0
jbe 0x409ff2
lea eax, [ebp - 0x1804]
mov dword [ebp - 0x18b8], eax
lea esi, [edi + 0x18]
push dword [esi]
push str.SELECT_Deaths_FROM_DeathSystem_WHERE_m_Serial_d
push 0x43edd8
call fcn.00414960
add esp, 0xc
test al, al
je 0x4099e2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x4099e2
mov al, byte [esi - 4]
mov byte [ebp - 0x18c4], al
mov eax, dword [esi]
push str.Deaths
mov dword [ebp - 0x1c], eax
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x4099af
or eax, eax
jmp 0x4099c0
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push dword [0x43ede4]
mov dword [ebp - 0x18c0], eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
jmp 0x409a44
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0
push dword [esi]
push str.INSERT_INTO_DeathSystem___m_Serial____Deaths___VALUES___d_0_
push 0x43edd8
call fcn.00414960
add esp, 0x10
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov al, byte [esi - 4]
mov byte [ebp - 0x18c4], al
mov eax, dword [esi]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18c0], 0
mov eax, dword [ebp - 0x18b8]
add esi, 8
movq xmm0, qword [ebp - 0x18c4]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18b4]
inc byte [ebp - 0x1819]
inc edx
movq qword [eax], xmm0
mov dword [eax + 8], ecx
add eax, 0xc
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18b8], eax
add ecx, 0xc
movzx eax, byte [edi + 0x13]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x18b4], edx
cmp edx, eax
jl 0x409964
jmp 0x409fec
cmp byte [edi + 0x13], 0
mov ecx, 0x14
movzx eax, word [edi + 6]
movq xmm0, qword [edi + 8]
mov word [ebp - 0x1826], ax
movzx eax, word [edi + 0x10]
mov word [ebp - 0x181c], ax
mov al, byte [edi + 0x12]
mov byte [ebp - 0x182c], 0xc2
mov word [ebp - 0x1829], 0x4118
mov dword [ebp - 0x2c], ecx
movq qword [ebp - 0x1824], xmm0
mov byte [ebp - 0x181a], al
mov byte [ebp - 0x1819], 0
mov dword [ebp - 0x18b4], 0
jbe 0x409ff2
lea eax, [ebp - 0x1804]
mov dword [ebp - 0x18b8], eax
lea esi, [edi + 0x18]
push dword [esi]
push str.SELECT_Deaths_FROM_DeathSystem_WHERE_m_Serial_d
push 0x43edd8
call fcn.00414960
add esp, 0xc
test al, al
je 0x409b81
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x409b81
mov al, byte [esi - 4]
mov byte [ebp - 0x18c4], al
mov eax, dword [esi]
push str.Deaths
mov dword [ebp - 0x1c], eax
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x409b4e
or eax, eax
jmp 0x409b5f
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push dword [0x43ede4]
mov dword [ebp - 0x18c0], eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
jmp 0x409be3
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0
push dword [esi]
push str.INSERT_INTO_DeathSystem___m_Serial____Deaths___VALUES___d_0_
push 0x43edd8
call fcn.00414960
add esp, 0x10
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov al, byte [esi - 4]
mov byte [ebp - 0x18c4], al
mov eax, dword [esi]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18c0], 0
mov eax, dword [ebp - 0x18b8]
add esi, 8
movq xmm0, qword [ebp - 0x18c4]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18b4]
inc byte [ebp - 0x1819]
inc edx
movq qword [eax], xmm0
mov dword [eax + 8], ecx
add eax, 0xc
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18b8], eax
add ecx, 0xc
movzx eax, byte [edi + 0x13]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x18b4], edx
cmp edx, eax
jl 0x409b03
jmp 0x409fec
cmp byte [edi + 0x10], 1
mov esi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
jne 0x409c6e
push dword [edi + 8]
push dword [edi + 0xc]
push str.UPDATE_DeathSystem_SET_DeathsDeaths_d_where_m_Serial_d
push 0x43edd8
call fcn.00414960
add esp, 0x10
push dword [0x43ede4]
call esi
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
cmp byte [edi + 0x10], 2
jne case.0x407922.1
push dword [edi + 8]
push dword [edi + 0xc]
push str.UPDATE_DeathSystem_SET_DeathsDeaths__d_where_m_Serial_d
push 0x43edd8
call fcn.00414960
add esp, 0x10
push dword [0x43ede4]
call esi
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
jmp case.0x407922.1
cmp byte [edi + 0x13], 0
mov ecx, 0x14
movzx eax, word [edi + 6]
movq xmm0, qword [edi + 8]
mov word [ebp - 0x1826], ax
movzx eax, word [edi + 0x10]
mov word [ebp - 0x181c], ax
mov al, byte [edi + 0x12]
mov byte [ebp - 0x182c], 0xc2
mov word [ebp - 0x1829], 0x4318
mov dword [ebp - 0x2c], ecx
movq qword [ebp - 0x1824], xmm0
mov byte [ebp - 0x181a], al
mov byte [ebp - 0x1819], 0
mov dword [ebp - 0x18b4], 0
jbe 0x409ff2
lea eax, [ebp - 0x1804]
mov dword [ebp - 0x18b8], eax
lea esi, [edi + 0x18]
nop dword [eax]
push dword [esi]
push str.SELECT_Deaths_FROM_DeathSystem_WHERE_m_Serial_d
push 0x43edd8
call fcn.00414960
add esp, 0xc
test al, al
je 0x409d9e
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x409d9e
mov al, byte [esi - 4]
mov byte [ebp - 0x18c4], al
mov eax, dword [esi]
push str.Deaths
mov dword [ebp - 0x1c], eax
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x409d6b
or eax, eax
jmp 0x409d7c
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push dword [0x43ede4]
mov dword [ebp - 0x18c0], eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
jmp 0x409e00
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0
push dword [esi]
push str.INSERT_INTO_DeathSystem___m_Serial____Deaths___VALUES___d_0_
push 0x43edd8
call fcn.00414960
add esp, 0x10
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov al, byte [esi - 4]
mov byte [ebp - 0x18c4], al
mov eax, dword [esi]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18c0], 0
mov eax, dword [ebp - 0x18b8]
add esi, 8
movq xmm0, qword [ebp - 0x18c4]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18b4]
inc byte [ebp - 0x1819]
inc edx
movq qword [eax], xmm0
mov dword [eax + 8], ecx
add eax, 0xc
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18b8], eax
add ecx, 0xc
movzx eax, byte [edi + 0x13]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x18b4], edx
cmp edx, eax
jl 0x409d20
jmp 0x409fec
cmp byte [edi + 0x13], 0
mov ecx, 0x14
movzx eax, word [edi + 6]
movq xmm0, qword [edi + 8]
mov word [ebp - 0x1826], ax
movzx eax, word [edi + 0x10]
mov word [ebp - 0x181c], ax
mov al, byte [edi + 0x12]
mov byte [ebp - 0x182c], 0xc2
mov word [ebp - 0x1829], 0x4418
mov dword [ebp - 0x2c], ecx
movq qword [ebp - 0x1824], xmm0
mov byte [ebp - 0x181a], al
mov byte [ebp - 0x1819], 0
mov dword [ebp - 0x18b4], 0
jbe 0x409ff2
lea eax, [ebp - 0x1804]
mov dword [ebp - 0x18b8], eax
lea esi, [edi + 0x18]
nop
push dword [esi]
push str.SELECT_Deaths_FROM_DeathSystem_WHERE_m_Serial_d
push 0x43edd8
call fcn.00414960
add esp, 0xc
test al, al
je 0x409f3e
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x409f3e
mov al, byte [esi - 4]
mov byte [ebp - 0x18c4], al
mov eax, dword [esi]
push str.Deaths
mov dword [ebp - 0x1c], eax
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x409f0b
or eax, eax
jmp 0x409f1c
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push dword [0x43ede4]
mov dword [ebp - 0x18c0], eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
jmp 0x409fa0
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0
push dword [esi]
push str.INSERT_INTO_DeathSystem___m_Serial____Deaths___VALUES___d_0_
push 0x43edd8
call fcn.00414960
add esp, 0x10
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov al, byte [esi - 4]
mov byte [ebp - 0x18c4], al
mov eax, dword [esi]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18c0], 0
mov eax, dword [ebp - 0x18b8]
add esi, 8
movq xmm0, qword [ebp - 0x18c4]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18b4]
inc byte [ebp - 0x1819]
inc edx
movq qword [eax], xmm0
mov dword [eax + 8], ecx
add eax, 0xc
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18b8], eax
add ecx, 0xc
movzx eax, byte [edi + 0x13]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x18b4], edx
cmp edx, eax
jl 0x409ec0
mov esi, dword [ebp - 0x18cc]
mov eax, ecx
mov byte [ebp - 0x182a], cl
shr eax, 8
mov byte [ebp - 0x182b], al
mov eax, dword [ebp - 0x181c]
movups xmm0, xmmword [ebp - 0x182c]
mov dword [ebp - 0x1808], eax
lea eax, [ebp - 0x1818]
push ecx
push eax
push esi
movups xmmword [ebp - 0x1818], xmm0
call fcn.00416260
jmp case.0x407922.1
cmp byte [edi], 0xc1
jne 0x40a03a
mov al, byte [edi + 3]
jmp 0x40a03d
mov al, byte [edi + 4]
movzx eax, al
cmp eax, 0x31
ja case.0x407922.1
movzx eax, byte [eax + 0x40d08c]
jmp dword [eax*4 + 0x40d074]
movzx eax, word [edi + 4]
add edi, 6
mov word [ebp - 0x182c], ax
push edi
push str.SELECT__FROM_PcPointData_WHERE_AccountID_s
movzx eax, word [edi + 8]
movq xmm0, qword [edi]
mov word [ebp - 0x1822], ax
mov al, byte [edi + 0xa]
push 0x43edd8
mov dword [ebp - 0x1830], 0x1918c1
movq qword [ebp - 0x182a], xmm0
mov byte [ebp - 0x1820], al
mov byte [ebp - 0x181f], 0
call fcn.00414960
add esp, 0xc
test al, al
je 0x40a117
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40a117
push str.PcPoint
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40a0d2
or eax, eax
jmp 0x40a0e3
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push dword [0x43ede4]
mov dword [ebp - 0x181c], eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x18
lea eax, [ebp - 0x1830]
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push edi
push str.INSERT_INTO_PcPointData__AccountID_PcPoint__VALUES___s_0_
push 0x43edd8
call fcn.00414960
add esp, 0xc
test al, al
mov eax, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push dword [0x43ede4]
jne 0x40a17f
call eax
mov eax, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call eax
push 0x18
lea eax, [ebp - 0x1830]
mov byte [ebp - 0x181f], 1
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
call eax
mov eax, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call eax
push 0x18
lea eax, [ebp - 0x1830]
mov dword [ebp - 0x181c], 0
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
movzx eax, word [edi + 4]
lea ecx, [edi + 6]
movq xmm0, qword [ecx]
mov word [ebp - 0x182c], ax
movzx eax, word [ecx + 8]
mov word [ebp - 0x1822], ax
mov al, byte [ecx + 0xa]
push ecx
mov byte [ebp - 0x1820], al
mov al, byte [edi + 0x11]
push str.SELECT__FROM_PcPointData_WHERE_AccountID_s
push 0x43edd8
mov dword [ebp - 0x1830], 0x11918c1
movq qword [ebp - 0x182a], xmm0
mov byte [ebp - 0x181f], 0
mov byte [ebp - 0x181e], al
call fcn.00414960
add esp, 0xc
test al, al
je 0x40a277
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40a277
push str.PcPoint
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40a232
or eax, eax
jmp 0x40a243
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push dword [0x43ede4]
mov dword [ebp - 0x181c], eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x18
lea eax, [ebp - 0x1830]
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x18
lea eax, [ebp - 0x1830]
mov byte [ebp - 0x181f], 1
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
movzx eax, word [edi + 4]
lea ecx, [edi + 6]
movq xmm0, qword [ecx]
mov word [ebp - 0x1838], ax
movzx eax, word [ecx + 8]
mov word [ebp - 0x182e], ax
mov al, byte [ecx + 0xa]
mov byte [ebp - 0x182c], al
mov eax, dword [edi + 0x14]
push ecx
mov dword [ebp - 0x1828], eax
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x1824], eax
mov eax, dword [edi + 0x1c]
push str.SELECT__FROM_PcPointData_WHERE_AccountID_s
push 0x43edd8
mov dword [ebp - 0x183c], 0x21924c1
movq qword [ebp - 0x1836], xmm0
mov dword [ebp - 0x1820], eax
call fcn.00414960
add esp, 0xc
test al, al
je 0x40a380
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40a380
push str.PcPoint
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40a33b
or eax, eax
jmp 0x40a34c
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push dword [0x43ede4]
mov dword [ebp - 0x181c], eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x24
lea eax, [ebp - 0x183c]
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x24
lea eax, [ebp - 0x183c]
mov dword [ebp - 0x181c], 0
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
lea eax, [edi + 6]
push eax
push str.SELECT_PcPoint_FROM_PcPointData_WHERE_AccountID_s
push 0x43edd8
mov dword [ebp - 0x2c], eax
call fcn.00414960
add esp, 0xc
test al, al
je 0x40a453
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40a453
push str.PcPoint
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40a3ff
mov dword [ebp - 0x1c], eax
jmp 0x40a413
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
mov dword [ebp - 0x1c], eax
push dword [0x43ede4]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call esi
mov ecx, dword [ebp - 0x18b4]
push dword [ebp - 0x2c]
mov eax, dword [ecx + 0x14]
add eax, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x18]
cmp eax, ecx
cmovbe ecx, eax
push ecx
push str.UPDATE_PcPointData_SET_PcPoint_d_WHERE_AccountID_s
jmp 0x4089ea
push dword [0x43ede4]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call esi
mov ecx, dword [ebp - 0x18b4]
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
cmp eax, ecx
cmovbe ecx, eax
push ecx
push dword [ebp - 0x2c]
push str.INSERT_INTO_PcPointData__AccountID_PcPoint__VALUES___s__d_
jmp 0x4089ea
lea eax, [edi + 6]
push eax
push str.SELECT_PcPoint_FROM_PcPointData_WHERE_AccountID_s
push 0x43edd8
mov dword [ebp - 0x1c], eax
call fcn.00414960
add esp, 0xc
test al, al
je 0x40a539
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40a539
push str.PcPoint
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40a4da
mov dword [ebp - 0x18b8], eax
jmp 0x40a4f1
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
mov dword [ebp - 0x18b8], eax
push dword [0x43ede4]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call esi
mov eax, dword [ebp - 0x18b4]
mov ecx, dword [ebp - 0x18b8]
push dword [ebp - 0x1c]
mov edx, dword [eax + 0x14]
sub ecx, edx
xor eax, eax
cmp edx, dword [ebp - 0x18b8]
cmovbe eax, ecx
push eax
push str.UPDATE_PcPointData_SET_PcPoint_d_WHERE_AccountID_s
jmp 0x4089ea
push dword [0x43ede4]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call esi
push 0
push 0
push 0
push dword [ebp - 0x1c]
push str.INSERT_INTO_PcPointData__AccountID_PcPoint__VALUES___s__d_
push 0x43edd8
call fcn.00414960
add esp, 0x18
jmp 0x4089f7
cmp byte [edi], 0xc1
jne 0x40a581
mov al, byte [edi + 3]
jmp 0x40a584
mov al, byte [edi + 4]
movzx eax, al
cmp eax, 0x31
ja case.0x407922.1
movzx eax, byte [eax + 0x40d0d8]
jmp dword [eax*4 + 0x40d0c0]
movzx eax, word [edi + 4]
add edi, 6
mov word [ebp - 0x182c], ax
push edi
push str.SELECT__FROM_LuckyCoin_WHERE_AccountID_s
movzx eax, word [edi + 8]
movq xmm0, qword [edi]
mov word [ebp - 0x1822], ax
mov al, byte [edi + 0xa]
push 0x43edd8
mov dword [ebp - 0x1830], 0x1a18c1
movq qword [ebp - 0x182a], xmm0
mov byte [ebp - 0x1820], al
mov byte [ebp - 0x181f], 0
call fcn.00414960
add esp, 0xc
test al, al
je 0x40a610
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40a610
push str.LuckyCoin
jmp 0x40a0c4
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push edi
push str.INSERT_INTO_LuckyCoin__AccountID_LuckyCoin__VALUES___s_0_
jmp 0x40a137
movzx eax, word [edi + 4]
lea ecx, [edi + 6]
movq xmm0, qword [ecx]
mov word [ebp - 0x182c], ax
movzx eax, word [ecx + 8]
mov word [ebp - 0x1822], ax
mov al, byte [ecx + 0xa]
push ecx
mov byte [ebp - 0x1820], al
mov al, byte [edi + 0x11]
push str.SELECT__FROM_LuckyCoin_WHERE_AccountID_s
push 0x43edd8
mov dword [ebp - 0x1830], 0x11a18c1
movq qword [ebp - 0x182a], xmm0
mov byte [ebp - 0x181f], 0
mov byte [ebp - 0x181e], al
call fcn.00414960
add esp, 0xc
test al, al
je 0x40a277
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40a277
push str.LuckyCoin
jmp 0x40a224
movzx eax, word [edi + 4]
lea ecx, [edi + 6]
movq xmm0, qword [ecx]
mov word [ebp - 0x1830], ax
movzx eax, word [ecx + 8]
mov word [ebp - 0x1826], ax
mov al, byte [ecx + 0xa]
push ecx
mov byte [ebp - 0x1824], al
mov eax, dword [edi + 0x14]
push str.SELECT__FROM_LuckyCoin_WHERE_AccountID_s
push 0x43edd8
mov dword [ebp - 0x1834], 0x21a1cc1
movq qword [ebp - 0x182e], xmm0
mov byte [ebp - 0x1823], 0
mov dword [ebp - 0x1820], eax
call fcn.00414960
add esp, 0xc
test al, al
je 0x40a781
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40a781
push str.LuckyCoin
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40a73c
or eax, eax
jmp 0x40a74d
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push dword [0x43ede4]
mov dword [ebp - 0x181c], eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x1c
lea eax, [ebp - 0x1834]
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x1c
lea eax, [ebp - 0x1834]
mov byte [ebp - 0x1823], 1
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
lea eax, [edi + 6]
push eax
push str.SELECT_LuckyCoin_FROM_LuckyCoin_WHERE_AccountID_s
push 0x43edd8
mov dword [ebp - 0x2c], eax
call fcn.00414960
add esp, 0xc
test al, al
je 0x40a854
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40a854
push str.LuckyCoin
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40a7fd
mov dword [ebp - 0x1c], eax
jmp 0x40a811
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
mov dword [ebp - 0x1c], eax
push dword [0x43ede4]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call esi
mov eax, dword [ebp - 0x18b4]
mov ecx, closesocket
mov eax, dword [eax + 0x14]
add eax, dword [ebp - 0x1c]
cmp eax, ecx
cmova eax, ecx
mov ecx, dword [ebp - 0x2c]
push ecx
push eax
push str.UPDATE_LuckyCoin_SET_LuckyCoin_d_WHERE_AccountID_s
jmp 0x4089ea
push dword [0x43ede4]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call esi
mov eax, dword [ebp - 0x18b4]
push dword [eax + 0x14]
lea ecx, [eax + 6]
push ecx
push str.INSERT_INTO_LuckyCoin__AccountID_LuckyCoin__VALUES___s__d_
jmp 0x4089ea
lea eax, [edi + 6]
push eax
push str.SELECT_LuckyCoin_FROM_LuckyCoin_WHERE_AccountID_s
push 0x43edd8
mov dword [ebp - 0x1c], eax
call fcn.00414960
add esp, 0xc
test al, al
je 0x40a932
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40a932
push str.LuckyCoin
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40a8d3
mov dword [ebp - 0x18b8], eax
jmp 0x40a8ea
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
mov dword [ebp - 0x18b8], eax
push dword [0x43ede4]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call esi
mov eax, dword [ebp - 0x18b4]
mov ecx, dword [ebp - 0x18b8]
push dword [ebp - 0x1c]
mov edx, dword [eax + 0x14]
sub ecx, edx
xor eax, eax
cmp edx, dword [ebp - 0x18b8]
cmovbe eax, ecx
push eax
push str.UPDATE_LuckyCoin_SET_LuckyCoin_d_WHERE_AccountID_s
jmp 0x4089ea
push dword [0x43ede4]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call esi
push 0
push 0
push 0
push dword [ebp - 0x1c]
push str.INSERT_INTO_LuckyCoin__AccountID_LuckyCoin__VALUES___s__d_
push 0x43edd8
call fcn.00414960
add esp, 0x18
jmp 0x4089f7
mov ax, word [edi + 4]
mov cl, 0x10
mov word [ebp - 0x18c4], ax
mov eax, dword [edi + 8]
mov dword [ebp - 0x18c0], eax
mov eax, dword [edi + 0xc]
xor edi, edi
mov word [ebp - 0x18c8], 0x10c1
xor esi, esi
mov byte [ebp - 0x18c6], 0x1e
mov dword [ebp - 0x18bc], eax
mov eax, dword [esi + 0x5d28ac]
test eax, eax
js 0x40a9db
cmp eax, 0x14
jge 0x40a9db
cmp dword [esi + 0x5d28b0], 0
je 0x40a9db
cmp dword [esi + 0x5d28c4], 0xffffffff
je 0x40a9db
movzx eax, cl
push eax
lea eax, [ebp - 0x18c8]
push eax
push edi
call fcn.00416260
mov cl, byte [ebp - 0x18c7]
add esi, 0x68
inc edi
cmp esi, 0x820
jl 0x40a9a3
jmp case.0x407922.1
movzx eax, word [edi + 4]
push eax
push str.EXEC_WZ_CW_InfoLoad__d
push 0x43edd8
mov word [ebp - 0x18c8], 0x10c1
mov byte [ebp - 0x18c6], 0x1f
mov word [ebp - 0x18c4], ax
call fcn.00414960
add esp, 0xc
test al, al
je 0x40aaba
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40aaba
push str.CRYWOLF_STATE
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40aa4b
or eax, eax
jmp 0x40aa5c
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push str.CRYWOLF_OCCUFY
mov dword [ebp - 0x18c0], eax
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40aa75
or eax, eax
jmp 0x40aa86
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push dword [0x43ede4]
mov dword [ebp - 0x18bc], eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x10
lea eax, [ebp - 0x18c8]
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x10
lea eax, [ebp - 0x18c8]
mov dword [ebp - 0x18c0], 0
push eax
push esi
mov dword [ebp - 0x18bc], 0
call fcn.00416260
jmp case.0x407922.1
movq xmm0, qword [edi + 7]
mov cl, 0x80
movzx eax, word [edi + 4]
movq qword [ebp - 0xc1], xmm0
movups xmm0, xmmword [edi + 0x12]
mov word [ebp - 0xc4], ax
mov al, byte [edi + 6]
movups xmmword [ebp - 0xb6], xmm0
mov byte [ebp - 0xc2], al
movups xmm0, xmmword [edi + 0x22]
movzx eax, word [edi + 0xf]
mov word [ebp - 0xb9], ax
mov al, byte [edi + 0x11]
movups xmmword [ebp - 0xa6], xmm0
mov byte [ebp - 0xb7], al
movups xmm0, xmmword [edi + 0x32]
mov eax, dword [edi + 0x4a]
mov dword [ebp - 0x7e], eax
movzx eax, word [edi + 0x7e]
movups xmmword [ebp - 0x96], xmm0
mov word [ebp - 0xc8], 0x80c1
movq xmm0, qword [edi + 0x42]
movq qword [ebp - 0x86], xmm0
movups xmm0, xmmword [edi + 0x4e]
mov byte [ebp - 0xc6], 0x20
mov word [ebp - 0x4a], ax
movups xmmword [ebp - 0x7a], xmm0
movups xmm0, xmmword [edi + 0x5e]
movups xmmword [ebp - 0x6a], xmm0
movups xmm0, xmmword [edi + 0x6e]
xor edi, edi
xor esi, esi
movups xmmword [ebp - 0x5a], xmm0
nop dword [eax + eax]
mov eax, dword [esi + 0x5d28ac]
test eax, eax
js 0x40abd8
cmp eax, 0x14
jge 0x40abd8
cmp dword [esi + 0x5d28b0], 0
je 0x40abd8
cmp dword [esi + 0x5d28c4], 0xffffffff
je 0x40abd8
movzx eax, cl
push eax
lea eax, [ebp - 0xc8]
push eax
push edi
call fcn.00416260
mov cl, byte [ebp - 0xc7]
add esi, 0x68
inc edi
cmp esi, 0x820
jl 0x40aba0
jmp case.0x407922.1
movzx eax, word [edi + 4]
lea esi, [edi + 0x11]
mov word [ebp - 0x10c], ax
mov ecx, 0x20
mov al, byte [edi + 6]
mov byte [ebp - 0x10a], al
mov al, byte [edi + 7]
mov byte [ebp - 0x109], al
mov al, byte [edi + 8]
mov byte [ebp - 0x108], al
movzx eax, word [edi + 0xa]
mov word [ebp - 0x106], ax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x104], eax
mov al, byte [edi + 0x10]
lea edi, [ebp - 0xff]
mov word [ebp - 0x110], 0xc4c1
mov byte [ebp - 0x10e], 0x21
mov byte [ebp - 0x100], al
rep movsd dword es:[edi], dword [esi]
xor edi, edi
xor esi, esi
mov eax, dword [esi + 0x5d28ac]
test eax, eax
js 0x40ac86
cmp eax, 0x14
jge 0x40ac86
cmp dword [esi + 0x5d28b0], 0
je 0x40ac86
cmp dword [esi + 0x5d28c4], 0xffffffff
je 0x40ac86
movzx eax, byte [ebp - 0x10f]
push eax
lea eax, [ebp - 0x110]
push eax
push edi
call fcn.00416260
add esi, 0x68
inc edi
cmp esi, 0x820
jl 0x40ac50
jmp case.0x407922.1
cmp byte [edi], 0xc1
jne 0x40aca1
mov al, byte [edi + 3]
jmp 0x40aca4
mov al, byte [edi + 4]
test al, al
je 0x40ad86
cmp al, 0x4a
jne case.0x407922.1
cmp byte [edi + 0x13], 0
mov dword [ebp - 0x1c], 0
jbe case.0x407922.1
lea esi, [edi + 0x14]
nop dword [eax + eax]
push dword [esi]
push str.SELECT_ItemSerial_FROM_LuckyItem_WHERE_ItemSerial_d
push 0x43edd8
call fcn.00414960
add esp, 0xc
test al, al
je 0x40ad20
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40ad20
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
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 0x40ad44
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
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 0x43edd8
call fcn.00414960
add esp, 0x10
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov ecx, dword [ebp - 0x1c]
add esi, 8
movzx eax, byte [edi + 0x13]
inc ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, eax
jl 0x40acd0
jmp case.0x407922.1
cmp byte [edi + 0x13], 0
mov edx, 0x14
movzx eax, word [edi + 6]
movq xmm0, qword [edi + 8]
mov word [ebp - 0x1826], ax
movzx eax, word [edi + 0x10]
mov word [ebp - 0x181c], ax
mov al, byte [edi + 0x12]
mov byte [ebp - 0x182c], 0xc2
mov word [ebp - 0x1829], 0x22
mov dword [ebp - 0x2c], edx
movq qword [ebp - 0x1824], xmm0
mov byte [ebp - 0x181a], al
mov byte [ebp - 0x1819], 0
mov dword [ebp - 0x18b4], 0
jbe 0x40af21
lea eax, [ebp - 0x1034]
mov dword [ebp - 0x18b8], eax
lea esi, [edi + 0x18]
push dword [esi]
push str.SELECT_DurabilitySmall_FROM_LuckyItem_WHERE_ItemSerial_d
push 0x43edd8
call fcn.00414960
add esp, 0xc
test al, al
je 0x40ae75
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40ae75
mov al, byte [esi - 4]
mov byte [ebp - 0x18c4], al
mov eax, dword [esi]
push str.DurabilitySmall
mov dword [ebp - 0x18c0], eax
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40ae42
or eax, eax
jmp 0x40ae53
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push dword [0x43ede4]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov eax, dword [ebp - 0x1c]
jmp 0x40aed2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0
push dword [esi]
push str.INSERT_INTO_LuckyItem__ItemSerial_DurabilitySmall__VALUES___d__d_
push 0x43edd8
call fcn.00414960
add esp, 0x10
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov al, byte [esi - 4]
mov byte [ebp - 0x18c4], al
mov eax, dword [esi]
mov dword [ebp - 0x18c0], eax
xor eax, eax
mov ecx, dword [ebp - 0x18b8]
add esi, 8
movq xmm0, qword [ebp - 0x18c4]
mov edx, dword [ebp - 0x2c]
inc byte [ebp - 0x1819]
add edx, 0xc
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
add ecx, 0xc
movzx eax, byte [edi + 0x13]
mov dword [ebp - 0x18b8], ecx
mov ecx, dword [ebp - 0x18b4]
inc ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x18b4], ecx
cmp ecx, eax
jl 0x40adf4
mov esi, dword [ebp - 0x18cc]
mov eax, edx
mov byte [ebp - 0x182a], dl
shr eax, 8
mov byte [ebp - 0x182b], al
mov eax, dword [ebp - 0x181c]
movups xmm0, xmmword [ebp - 0x182c]
mov dword [ebp - 0x1038], eax
lea eax, [ebp - 0x1048]
push edx
push eax
push esi
movups xmmword [ebp - 0x1048], xmm0
call fcn.00416260
jmp case.0x407922.1
mov ecx, edi
call fcn.0040f4a0
jmp case.0x407922.1
push 0x5d08e0
push 0
lea eax, [edi + 0x1c]
mov dword [0x5d08e0], 0xf90
push eax
push 0
push 0xf90
push 0xfffffffffffffffd
push 0xfffffffffffffffe
push 1
push 1
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLBindParameter]
lea eax, [edi + 0x11]
push eax
lea eax, [edi + 6]
push eax
push str.UPDATE_Character_SET_Inventory__WHERE_AccountID_s_AND_Name_s
push 0x43edd8
call fcn.00414960
add esp, 0x10
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
jmp case.0x407922.1
mov ecx, edi
call fcn.0040f770
jmp case.0x407922.1
cmp byte [edi + 0x11], 0
mov dword [ebp - 0x1c], 0
jbe case.0x407922.1
lea esi, [edi + 0x16]
nop dword [eax]
nop dword [eax + eax]
push dword [esi - 4]
push str.SELECT_ItemSerial_FROM_T_PetItem_Info_WHERE_ItemSerial_d
push 0x43edd8
call fcn.00414960
add esp, 0xc
test al, al
je 0x40b056
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40b056
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
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 0x40b07f
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
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 0x43edd8
call fcn.00414960
add esp, 0x14
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov ecx, dword [ebp - 0x1c]
add esi, 0xc
movzx eax, byte [edi + 0x11]
inc ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, eax
jl 0x40b000
jmp case.0x407922.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 0x43edd8
call fcn.00414960
add esp, 0x20
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
jmp case.0x407922.1
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 0x43edd8
call fcn.00414960
add esp, 0x24
jmp 0x40b0e7
lea eax, [edi + 0x11]
push eax
push str.SELECT_Name_FROM_RankingDuel_WHERE_Name_s
push 0x43edd8
mov dword [ebp - 0x1c], eax
call fcn.00414960
add esp, 0xc
test al, al
je 0x40b1b0
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40b1b0
push dword [0x43ede4]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call esi
mov eax, dword [ebp - 0x18b4]
push dword [ebp - 0x1c]
push dword [eax + 0x20]
push dword [eax + 0x1c]
push str.UPDATE_RankingDuel_SET_WinScoreWinScore_d_LoseScoreLoseScore_d_WHERE_Name_s
push 0x43edd8
call fcn.00414960
add esp, 0x14
jmp 0x4089f7
push dword [0x43ede4]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call esi
mov eax, dword [ebp - 0x18b4]
push dword [eax + 0x20]
push dword [eax + 0x1c]
push dword [ebp - 0x1c]
push str.INSERT_INTO_RankingDuel__Name_WinScore_LoseScore__VALUES___s__d__d_
push 0x43edd8
call fcn.00414960
add esp, 0x14
jmp 0x4089f7
lea eax, [edi + 0x11]
push eax
push str.SELECT_Name_FROM_RankingBloodCastle_WHERE_Name_s
push 0x43edd8
mov dword [ebp - 0x1c], eax
call fcn.00414960
add esp, 0xc
test al, al
je 0x40b257
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40b257
push dword [0x43ede4]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call esi
mov eax, dword [ebp - 0x18b4]
push dword [ebp - 0x1c]
push dword [eax + 0x1c]
push str.UPDATE_RankingBloodCastle_SET_ScoreScore_d_WHERE_Name_s
jmp 0x4089ea
push dword [0x43ede4]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call esi
mov eax, dword [ebp - 0x18b4]
push dword [eax + 0x1c]
push dword [ebp - 0x1c]
push str.INSERT_INTO_RankingBloodCastle__Name_Score__VALUES___s__d_
jmp 0x4089ea
lea eax, [edi + 0x11]
push eax
push str.SELECT_Name_FROM_RankingChaosCastle_WHERE_Name_s
push 0x43edd8
mov dword [ebp - 0x1c], eax
call fcn.00414960
add esp, 0xc
test al, al
je 0x40b2ee
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40b2ee
push dword [0x43ede4]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call esi
mov eax, dword [ebp - 0x18b4]
push dword [ebp - 0x1c]
push dword [eax + 0x1c]
push str.UPDATE_RankingChaosCastle_SET_ScoreScore_d_WHERE_Name_s
jmp 0x4089ea
push dword [0x43ede4]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call esi
mov eax, dword [ebp - 0x18b4]
push dword [eax + 0x1c]
push dword [ebp - 0x1c]
push str.INSERT_INTO_RankingChaosCastle__Name_Score__VALUES___s__d_
jmp 0x4089ea
lea eax, [edi + 0x11]
push eax
push str.SELECT_Name_FROM_RankingDevilSquare_WHERE_Name_s
push 0x43edd8
mov dword [ebp - 0x1c], eax
call fcn.00414960
add esp, 0xc
test al, al
je 0x40b385
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40b385
push dword [0x43ede4]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call esi
mov eax, dword [ebp - 0x18b4]
push dword [ebp - 0x1c]
push dword [eax + 0x1c]
push str.UPDATE_RankingDevilSquare_SET_ScoreScore_d_WHERE_Name_s
jmp 0x4089ea
push dword [0x43ede4]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call esi
mov eax, dword [ebp - 0x18b4]
push dword [eax + 0x1c]
push dword [ebp - 0x1c]
push str.INSERT_INTO_RankingDevilSquare__Name_Score__VALUES___s__d_
jmp 0x4089ea
lea eax, [edi + 0x11]
push eax
push str.SELECT_Name_FROM_RankingIllusionTemple_WHERE_Name_s
push 0x43edd8
mov dword [ebp - 0x1c], eax
call fcn.00414960
add esp, 0xc
test al, al
je 0x40b41c
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40b41c
push dword [0x43ede4]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call esi
mov eax, dword [ebp - 0x18b4]
push dword [ebp - 0x1c]
push dword [eax + 0x1c]
push str.UPDATE_RankingIllusionTemple_SET_ScoreScore_d_WHERE_Name_s
jmp 0x4089ea
push dword [0x43ede4]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call esi
mov eax, dword [ebp - 0x18b4]
push dword [eax + 0x1c]
push dword [ebp - 0x1c]
push str.INSERT_INTO_RankingIllusionTemple__Name_Score__VALUES___s__d_
jmp 0x4089ea
lea eax, [edi + 6]
push eax
movzx eax, byte [edi + 0x11]
push eax
push str.UPDATE_AccountCharacter_SET_ExtClass_d_WHERE_Id_s
jmp 0x40afa8
push dword [edi + 0xc]
movzx eax, word [edi + 4]
push dword [edi + 8]
push eax
push str.EXEC_WZ_CW_InfoSave__d__d__d
push 0x43edd8
call fcn.00414960
add esp, 0x14
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
jmp 0x40afb5
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_CustomMonsterReward__s__s__d__d__d__d
push 0x43edd8
call fcn.00414960
add esp, 0x20
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
jmp 0x40afb5
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 0x43edd8
call fcn.00414960
add esp, 0x1c
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
jmp 0x40afb5
lea esi, [edi + 0x11]
push esi
lea eax, [ebp - 0x1834]
push eax
call fcn.004044f0
test al, al
jne case.0x407922.1
push esi
lea eax, [ebp - 0x1834]
push 0xb
push eax
call fcn.0041afdd
add esp, 0xc
lea eax, [edi + 6]
push eax
lea eax, [ebp - 0x1829]
push 0xb
push eax
call fcn.0041afdd
mov ax, word [edi + 4]
sub esp, 0x10
movups xmm0, xmmword [ebp - 0x1834]
mov word [ebp - 0x181e], ax
mov eax, dword [ebp - 0x18b8]
mov dx, word [eax + 0x5d2904]
mov eax, esp
mov word [ebp - 0x181c], dx
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x1824]
movq qword [eax + 0x10], xmm0
mov word [eax + 0x18], dx
call fcn.00404680
xor dl, dl
mov ecx, esi
call fcn.00406b20
jmp case.0x407922.1
lea esi, [edi + 0x11]
push esi
lea eax, [ebp - 0x1834]
push eax
call fcn.004044f0
test al, al
je case.0x407922.1
mov ax, word [ebp - 0x181e]
cmp ax, word [edi + 4]
jne case.0x407922.1
mov eax, dword [ebp - 0x18b8]
mov dx, word [ebp - 0x181c]
cmp dx, word [eax + 0x5d2904]
jne case.0x407922.1
movups xmm0, xmmword [ebp - 0x1834]
sub esp, 0x1c
mov eax, esp
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x1824]
movq qword [eax + 0x10], xmm0
mov word [eax + 0x18], dx
call fcn.00404a40
mov dl, 1
mov ecx, esi
call fcn.00406b20
jmp case.0x407922.1
movzx eax, word [edi + 4]
movq xmm0, qword [edi + 6]
mov word [ebp - 0x18ac], ax
movzx eax, word [edi + 0xe]
mov word [ebp - 0x18a2], ax
mov al, byte [edi + 0x10]
mov byte [ebp - 0x18a0], al
movzx eax, word [edi + 0x19]
mov word [ebp - 0x1897], ax
mov al, byte [edi + 0x1b]
mov byte [ebp - 0x1895], al
lea eax, [edi + 0x1c]
push eax
movq qword [ebp - 0x18aa], xmm0
lea eax, [ebp - 0x1834]
movq xmm0, qword [edi + 0x11]
push eax
mov word [ebp - 0x18b0], 0x64c1
mov byte [ebp - 0x18ae], 0x72
movq qword [ebp - 0x189f], xmm0
call fcn.004044f0
test al, al
jne 0x40b67c
mov byte [ebp - 0x1894], al
jmp 0x40b761
movq xmm0, qword [ebp - 0x1829]
movzx eax, word [ebp - 0x181e]
mov ecx, dword [ebp - 0x181c]
movq qword [ebp - 0xaa], xmm0
movq xmm0, qword [ebp - 0x1834]
mov word [ebp - 0xac], ax
movzx eax, word [ebp - 0x1821]
movq qword [ebp - 0x9f], xmm0
movq xmm0, qword [edi + 0x11]
mov word [ebp - 0xa2], ax
mov al, byte [ebp - 0x181f]
movq qword [ebp - 0x94], xmm0
movups xmm0, xmmword [edi + 0x27]
mov byte [ebp - 0xa0], al
movzx eax, word [ebp - 0x182c]
mov word [ebp - 0x97], ax
mov al, byte [ebp - 0x182a]
movups xmmword [ebp - 0x89], xmm0
mov byte [ebp - 0x95], al
movups xmm0, xmmword [edi + 0x37]
movzx eax, word [edi + 0x19]
mov word [ebp - 0x8c], ax
mov al, byte [edi + 0x1b]
movups xmmword [ebp - 0x79], xmm0
mov byte [ebp - 0x8a], al
movups xmm0, xmmword [edi + 0x47]
mov eax, dword [edi + 0x5f]
mov byte [ebp - 0x1894], 1
movups xmmword [ebp - 0x69], xmm0
mov word [ebp - 0xb0], 0x64c1
movq xmm0, qword [edi + 0x57]
mov byte [ebp - 0xae], 0x73
movq qword [ebp - 0x59], xmm0
mov dword [ebp - 0x51], eax
call fcn.00417270
test eax, eax
je 0x40b761
push 0x64
lea ecx, [ebp - 0xb0]
push ecx
push dword [eax + 4]
call fcn.00416260
movq xmm0, qword [edi + 0x1c]
mov ax, word [edi + 0x24]
movq qword [ebp - 0x1893], xmm0
movups xmm0, xmmword [edi + 0x27]
mov word [ebp - 0x188b], ax
mov al, byte [edi + 0x26]
movups xmmword [ebp - 0x1888], xmm0
mov byte [ebp - 0x1889], al
movups xmm0, xmmword [edi + 0x37]
mov eax, dword [edi + 0x5f]
mov dword [ebp - 0x1850], eax
lea eax, [ebp - 0x18b0]
movups xmmword [ebp - 0x1878], xmm0
push 0x64
movups xmm0, xmmword [edi + 0x47]
push eax
push esi
movups xmmword [ebp - 0x1868], xmm0
movq xmm0, qword [edi + 0x57]
movq qword [ebp - 0x1858], xmm0
call fcn.00416260
jmp case.0x407922.1
cmp byte [edi], 0xc1
jne 0x40b7d7
mov al, byte [edi + 3]
jmp 0x40b7da
mov al, byte [edi + 4]
movzx eax, al
cmp eax, 0x1b
ja case.0x407922.1
jmp dword [eax*4 + 0x40d10c]
movzx eax, word [edi + 4]
lea ecx, [ebp - 0x1848]
push ecx
push dword [edi + 8]
mov dword [ebp - 0x1888], 0x8038c1
push eax
mov word [ebp - 0x1880], ax
call fcn.00403500
test eax, eax
je 0x40b834
push 0x38
lea eax, [ebp - 0x1888]
mov dword [ebp - 0x1884], 0
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
movzx eax, word [ebp - 0x1848]
xorps xmm0, xmm0
mov word [ebp - 0x187e], ax
mov al, byte [ebp - 0x1846]
mov byte [ebp - 0x187c], al
mov al, byte [ebp - 0x1845]
mov byte [ebp - 0x187b], al
movzx eax, word [ebp - 0x1844]
mov word [ebp - 0x187a], ax
mov al, byte [ebp - 0x1842]
mov byte [ebp - 0x1878], al
mov al, byte [ebp - 0x1841]
mov byte [ebp - 0x1877], al
mov al, byte [ebp - 0x1840]
mov ecx, dword [ebp - 0x182c]
mov byte [ebp - 0x1876], al
mov al, byte [ebp - 0x183f]
mov byte [ebp - 0x1875], al
mov al, byte [ebp - 0x183e]
mov byte [ebp - 0x1874], al
mov eax, dword [ebp - 0x1830]
mov dword [ebp - 0x1868], eax
mov eax, dword [ebp - 0x1828]
mov dword [ebp - 0x1860], eax
mov eax, dword [ebp - 0x1824]
mov dword [ebp - 0x185c], eax
mov eax, dword [ebp - 0x1820]
mov dword [ebp - 0x1858], eax
mov eax, dword [ebp - 0x181c]
mov dword [ebp - 0x1854], eax
mov eax, dword [ebp - 0x183d]
movq qword [ebp - 0x1873], xmm0
mov dword [ebp - 0x1873], eax
lea eax, [ebp - 0x1888]
push 0x38
push eax
mov dword [ebp - 0x1864], ecx
mov ecx, dword [ebp - 0x1839]
push esi
mov dword [ebp - 0x1884], 1
mov dword [ebp - 0x186f], ecx
call fcn.00416260
jmp case.0x407922.1
mov edx, esi
mov ecx, edi
call fcn.0040f8c0
jmp case.0x407922.1
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0xc]
movzx esi, word [edi + 4]
mov dword [ebp - 0x1828], eax
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x181c], 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 - 0x1834], 0x3801cc1
push dword [edi + 0x1c]
mov word [ebp - 0x182c], si
push dword [edi + 0x18]
mov dword [ebp - 0x1824], edx
push dword [edi + 0x14]
mov dword [ebp - 0x1820], ecx
push ecx
push edx
push esi
push str.EXEC_WZ_CS_ReqNpcBuy__d___d___d___d___d___d___d___d___d___d
push 0x43edd8
call fcn.00414960
add esp, 0x30
push dword [0x43ede4]
test al, al
je 0x40ba2c
call dword [sym.imp.ODBC32.dll_SQLFetch]
movzx eax, ax
cmp ax, 0x64
je 0x40ba26
cmp ax, 0xffff
je 0x40ba26
push str.QueryResult
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40b9da
or esi, eax
jmp 0x40b9ed
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
mov esi, eax
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x1c
lea eax, [ebp - 0x1834]
mov dword [ebp - 0x1830], esi
push eax
push dword [ebp - 0x18cc]
call fcn.00416260
jmp case.0x407922.1
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x1c
lea eax, [ebp - 0x1834]
mov dword [ebp - 0x1830], 0
push eax
push dword [ebp - 0x18cc]
call fcn.00416260
jmp case.0x407922.1
mov edx, esi
mov ecx, edi
call fcn.0040fa30
jmp case.0x407922.1
movzx eax, word [edi + 4]
mov word [ebp - 0x1834], ax
mov eax, dword [edi + 8]
mov edi, dword [edi + 0xc]
mov dword [ebp - 0x1830], eax
mov eax, dword [ebp - 0x18b4]
mov dword [ebp - 0x183c], 0x58024c1
mov dword [ebp - 0x182c], edi
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 - 0x1824], edx
mov edx, dword [ebp - 0x18b4]
push esi
mov dword [ebp - 0x181c], eax
push edi
movzx eax, word [edx + 4]
push eax
push str.EXEC_WZ_CS_ReqNpcUpgrade__d___d___d___d___d
push 0x43edd8
mov dword [ebp - 0x1828], esi
mov dword [ebp - 0x1820], ecx
call fcn.00414960
add esp, 0x1c
push dword [0x43ede4]
test al, al
je 0x40bb6d
call dword [sym.imp.ODBC32.dll_SQLFetch]
movzx eax, ax
cmp ax, 0x64
je 0x40bb67
cmp ax, 0xffff
je 0x40bb67
push str.QueryResult
call fcn.00414bb0
cmp eax, 0xffffffff
je 0x40bb2a
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
test eax, eax
je 0x40bb67
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x24
lea eax, [ebp - 0x183c]
mov dword [ebp - 0x1838], 1
push eax
push dword [ebp - 0x18cc]
call fcn.00416260
jmp case.0x407922.1
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x24
lea eax, [ebp - 0x183c]
mov dword [ebp - 0x1838], 0
push eax
push dword [ebp - 0x18cc]
call fcn.00416260
jmp case.0x407922.1
mov edx, esi
mov ecx, edi
call fcn.0040fb90
jmp case.0x407922.1
push dword [edi + 0x10]
movzx ecx, word [edi + 4]
push dword [edi + 0xc]
mov eax, dword [edi + 8]
push ecx
push str.EXEC_WZ_CS_ModifyTaxRate__d___d___d
push 0x43edd8
mov dword [ebp - 0x18e8], 0x78018c1
mov word [ebp - 0x18e0], cx
mov dword [ebp - 0x18dc], eax
call fcn.00414960
add esp, 0x14
push dword [0x43ede4]
test al, al
je 0x40bcc8
call dword [sym.imp.ODBC32.dll_SQLFetch]
movzx eax, ax
cmp ax, 0x64
je 0x40bcc2
cmp ax, 0xffff
je 0x40bcc2
push str.QueryResult
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40bc27
or edi, eax
jmp 0x40bc3a
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
mov edi, eax
push str.TaxKind
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40bc4d
or eax, eax
jmp 0x40bc5e
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push str.TaxRate
mov dword [ebp - 0x18d8], eax
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40bc77
or eax, eax
jmp 0x40bc88
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push dword [0x43ede4]
mov dword [ebp - 0x18d4], eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x18
lea eax, [ebp - 0x18e8]
mov dword [ebp - 0x18e4], edi
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x18
lea eax, [ebp - 0x18e8]
mov dword [ebp - 0x18e4], 0
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
mov eax, dword [edi + 8]
lea edx, [ebp - 0x1c]
movzx ecx, word [edi + 4]
xorps xmm0, xmm0
push edx
lea edx, [ebp - 0x30]
mov dword [ebp - 0x182c], eax
mov eax, dword [edi + 0xc]
push edx
push eax
push ecx
mov dword [ebp - 0x1838], 0x88020c1
mov word [ebp - 0x1830], cx
mov dword [ebp - 0x1828], eax
mov dword [ebp - 0x1c], 0
movlpd qword [ebp - 0x30], xmm0
call fcn.00403800
push 0x20
test eax, eax
je 0x40bd61
lea eax, [ebp - 0x1838]
mov dword [ebp - 0x1834], 0
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x1834], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1820], eax
lea eax, [ebp - 0x1838]
push eax
push esi
mov dword [ebp - 0x181c], ecx
call fcn.00416260
jmp case.0x407922.1
mov edx, esi
mov ecx, edi
call fcn.0040fd00
jmp case.0x407922.1
mov eax, dword [edi + 8]
movzx edx, word [edi + 4]
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x182c], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x1838]
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x1838], 0xa8020c1
push eax
push edx
mov word [ebp - 0x1830], dx
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x2c], ecx
call fcn.004038f0
mov ecx, dword [ebp - 0x1c]
xor edx, edx
test eax, eax
lea eax, [ebp - 0x1838]
push 0x20
push eax
cmovne ecx, edx
push esi
mov dword [ebp - 0x1834], ecx
call fcn.00416260
jmp case.0x407922.1
push dword [edi + 8]
movzx eax, word [edi + 4]
push eax
push str.EXEC_WZ_CS_ModifySiegeEnd__d___d
push 0x43edd8
mov dword [ebp - 0x18c8], 0xb8010c1
mov word [ebp - 0x18c0], ax
call fcn.00414960
add esp, 0x10
push dword [0x43ede4]
test al, al
je 0x40beb4
call dword [sym.imp.ODBC32.dll_SQLFetch]
movzx eax, ax
cmp ax, 0x64
je 0x40beae
cmp ax, 0xffff
je 0x40beae
push str.QueryResult
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40be67
or edi, eax
jmp 0x40be7a
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
mov edi, eax
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x10
lea eax, [ebp - 0x18c8]
mov dword [ebp - 0x18c4], edi
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x10
lea eax, [ebp - 0x18c8]
mov dword [ebp - 0x18c4], 0
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
movzx eax, word [edi + 4]
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x3c]
mov word [ebp - 0x18f8], ax
lea edx, [ecx + 1]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x1900], 0xc8018c1
mov byte [ebp - 0x34], 0
mov dword [ebp - 0x3c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40bf14
sub ecx, edx
xor eax, eax
test ecx, ecx
jle 0x40bf47
mov dl, byte [ebp + eax - 0x3c]
cmp dl, 0x20
je 0x40c013
cmp dl, 0x22
je 0x40c013
cmp dl, 0x27
je 0x40c013
inc eax
cmp eax, ecx
jl 0x40bf23
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 8]
mov dword [ebp - 0x18f0], ecx
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x18ec], ecx
lea ecx, [ebp - 0x3c]
push ecx
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x18f4], eax
push str.EXEC_WZ_CS_ModifyCastleOwnerInfo__d___d___s
push 0x43edd8
call fcn.00414960
add esp, 0x14
push dword [0x43ede4]
test al, al
je 0x40bfff
call dword [sym.imp.ODBC32.dll_SQLFetch]
movzx eax, ax
cmp ax, 0x64
je 0x40bff9
cmp ax, 0xffff
je 0x40bff9
push str.QueryResult
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40bfb2
or edi, eax
jmp 0x40bfc5
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
mov edi, eax
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x18
lea eax, [ebp - 0x1900]
mov dword [ebp - 0x18fc], edi
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x18
lea eax, [ebp - 0x1900]
mov dword [ebp - 0x18fc], 0
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
movzx ecx, word [edi + 4]
mov eax, dword [edi + 8]
mov word [ebp - 0x1910], cx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x190c], eax
lea edx, [ecx + 1]
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x1918], 0xd8018c1
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x48], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c068
sub ecx, edx
xor eax, eax
test ecx, ecx
jle 0x40c0a4
nop word [eax + eax]
mov dl, byte [ebp + eax - 0x48]
cmp dl, 0x20
je 0x40c166
cmp dl, 0x22
je 0x40c166
cmp dl, 0x27
je 0x40c166
inc eax
cmp eax, ecx
jl 0x40c080
mov eax, dword [ebp - 0x1908]
mov ecx, dword [ebp - 0x1904]
mov dword [edi + 0xc], eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x1c]
mov dword [edi + 0x10], ecx
push str.EXEC_WZ_CS_ReqRegAttackGuild__d___s
push 0x43edd8
call fcn.00414960
add esp, 0x10
push dword [0x43ede4]
test al, al
je 0x40c152
call dword [sym.imp.ODBC32.dll_SQLFetch]
movzx eax, ax
cmp ax, 0x64
je 0x40c14c
cmp ax, 0xffff
je 0x40c14c
push str.QueryResult
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40c105
or edi, eax
jmp 0x40c118
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
mov edi, eax
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x18
lea eax, [ebp - 0x1918]
mov dword [ebp - 0x1914], edi
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x18
lea eax, [ebp - 0x1918]
mov dword [ebp - 0x1914], 0
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
movzx eax, word [edi + 4]
push eax
push str.EXEC_WZ_CS_ResetCastleSiege__d
push 0x43edd8
mov dword [ebp - 0x18c4], 0xe800cc1
mov word [ebp - 0x18bc], ax
call fcn.00414960
add esp, 0xc
push dword [0x43ede4]
test al, al
je 0x40c59a
call dword [sym.imp.ODBC32.dll_SQLFetch]
movzx eax, ax
cmp ax, 0x64
je 0x40c594
cmp ax, 0xffff
je 0x40c594
push str.QueryResult
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40c1ea
or edi, eax
jmp 0x40c1fd
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
mov edi, eax
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0xc
lea eax, [ebp - 0x18c4]
mov dword [ebp - 0x18c0], edi
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
mov ax, word [edi + 4]
lea esi, [edi + 6]
mov ecx, 0x20
mov dword [ebp - 0xd0], 0xf8086c1
lea edi, [ebp - 0xca]
mov word [ebp - 0xcc], ax
rep movsd dword es:[edi], dword [esi]
xor edi, edi
xor esi, esi
nop word [eax + eax]
mov eax, dword [esi + 0x5d28ac]
test eax, eax
js 0x40c293
cmp eax, 0x14
jge 0x40c293
cmp dword [esi + 0x5d28b0], 0
je 0x40c293
cmp dword [esi + 0x5d28c4], 0xffffffff
je 0x40c293
push 0x86
lea eax, [ebp - 0xd0]
push eax
push edi
call fcn.00416260
add esi, 0x68
inc edi
cmp esi, 0x820
jl 0x40c260
jmp case.0x407922.1
mov edx, esi
mov ecx, edi
call fcn.0040fe40
jmp case.0x407922.1
mov edx, esi
mov ecx, edi
call fcn.0040ffc0
jmp case.0x407922.1
mov edx, esi
mov ecx, edi
call fcn.00410130
jmp case.0x407922.1
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
movzx edx, word [edi + 4]
push eax
push ecx
push edx
push str.EXEC_WZ_CS_ReqNpcRemove__d___d___d
push 0x43edd8
mov dword [ebp - 0x182c], 0x168014c1
mov word [ebp - 0x1824], dx
mov dword [ebp - 0x1820], ecx
mov dword [ebp - 0x181c], eax
call fcn.00414960
add esp, 0x14
push dword [0x43ede4]
test al, al
je 0x40c38d
call dword [sym.imp.ODBC32.dll_SQLFetch]
movzx eax, ax
cmp ax, 0x64
je 0x40c387
cmp ax, 0xffff
je 0x40c387
push str.QueryResult
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40c340
or edi, eax
jmp 0x40c353
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
mov edi, eax
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x14
lea eax, [ebp - 0x182c]
mov dword [ebp - 0x1828], edi
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x14
lea eax, [ebp - 0x182c]
mov dword [ebp - 0x1828], 0
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
mov ax, word [edi + 4]
mov ecx, dword [edi + 0x1c]
mov word [ebp - 0x1834], ax
mov eax, dword [edi + 8]
mov dword [ebp - 0x1830], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x182c], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x1828], eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x1824], eax
mov eax, dword [edi + 0x18]
xor edi, edi
mov dword [ebp - 0x1838], 0x178020c1
xor esi, esi
mov dword [ebp - 0x1820], eax
mov dword [ebp - 0x181c], ecx
nop
mov eax, dword [esi + 0x5d28ac]
test eax, eax
js 0x40c440
cmp eax, 0x14
jge 0x40c440
cmp dword [esi + 0x5d28b0], 0
je 0x40c440
cmp dword [esi + 0x5d28c4], 0xffffffff
je 0x40c440
push 0x20
lea eax, [ebp - 0x1838]
push eax
push edi
call fcn.00416260
add esi, 0x68
inc edi
cmp esi, 0x820
jl 0x40c410
jmp case.0x407922.1
movzx eax, word [edi + 4]
xorps xmm0, xmm0
mov ecx, dword [edi + 8]
mov dword [ebp - 0x18c4], 0x18800cc1
mov word [ebp - 0x18bc], ax
mov dword [ebp - 0x1c], 0
movlpd qword [ebp - 0x30], xmm0
test ecx, ecx
jns 0x40c49a
push 0xc
lea eax, [ebp - 0x18c4]
mov dword [ebp - 0x18c0], 0
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x30]
push edx
push ecx
push eax
call fcn.00403800
test eax, eax
jne 0x40c5ae
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18c0], eax
lea eax, [ebp - 0x18c4]
push 0xc
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
movzx eax, word [edi + 4]
push eax
mov dword [ebp - 0x18c4], 0x19800cc1
push str.EXEC_WZ_CS_ResetCastleTaxInfo__d
push 0x43edd8
mov word [ebp - 0x18bc], ax
call fcn.00414960
add esp, 0xc
push dword [0x43ede4]
test al, al
je 0x40c59a
call dword [sym.imp.ODBC32.dll_SQLFetch]
movzx eax, ax
cmp ax, 0x64
je 0x40c594
cmp ax, 0xffff
je 0x40c594
push str.QueryResult
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40c534
or edi, eax
jmp 0x40c547
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
mov edi, eax
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0xc
lea eax, [ebp - 0x18c4]
mov dword [ebp - 0x18c0], edi
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
movzx eax, word [edi + 4]
push eax
mov dword [ebp - 0x18c4], 0x1a800cc1
push str.EXEC_WZ_CS_ResetSiegeGuildInfo__d
jmp 0x40c4e2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0xc
lea eax, [ebp - 0x18c4]
mov dword [ebp - 0x18c0], 0
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
movzx eax, word [edi + 4]
push eax
push str.EXEC_WZ_CS_ResetRegSiegeInfo__d
push 0x43edd8
mov dword [ebp - 0x18c4], 0x1b800cc1
mov word [ebp - 0x18bc], ax
call fcn.00414960
add esp, 0xc
push dword [0x43ede4]
test al, al
je 0x40c59a
call dword [sym.imp.ODBC32.dll_SQLFetch]
movzx eax, ax
cmp ax, 0x64
je 0x40c594
cmp ax, 0xffff
je 0x40c594
push str.QueryResult
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40c626
or edi, eax
jmp 0x40c639
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
mov edi, eax
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0xc
lea eax, [ebp - 0x18c4]
mov dword [ebp - 0x18c0], edi
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
mov edx, esi
mov ecx, edi
call fcn.004102b0
jmp case.0x407922.1
test edi, edi
je case.0x407922.1
movzx eax, word [edi + 4]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x172c]
mov word [ebp - 0x1738], ax
push ecx
push eax
mov dword [ebp - 0x1c], 0xc8
mov dword [ebp - 0x1730], 0
call fcn.00403a50
mov byte [ebp - 0x1740], 0xc2
mov byte [ebp - 0x173d], 0x82
test eax, eax
je 0x40c719
mov edx, dword [ebp - 0x1730]
mov dword [ebp - 0x173c], 0
lea eax, [edx*8]
sub eax, edx
lea eax, [eax*4 + 0x14]
movzx ecx, ax
mov eax, ecx
mov byte [ebp - 0x173e], cl
shr eax, 8
mov byte [ebp - 0x173f], al
lea eax, [edx*8]
sub eax, edx
lea eax, [eax*4 + 0x14]
push eax
lea eax, [ebp - 0x1740]
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x173c], 1
mov dword [ebp - 0x1730], edx
lea eax, [edx*8]
sub eax, edx
lea eax, [eax*4 + 0x14]
movzx ecx, ax
mov eax, ecx
mov byte [ebp - 0x173e], cl
shr eax, 8
mov byte [ebp - 0x173f], al
lea eax, [edx*8]
sub eax, edx
lea eax, [eax*4 + 0x14]
push eax
lea eax, [ebp - 0x1740]
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
test edi, edi
je case.0x407922.1
mov eax, dword [edi + 8]
movzx ecx, word [edi + 4]
mov dword [ebp - 0x794], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x78c]
mov word [ebp - 0x798], cx
push eax
push ecx
mov dword [ebp - 0x1c], 0x64
mov dword [ebp - 0x790], 0
call fcn.00403d00
mov byte [ebp - 0x7a0], 0xc2
mov byte [ebp - 0x79d], 0x83
test eax, eax
je 0x40c808
mov edx, dword [ebp - 0x790]
mov eax, edx
shl eax, 4
add eax, 0x14
shl edx, 4
movzx ecx, ax
add edx, 0x14
mov eax, ecx
mov dword [ebp - 0x79c], 0
shr eax, 8
mov byte [ebp - 0x79f], al
lea eax, [ebp - 0x7a0]
push edx
push eax
push esi
mov byte [ebp - 0x79e], cl
call fcn.00416260
jmp case.0x407922.1
mov edx, dword [ebp - 0x1c]
mov eax, edx
shl eax, 4
add eax, 0x14
mov dword [ebp - 0x790], edx
movzx ecx, ax
mov eax, ecx
shl edx, 4
shr eax, 8
add edx, 0x14
mov byte [ebp - 0x79f], al
lea eax, [ebp - 0x7a0]
push edx
push eax
push esi
mov dword [ebp - 0x79c], 1
mov byte [ebp - 0x79e], cl
call fcn.00416260
jmp case.0x407922.1
test edi, edi
je case.0x407922.1
movzx eax, word [edi + 4]
push eax
push str.DELETE_MuCastle_NPC_WHERE_MAP_SVR_GROUP___d
push 0x43edd8
mov word [ebp - 0x18c4], 0xcc1
mov byte [ebp - 0x18c2], 0x84
mov word [ebp - 0x18bc], ax
mov dword [ebp - 0x18b8], eax
call fcn.00414960
add esp, 0xc
push dword [0x43ede4]
test al, al
je 0x40c59a
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
cmp dword [edi + 8], 0
mov dword [ebp - 0x1c], 0
jle 0x40c934
lea ecx, [edi + 0x25]
mov dword [ebp - 0x2c], 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 - 0x18b8]
push str.EXEC_WZ_CS_ReqNpcBuy__d___d___d___d___d___d___d___d___d___d
push 0x43edd8
call fcn.00414960
add esp, 0x30
push dword [0x43ede4]
test al, al
je 0x40c59a
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
inc eax
add ecx, 0x1c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], ecx
cmp eax, dword [edi + 8]
jl 0x40c8c5
push 0xc
lea eax, [ebp - 0x18c4]
mov dword [ebp - 0x18c0], 1
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
test edi, edi
je case.0x407922.1
movzx eax, word [edi + 4]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0xaa8]
mov word [ebp - 0xab0], ax
push ecx
push eax
mov dword [ebp - 0x1c], 0x64
mov dword [ebp - 0xaac], 0
call fcn.00403ed0
mov byte [ebp - 0xab8], 0xc2
mov byte [ebp - 0xab5], 0x85
test eax, eax
je 0x40c9e4
mov edx, dword [ebp - 0xaac]
mov dword [ebp - 0xab4], 0
lea eax, [edx + edx*2]
lea eax, [eax*8 + 0x10]
movzx ecx, ax
mov eax, ecx
mov byte [ebp - 0xab6], cl
shr eax, 8
mov byte [ebp - 0xab7], al
lea eax, [edx + edx*2]
lea eax, [eax*8 + 0x10]
push eax
lea eax, [ebp - 0xab8]
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0xab4], 1
mov dword [ebp - 0xaac], edx
lea eax, [edx + edx*2]
lea eax, [eax*8 + 0x10]
movzx ecx, ax
mov eax, ecx
mov byte [ebp - 0xab6], cl
shr eax, 8
mov byte [ebp - 0xab7], al
lea eax, [edx + edx*2]
lea eax, [eax*8 + 0x10]
push eax
lea eax, [ebp - 0xab8]
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
mov edx, esi
mov ecx, edi
call fcn.004104b0
jmp case.0x407922.1
mov edx, esi
mov ecx, edi
call fcn.004106d0
jmp case.0x407922.1
test edi, edi
je case.0x407922.1
movzx eax, word [edi + 4]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x918]
mov word [ebp - 0x920], ax
push ecx
push eax
mov dword [ebp - 0x1c], 0x64
mov dword [ebp - 0x91c], 0
call fcn.004040d0
mov byte [ebp - 0x928], 0xc2
mov byte [ebp - 0x925], 0x88
test eax, eax
je 0x40cae0
mov edx, dword [ebp - 0x91c]
mov dword [ebp - 0x924], 0
lea eax, [edx + edx*4]
lea eax, [eax*4 + 0x10]
movzx ecx, ax
mov eax, ecx
mov byte [ebp - 0x926], cl
shr eax, 8
mov byte [ebp - 0x927], al
lea eax, [edx + edx*4]
lea eax, [eax*4 + 0x10]
push eax
lea eax, [ebp - 0x928]
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x924], 1
mov dword [ebp - 0x91c], edx
lea eax, [edx + edx*4]
lea eax, [eax*4 + 0x10]
movzx ecx, ax
mov eax, ecx
mov byte [ebp - 0x926], cl
shr eax, 8
mov byte [ebp - 0x927], al
lea eax, [edx + edx*4]
lea eax, [eax*4 + 0x10]
push eax
lea eax, [ebp - 0x928]
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
test edi, edi
je case.0x407922.1
movzx eax, word [edi + 4]
push eax
push str.DELETE_MuCastle_NPC_WHERE_MAP_SVR_GROUP___d
push 0x43edd8
mov word [ebp - 0x18c4], 0xcc1
mov byte [ebp - 0x18c2], 0x89
mov word [ebp - 0x18bc], ax
mov dword [ebp - 0x18b8], eax
call fcn.00414960
add esp, 0xc
push dword [0x43ede4]
test al, al
je 0x40cc13
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
cmp dword [edi + 8], 0
mov dword [ebp - 0x1c], 0
jle 0x40c934
lea ecx, [edi + 0x25]
mov dword [ebp - 0x2c], 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 - 0x18b8]
push str.EXEC_WZ_CS_ReqNpcUpdate__d___d___d___d___d___d___d___d___d___d
push 0x43edd8
call fcn.00414960
add esp, 0x30
push dword [0x43ede4]
test al, al
je 0x40cc13
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
inc eax
add ecx, 0x1c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], ecx
cmp eax, dword [edi + 8]
jl 0x40cba3
jmp 0x40c934
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0xc
lea eax, [ebp - 0x18c4]
mov dword [ebp - 0x18c0], 0
push eax
push esi
call fcn.00416260
jmp case.0x407922.1
push dword [ebx + 0xc]
mov ecx, esi
push edi
call fcn.004109a0
jmp 0x40cc5a
push dword [ebx + 0xc]
mov ecx, esi
push edi
call fcn.00405940
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004178c7
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret