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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
push edi
mov dword [ebp - 4], ecx
call fcn.00547b10
mov esi, eax
test esi, esi
je 0x5439ff
mov edi, dword [0x7fd5f0]
push 0x7b4240
push 0x7b1a98
lea eax, [ebp - 0x104]
push str.SELECT__FROM__s_WHERE__s0_LIMIT_1
push eax
call fcn.0070258b
mov ecx, dword [0x801a48]
add esp, 0x10
test ecx, ecx
jne 0x5439d7
mov edx, dword [edi]
lea eax, [ebp - 0x104]
push ecx
push eax
mov ecx, edi
call dword [edx]
mov edi, eax
mov eax, dword [0x801a48]
test eax, eax
jne 0x543988
test edi, edi
jne 0x5439a6
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 [0x801a48], ecx
jne 0x5439d7
push 0x38
push str.....GameBaseCodeMTGameData.h
push str.CreateNewDefault_pDb_
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
jmp 0x5439ff
mov edx, dword [ecx]
push 0
call dword [edx]
test eax, eax
mov dword [esi + 4], eax
je 0x5439f3
mov edx, dword [eax]
push 0x7b4240
mov ecx, eax
call dword [edx + 0x30]
mov dword [esi + 8], eax
mov edx, dword [esi + 4]
test edx, edx
setne al
test al, al
jne 0x543a2a
push 0x332
push 0x7b1ae0
push str.pData__pData__Create_Database____ID_NONE_
push str.IF_OK
push 0x793720
call fcn.00401080
add esp, 0x14
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x18]
cmp ecx, 1
push ebx
mov edi, eax
jne 0x543a62
xor edx, edx
mov edi, 0x2710
div edi
mov eax, 0xcccccccd
mov ebx, 0x64
mul edx
shr edx, 3
lea eax, [edx + edx*4]
lea eax, [eax + eax*4]
lea edi, [eax + eax*4]
mov eax, dword [ebp + 0x1c]
cdq
idiv ebx
lea edi, [edx + edi*8]
mov eax, dword [esi]
push ecx
push 1
mov ecx, esi
call dword [eax + 0x10]
mov edx, dword [esi]
push edi
push 2
mov ecx, esi
call dword [edx + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [esi]
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 4]
push eax
push 3
mov ecx, esi
call dword [ebx + 0x10]
mov eax, dword [ebp + 0x20]
mov edx, dword [esi]
push eax
push 4
mov ecx, esi
call dword [edx + 0x10]
mov eax, dword [ebp + 0x14]
mov edx, dword [esi]
push eax
push 5
mov ecx, esi
call dword [edx + 0x10]
mov eax, dword [ebp + 0x10]
mov edx, dword [esi]
push eax
push 6
mov ecx, esi
call dword [edx + 0x10]
mov ebx, dword [esi]
push 0
push 2
call fcn.0040ab00
add esp, 8
mov ecx, esi
push eax
push 7
call dword [ebx + 0x10]
mov ebx, dword [ebp - 4]
xor eax, eax
mov cl, byte [ebx + 0x38]
test cl, cl
je 0x543ae1
cmp dword [ebp + 0x1c], 0x11
je 0x543ae1
push esi
mov ecx, ebx
call fcn.005450a0
mov edx, dword [esi]
push eax
push 8
mov ecx, esi
call dword [edx + 0x10]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
push 0
push esi
mov ecx, ebx
call fcn.00542d20
test al, al
pop ebx
je 0x543b20
mov ecx, dword [edi + 8]
lea eax, [edi + 8]
push 0x7b1cf8
push eax
call dword [ecx + 0x1b4]
add esp, 8
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x34]
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x545590
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x744364
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push 0x18
mov dword [ebp - 0x14], esi
mov dword [esi + 4], ebx
call fcn.004055b0
mov cl, byte [ebp - 0xd]
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov byte [esi + 0xc], cl
mov byte [eax], bl
mov edx, dword [esi + 4]
add esp, 4
mov dword [edx + 4], ebx
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov eax, dword [esi + 4]
mov dword [eax + 0xc], eax
push 0x541bc0
push 0x547a20
push 2
lea eax, [esi + 0x10]
push 0xc
push eax
mov dword [ebp - 4], ebx
call fcn.007043d1
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov ecx, 0x7e5430
mov dword [esi + 0x34], ebx
call fcn.00401df0
mov byte [ebp - 4], 2
mov eax, dword [0x7e53f8]
cmp eax, ebx
jne 0x545627
push 0x18
call fcn.00405f50
add esp, 4
jmp 0x54562f
mov ecx, dword [eax]
mov dword [0x7e53f8], ecx
mov dword [0x7e5430], ebx
mov dl, byte [ebp - 0xd]
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], ebx
mov byte [esi + 0x3c], dl
mov byte [eax], bl
mov eax, dword [esi + 0x34]
mov dword [eax + 4], ebx
mov eax, dword [esi + 0x34]
mov dword [eax + 8], eax
mov eax, dword [esi + 0x34]
mov dword [eax + 0xc], eax
mov ecx, esi
mov byte [ebp - 4], 3
mov dword [esi], 0x755bf8
mov dword [esi + 0x30], ebx
call fcn.00547640
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x550aa0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
mov dword [ebp - 4], ecx
jne 0x550adf
push 0x42
push 0x7b2a74
push 0x7999e8
push str.IF_NOT
push 0x793720
call fcn.00401080
add esp, 0x14
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.cq_wanted
lea eax, [ebp - 0x404]
push 0x799ea4
push eax
call fcn.0070258b
mov edx, dword [edi]
add esp, 0xc
lea eax, [ebp - 0x404]
mov ecx, edi
push 1
push eax
call dword [edx]
mov esi, eax
test esi, esi
je 0x550b57
mov edx, dword [esi]
mov ecx, esi
xor ebx, ebx
call dword [edx + 0x60]
test eax, eax
jbe 0x550b50
call fcn.00551080
mov edi, eax
test edi, edi
je 0x550b9d
mov eax, dword [edi]
push esi
mov ecx, edi
call dword [eax + 0x24]
test al, al
je 0x550b97
mov ecx, dword [ebp - 4]
push edi
call fcn.00550980
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
mov eax, dword [esi]
mov ecx, esi
inc ebx
call dword [eax + 0x60]
cmp ebx, eax
jb 0x550b1a
mov edi, dword [ebp + 8]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push str.cq_wanted
lea ecx, [ebp - 0x404]
push str.SELECT__FROM__s_WHERE_id0_LIMIT_1
push ecx
call fcn.0070258b
mov edx, dword [edi]
add esp, 0xc
lea eax, [ebp - 0x404]
mov ecx, edi
push 0
push eax
call dword [edx]
mov ecx, dword [ebp - 4]
xor edx, edx
test eax, eax
setne dl
pop edi
mov dword [ecx + 0x10], eax
pop esi
mov al, dl
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x55f2b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7450cc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x14], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [ebp - 4], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
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 ecx, dword [ebp - 0x14]
mov dword [esi], 0x75657c
mov eax, dword [esi + 4]
mov ebx, dword [esi + 8]
push edi
push ecx
push eax
push ebx
push ebx
mov byte [ebp - 4], 3
mov dword [ebp - 0x10], eax
call fcn.00560f50
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
sub ebx, edx
mov eax, 0x92492493
imul ebx
add edx, ebx
mov ecx, dword [esi + 8]
sar edx, 4
mov eax, edx
push edi
shr eax, 0x1f
add edx, eax
lea eax, [edx*8]
sub eax, edx
shl eax, 2
sub ecx, eax
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 0x18]
mov eax, dword [esi + 0x10]
mov ebx, dword [esi + 0x14]
push ecx
push eax
push ebx
push ebx
mov dword [ebp - 0x10], eax
call fcn.00560f50
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
sub ebx, edx
mov eax, 0x92492493
imul ebx
add edx, ebx
mov ecx, dword [esi + 0x14]
sar edx, 4
mov eax, edx
push edi
shr eax, 0x1f
add edx, eax
lea eax, [edx*8]
sub eax, edx
shl eax, 2
sub ecx, eax
mov dword [esi + 0x14], ecx
mov eax, dword [esi + 0x1c]
mov ebx, dword [esi + 0x20]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x18]
push ecx
push eax
push ebx
push ebx
call fcn.00560f50
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
sub ebx, eax
mov eax, 0x92492493
imul ebx
add edx, ebx
mov ecx, dword [esi + 0x20]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [edx*8]
sub eax, edx
shl eax, 2
sub ecx, eax
mov dword [esi + 0x20], ecx
mov ebx, dword [esi + 0x28]
mov edi, dword [esi + 0x2c]
push ebx
push edi
push edi
call fcn.00560bf0
mov dword [ebp - 0x18], eax
sub edi, ebx
mov eax, 0x92492493
mov ecx, dword [esi + 0x2c]
imul edi
add edx, edi
add esp, 0x48
sar edx, 4
mov eax, edx
pop edi
shr eax, 0x1f
add edx, eax
lea eax, [edx*8]
sub eax, edx
shl eax, 2
sub ecx, eax
mov eax, esi
mov dword [esi + 0x2c], ecx
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x5676f0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7454b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
push 0x18
mov dword [ebp - 0x14], esi
mov dword [esi], edi
call fcn.004055b0
add esp, 4
mov dword [esi], eax
mov al, byte [ebp - 0xd]
mov ecx, esi
mov dword [ebp - 4], edi
mov dword [esi + 4], edi
mov byte [esi + 8], al
call fcn.00569830
mov dword [ebp - 4], 1
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
lea ebx, [esi + 0x18]
push 0x18
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], ebx
mov dword [ebx], edi
call fcn.004055b0
add esp, 4
mov dword [ebx], eax
mov cl, byte [ebp - 0xd]
mov byte [ebp - 4], 3
mov byte [ebx + 8], cl
mov ecx, ebx
mov dword [ebx + 4], edi
call fcn.004fa3b0
lea ebx, [esi + 0x24]
lea edx, [ebp - 0xd]
push edx
mov ecx, ebx
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], ebx
call fcn.00569870
mov al, byte [ebp - 0xd]
mov ecx, ebx
mov byte [ebp - 4], 5
mov dword [ebx + 4], edi
mov byte [ebx + 8], al
call fcn.00569850
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
lea edx, [esi + 0x3c]
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
xor ecx, ecx
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [edx], ecx
mov eax, esi
pop edi
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x40], 0x7b
mov dword [esi + 0x44], 0xa
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x57c1b0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x745e18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x404
mov ecx, dword [ecx + 0x14]
test ecx, ecx
je 0x57c1de
mov eax, dword [ecx]
push 1
call dword [eax + 8]
jmp 0x57c1e0
xor eax, eax
push esi
push 0x50
push eax
push 0x79a1ac
push 0x79a16c
lea ecx, [ebp - 0x410]
push str.SELECT_COUNT___FROM__s_as_s_LEFT_JOIN__s_AS_u_ON_u.ids.id_WHERE_s.syn_id_u__s.rank_d__u.id_IS_NOT_NULL
push ecx
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 0x18
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
jne 0x57c284
push 0x428
push 0x7b5294
push str.pStatRes
push str.IF_OK
push 0x793720
call fcn.00401080
mov ecx, str.GetAssistantCount
add esp, 0x14
test ecx, ecx
je 0x57c270
push 0x42b
push 0x7b5294
push str.__GetAssistantCount_
push str.ASSERT
push 0x793720
call fcn.00401080
add esp, 0x14
mov eax, 5
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi]
push edi
push 0
mov ecx, esi
call dword [edx + 0x44]
test esi, esi
mov edi, eax
mov dword [ebp - 4], 0xffffffff
je 0x57c2a2
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
Function at 0x58f6d0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7463b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x408
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ecx
cmp eax, ebx
jne 0x58f72f
push 0x751
push 0x7b82f4
push str.idSyn
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push esi
push edi
push eax
push str.cq_totem_add
lea eax, [ebp - 0x414]
push str.SELECT__FROM__s_WHERE_syndicate_id_u
push eax
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 0x10
lea eax, [ebp - 0x414]
mov edx, dword [ecx]
push 1
push eax
call dword [edx]
mov edi, eax
mov dword [ebp - 0x14], edi
cmp edi, ebx
mov dword [ebp - 4], ebx
je 0x58f844
mov dword [ebp + 8], ebx
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x60]
cmp dword [ebp + 8], eax
jae 0x58f844
push 0xc
call fcn.00728cf3
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x58f7cc
mov dword [esi], 0x75708c
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x24]
cmp al, bl
jne 0x58f7fc
push 0x75f
push 0x7b82f4
push str._bSucc__pData__Create_pRes__
push str.IF_OK
push 0x793720
call fcn.00401080
add esp, 0x14
jmp 0x58f809
push 0x75c
push 0x7b82f4
push str.pData
push str.IF_OK
push 0x793720
call fcn.00401080
mov eax, dword [edi]
add esp, 0x14
mov ecx, edi
call dword [eax + 0x64]
inc dword [ebp + 8]
jmp 0x58f771
mov ecx, dword [ebp - 0x10]
push esi
call fcn.0058f870
cmp al, bl
jne 0x58f835
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 8]
push eax
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 8]
push eax
push 0x7b82d8
push 0x7b8994
call fcn.0040a420
mov edx, dword [esi]
add esp, 0x10
mov ecx, esi
call dword [edx + 0x40]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x64]
inc dword [ebp + 8]
jmp 0x58f771
cmp edi, ebx
mov dword [ebp - 4], 0xffffffff
je 0x58f856
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 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 4
Function at 0x58fa10
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
push esi
mov dword [ebp - 4], edi
call fcn.0058dda0
test al, al
jne 0x58fa58
push 0x78c
push 0x7b82f4
push str.IsEnableTypeID_nTypeID_
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0x10]
test eax, eax
jg 0x58fa8a
push 0x78d
push 0x7b82f4
push str.nAddition__0
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
push esi
mov ecx, edi
call fcn.0058dc50
mov edi, eax
test edi, edi
jne 0x58fac3
push 0x790
push 0x7b82f4
push str.idType___ID_NONE
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
call fcn.00590eb0
mov esi, eax
test esi, esi
jne 0x58faf9
push 0x793
push 0x7b82f4
push str.pData
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
push ebx
mov ebx, dword [0x7fd5f0]
push 0x7b4240
push 0x7b82d8
lea eax, [ebp - 0x104]
push str.SELECT__FROM__s_WHERE__s0_LIMIT_1
push eax
call fcn.0070258b
mov ecx, dword [0x801a38]
add esp, 0x10
test ecx, ecx
jne 0x58fb96
mov edx, dword [ebx]
lea eax, [ebp - 0x104]
push ecx
push eax
mov ecx, ebx
call dword [edx]
mov ebx, eax
mov eax, dword [0x801a38]
test eax, eax
jne 0x58fb45
test ebx, ebx
jne 0x58fb63
push 0x1a
push str.....common_autoptr.h
push str._m_ptr__ptr
push str.ASSERT
push 0x793720
call fcn.00401080
add esp, 0x14
test ebx, ebx
setne al
mov ecx, ebx
test al, al
mov dword [0x801a38], ecx
jne 0x58fb96
push 0x38
push str.....GameBaseCodeMTGameData.h
push str.CreateNewDefault_pDb_
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor bl, bl
jmp 0x58fbbe
mov edx, dword [ecx]
push 0
call dword [edx]
test eax, eax
mov dword [esi + 4], eax
je 0x58fbb2
mov edx, dword [eax]
push 0x7b4240
mov ecx, eax
call dword [edx + 0x30]
mov dword [esi + 8], eax
mov ecx, dword [esi + 4]
test ecx, ecx
setne bl
test bl, bl
jne 0x58fbf1
push 0x796
push 0x7b82f4
push str._bSucc__pData__Create_Database____ID_NONE__
push str.IF_OK
push 0x793720
call fcn.00401080
mov eax, dword [esi]
add esp, 0x14
mov ecx, esi
call dword [eax + 0x40]
mov al, bl
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esi]
push edi
push 1
mov ecx, esi
call dword [eax + 0x10]
mov eax, dword [ebp + 8]
mov edx, dword [esi]
push eax
push 2
mov ecx, esi
call dword [edx + 0x10]
mov eax, dword [ebp + 0x10]
mov edx, dword [esi]
push eax
push 3
mov ecx, esi
call dword [edx + 0x10]
mov eax, dword [ebp + 0x14]
mov edx, dword [esi]
push eax
push 4
mov ecx, esi
call dword [edx + 0x10]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x30]
test eax, eax
setne bl
test bl, bl
je 0x58fc41
mov ecx, dword [ebp - 4]
push esi
call fcn.0058f870
mov bl, al
test bl, bl
jne 0x58fc48
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
mov al, bl
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x599030
Capabilities:
Encode data using base64
Parse pe header

Disassembly:
mov dword [ecx], 0x757750
mov dword [ecx + 8], 0x757464
mov dword [ecx + 0xc], 0x757444
mov dword [ecx + 0x4c], 0x757428
mov dword [ecx + 0x50], 0x757410
jmp fcn.00449b10

Function at 0x5a89a0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
mov eax, dword [ecx + 0x5e4]
lea edx, [ebp - 0x400]
mov ecx, eax
xor ecx, 0xbe6e0
push ecx
push eax
push str.cq_card
push str.SELECT_id_FROM__s_WHERE_account_id_u__used0__chk_sum_u_ref_id__1_
push edx
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 0x14
lea edx, [ebp - 0x400]
mov eax, dword [ecx]
push edx
call dword [eax + 0x10]
xor ecx, ecx
test eax, eax
setl cl
dec ecx
and eax, ecx
mov esp, ebp
pop ebp
ret

Function at 0x5a8a00
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
mov eax, dword [ecx + 0x5e4]
lea edx, [ebp - 0x400]
mov ecx, eax
xor ecx, 0xbe6e0
push ecx
push eax
push str.cq_card
push str.SELECT_id_FROM__s_WHERE_account_id_u__used1__chk_sum_u_ref_id__1_
push edx
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 0x14
lea edx, [ebp - 0x400]
mov eax, dword [ecx]
push edx
call dword [eax + 0x10]
xor ecx, ecx
test eax, eax
setl cl
dec ecx
and eax, ecx
mov esp, ebp
pop ebp
ret
Function at 0x5a8ba0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7470a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40c
push esi
push edi
mov edi, ecx
lea edx, [ebp - 0x418]
mov eax, dword [edi + 0x5e4]
mov ecx, eax
xor ecx, 0xbe6e0
push ecx
push eax
push str.cq_card
push str.SELECT__FROM__s_WHERE_account_id_u__used0__chk_sum_u_ref_id__1_
push edx
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 0x14
lea edx, [ebp - 0x418]
mov eax, dword [ecx]
push 1
push edx
call dword [eax]
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
mov dword [ebp - 4], 0
jne 0x5a8c20
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
test eax, eax
ja 0x5a8c4b
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call dword [edx + 4]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
push ebx
push str.ref_id
mov ecx, esi
call dword [eax + 0x20]
mov edx, dword [esi]
push 1
push str.used
mov ecx, esi
mov dword [ebp - 0x10], eax
call dword [edx + 0x24]
mov ebx, dword [esi]
push 0
push 2
call fcn.0040ab00
add esp, 8
mov ecx, esi
push eax
push str.time_stamp
call dword [ebx + 0x24]
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0xc]
mov ebx, dword [edi + 8]
push 1
call fcn.0064adc0
cdq
push edx
mov edx, ebx
lea ebx, [edi + 8]
push eax
push 0x2e
mov ecx, ebx
call dword [edx + 0x138]
call fcn.0064adc0
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
push 6
call fcn.0046fa60
add esp, 0x10
call fcn.0064adc0
mov edx, dword [ebp - 0x10]
push eax
mov eax, dword [ebx]
push edx
mov ecx, ebx
call dword [eax + 8]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 4]
push eax
push str.Checkout_card1_userid:_u_user_name:_s_idRef:_u_price:_u
push str.gmlog_card_checkout
call fcn.0040a4e0
mov eax, dword [esi]
add esp, 0x18
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
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

Function at 0x5a8d10
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
mov eax, dword [ecx + 0x5e4]
lea edx, [ebp - 0x400]
mov ecx, eax
xor ecx, 0xbe6e1
push ecx
push eax
push str.cq_card2
push str.SELECT_id_FROM__s_WHERE_account_id_u__used0__chk_sum_u_ref_id__1_
push edx
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 0x14
lea edx, [ebp - 0x400]
mov eax, dword [ecx]
push edx
call dword [eax + 0x10]
xor ecx, ecx
test eax, eax
setl cl
dec ecx
and eax, ecx
mov esp, ebp
pop ebp
ret
Function at 0x5a8d70
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
mov eax, dword [ecx + 0x5e4]
lea edx, [ebp - 0x400]
mov ecx, eax
xor ecx, 0xbe6e1
push ecx
push eax
push str.cq_card2
push str.SELECT_id_FROM__s_WHERE_account_id_u__used1__chk_sum_u_ref_id__1_
push edx
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 0x14
lea edx, [ebp - 0x400]
mov eax, dword [ecx]
push edx
call dword [eax + 0x10]
xor ecx, ecx
test eax, eax
setl cl
dec ecx
and eax, ecx
mov esp, ebp
pop ebp
ret

Function at 0x5a8f10
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7470c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40c
push esi
push edi
mov edi, ecx
lea edx, [ebp - 0x418]
mov eax, dword [edi + 0x5e4]
mov ecx, eax
xor ecx, 0xbe6e1
push ecx
push eax
push str.cq_card2
push str.SELECT__FROM__s_WHERE_account_id_u__used0__chk_sum_u_ref_id__1_
push edx
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 0x14
lea edx, [ebp - 0x418]
mov eax, dword [ecx]
push 1
push edx
call dword [eax]
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
mov dword [ebp - 4], 0
jne 0x5a8f90
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
test eax, eax
ja 0x5a8fbb
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call dword [edx + 4]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
push ebx
push str.ref_id
mov ecx, esi
call dword [eax + 0x20]
mov edx, dword [esi]
push 1
push str.used
mov ecx, esi
mov dword [ebp - 0x10], eax
call dword [edx + 0x24]
mov ebx, dword [esi]
push 0
push 2
call fcn.0040ab00
add esp, 8
mov ecx, esi
push eax
push str.time_stamp
call dword [ebx + 0x24]
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0xc]
mov ebx, dword [edi + 8]
push 1
call fcn.0064add0
cdq
push edx
mov edx, ebx
lea ebx, [edi + 8]
push eax
push 0x2e
mov ecx, ebx
call dword [edx + 0x138]
call fcn.0064add0
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
push 8
call fcn.0046fa60
add esp, 0x10
call fcn.0064add0
mov edx, dword [ebp - 0x10]
push eax
mov eax, dword [ebx]
push edx
mov ecx, ebx
call dword [eax + 8]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 4]
push eax
push str.Checkout_card2_userid:_u_user_name:_s_idRef:_u_price:_u
push str.gmlog_card_checkout
call fcn.0040a4e0
mov eax, dword [esi]
add esp, 0x18
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
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