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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x526cf2
push 0x7a9460
lea eax, [ebp - 0x400]
push str.DELETE_FROM__s_WHERE_id1081_LIMIT_1
push eax
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 0xc
lea eax, [ebp - 0x400]
mov edx, dword [ecx]
push 0
push eax
call dword [edx + 8]
push 0x7a9460
lea ecx, [ebp - 0x400]
push str.SELECT__FROM__s_WHERE_id1081_LIMIT_1
push ecx
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 0xc
lea eax, [ebp - 0x400]
mov edx, dword [ecx]
push 0
push eax
call dword [edx]
test eax, eax
mov dword [esi + 8], eax
jne 0x526c6e
push 0x6a
push 0x7af858
push str.m_pResCountLock
push str.CHECK
push 0x793720
call fcn.00401080
add esp, 0x14
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov edx, dword [eax]
push 0x439
push 0
mov ecx, eax
call dword [edx + 0x18]
mov ecx, dword [esi + 8]
push 0x31
push 4
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [esi + 8]
push 0x30fc
push 5
mov edx, dword [ecx]
call dword [edx + 0x18]
mov edi, dword [ebp + 8]
mov ecx, dword [esi + 8]
mov edx, dword [edi]
mov eax, dword [ecx]
push edx
push 0x14
call dword [eax + 0x18]
mov ecx, dword [esi + 8]
mov edx, dword [edi + 4]
push edx
push 0x15
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [esi + 8]
mov edx, dword [edi + 8]
push edx
push 0x16
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [esi + 8]
mov edx, dword [edi + 0xc]
push edx
push 0x17
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [esi + 8]
push 0x10
push 0x7af924
push 3
mov eax, dword [ecx]
call dword [eax + 0x4c]
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
call dword [edx + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, dword [edi]
push edx
push 0x14
call dword [eax + 0x18]
mov ecx, dword [esi + 8]
mov edx, dword [edi + 4]
push edx
push 0x15
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [esi + 8]
mov edx, dword [edi + 8]
push edx
push 0x16
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [esi + 8]
mov edx, dword [edi + 0xc]
push edx
push 0x17
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [esi + 8]
push 1
mov eax, dword [ecx]
call dword [eax + 0xc]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x527030
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x52705e
push str.OpenProcessToken
call fcn.00401080
add esp, 4
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x10]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [ebp - 4]
push 0
push 0
lea edx, [ebp - 0x14]
push 0
push edx
push 0
push eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
je 0x5270ae
push str.AdjustTokenPrivileges
call fcn.00401080
add esp, 4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
push 0
or ecx, 4
push ecx
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov esp, ebp
pop ebp
ret

Function at 0x5271e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74322d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
lea eax, [ebp - 0xd]
xor edi, edi
lea ebx, [esi + 0xc]
push eax
mov ecx, ebx
mov dword [ebp - 0x14], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [ebp - 0x18], ebx
call fcn.0052a770
mov cl, byte [ebp - 0xd]
mov dword [ebp - 4], edi
mov byte [ebx + 8], cl
mov ecx, ebx
mov dword [ebx + 4], edi
call fcn.0052a750
mov dword [ebp - 4], 1
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
lea ebx, [esi + 0x48]
lea edx, [ebp - 0xd]
push edx
mov ecx, ebx
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], ebx
call fcn.0052a7b0
mov al, byte [ebp - 0xd]
mov ecx, ebx
mov byte [ebp - 4], 6
mov dword [ebx + 4], edi
mov byte [ebx + 8], al
call fcn.0052a790
lea ecx, [ebp - 0xe]
lea ebx, [esi + 0x54]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 7
mov dword [ebp - 0x18], ebx
call fcn.0052a7f0
mov dl, byte [ebp - 0xe]
mov ecx, ebx
mov byte [ebp - 4], 8
mov dword [ebx + 4], edi
mov byte [ebx + 8], dl
call fcn.0052a7d0
lea ebx, [esi + 0x60]
lea eax, [ebp - 0xf]
push eax
mov ecx, ebx
mov byte [ebp - 4], 9
mov dword [ebp - 0x18], ebx
call fcn.0052a7b0
mov cl, byte [ebp - 0xf]
mov byte [ebp - 4], 0xa
mov dword [ebx + 4], edi
mov byte [ebx + 8], cl
mov ecx, ebx
call fcn.0052a790
mov dword [esi], 0x7554d0
mov dword [esi + 4], 0x708
call fcn.007028fe
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov ecx, dword [ebp - 0xc]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, esi
mov dword [esi + 8], edx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x529240
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x743368
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x400
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
lea eax, [eax + eax*4]
test ecx, ecx
jne 0x529296
lea eax, [eax + eax*4]
lea ecx, [ebp - 0x40c]
shl eax, 2
push eax
push 0x79a1ac
push 0x79a140
push str.SELECT_COUNT___AS_amount_FROM__s_as_e_LEFT_JOIN__s_AS_u_ON_e.player_idu.id_WHERE_e.star_lev__d_AND__e.reborn_times_0_OR_e.item_type__10_0_
push ecx
call fcn.0070258b
add esp, 0x14
jmp 0x5292d6
lea edx, [eax + eax*4]
mov eax, ecx
shl edx, 2
push edx
xor edx, edx
mov esi, 0x3e8
div esi
mov eax, ecx
mov ecx, 0xa
mov esi, edx
xor edx, edx
div ecx
sub esi, edx
lea edx, [ebp - 0x40c]
push esi
push 0x79a1ac
push 0x79a140
push str.SELECT_COUNT___AS_amount_FROM__s_as_e_LEFT_JOIN__s_AS_u_ON_e.player_idu.id_WHERE___e.item_type__1000___e.item_type___10__u_AND_e.star_lev__d_AND__e.reborn_times_0_OR_e.item_type__10_0_
push edx
call fcn.0070258b
add esp, 0x18
mov ecx, dword [0x7fd5f0]
lea edx, [ebp - 0x40c]
push 1
push edx
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
mov dword [ebp + 0xc], esi
test esi, esi
mov dword [ebp - 4], 0
je 0x52930f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
test eax, eax
jbe 0x52930f
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x44]
mov edi, eax
test esi, esi
mov dword [ebp - 4], 0xffffffff
je 0x529321
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x529340
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x743388
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x400
mov eax, dword [ebp + 8]
push esi
push edi
push eax
push 0x79a1ac
lea ecx, [ebp - 0x40c]
push str.SELECT_COUNT___AS_amount_FROM__s_WHERE_level__d
push ecx
xor edi, edi
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 0x10
lea eax, [ebp - 0x40c]
mov edx, dword [ecx]
push 1
push eax
call dword [edx]
mov esi, eax
mov dword [ebp + 8], esi
test esi, esi
mov dword [ebp - 4], edi
je 0x5293b3
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x60]
test eax, eax
jbe 0x5293b3
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x44]
mov edi, eax
test esi, esi
mov dword [ebp - 4], 0xffffffff
je 0x5293c5
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x52c1c0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x743476
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
push 0x18
mov dword [ebp - 0x14], esi
mov dword [esi], ebx
call fcn.004055b0
add esp, 4
mov dword [esi], eax
mov al, byte [ebp - 0xd]
mov ecx, esi
mov dword [ebp - 4], ebx
mov dword [esi + 4], ebx
mov byte [esi + 8], al
call fcn.00530bc0
lea edi, [esi + 0xc]
push 0x18
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], edi
mov dword [edi], ebx
call fcn.004055b0
add esp, 4
mov dword [edi], eax
mov cl, byte [ebp - 0xd]
mov byte [ebp - 4], 2
mov byte [edi + 8], cl
mov ecx, edi
mov dword [edi + 4], ebx
call fcn.004fa3b0
lea edi, [esi + 0x18]
push 0x18
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], edi
mov dword [edi], ebx
call fcn.004055b0
add esp, 4
mov dword [edi], eax
mov dl, byte [ebp - 0xd]
mov ecx, edi
mov byte [ebp - 4], 4
mov dword [edi + 4], ebx
mov byte [edi + 8], dl
call fcn.004fa3b0
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
push 0x3c
mov byte [ebp - 4], 5
mov dword [esi + 0x2c], ebx
call fcn.004055b0
mov cl, byte [ebp - 0xd]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ebx
mov byte [esi + 0x34], cl
mov byte [eax], bl
mov edx, dword [esi + 0x2c]
add esp, 4
mov dword [edx + 4], ebx
mov eax, dword [esi + 0x2c]
mov dword [eax + 8], eax
mov eax, dword [esi + 0x2c]
mov dword [eax + 0xc], eax
mov dword [esi + 0x24], 0x3c
call fcn.007028fe
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
pop edi
shr eax, 0x1f
add edx, eax
mov eax, esi
mov dword [esi + 0x28], edx
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x52cbe0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x743558
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x41c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
mov ebx, ecx
jne 0x52cc40
push 0x9c
push 0x7afcec
push str.pUser
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
call dword [eax + 0xe0]
test al, al
jne 0x52cc63
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x5e4]
lea ecx, [ebp - 0x428]
push eax
push str.cq_gmpw
push str.SELECT_id__gm_account__gm_password__time_stamp__case_num_FROM__s_WHERE_gm_account_u_LIMIT_1
push ecx
mov byte [ebp + 0xb], 0
mov dword [ebp - 0x14], eax
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 0x10
lea eax, [ebp - 0x428]
mov edx, dword [ecx]
push 1
push eax
call dword [edx]
mov esi, eax
mov dword [ebp - 0x24], esi
test esi, esi
mov dword [ebp - 4], 0
je 0x52cdd2
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x60]
test eax, eax
jbe 0x52cdd2
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
push ecx
mov ecx, ebx
call fcn.00530eb0
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x18]
cmp ecx, eax
jne 0x52cd7b
push 0xc
call fcn.00728cf3
mov edi, eax
xor eax, eax
add esp, 4
cmp edi, eax
je 0x52cd06
mov dword [edi], 0x7555cc
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov edx, dword [edi]
push esi
mov ecx, edi
call dword [edx + 0x24]
test al, al
jne 0x52cd2c
push 0xb0
push 0x7afcec
push str.pData__pData__Create_pRes_
push str.IF_OK
push 0x793720
call fcn.00401080
add esp, 0x14
jmp 0x52cdd2
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x10]
push eax
push ecx
mov ecx, ebx
call fcn.00530f10
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x10]
cmp eax, ecx
mov ecx, dword [ebp - 0x14]
je 0x52cd4c
cmp ecx, dword [eax + 0x10]
jae 0x52cd76
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], ecx
push edx
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
mov dword [ebp - 0x1c], 0
call fcn.00530ba0
lea ecx, [ebp - 0x28]
push ecx
mov ecx, ebx
call fcn.00530b60
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov dword [eax + 0x14], edi
jmp 0x52cdce
mov edi, dword [ecx + 0x14]
test edi, edi
jne 0x52cd93
push 0xb9
push 0x7afcec
push str.pData
jmp 0x52cd15
mov edx, dword [esi]
mov ebx, dword [edi]
push 0x10
push 2
mov ecx, esi
call dword [edx + 0x48]
push eax
push 2
mov ecx, edi
call dword [ebx + 0x14]
mov eax, dword [esi]
mov ebx, dword [edi]
push 3
mov ecx, esi
call dword [eax + 0x44]
push eax
push 3
mov ecx, edi
call dword [ebx + 0x10]
mov edx, dword [esi]
mov ebx, dword [edi]
push 4
mov ecx, esi
call dword [edx + 0x44]
push eax
push 4
mov ecx, edi
call dword [ebx + 0x10]
mov byte [ebp + 0xb], 1
test esi, esi
mov dword [ebp - 4], 0xffffffff
je 0x52cde4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp + 0xb]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x5354b0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x743b18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x404
push esi
push 0x6acfc0
push 0x5b8d80
push 0x2dc6c0
push 0x79a140
push str.cq_dyna_rank_rec
lea eax, [ebp - 0x410]
push str.SELECT_r.id_FROM__s_AS_r_LEFT_JOIN__s_AS_e_ON__r.obj_ide.id__WHERE_r.obj_id___0__e.id_is_null___r.type____u_OR__r.type____u_AND_r.type____u__
push eax
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 0x1c
lea eax, [ebp - 0x410]
mov edx, dword [ecx]
push 1
push eax
call dword [edx]
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
mov dword [ebp - 4], 0
je 0x53557d
push edi
xor edi, edi
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x60]
cmp edi, eax
jae 0x53556e
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x44]
push eax
push str.cq_dyna_rank_rec
lea ecx, [ebp - 0x410]
push str.DELETE_FROM__s_WHERE_id_u_LIMIT_1
push ecx
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 0x10
lea eax, [ebp - 0x410]
mov edx, dword [ecx]
push 0
push eax
call dword [edx + 8]
mov edx, dword [esi]
mov ecx, esi
inc edi
call dword [edx + 0x64]
jmp 0x535522
push edi
push str.Delete_dyna_rank_rec_dirty_record__u.
call fcn.00402c60
add esp, 8
pop edi
push str.cq_dyna_rank_rec
lea eax, [ebp - 0x410]
push str.DELETE_FROM__s_WHERE_obj_id0
push eax
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 0xc
lea eax, [ebp - 0x410]
mov edx, dword [ecx]
push 0
push eax
call dword [edx + 8]
test esi, esi
mov dword [ebp - 4], 0xffffffff
je 0x5355bc
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x5378c0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x5378f7
push 0x3a9
push 0x7b0aa8
push str.pData
push str.CHECK
push 0x793720
call fcn.00401080
add esp, 0x14
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x7fdbd4]
push ebx
test eax, eax
push edi
jne 0x5379c8
call fcn.00538300
mov edi, dword [0x7fd5f0]
mov dword [0x7fdbd4], eax
mov ebx, eax
push 0x7b4240
push 0x7b0a88
lea eax, [ebp - 0x100]
push str.SELECT__FROM__s_WHERE__s0_LIMIT_1
push eax
call fcn.0070258b
mov ecx, dword [0x801a50]
add esp, 0x10
test ecx, ecx
jne 0x5379ac
mov edx, dword [edi]
lea eax, [ebp - 0x100]
push ecx
push eax
mov ecx, edi
call dword [edx]
mov edi, eax
mov eax, dword [0x801a50]
test eax, eax
jne 0x53795d
test edi, edi
jne 0x53797b
push 0x1a
push str.....common_autoptr.h
push str._m_ptr__ptr
push str.ASSERT
push 0x793720
call fcn.00401080
add esp, 0x14
test edi, edi
setne al
mov ecx, edi
test al, al
mov dword [0x801a50], ecx
jne 0x5379ac
push 0x38
push str.....GameBaseCodeMTGameData.h
push str.CreateNewDefault_pDb_
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
jmp 0x5379c8
mov edx, dword [ecx]
push 0
call dword [edx]
test eax, eax
mov dword [ebx + 4], eax
je 0x5379c8
mov edx, dword [eax]
push 0x7b4240
mov ecx, eax
call dword [edx + 0x30]
mov dword [ebx + 8], eax
mov ecx, dword [0x7fdbd4]
mov edx, dword [esi]
push edx
push 0
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [0x7fdbd4]
mov edx, dword [esi + 4]
push edx
push 1
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [0x7fdbd4]
mov edx, dword [esi + 8]
push edx
push 2
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [0x7fdbd4]
mov edx, dword [esi + 0xc]
push edx
push 3
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [0x7fdbd4]
lea edx, [esi + 0x10]
push 0x10
push edx
mov eax, dword [ecx]
push 4
call dword [eax + 0x14]
mov ecx, dword [0x7fdbd4]
mov edx, dword [esi + 0x20]
push edx
push 5
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [0x7fdbd4]
lea edx, [esi + 0x24]
push 0x10
push edx
mov eax, dword [ecx]
push 6
call dword [eax + 0x14]
mov al, byte [esi + 0x34]
pop edi
test al, al
pop ebx
je 0x537a63
mov ecx, dword [0x7fdbd4]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov byte [esi + 0x34], 0
mov byte [esi + 0x35], 0
pop esi
mov esp, ebp
pop ebp
ret
mov al, byte [esi + 0x35]
test al, al
je 0x537a75
mov ecx, dword [0x7fdbd4]
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov byte [esi + 0x34], 0
mov byte [esi + 0x35], 0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x53ca30
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x743e48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x404
push ebx
push esi
push edi
lea eax, [ebp - 0x410]
push str.SELECT__FROM_cq_dup_name_WHERE_type4__complete1
mov edi, ecx
push eax
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 8
lea eax, [ebp - 0x410]
mov edx, dword [ecx]
push 1
push eax
call dword [edx]
mov esi, eax
mov dword [ebp - 0x10], esi
xor ebx, ebx
cmp esi, ebx
mov dword [ebp - 4], ebx
je 0x53caf2
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x60]
cmp ebx, eax
jae 0x53cae4
mov eax, dword [esi]
push 2
mov ecx, esi
call dword [eax + 0x44]
cmp eax, 4
jne 0x53cada
mov edx, dword [esi]
push 6
mov ecx, esi
call dword [edx + 0x48]
push eax
mov eax, dword [esi]
push 5
mov ecx, esi
call dword [eax + 0x48]
mov edx, dword [esi]
push eax
push 3
mov ecx, esi
call dword [edx + 0x44]
push eax
mov ecx, edi
call fcn.0053c9a0
mov eax, dword [esi]
push 2
push 1
mov ecx, esi
call dword [eax + 0x18]
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0xc]
mov eax, dword [esi]
mov ecx, esi
inc ebx
call dword [eax + 0x64]
jmp 0x53ca88
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x53cb10
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x743e68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x408
push ebx
push esi
push edi
mov ebx, ecx
call fcn.0053ca30
mov byte [ebx], 0
mov ecx, dword [0x7fd53c]
xor edi, edi
cmp ecx, edi
jne 0x53cb6a
push 0x1a0
push 0x797a90
push str.g_pConfigSet
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor ecx, ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x1773
push eax
call fcn.0047ae00
mov eax, dword [eax]
cmp eax, edi
je 0x53cb90
mov edx, dword [eax]
push 2
mov ecx, eax
call dword [edx + 8]
test eax, eax
jle 0x53cb90
mov byte [ebx], 1
cmp byte [ebx], 0
je 0x53cc2c
lea eax, [ebp - 0x414]
push str.SELECT__FROM_cq_dup_name_WHERE_type_1__type_3__complete1
push eax
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 8
lea eax, [ebp - 0x414]
mov edx, dword [ecx]
push 1
push eax
call dword [edx]
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, edi
mov dword [ebp - 4], edi
je 0x53cc2c
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x60]
cmp edi, eax
jae 0x53cc1e
mov eax, dword [esi]
push 2
mov ecx, esi
call dword [eax + 0x44]
cmp eax, 1
jne 0x53cc00
mov edx, dword [esi]
push 6
mov ecx, esi
call dword [edx + 0x48]
push eax
mov eax, dword [esi]
push 5
mov ecx, esi
call dword [eax + 0x48]
push eax
mov ecx, ebx
call fcn.0053c8a0
mov edx, dword [esi]
push 2
push 1
mov ecx, esi
call dword [edx + 0x18]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0xc]
mov edx, dword [esi]
mov ecx, esi
inc edi
call dword [edx + 0x64]
jmp 0x53cbcc
mov eax, dword [esi]
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x53f1d0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x744063
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x410
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x14], esi
cmp eax, edi
jne 0x53f22e
push 0x20
push 0x7b1984
push str.m_pFamilySet
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push ebx
push 0x7ac7a8
lea eax, [ebp - 0x41c]
push str.SELECT__FROM__s_AS_f_WHERE_f.del_flag0_ORDER_BY_amount_DESC
push eax
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 0xc
lea eax, [ebp - 0x41c]
mov edx, dword [ecx]
push 1
push eax
call dword [edx]
mov ebx, eax
mov dword [ebp - 0x18], ebx
cmp ebx, edi
mov dword [ebp - 4], edi
je 0x53f305
mov dword [ebp - 0x10], edi
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x60]
cmp dword [ebp - 0x10], eax
jae 0x53f305
mov edi, dword [esi + 0x10]
push 0x28
call fcn.006442a0
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
mov byte [ebp - 4], 1
je 0x53f2a1
mov ecx, eax
call fcn.00644310
mov esi, eax
jmp 0x53f2a3
xor esi, esi
test esi, esi
mov byte [ebp - 4], 0
je 0x53f2c8
push ebx
mov ecx, esi
mov dword [esi + 0x18], edi
call fcn.00644780
test al, al
je 0x53f2e8
mov eax, dword [ebp - 0x14]
push esi
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx]
call dword [edx + 0x10]
jmp 0x53f2ef
push 0x2b
push 0x7b1984
push str.pFamily
push str.IF_OK
push 0x793720
call fcn.00401080
add esp, 0x14
jmp 0x53f2ef
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x64]
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x10], eax
jmp 0x53f26e
test ebx, ebx
mov dword [ebp - 4], 0xffffffff
je 0x53f317
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop ebx
pop edi
mov al, 1
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret