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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x442008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [edi + 8]
push esi
push str.SELECT_GUID_FROM_T_FriendMain_WHERE_Name_s
push 0x447690
call fcn.00416db0
mov ebx, dword [sym.imp.ODBC32.dll_SQLFetch]
add esp, 0xc
push dword [0x44769c]
call ebx
push str.GUID
call fcn.00417040
cmp eax, 0xffffffff
jne 0x406a84
mov dword [ebp - 0x424], eax
jmp 0x406a9b
shl eax, 0xd
add eax, 0x4482be
push eax
call fcn.00420b26
add esp, 4
mov dword [ebp - 0x424], eax
push dword [0x44769c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x44769c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
movzx eax, word [edi + 4]
movq xmm0, qword [esi]
mov word [ebp - 0x41c], ax
movzx eax, word [esi + 8]
mov word [ebp - 0x412], ax
mov al, byte [esi + 0xa]
mov esi, dword [ebp - 0x424]
mov byte [ebp - 0x410], al
movzx eax, word [edi + 6]
push esi
push eax
push str.SELECT_Memo_Photo_Dir_Act_FROM_T_FriendMail_WHERE_MemoIndex_d_AND_GUID_d
push 0x447690
mov dword [ebp - 0x420], 0x721204c2
movq qword [ebp - 0x41a], xmm0
mov word [ebp - 0x40e], ax
call fcn.00416db0
add esp, 0x10
push dword [0x44769c]
call ebx
push 0x12
lea eax, [ebp - 0x40a]
push eax
push str.Photo
call fcn.004170c0
push 0x43af74
call fcn.00417040
cmp eax, 0xffffffff
jne 0x406b3d
or eax, eax
jmp 0x406b4e
shl eax, 0xd
add eax, 0x4482be
push eax
call fcn.00420b26
add esp, 4
push 0x43af78
mov byte [ebp - 0x3f8], al
call fcn.00417040
cmp eax, 0xffffffff
jne 0x406b67
or eax, eax
jmp 0x406b78
shl eax, 0xd
add eax, 0x4482be
push eax
call fcn.00420b26
add esp, 4
mov byte [ebp - 0x3f7], al
lea eax, [ebp - 0x3f6]
push 0x3e8
push eax
push str.Memo
call fcn.004170c0
lea ecx, [ebp - 0x3f6]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406ba0
push dword [0x44769c]
mov ebx, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
sub ecx, edx
mov word [ebp - 0x40c], cx
call ebx
push 2
push dword [0x44769c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
movzx eax, word [edi + 6]
push esi
push eax
push str.UPDATE_T_FriendMail_SET_bRead1_WHERE_MemoIndex_d_AND_GUID_d
push 0x447690
call fcn.00416db0
add esp, 0x10
push dword [0x44769c]
call ebx
push 2
push dword [0x44769c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x412
lea eax, [ebp - 0x420]
push eax
push dword [ebp + 0xc]
call fcn.00405770
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004198d7
mov esp, ebp
pop ebp
ret 8
Function at 0x406c30
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x442008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
push str.SELECT_GUID_FROM_T_FriendMain_WHERE_Name_s
push 0x447690
call fcn.00416db0
add esp, 0xc
test al, al
je 0x406e28
push dword [0x44769c]
mov ebx, dword [sym.imp.ODBC32.dll_SQLFetch]
call ebx
cmp ax, 0x64
je 0x406e28
push str.GUID
call fcn.00417040
cmp eax, 0xffffffff
jne 0x406c8c
or esi, eax
jmp 0x406c9f
shl eax, 0xd
add eax, 0x4482be
push eax
call fcn.00420b26
add esp, 4
mov esi, eax
push dword [0x44769c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x44769c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0
push esi
push str.SELECT_FriendName_Del_FROM_T_FriendList_WHERE_GUID_d
push 0x447690
call fcn.00416db0
add esp, 0x10
test al, al
je 0x406e28
push dword [0x44769c]
call ebx
cmp ax, 0x64
je 0x406e28
nop dword [eax + eax]
push str.FriendName
mov word [ebp - 0x24], 0x1ec1
mov byte [ebp - 0x22], 0x62
call fcn.00417040
cmp eax, 0xffffffff
jne 0x406d1d
xorps xmm0, xmm0
mov word [ebp - 0x16], 0
movq qword [ebp - 0x1e], xmm0
mov byte [ebp - 0x14], 0
jmp 0x406d36
shl eax, 0xd
push 0xa
add eax, 0x4482be
push eax
lea eax, [ebp - 0x1e]
push 0xb
push eax
call fcn.00423e56
add esp, 0x10
lea eax, [ebp - 0x1e]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00404710
test al, al
je 0x406e16
cmp byte [ebp + 0xc], 0
movzx eax, word [ebp - 0x2a]
movq xmm0, qword [edi]
mov word [ebp - 0x20], ax
movzx eax, word [edi + 8]
mov word [ebp - 0xb], ax
mov al, byte [edi + 0xa]
movq qword [ebp - 0x13], xmm0
mov byte [ebp - 9], al
jne 0x406db7
push 0x43ad94
call fcn.00417040
cmp eax, 0xffffffff
jne 0x406d83
or eax, eax
jmp 0x406d94
shl eax, 0xd
add eax, 0x4482be
push eax
call fcn.00420b26
add esp, 4
test eax, eax
jne 0x406db7
lea eax, [ebp - 0x13]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00404710
test al, al
mov eax, 0xffff
je 0x406db2
movzx eax, word [ebp - 0x44]
mov byte [ebp - 8], al
jmp 0x406dbb
mov byte [ebp - 8], 0xff
mov si, word [ebp - 0x28]
xor edx, edx
xor eax, eax
mov ecx, dword [eax + 0x511774]
test ecx, ecx
js 0x406ded
cmp ecx, 0x14
jge 0x406ded
cmp dword [eax + 0x511778], 0
je 0x406ded
cmp dword [eax + 0x51178c], 0xffffffff
je 0x406ded
cmp word [eax + 0x5117cc], si
je 0x406dfa
add eax, 0x68
inc edx
cmp eax, 0x820
jl 0x406dc3
jmp 0x406e16
imul ecx, edx, 0x68
add ecx, 0x511770
je 0x406e16
movzx eax, byte [ebp - 0x23]
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ecx + 4]
call fcn.00405770
push dword [0x44769c]
call ebx
cmp ax, 0x64
jne 0x406cf0
push dword [0x44769c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x44769c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004198d7
mov esp, ebp
pop ebp
ret 8
Function at 0x406e70
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x442008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
push dword [ebp + 0xc]
push str.SELECT_MemoIndex_FriendName_wDate_Subject_bRead_FROM_T_FriendMail_WHERE_GUID_d
push 0x447690
call fcn.00416db0
add esp, 0xc
test al, al
je 0x407005
push dword [0x44769c]
mov edi, dword [sym.imp.ODBC32.dll_SQLFetch]
call edi
cmp ax, 0x64
je 0x407005
mov bx, word [ebp + 0x10]
nop
push str.MemoIndex
mov dword [ebp - 0x68], 0x715e00c2
mov word [ebp - 0x64], bx
call fcn.00417040
cmp eax, 0xffffffff
jne 0x406ede
or eax, eax
jmp 0x406eef
shl eax, 0xd
add eax, 0x4482be
push eax
call fcn.00420b26
add esp, 4
push str.FriendName
mov word [ebp - 0x62], ax
call fcn.00417040
cmp eax, 0xffffffff
jne 0x406f16
xorps xmm0, xmm0
mov word [ebp - 0x58], 0
movq qword [ebp - 0x60], xmm0
mov byte [ebp - 0x56], 0
jmp 0x406f2f
shl eax, 0xd
push 0xa
add eax, 0x4482be
push eax
lea eax, [ebp - 0x60]
push 0xb
push eax
call fcn.00423e56
add esp, 0x10
mov ax, word [esi + 8]
movq xmm0, qword [esi]
mov word [ebp - 0x4d], ax
mov al, byte [esi + 0xa]
push str.wDate
movq qword [ebp - 0x55], xmm0
mov byte [ebp - 0x4b], al
call fcn.00417040
cmp eax, 0xffffffff
jne 0x406f70
xorps xmm0, xmm0
mov dword [ebp - 0x32], 0
movups xmmword [ebp - 0x4a], xmm0
mov word [ebp - 0x2e], 0
movq qword [ebp - 0x3a], xmm0
jmp 0x406f89
shl eax, 0xd
push 0x1d
add eax, 0x4482be
push eax
lea eax, [ebp - 0x4a]
push 0x1e
push eax
call fcn.00423e56
add esp, 0x10
push str.Subject
call fcn.00417040
cmp eax, 0xffffffff
jne 0x406fa5
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
movups xmmword [ebp - 0x1c], xmm0
jmp 0x406fbe
shl eax, 0xd
push 0x1f
add eax, 0x4482be
push eax
lea eax, [ebp - 0x2c]
push 0x20
push eax
call fcn.00423e56
add esp, 0x10
push str.bRead
call fcn.00417040
cmp eax, 0xffffffff
jne 0x406fd1
or eax, eax
jmp 0x406fe2
shl eax, 0xd
add eax, 0x4482be
push eax
call fcn.00420b26
add esp, 4
mov byte [ebp - 0xc], al
lea eax, [ebp - 0x68]
push 0x5e
push eax
push dword [ebp + 8]
call fcn.00405770
push dword [0x44769c]
call edi
cmp ax, 0x64
jne 0x406ec0
push dword [0x44769c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x44769c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004198d7
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40f7f0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
push edi
push str.EXEC_WZ_GetItemSerial
push 0x447690
movzx eax, word [esi + 4]
movq xmm0, qword [esi + 6]
mov word [ebp - 0x30], ax
movzx eax, word [esi + 0xe]
mov word [ebp - 0x26], ax
mov al, byte [esi + 0x10]
mov byte [ebp - 0x24], al
mov al, byte [esi + 0x11]
mov byte [ebp - 0x23], al
mov al, byte [esi + 0x12]
mov byte [ebp - 0x22], al
mov al, byte [esi + 0x13]
mov word [ebp - 0x34], 0x30c1
mov byte [ebp - 0x32], 7
movq qword [ebp - 0x2e], xmm0
mov byte [ebp - 0x21], al
call fcn.00416db0
add esp, 8
test al, al
je 0x40f895
push dword [0x44769c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40f895
push 0x4482be
call fcn.00420b26
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
add esp, 4
mov dword [ebp - 0x20], eax
push dword [0x44769c]
call edi
mov ebx, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x44769c]
call ebx
mov eax, dword [ebp - 0x20]
jmp 0x40f8b8
push dword [0x44769c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov ebx, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x44769c]
call ebx
xor eax, eax
mov dword [ebp - 0x20], eax
movzx ecx, word [esi + 0x14]
mov edx, 0x1a04
cmp cx, dx
je 0x40f8d0
mov edx, 0x1a05
cmp cx, dx
jne 0x40f937
push eax
push str.SELECT_ItemSerial_FROM_T_PetItem_Info_WHERE_ItemSerial_d
push 0x447690
call fcn.00416db0
add esp, 0xc
test al, al
je 0x40f8f9
push dword [0x44769c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
jne 0x40f925
push dword [0x44769c]
call edi
push 2
push dword [0x44769c]
call ebx
mov eax, dword [ebp - 0x20]
push 0
push 1
push eax
push str.INSERT_INTO_T_PetItem_Info__ItemSerial_Pet_Level_Pet_Exp__VALUES___d__d__d_
push 0x447690
call fcn.00416db0
add esp, 0x14
push dword [0x44769c]
call edi
push 2
push dword [0x44769c]
call ebx
movzx eax, word [esi + 0x14]
mov word [ebp - 0x1c], ax
mov al, byte [esi + 0x16]
mov byte [ebp - 0x1a], al
mov al, byte [esi + 0x17]
mov byte [ebp - 0x19], al
mov al, byte [esi + 0x18]
mov byte [ebp - 0x18], al
mov al, byte [esi + 0x19]
mov byte [ebp - 0x17], al
mov al, byte [esi + 0x1a]
mov byte [ebp - 0x16], al
mov al, byte [esi + 0x1b]
mov byte [ebp - 0x15], al
movzx eax, word [esi + 0x1c]
mov word [ebp - 0x14], ax
mov al, byte [esi + 0x1e]
mov byte [ebp - 0x12], al
mov al, byte [esi + 0x1f]
mov byte [ebp - 0x11], al
mov al, byte [esi + 0x20]
mov byte [ebp - 0x10], al
mov eax, dword [esi + 0x21]
mov dword [ebp - 0xf], eax
mov al, byte [esi + 0x25]
mov byte [ebp - 0xb], al
mov al, byte [esi + 0x26]
mov byte [ebp - 0xa], al
mov eax, dword [esi + 0x28]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x34]
push 0x30
push eax
push dword [ebp - 4]
call fcn.004182a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40f9b0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x442008]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ecx + 4]
movq xmm0, qword [ecx + 6]
mov word [ebp - 0x3c], ax
movzx eax, word [ecx + 0xe]
mov word [ebp - 0x32], ax
mov al, byte [ecx + 0x10]
add ecx, 0x11
push ebx
push esi
mov byte [ebp - 0x30], al
mov esi, edx
movzx eax, word [ecx + 8]
mov bl, 0x3c
push ecx
movq qword [ebp - 0x3a], xmm0
movq xmm0, qword [ecx]
mov word [ebp - 0x27], ax
mov al, byte [ecx + 0xa]
push str.SELECT__FROM_OptionData_WHERE_Name_s
push 0x447690
mov word [ebp - 0x40], 0x3cc1
mov byte [ebp - 0x3e], 8
movq qword [ebp - 0x2f], xmm0
mov byte [ebp - 0x25], al
call fcn.00416db0
add esp, 0xc
test al, al
je 0x40fb7b
push dword [0x44769c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40fb7b
push 0x14
lea eax, [ebp - 0x24]
push eax
push str.SkillKey
call fcn.004170c0
push str.GameOption
call fcn.00417040
cmp eax, 0xffffffff
jne 0x40fa5e
or eax, eax
jmp 0x40fa6f
shl eax, 0xd
add eax, 0x4482be
push eax
call fcn.00420b26
add esp, 4
push str.Qkey
mov byte [ebp - 0x10], al
call fcn.00417040
cmp eax, 0xffffffff
jne 0x40fa85
or eax, eax
jmp 0x40fa96
shl eax, 0xd
add eax, 0x4482be
push eax
call fcn.00420b26
add esp, 4
push str.Wkey
mov byte [ebp - 0xf], al
call fcn.00417040
cmp eax, 0xffffffff
jne 0x40faac
or eax, eax
jmp 0x40fabd
shl eax, 0xd
add eax, 0x4482be
push eax
call fcn.00420b26
add esp, 4
push str.Ekey
mov byte [ebp - 0xe], al
call fcn.00417040
cmp eax, 0xffffffff
jne 0x40fad3
or eax, eax
jmp 0x40fae4
shl eax, 0xd
add eax, 0x4482be
push eax
call fcn.00420b26
add esp, 4
push str.ChatWindow
mov byte [ebp - 0xd], al
call fcn.00417040
cmp eax, 0xffffffff
jne 0x40fafa
or eax, eax
jmp 0x40fb0b
shl eax, 0xd
add eax, 0x4482be
push eax
call fcn.00420b26
add esp, 4
push str.Rkey
mov byte [ebp - 0xc], al
call fcn.00417040
cmp eax, 0xffffffff
jne 0x40fb21
or eax, eax
jmp 0x40fb32
shl eax, 0xd
add eax, 0x4482be
push eax
call fcn.00420b26
add esp, 4
push str.QWERLevel
mov byte [ebp - 0xb], al
call fcn.00417040
cmp eax, 0xffffffff
jne 0x40fb48
or eax, eax
jmp 0x40fb59
shl eax, 0xd
add eax, 0x4482be
push eax
call fcn.00420b26
add esp, 4
push dword [0x44769c]
mov dword [ebp - 8], eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x44769c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov bl, byte [ebp - 0x3f]
jmp 0x40fbbb
push dword [0x44769c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x44769c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
movaps xmm0, xmmword [0x43f010]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x10], 0xffffffff
mov word [ebp - 0xc], 0xffff
mov dword [ebp - 8], 0xffffffff
movzx eax, bl
push eax
lea eax, [ebp - 0x40]
push eax
push esi
call fcn.004182a0
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004198d7
mov esp, ebp
pop ebp
ret
Function at 0x40fbe0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x103c
call fcn.004328a0
mov eax, dword [0x442008]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ecx + 0x12], 0
movzx eax, word [ecx + 4]
movq xmm0, qword [ecx + 6]
mov word [ebp - 0x101c], ax
movzx eax, word [ecx + 0xe]
mov word [ebp - 0x1012], ax
mov al, byte [ecx + 0x10]
push ebx
mov byte [ebp - 0x1010], al
mov ebx, 0x14
mov al, byte [ecx + 0x11]
push esi
push edi
mov dword [ebp - 0x1038], edx
mov dword [ebp - 0x1034], ecx
mov byte [ebp - 0x1020], 0xc2
mov byte [ebp - 0x101d], 9
movq qword [ebp - 0x101a], xmm0
mov byte [ebp - 0x100f], al
mov byte [ebp - 0x100e], 0
mov dword [ebp - 0x100c], 0
jbe 0x40fdcb
lea edi, [ebp - 0xff4]
lea esi, [ecx + 0x18]
push dword [esi]
push str.SELECT_Pet_Level_Pet_Exp_FROM_T_PetItem_Info_WHERE_ItemSerial_d
push 0x447690
call fcn.00416db0
add esp, 0xc
test al, al
je 0x40fd25
push dword [0x44769c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40fd25
mov al, byte [esi - 4]
mov byte [ebp - 0x1030], al
mov eax, dword [esi]
push str.Pet_Level
mov dword [ebp - 0x102c], eax
call fcn.00417040
cmp eax, 0xffffffff
jne 0x40fcc8
or eax, eax
jmp 0x40fcd9
shl eax, 0xd
add eax, 0x4482be
push eax
call fcn.00420b26
add esp, 4
push str.Pet_Exp
mov byte [ebp - 0x1028], al
call fcn.00417040
cmp eax, 0xffffffff
jne 0x40fcf2
or eax, eax
jmp 0x40fd03
shl eax, 0xd
add eax, 0x4482be
push eax
call fcn.00420b26
add esp, 4
push dword [0x44769c]
mov dword [ebp - 0x1024], eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x44769c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
jmp 0x40fd93
push dword [0x44769c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x44769c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0
push 1
push dword [esi]
push str.INSERT_INTO_T_PetItem_Info__ItemSerial_Pet_Level_Pet_Exp__VALUES___d__d__d_
push 0x447690
call fcn.00416db0
add esp, 0x14
push dword [0x44769c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x44769c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov al, byte [esi - 4]
mov byte [ebp - 0x1030], al
mov eax, dword [esi]
mov dword [ebp - 0x102c], eax
mov byte [ebp - 0x1028], 1
mov dword [ebp - 0x1024], 0
mov eax, dword [ebp - 0x1034]
add ebx, 0x10
movups xmm0, xmmword [ebp - 0x1030]
mov ecx, dword [ebp - 0x100c]
add esi, 8
inc byte [ebp - 0x100e]
inc ecx
movzx eax, byte [eax + 0x12]
movups xmmword [edi], xmm0
add edi, 0x10
mov dword [ebp - 0x100c], ecx
cmp ecx, eax
jl 0x40fc72
mov eax, ebx
mov byte [ebp - 0x101e], bl
shr eax, 8
mov byte [ebp - 0x101f], al
mov eax, dword [ebp - 0x1010]
movups xmm0, xmmword [ebp - 0x1020]
mov dword [ebp - 0xff8], eax
lea eax, [ebp - 0x1008]
push ebx
push eax
push dword [ebp - 0x1038]
movups xmmword [ebp - 0x1008], xmm0
call fcn.004182a0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004198d7
mov esp, ebp
pop ebp
ret
Function at 0x4101d0
Capabilities:
Reference sql statements

Disassembly:
push ebx
mov ebx, ecx
push esi
push edi
lea eax, [ebx + 0x11]
push eax
push str.SELECT_Name_FROM_OptionData_WHERE_Name_s
push 0x447690
call fcn.00416db0
add esp, 0xc
test al, al
je 0x41027c
push dword [0x44769c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x41027c
push dword [0x44769c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x44769c]
call esi
push 0x510450
push 0
lea eax, [ebx + 0x1c]
mov dword [0x510450], 0x14
push eax
push 0
push 0x14
push 0xfffffffffffffffd
push 0xfffffffffffffffe
push 1
push 1
push dword [0x44769c]
call dword [sym.imp.ODBC32.dll_SQLBindParameter]
lea eax, [ebx + 0x11]
push eax
push dword [ebx + 0x38]
movzx eax, byte [ebx + 0x35]
push eax
movzx eax, byte [ebx + 0x34]
push eax
movzx eax, byte [ebx + 0x33]
push eax
movzx eax, byte [ebx + 0x32]
push eax
movzx eax, byte [ebx + 0x31]
push eax
movzx eax, byte [ebx + 0x30]
push eax
push str.UPDATE_OptionData_SET_SkillKey__GameOption_d_Qkey_d_Wkey_d_Ekey_d_ChatWindow_d_Rkey_d_QWERLevel_d_WHERE_Name_s
jmp 0x4102f1
push dword [0x44769c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x44769c]
call esi
push 0x510450
push 0
lea eax, [ebx + 0x1c]
mov dword [0x510450], 0x14
push eax
push 0
push 0x14
push 0xfffffffffffffffd
push 0xfffffffffffffffe
push 1
push 1
push dword [0x44769c]
call dword [sym.imp.ODBC32.dll_SQLBindParameter]
push dword [ebx + 0x38]
movzx eax, byte [ebx + 0x35]
push eax
movzx eax, byte [ebx + 0x34]
push eax
movzx eax, byte [ebx + 0x33]
push eax
movzx eax, byte [ebx + 0x32]
push eax
movzx eax, byte [ebx + 0x31]
push eax
movzx eax, byte [ebx + 0x30]
push eax
lea eax, [ebx + 0x11]
push eax
push str.INSERT_INTO_OptionData__Name_SkillKey_GameOption_Qkey_Wkey_Ekey_ChatWindow_Rkey_QWERLevel__VALUES___s____d__d__d__d__d__d__d_
push 0x447690
call fcn.00416db0
add esp, 0x28
push dword [0x44769c]
call edi
push 2
push dword [0x44769c]
call esi
pop edi
pop esi
pop ebx
ret
Function at 0x412810
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
push ebx
mov ebx, ecx
push esi
push edi
mov cl, byte [ebx + 3]
test cl, cl
je 0x41282c
inc eax
cmp byte [ebx + eax + 3], 0
jne 0x412824
cmp eax, 0xa
jl 0x412896
xor eax, eax
test cl, cl
je 0x412896
inc eax
cmp byte [eax + ebx + 3], 0
jne 0x412837
cmp eax, 0xa
jle 0x412896
push 0xb
call fcn.00419d04
movzx ecx, byte [ebx + 3]
mov edi, eax
add esp, 4
mov byte [edi], cl
movzx ecx, byte [ebx + 4]
mov byte [edi + 1], cl
movzx ecx, byte [ebx + 5]
mov byte [edi + 2], cl
movzx ecx, byte [ebx + 6]
mov byte [edi + 3], cl
movzx ecx, byte [ebx + 7]
mov byte [edi + 4], cl
mov al, byte [ebx + 8]
mov byte [edi + 5], al
mov al, byte [ebx + 9]
mov byte [edi + 6], al
mov al, byte [ebx + 0xa]
mov byte [edi + 7], al
mov al, byte [ebx + 0xb]
mov byte [edi + 8], al
mov al, byte [ebx + 0xc]
mov byte [edi + 9], al
mov byte [edi + 0xa], 0
jmp 0x412899
lea edi, [ebx + 3]
push edi
call fcn.00413c00
mov esi, eax
push edi
mov dword [ebp - 0x14], esi
call fcn.00413c60
test esi, esi
je 0x4129a4
test eax, eax
je 0x4129a4
mov eax, dword [ebx + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x18]
mov ebx, dword [ebx + 0x10]
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ebx
call fcn.00413c00
push edi
mov esi, eax
call fcn.00413c60
mov dword [ebp - 0x10], eax
test esi, esi
je 0x4129a4
push edi
push ebx
push str.UPDATE_GuildMember_SET_Devote_d_WHERE_Name_s
push 0x447690
call fcn.00416db0
add esp, 0x10
push dword [0x44769c]
test al, al
jne 0x41291e
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x44769c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov ebx, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x44769c]
call ebx
push dword [esi]
push dword [ebp - 8]
push dword [ebp - 4]
push str.UPDATE_Guild_SET_TotalDevote_d__LevelDevote_d_WHERE_Number_d
push 0x447690
call fcn.00416db0
add esp, 0x14
test al, al
jne 0x41296d
push dword [0x44769c]
call edi
push 2
push dword [0x44769c]
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0x84], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x88], eax
mov eax, dword [ebp - 0xc]
mov dword [ecx + 0x10], eax
push dword [0x44769c]
call edi
push 2
push dword [0x44769c]
call ebx
mov edx, dword [ebp - 0x14]
mov edx, dword [edx]
call fcn.00412ee0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414cb0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x442008]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x447544
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x447544
mov dword [0x447540], 0x10000000
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
mov dword [0x447338], 0
mov dword [0x44733c], 0
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0x4920
push 0
push 0x442a0c
mov dword [0x447330], eax
mov dword [0x447334], 0xffffff
mov byte [0x44758c], 1
call fcn.0041b210
add esp, 0xc
cmp byte [0x44758c], 1
jne 0x414eea
push edi
push 0xff
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.0041b210
lea eax, [ebp - 0x10c]
push eax
call fcn.0041da2d
lea eax, [ebp - 0x10c]
push eax
call fcn.0041dd00
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push 0x43d604
mov edx, dword [eax + 0xc]
add dword [eax + 0x14], 0x76c
mov dword [0x447580], edx
mov ecx, dword [eax + 0x10]
inc ecx
mov dword [0x447584], ecx
mov eax, dword [eax + 0x14]
push eax
push ecx
push edx
mov dword [0x447588], eax
mov dword [0x44757c], eax
lea eax, [ebp - 0x104]
push str.Log_02d._02d._04d__s.log
push eax
mov dword [0x447574], edx
mov dword [0x447578], ecx
call edi
add esp, 0x2c
push 0
push 0x43d62c
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x104]
push 0x43efe0
push eax
call fcn.0041ddd4
add esp, 8
test eax, eax
je 0x414e4e
push esi
push eax
call fcn.0041de62
add esp, 4
mov esi, 2
nop dword [eax + eax]
push 0xff
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.0041b210
push esi
push 0x43d604
push dword [0x44757c]
lea eax, [ebp - 0x104]
push dword [0x447578]
push dword [0x447574]
push str.Log_02d._02d._04d__s_start__d.log
push eax
call edi
lea eax, [ebp - 0x104]
push 0x43efe0
push eax
call fcn.0041ddd4
add esp, 0x30
test eax, eax
je 0x414e4d
push eax
call fcn.0041de62
add esp, 4
inc esi
jmp 0x414df0
pop esi
push 0xff
push 0
push 0x44743f
call fcn.0041b210
add esp, 0xc
lea ecx, [ebp - 0x104]
lea edx, [ecx + 1]
pop edi
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x414e70
sub ecx, edx
lea eax, [ecx - 4]
push eax
lea eax, [ebp - 0x104]
push eax
push 0x44743f
call fcn.0041ce00
add esp, 0xc
xor ecx, ecx
nop dword [eax]
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x104]
lea ecx, [ecx + 1]
mov byte [ecx + 0x44733f], al
test al, al
jne 0x414ea0
cmp dword [0x44733c], 0
jne 0x414eea
push 0x43d654
push 0x447340
call fcn.0041ddd4
add esp, 8
mov dword [0x44733c], eax
test eax, eax
jne 0x414eea
push str.Log_file_create_error.
push 0x442a08
call fcn.00415250
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004198d7
mov esp, ebp
pop ebp
ret 8