joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4100a0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x458330]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x14
push 0xd4
lea ecx, [ebp - 0x18]
call fcn.00408ff0
mov eax, dword [ebp + 0xc]
mov cx, word [eax + 0xe]
mov word [ebp - 0x14], cx
mov byte [ebp - 0x12], 1
mov byte [ebp - 0x11], 0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0xc]
mov cl, byte [eax + 0x1c]
mov byte [ebp - 8], cl
mov edx, dword [ebp + 0xc]
mov al, byte [edx + 0x1d]
mov byte [ebp - 7], al
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp + 0xc]
add ecx, 3
push ecx
mov edx, dword [ebp + 8]
add edx, 0xf030
push edx
push str.SELECT_ExpandedWarehouse_FROM__s.dbo.AccountCharacter_WHERE_Id___s
mov eax, dword [ebp + 8]
add eax, 0x7dc0
push eax
call fcn.00407950
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
movsx ecx, ax
cmp ecx, 0x64
je 0x410161
push str.ExpandedWarehouse
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov byte [ebp - 0x11], al
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x18], 0xcb
jg 0x410176
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 0
jge 0x4101a4
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 0x1c]
test edx, edx
jne 0x4101a4
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + 0x1d]
test ecx, ecx
jne 0x4101a4
mov byte [ebp - 0x12], 0
push 0x14
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.00406820
jmp 0x410205
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 0x10]
cmp edx, 1
jle 0x4101b6
mov byte [ebp - 0x12], 0
jmp 0x4101f3
mov eax, dword [ebp + 0xc]
add eax, 3
push eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 0x10]
push edx
mov eax, dword [ebp + 8]
add eax, 0xf030
push eax
push str.UPDATE__s.dbo.AccountCharacter_SET_ExpandedWarehouse_d_WHERE_Id___s
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
push ecx
call fcn.00407950
add esp, 0x14
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
push 0x14
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.00406820
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435f91
mov esp, ebp
pop ebp
ret
Function at 0x410480
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x458330]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], 0x64
mov byte [ebp - 0x20], 0
xor eax, eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
push 0x1c
push 1
push 0xe4
lea ecx, [ebp - 0x20]
push ecx
call fcn.00405420
add esp, 0x10
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 0x1c], eax
push 0xb
mov ecx, dword [ebp + 0x10]
add ecx, 8
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.004360a0
add esp, 0xc
mov byte [ebp - 0xe], 0
mov eax, dword [ebp + 0x10]
add eax, 8
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xf08a
push ecx
push str.SELECT_EventChips__Check_Code__MuttoNumber_FROM__s.dbo.T_MU2003_EVENT_WHERE_AccountID_s
mov edx, dword [ebp + 8]
add edx, 0x7dc0
push edx
call fcn.00407950
add esp, 0x10
test eax, eax
jne 0x410522
mov byte [ebp - 0xd], 0
jmp 0x4105d5
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
cwde
cmp eax, 0x64
je 0x410588
push str.Check_Code
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
test eax, eax
je 0x410555
xor ecx, ecx
mov word [ebp - 0xc], cx
jmp 0x41056c
push str.EventChips
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov word [ebp - 0xc], ax
push str.MuttonNumber
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov dword [ebp - 8], eax
mov byte [ebp - 0xd], 1
jmp 0x4105d5
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp + 8]
add eax, 0xf08a
push eax
push str.INSERT_INTO__s.dbo.T_MU2003_EVENT__AccountID__VALUES___s_
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
push ecx
call fcn.00407950
add esp, 0x10
test eax, eax
jne 0x4105c4
mov byte [ebp - 0xd], 0
jmp 0x4105d5
xor edx, edx
mov word [ebp - 0xc], dx
mov dword [ebp - 8], 0
mov byte [ebp - 0xd], 1
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00406820
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435f91
mov esp, ebp
pop ebp
ret
Function at 0x410610
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x458330]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
push 0x18
push 2
push 0xe4
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00405420
add esp, 0x10
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0x10]
mov dl, byte [ecx + 8]
mov byte [ebp - 0x14], dl
mov eax, dword [ebp + 0x10]
add eax, 9
push eax
lea ecx, [ebp - 0x13]
push ecx
call fcn.00435fa0
add esp, 8
mov byte [ebp - 9], 0
mov byte [ebp - 8], 0
mov edx, dword [ebp + 0x10]
add edx, 9
push edx
mov eax, dword [ebp + 8]
add eax, 0xf08a
push eax
push str.UPDATE__s.dbo.T_MU2003_EVENT_SET_EventChips__EventChips__1_WHERE_AccountID___s
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
push ecx
call fcn.00407950
add esp, 0x10
test eax, eax
je 0x410733
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
mov edx, dword [ebp + 0x10]
add edx, 9
push edx
mov eax, dword [ebp + 8]
add eax, 0xf08a
push eax
push str.SELECT_EventChips_FROM__s.dbo.T_MU2003_EVENT_WHERE_AccountID_s
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
push ecx
call fcn.00407950
add esp, 0x10
test eax, eax
je 0x410733
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
movsx edx, ax
cmp edx, 0x64
je 0x410733
push str.EventChips
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov word [ebp - 6], ax
movsx eax, word [ebp - 6]
cmp eax, 0xffffffff
je 0x410733
mov ecx, 1
mov word [ebp - 6], cx
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
push 0x18
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.00406820
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435f91
mov esp, ebp
pop ebp
ret
Function at 0x410840
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x458330]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
push 0x18
push 5
push 0xe4
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00405420
add esp, 0x10
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0x10]
add ecx, 8
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.00435fa0
add esp, 8
mov byte [ebp - 0xa], 0
mov eax, dword [ebp + 0x10]
add eax, 8
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xf08a
push ecx
push str.SELECT_StoneCount__Check_Code_FROM__s.dbo.T_BLOOD_CASTLE_WHERE_AccountID_s
mov edx, dword [ebp + 8]
add edx, 0x7dc0
push edx
call fcn.00407950
add esp, 0x10
test eax, eax
jne 0x4108e4
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
mov byte [ebp - 9], 0
jmp 0x410986
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
cwde
cmp eax, 0x64
je 0x410934
push str.Check_Code
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
test eax, eax
je 0x410918
mov dword [ebp - 8], 0
jmp 0x41092e
push str.StoneCount
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov dword [ebp - 8], eax
mov byte [ebp - 9], 1
jmp 0x410986
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
mov ecx, dword [ebp + 0x10]
add ecx, 8
push ecx
mov edx, dword [ebp + 8]
add edx, 0xf08a
push edx
push str.INSERT_INTO__s.dbo.T_BLOOD_CASTLE__AccountID__VALUES___s_
mov eax, dword [ebp + 8]
add eax, 0x7dc0
push eax
call fcn.00407950
add esp, 0x10
test eax, eax
je 0x410986
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
mov byte [ebp - 9], 1
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
push 0x18
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
call fcn.00406820
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435f91
mov esp, ebp
pop ebp
ret
Function at 0x4109c0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x458330]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x20], 0
xor eax, eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
push 0x1c
push 6
push 0xe4
lea ecx, [ebp - 0x20]
push ecx
call fcn.00405420
add esp, 0x10
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x10]
mov dl, byte [ecx + 8]
mov byte [ebp - 0x18], dl
mov eax, dword [ebp + 0x10]
add eax, 9
push eax
lea ecx, [ebp - 0x17]
push ecx
call fcn.00435fa0
add esp, 8
mov byte [ebp - 0xd], 0
mov edx, dword [ebp + 0x10]
add edx, 9
push edx
mov eax, dword [ebp + 8]
add eax, 0xf08a
push eax
push str.UPDATE__s.dbo.T_BLOOD_CASTLE_SET_StoneCount__StoneCount__1_WHERE_AccountID___s
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
push ecx
call fcn.00407950
add esp, 0x10
test eax, eax
je 0x410ae1
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
mov edx, dword [ebp + 0x10]
add edx, 9
push edx
mov eax, dword [ebp + 8]
add eax, 0xf08a
push eax
push str.SELECT_StoneCount_FROM__s.dbo.T_BLOOD_CASTLE_WHERE_AccountID_s
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
push ecx
call fcn.00407950
add esp, 0x10
test eax, eax
je 0x410adf
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
movsx edx, ax
cmp edx, 0x64
je 0x410adb
push str.StoneCount
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x410ad9
mov byte [ebp - 0xc], 1
jmp 0x410adf
mov byte [ebp - 0xc], 0
jmp 0x410ae5
mov byte [ebp - 0xc], 0
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00406820
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435f91
mov esp, ebp
pop ebp
ret
Function at 0x410b20
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x458330]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
push 0x18
push 7
push 0xe4
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00405420
add esp, 0x10
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0x10]
add ecx, 8
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.00435fa0
add esp, 8
mov byte [ebp - 0xa], 0
mov byte [ebp - 9], 0
mov eax, dword [ebp + 0x10]
add eax, 8
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xf08a
push ecx
push str.SELECT_StoneCount_FROM__s.dbo.T_BLOOD_CASTLE_WHERE_AccountID_s
mov edx, dword [ebp + 8]
add edx, 0x7dc0
push edx
call fcn.00407950
add esp, 0x10
test eax, eax
je 0x410bc5
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
cwde
cmp eax, 0x64
jne 0x410bdc
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
mov byte [ebp - 9], 0
jmp 0x410c5d
push str.StoneCount
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
cmp dword [ebp - 0x20], 0xffffffff
je 0x410c5d
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x20]
cmp edx, dword [ecx + 0x14]
jl 0x410c5d
mov eax, dword [ebp + 0x10]
add eax, 8
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xf08a
push ecx
push str.UPDATE__s.dbo.T_BLOOD_CASTLE_SET_StoneCount__StoneCount____d_WHERE_AccountID_s
mov edx, dword [ebp + 8]
add edx, 0x7dc0
push edx
call fcn.00407950
add esp, 0x10
test eax, eax
jne 0x410c3f
jmp 0x410c5d
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
mov byte [ebp - 9], 1
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x20]
sub ecx, dword [eax + 0x14]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
push 0x18
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.00406820
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435f91
mov esp, ebp
pop ebp
ret
Function at 0x411d70
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call fcn.00423900
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
mov ecx, 0x4ca0a4
call fcn.00418f20
push str.SELECT__FROM_Guild_WHERE_Number__G_Union
mov ecx, dword [ebp + 8]
push ecx
call fcn.004116e0
add esp, 8
push str.SELECT__FROM_Guild_WHERE_Number____G_Union
mov edx, dword [ebp + 8]
push edx
call fcn.004116e0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
push eax
push str._MuOnlineDB__GuildData_Loaded_in__d_msec
push 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ecx + 4]
call eax
add esp, 0x10
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4226c0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x65d4
call fcn.00437750
mov eax, dword [0x458330]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x10], 0
xor eax, eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 0x1c], 0
xor ecx, ecx
mov dword [ebp - 0x1b], ecx
mov dword [ebp - 0x17], ecx
mov word [ebp - 0x13], cx
push 0xa
mov edx, dword [ebp + 0x10]
add edx, 0xe
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.004360a0
add esp, 0xc
push 0xa
mov ecx, dword [ebp + 0x10]
add ecx, 3
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.004360a0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
call fcn.00405550
add esp, 4
cmp eax, 1
jne 0x4228e7
lea ecx, [ebp - 0x10]
push ecx
call fcn.00405480
add esp, 4
cmp eax, 1
jne 0x4228e7
mov byte [ebp - 0x3ec0], 0
push 0x1f5b
push 0
lea edx, [ebp - 0x3ebf]
push edx
call fcn.00435470
add esp, 0xc
push 0x1f5c
push 0xde
lea eax, [ebp - 0x3ec0]
push eax
call fcn.00405450
add esp, 0xc
mov byte [ebp - 0x1f60], 0
push 0x1f3f
push 0
lea ecx, [ebp - 0x1f5f]
push ecx
call fcn.00435470
add esp, 0xc
push 0xa
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x3ebc]
push eax
call fcn.004360a0
add esp, 0xc
push 0xa
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x3eb1]
push edx
call fcn.004360a0
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov cx, word [eax + 0x1a]
mov word [ebp - 0x3ea6], cx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xf030
push ecx
push str.SELECT_Name_FROM__s.dbo.SCFS5Quest_WHERE_Name___s_and_AccountID___s
mov edx, dword [ebp + 8]
add edx, 0x7dc0
push edx
call fcn.00407950
add esp, 0x14
mov dword [ebp - 0x65d4], eax
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
cwde
cmp eax, 0x64
je 0x422822
cmp dword [ebp - 0x65d4], 0
jne 0x42283a
push 0x1f40
push 0
lea ecx, [ebp - 0x1f60]
push ecx
call fcn.00435470
add esp, 0xc
jmp 0x4228a6
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xf030
push ecx
push str.SELECT_SCFS5Quest_FROM__s.dbo.SCFS5Quest_where_Name___s_and_AccountID___s
lea edx, [ebp - 0x65d0]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x1f60]
push eax
lea ecx, [ebp - 0x65d0]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407f00
cmp eax, 0xffffffff
jne 0x4228a6
push 0x1f40
push 0
lea edx, [ebp - 0x1f60]
push edx
call fcn.00435470
add esp, 0xc
push 0x1f40
lea eax, [ebp - 0x1f60]
push eax
lea ecx, [ebp - 0x3ea4]
push ecx
call fcn.004360a0
add esp, 0xc
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
push 0x1f5c
lea edx, [ebp - 0x3ec0]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.00406820
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435f91
mov esp, ebp
pop ebp
ret
Function at 0x4229b0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2728
call fcn.00437750
mov eax, dword [0x458330]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x10], 0
xor eax, eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
push 0xa
mov ecx, dword [ebp + 0x10]
add ecx, 0xf
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.004360a0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
call fcn.00405550
add esp, 4
cmp eax, 1
jne 0x422b24
lea ecx, [ebp - 0x10]
push ecx
call fcn.00405480
add esp, 4
cmp eax, 1
jne 0x422b24
mov edx, dword [ebp + 0x10]
add edx, 4
push edx
mov eax, dword [ebp + 0x10]
add eax, 0xf
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xf030
push ecx
push str.SELECT_Name_FROM__s.dbo.SCFS5Quest_WHERE_Name___s_and_AccountID__s
mov edx, dword [ebp + 8]
add edx, 0x7dc0
push edx
call fcn.00407950
add esp, 0x14
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
cwde
cmp eax, 0x64
je 0x422a62
cmp dword [ebp - 0x14], 0
jne 0x422aac
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
mov ecx, dword [ebp + 0x10]
add ecx, 0xf
push ecx
mov edx, dword [ebp + 0x10]
add edx, 4
push edx
mov eax, dword [ebp + 8]
add eax, 0xf030
push eax
push str.INSERT_INTO__s.dbo.SCFS5Quest__AccountID__Name__VALUES___s__s_
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
push ecx
call fcn.00407950
add esp, 0x14
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
mov edx, dword [ebp + 0x10]
add edx, 4
push edx
mov eax, dword [ebp + 0x10]
add eax, 0xf
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xf030
push ecx
push str.UPDATE__s.dbo.SCFS5Quest_SET_SCFS5Quest__WHERE_Name_s_and_AccountID_s
lea edx, [ebp - 0x2728]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0x1f40
mov eax, dword [ebp + 0x10]
add eax, 0x1a
push eax
lea ecx, [ebp - 0x2728]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.004080c0
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435f91
mov esp, ebp
pop ebp
ret
Function at 0x422b40
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x350
mov eax, dword [0x458330]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x10], 0
xor eax, eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 0x1c], 0
xor ecx, ecx
mov dword [ebp - 0x1b], ecx
mov dword [ebp - 0x17], ecx
mov word [ebp - 0x13], cx
push 0xa
mov edx, dword [ebp + 0x10]
add edx, 0xe
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.004360a0
add esp, 0xc
push 0xa
mov ecx, dword [ebp + 0x10]
add ecx, 3
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.004360a0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
call fcn.00405550
add esp, 4
cmp eax, 1
jne 0x422d7f
lea ecx, [ebp - 0x10]
push ecx
call fcn.00405480
add esp, 4
cmp eax, 1
jne 0x422d7f
mov byte [ebp - 0x350], 0
push 0x11d
push 0
lea edx, [ebp - 0x34f]
push edx
call fcn.00435470
add esp, 0xc
push 0x11e
push 0xa1
lea eax, [ebp - 0x350]
push eax
call fcn.00405450
add esp, 0xc
mov byte [ebp - 0x128], 0
push 0x100
push 0
lea ecx, [ebp - 0x127]
push ecx
call fcn.00435470
add esp, 0xc
push 0xa
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x34c]
push eax
call fcn.004360a0
add esp, 0xc
push 0xa
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x341]
push edx
call fcn.004360a0
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov cx, word [eax + 0x1a]
mov word [ebp - 0x336], cx
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
add eax, 0xf030
push eax
push str.SELECT_Name_FROM__s.dbo.OfficialHelper_WHERE_Name___s
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
push ecx
call fcn.00407950
add esp, 0x10
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
movsx edx, ax
cmp edx, 0x64
je 0x422c9b
cmp dword [ebp - 0x22c], 0
jne 0x422cd6
push 0x101
push 0
lea eax, [ebp - 0x128]
push eax
call fcn.00435470
add esp, 0xc
mov byte [ebp - 0x127], 1
mov byte [ebp - 0x126], 0x11
mov byte [ebp - 0x111], 0x51
mov byte [ebp - 0x110], 0x15
mov byte [ebp - 0x10e], 0x20
jmp 0x422d3e
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
add edx, 0xf030
push edx
push str.SELECT_Data_FROM__s.dbo.OfficialHelper_where_Name___s
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [ebp - 0x128]
push ecx
lea edx, [ebp - 0x228]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407f00
cmp eax, 0xffffffff
jne 0x422d3e
push 0x101
push 0
lea eax, [ebp - 0x128]
push eax
call fcn.00435470
add esp, 0xc
push 0x101
lea ecx, [ebp - 0x128]
push ecx
lea edx, [ebp - 0x334]
push edx
call fcn.004360a0
add esp, 0xc
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
push 0x11e
lea eax, [ebp - 0x350]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00406820
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435f91
mov esp, ebp
pop ebp
ret