joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402dfa
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cf449
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x5164b0]
xor eax, esp
mov dword [esp + 0x178], eax
push ebx
push esi
push edi
mov eax, dword [0x5164b0]
xor eax, esp
push eax
lea eax, [esp + 0x190]
mov dword fs:[0], eax
push 0xf
xor ebx, ebx
pop edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
push 0x103
lea eax, [esp + 0x81]
mov dword [esp + 0x19c], ebx
push ebx
push eax
mov byte [esp + 0x88], bl
call fcn.004ab3c0
add esp, 0xc
lea eax, [esp + 0x7c]
push ebx
push 0x1a
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
js 0x403021
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x68]
call fcn.004041e5
mov esi, str.TencentQQMisc
mov byte [esp + 0x198], 1
push esi
call fcn.004041c8
pop ecx
push eax
push esi
lea ecx, [esp + 0x6c]
call fcn.00403c73
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
push 0x4e870e
lea ecx, [esp + 0x50]
mov byte [esp + 0x19c], 2
call fcn.004041e5
lea eax, [esp + 0x4c]
mov byte [esp + 0x198], 3
push 1
push eax
lea edx, [esp + 0x6c]
lea ecx, [esp + 0x18]
call fcn.0045f5a4
pop ecx
pop ecx
mov ebx, eax
mov byte [esp + 0x198], 2
push 0
neg ebx
lea ecx, [esp + 0x50]
push 1
sbb bl, bl
call fcn.004044e5
inc bl
je 0x402f2d
push str.CollectHisQQUsers__out__findfiles
push ecx
call fcn.0044fe3d
pop ecx
push eax
call fcn.0044fe7b
pop ecx
pop ecx
xor bl, bl
jmp 0x40300b
xor ebx, ebx
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
mov byte [esp + 0x198], 4
mov esi, dword [esp + 0x10]
cmp esi, dword [esp + 0x14]
je 0x402fc1
lea edx, [esp + 0x34]
mov ecx, esi
call fcn.0045f810
cmp dword [esp + 0x48], 0x10
lea eax, [esp + 0x34]
cmovae eax, dword [esp + 0x34]
push eax
call fcn.004a6654
pop ecx
test eax, eax
jle 0x402fad
push 0x4dda94
lea edx, [esp + 0x38]
lea ecx, [esp + 0x50]
call fcn.0040353e
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x1a4], 5
call fcn.00403d15
push ebx
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0x1a0], 4
call fcn.004044e5
add esi, 0x18
cmp esi, dword [esp + 0x14]
jne 0x402f4d
cmp dword [esp + 0x30], 0x10
mov eax, dword [esp + 0x1c]
jae 0x402fc5
lea eax, [esp + 0x1c]
push dword [esp + 0x2c]
push eax
push 0x4e870e
push str.QQUSERS
call fcn.0044fe3d
mov ecx, eax
call fcn.004502f8
movzx eax, al
push eax
push str.CollectHisQQUsers__out_:ret:_d
mov dword [0x51c148], eax
call fcn.0044fe3d
push eax
call fcn.0044fe7b
add esp, 0xc
lea ecx, [esp + 0x34]
mov bl, 1
push 0
push 1
call fcn.004044e5
lea ecx, [esp + 0x10]
call fcn.00403e2c
push 0
push 1
lea ecx, [esp + 0x6c]
call fcn.004044e5
push 0
push 1
lea ecx, [esp + 0x24]
call fcn.004044e5
mov al, bl
mov ecx, dword [esp + 0x190]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x178]
xor ecx, esp
call fcn.004a5088
mov esp, ebp
pop ebp
ret
Function at 0x404fda
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5164b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x1c]
mov edi, ecx
push eax
call fcn.00404c48
lea esi, [edi + 0x104]
push eax
mov ecx, esi
call fcn.004033c5
xor ebx, ebx
lea ecx, [ebp - 0x1c]
push ebx
push 1
call fcn.004044e5
cmp dword [edi + 0x114], ebx
jne 0x40501f
xor eax, eax
jmp 0x40508a
cmp dword [esi + 0x14], 0x10
jb 0x405027
mov esi, dword [esi]
push ebx
push ebx
push 3
push ebx
push 1
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40506e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xe8
push str.CSongCollect::CheckFileIsExit
push str.__s:_d___open_file_failed__err___d
call fcn.0044fe3d
push eax
call fcn.0044fe7b
add esp, 0x14
mov ecx, edi
call fcn.004049a8
jmp 0x40501b
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [edi + 0x11c], eax
test esi, esi
je 0x405087
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a5088
mov esp, ebp
pop ebp
ret

Function at 0x40509b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x5164b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x107]
xor ebx, ebx
push 0x103
push ebx
push eax
mov dword [ebp - 0x10c], ebx
mov byte [ebp - 0x108], bl
call fcn.004ab3c0
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x108]
push eax
push ebx
push 0x4e88a0
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [ebp - 0x108]
mov ecx, esi
push eax
call fcn.004041e5
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a5088
mov esp, ebp
pop ebp
ret 4
Function at 0x40511e
Capabilities:
Delete file

Disassembly:
push 0x1ec
mov eax, 0x4cf7bd
call fcn.004aaeb3
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x9c], ebx
jne 0x405140
xor eax, eax
jmp 0x40535d
call fcn.00404fda
test eax, eax
je 0x405151
xor eax, eax
inc eax
jmp 0x40535d
lea eax, [ebp - 0x134]
push eax
call fcn.0040509b
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x124], 0
je 0x40534b
cmp dword [ebp - 0x120], 0x10
lea edx, [ebp - 0x134]
lea ecx, [edi + 0x8c]
cmovae edx, dword [ebp - 0x134]
cmp dword [ecx + 0x14], 0x10
jb 0x40518f
mov ecx, dword [ecx]
call fcn.0044f053
test eax, eax
je 0x40532c
lea ecx, [ebp - 0x1ec]
mov dword [ebp - method.MD5_CTX.virtual_0], vtable.MD5_CTX.0
call fcn.00460933
push 0x103
lea eax, [ebp - 0x11b]
mov byte [ebp - 4], 1
push ebx
push eax
mov byte [ebp - 0x11c], bl
call fcn.004ab3c0
add esp, 0xc
lea eax, [ebp - 0x134]
cmp dword [ebp - 0x120], 0x10
lea ecx, [ebp - 0x1ec]
cmovae eax, dword [ebp - 0x134]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.0046096c
lea eax, [ebp - 0x11c]
push eax
lea ebx, [edi + 0xec]
call fcn.004041c8
pop ecx
push eax
lea eax, [ebp - 0x11c]
mov ecx, ebx
push eax
call fcn.0040414f
lea esi, [edi + 0x104]
lea eax, [ebp - 0x134]
cmp esi, eax
je 0x405235
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00404447
cmp dword [edi + 0x4c], 0
je 0x4052e4
lea eax, [ebp - 0x14c]
push eax
call fcn.0040509b
xor eax, eax
mov dword [ebp - 0x1f8], eax
mov dword [ebp - 0x1f4], eax
mov dword [ebp - 0x1f0], eax
lea eax, [ebp - 0x134]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x1f8]
call fcn.00405c3e
lea edx, [ebp - 0x14c]
lea ecx, [ebp - 0x1f8]
call fcn.004556ac
lea ecx, [ebp - 0x1f8]
test al, al
je 0x4052cc
mov byte [ebp - 4], 2
call fcn.00403e2c
cmp dword [ebp - 0x138], 0x10
lea eax, [ebp - 0x14c]
cmovae eax, dword [ebp - 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x14c]
cmp esi, eax
je 0x4052d1
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00404447
jmp 0x4052d1
call fcn.00403e2c
push 0
push 1
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 1
call fcn.004044e5
lea eax, [edi + 0xa4]
mov ecx, edi
push eax
push ebx
push esi
call fcn.004046fb
cmp dword [ebx + 0x14], 0x10
jb 0x4052fc
mov ebx, dword [ebx]
cmp dword [esi + 0x14], 0x10
jb 0x405304
mov esi, dword [esi]
push ebx
push esi
push 0x13d
push str.CSongCollect::UpdownAudioData
push str.__s:_d__DownFile_is_Success_FilePath:_s__MD5:_s
push ecx
call fcn.0044fe3d
pop ecx
push eax
call fcn.0044fe7b
xor esi, esi
add esp, 0x18
inc esi
xor ebx, ebx
jmp 0x40534d
push 0x142
push str.CSongCollect::UpdownAudioData
push str.__s:_d__DownFile_is_failed
push ecx
call fcn.0044fe3d
pop ecx
push eax
call fcn.0044fe7b
add esp, 0x10
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x134]
call fcn.004044e5
mov eax, esi
call fcn.004aae62
ret
Function at 0x40b547
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
mov edi, edx
mov dword [ebp - 0x10], 1
mov esi, ecx
mov dword [ebp - 0xc], edi
xorps xmm0, xmm0
mov dword [ebp - 0x14], esi
movsd qword [ebp - 0x20], xmm0
jmp 0x40b56b
inc esi
movsx eax, byte [esi]
push eax
call fcn.004a74d2
pop ecx
test eax, eax
jne 0x40b56a
mov al, byte [esi]
cmp al, 0x2d
jne 0x40b585
or dword [ebp - 0x10], 0xffffffff
jmp 0x40b5b2
cmp al, 0x2b
jne 0x40b5b3
jmp 0x40b5b2
movsx eax, byte [esi]
movsd xmm1, qword [ebp - 0x20]
sub eax, 0x30
mulsd xmm1, qword [0x4f2fa8]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm1
movaps xmm1, xmm0
movsd qword [ebp - 0x20], xmm1
inc esi
movzx eax, byte [esi]
push eax
call fcn.004a7451
pop ecx
test eax, eax
jne 0x40b58b
cmp byte [esi], 0x2e
movsd xmm0, qword [0x4f2f80]
movsd qword [ebp - 0x28], xmm0
jne 0x40b631
movsd qword [ebp - 8], xmm0
jmp 0x40b613
movsx eax, byte [esi]
movsd xmm1, qword [ebp - 0x20]
sub eax, 0x30
mulsd xmm1, qword [0x4f2fa8]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm1
movaps xmm1, xmm0
movsd xmm0, qword [ebp - 8]
mulsd xmm0, qword [0x4f2fa8]
movsd qword [ebp - 0x20], xmm1
movsd qword [ebp - 8], xmm0
inc esi
movzx eax, byte [esi]
push eax
call fcn.004a7451
pop ecx
test eax, eax
jne 0x40b5da
movsd xmm0, qword [ebp - 0x20]
divsd xmm0, qword [ebp - 8]
movsd qword [ebp - 0x20], xmm0
mov al, byte [esi]
cmp al, 0x65
je 0x40b63f
cmp al, 0x45
jne 0x40b721
xor edi, edi
mov dword [ebp - 4], 1
inc esi
mov al, byte [esi]
cmp al, 0x2d
jne 0x40b655
or dword [ebp - 4], 0xffffffff
jmp 0x40b659
cmp al, 0x2b
jne 0x40b65a
inc esi
movzx eax, byte [esi]
push eax
call fcn.004a7451
pop ecx
test eax, eax
je 0x40b700
imul ecx, edi, 0xa
movsx edi, byte [esi]
add ecx, 0xffffffd0
add edi, ecx
inc esi
movzx eax, byte [esi]
push eax
call fcn.004a7451
pop ecx
test eax, eax
jne 0x40b66c
movsd xmm0, qword [0x4f2f80]
cmp edi, 0x40
jl 0x40b6ad
mov ecx, edi
shr ecx, 6
imul eax, ecx, 0xffffffc0
add edi, eax
mulsd xmm0, qword [0x4f30b0]
dec ecx
jne 0x40b69d
movsd qword [ebp - 0x28], xmm0
cmp edi, 0x10
jl 0x40b6cc
mov ecx, edi
shr ecx, 4
imul eax, ecx, 0xfffffff0
add edi, eax
mulsd xmm0, qword [0x4f3098]
dec ecx
jne 0x40b6bc
movsd qword [ebp - 0x28], xmm0
cmp edi, 4
jl 0x40b6eb
mov ecx, edi
shr ecx, 2
imul eax, ecx, 0xfffffffc
add edi, eax
mulsd xmm0, qword [0x4f3020]
dec ecx
jne 0x40b6db
movsd qword [ebp - 0x28], xmm0
cmp edi, 1
jl 0x40b700
mulsd xmm0, qword [0x4f2fa8]
dec edi
jne 0x40b6f0
movsd qword [ebp - 0x28], xmm0
cmp dword [ebp - 4], 0
mov edi, dword [ebp - 0xc]
jge 0x40b715
movsd xmm0, qword [ebp - 0x20]
divsd xmm0, qword [ebp - 0x28]
jmp 0x40b726
movsd xmm0, qword [ebp - 0x28]
mulsd xmm0, qword [ebp - 0x20]
jmp 0x40b726
movsd xmm0, qword [ebp - 0x20]
cmp dword [ebp - 0x10], 0
jge 0x40b734
xorpd xmm0, xmmword [0x4f3150]
sub esi, dword [ebp - 0x14]
movsd qword [edi], xmm0
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40c283
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebx
push esi
xor ebx, ebx
call fcn.0040c247
mov esi, eax
test esi, esi
jne 0x40c297
push 7
pop eax
jmp 0x40c30a
push edi
call fcn.0040c064
push esi
test eax, eax
je 0x40c2ec
jmp 0x40c2c1
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40c2f8
mov eax, ebx
inc ebx
cmp eax, 3
jge 0x40c2f8
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, eax
test edi, edi
je 0x40c2a4
jmp 0x40c2f8
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40c2f8
mov eax, ebx
inc ebx
cmp eax, 3
jge 0x40c2f8
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, eax
test edi, edi
je 0x40c2cf
push esi
call fcn.0040b198
pop ecx
push 0xa
xor ecx, ecx
test edi, edi
pop eax
cmovne eax, ecx
pop edi
pop esi
pop ebx
ret

Function at 0x40c30d
Capabilities:
Get file attributes

Disassembly:
push esi
call fcn.0040c247
mov esi, eax
test esi, esi
jne 0x40c31e
push 7
pop eax
pop esi
ret
push ebx
call fcn.0040c064
push esi
test eax, eax
je 0x40c331
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x40c337
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ebx, ebx
cmp eax, 0xffffffff
push esi
setne bl
call fcn.0040b198
pop ecx
mov eax, ebx
pop ebx
pop esi
ret
Function at 0x40c565
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a8
mov eax, dword [0x5164b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x51a20c]
push ebx
push esi
push edi
mov edi, ecx
test eax, eax
je 0x40c5a1
push 0x118
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.004a7840
add esp, 0xc
mov byte [ebp - 0x24], 0
jmp 0x40c618
call fcn.0040c064
mov esi, 0x118
test eax, eax
je 0x40c5e2
lea eax, [ebp - 0x3a8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x3a8]
call fcn.0040c116
mov ebx, eax
test ebx, ebx
jne 0x40c5fd
push 7
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a5088
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x274]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x274]
call fcn.0040c1cf
jmp 0x40c5c8
push esi
lea eax, [ebp - 0x13c]
push ebx
push eax
call fcn.004a7840
push ebx
mov byte [ebp - 0x24], 0
call fcn.0040b198
add esp, 0x10
lea ecx, [ebp - 0x13c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c621
sub ecx, edx
test ecx, ecx
jle 0x40c640
lea eax, [ebp - 0x13c]
cmp byte [eax + ecx - 1], 0x5c
jne 0x40c640
dec ecx
test ecx, ecx
jg 0x40c634
cmp ecx, 0x136
jae 0x40c6ac
mov byte [ebp + ecx - 0x13c], 0
lea eax, [ebp - 0x13c]
push eax
push str._setilqs_
push edi
call fcn.004a6fbc
mov esi, edi
add esp, 0xc
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x40c66a
sub esi, ecx
push 0xf
pop ecx
lea edx, [edi + esi]
call fcn.0040a950
push 0xf
pop ecx
movzx eax, byte [edi + esi]
xor edx, edx
push 0x3e
pop ebx
div ebx
mov al, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi], al
inc esi
dec ecx
jne 0x40c681
mov byte [edi + esi], cl
mov ecx, edi
call fcn.0040c30d
test eax, eax
jne 0x40c650
jmp 0x40c5d1
call fcn.004a7a9c
int3

Function at 0x40c8f3
Capabilities:
Get file attributes

Disassembly:
push esi
mov esi, ecx
test esi, esi
jne 0x40c8fe
xor eax, eax
pop esi
ret
call fcn.0040c064
test eax, eax
jne 0x40c91d
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c90c
sub ecx, edx
cmp ecx, 0x104
ja 0x40c8fa
mov ecx, esi
call fcn.0040c247
mov esi, eax
test esi, esi
jne 0x40c92f
push 7
pop eax
pop esi
ret
push ebx
call fcn.0040c064
push esi
test eax, eax
je 0x40c942
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x40c948
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push esi
mov ebx, eax
call fcn.0040b198
pop ecx
cmp ebx, 0xffffffff
jne 0x40c95a
xor eax, eax
jmp 0x40c963
movsx eax, bl
and eax, 0x10
shr eax, 4
pop ebx
pop esi
ret
Function at 0x41cd6b
Capabilities:
Enumerate pe sections

Disassembly:
push edi
mov edi, ecx
test edi, edi
jne 0x41cd76
xor eax, eax
pop edi
ret
push esi
push 0x44
pop ecx
call fcn.0040b14a
mov esi, eax
test esi, esi
je 0x41ce1f
mov al, byte [edi + 5]
mov byte [esi + 5], al
mov ecx, dword [edi]
call fcn.0041cb0e
mov dword [esi], eax
mov ecx, dword [edi + 0xc]
call fcn.0041cbd7
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
call fcn.0041ca49
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
call fcn.0041cb0e
mov dword [esi + 0x14], eax
mov ecx, dword [edi + 0x18]
call fcn.0041ca49
mov dword [esi + 0x18], eax
mov ecx, dword [edi + 0x1c]
call fcn.0041cb0e
mov dword [esi + 0x1c], eax
mov al, byte [edi + 4]
mov byte [esi + 4], al
mov ecx, dword [edi + 0x20]
call fcn.0041cd6b
mov dword [esi + 0x20], eax
mov ecx, dword [edi + 0x28]
call fcn.0041ca49
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
call fcn.0041ca49
or ecx, 0xffffffff
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], ecx
mov al, byte [edi + 6]
mov byte [esi + 6], al
mov al, byte [edi + 7]
mov byte [esi + 7], al
xor eax, eax
mov word [esi + 8], ax
mov dword [esi + 0x24], eax
mov eax, esi
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x40], ecx
pop esi
pop edi
ret
Function at 0x434604
Capabilities:
Reference sql statements

Disassembly:
push ebx
push edi
mov edi, edx
mov ebx, ecx
cmp edi, 2
jge 0x434614
push 0x17
pop eax
jmp 0x434678
movzx eax, byte [ebx + edi - 1]
movzx ecx, byte [ebx]
push esi
push 0x7f
movzx eax, byte [eax + 0x4de4c0]
movzx ecx, byte [ecx + 0x4de4c0]
imul eax, eax, 3
shl ecx, 2
xor eax, ecx
xor eax, edi
cdq
pop ecx
idiv ecx
movzx esi, byte [edx + str._OjZ]
jmp 0x434671
movzx eax, byte [esi + 0x4de0d0]
cmp eax, edi
jne 0x43466a
movzx ecx, word [esi*2 + 0x4e0d40]
mov edx, ebx
push edi
add ecx, str.ABORTABLEFTEMPORARYADDATABASELECTHENDEFAULTRANSACTIONATURALTERAISEACHECKEYAFTEREFERENCESCAPELSEXCEPTRIGGEREGEXPLAINITIALLYANALYZEXCLUSIVEXISTSANDEFERRABLEATTACHAVINGLOBEFOREIGNOREINDEXAUTOINCREMENTBEGINNERENAMEBETWEENOTNULLIKEBYCASCADEFERREDELETECASECASTCOLLATECOLUMNCOMMITCONFLICTCONSTRAINTERSECTCREATECROSSCURRENT_DATECURRENT_TIMESTAMPLANDESCDETACHDISTINCTDROPRAGMATCHFAILIMITFROMFULLGROUPDATEIFIMMEDIATEINSERTINSTEADINTOFFSETISNULLJOINORDEREPLACEOUTERESTRICTPRIMARYQUERYRIGHTROLLBACKROWHENUNIONUNIQUEUSINGVACUUMVALUESVIEWHEREVIRTUAL
call fcn.0040b422
pop ecx
test eax, eax
je 0x43467b
movzx esi, byte [esi + 0x4de950]
dec esi
jns 0x434644
push 0x17
pop eax
pop esi
pop edi
pop ebx
ret
movzx eax, byte [esi + 0x4df9f8]
jmp 0x434677
Function at 0x435d77
Capabilities:
Get file attributes

Disassembly:
push 0x160
mov eax, 0x4cfc35
call fcn.004aaeb3
mov eax, dword [ebp + 8]
push str.CDataBaseUtil::GetIconStatus_In
push ecx
mov dword [ebp - 0x16c], eax
call fcn.0044fe3d
pop ecx
push eax
call fcn.0044fe7b
and dword [ebp - 0x168], 0
lea eax, [ebp - 0x168]
pop ecx
pop ecx
push eax
push eax
push str.IconCount
mov esi, str.GameLink
push esi
call fcn.0044cc7a
mov ecx, eax
call fcn.0044cce4
push dword [ebp - 0x168]
push str.CGameDesktopShellLink::DoRequestIconStatus:_count__d_
call fcn.0044fe3d
push eax
call fcn.0044fe7b
add esp, 0xc
mov byte [ebp - 0x11c], 0
lea eax, [ebp - 0x11b]
push 0x103
push 0
push eax
call fcn.004ab3c0
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x13c], ecx
mov byte [ebp - 0x14c], cl
push 0xf
pop eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x124], ecx
mov byte [ebp - 0x134], cl
mov edi, ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x168], edi
jle 0x435f5e
push edi
push str.iconname_d
lea eax, [ebp - 0x11c]
push 0x104
push eax
call fcn.004363a3
add esp, 0x10
lea ecx, [ebp - 0x164]
push 0x4e870e
call fcn.004041e5
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x11c]
push eax
push esi
call fcn.0044cc7a
mov ecx, eax
call fcn.0044cf0d
push 0
push 1
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 1
call fcn.004044e5
push edi
push str.iconpath_d
lea eax, [ebp - 0x11c]
push 0x104
push eax
call fcn.004363a3
add esp, 0x10
lea ecx, [ebp - 0x164]
push 0x4e870e
call fcn.004041e5
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x11c]
push eax
push esi
call fcn.0044cc7a
mov ecx, eax
call fcn.0044cf0d
push 0
push 1
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 1
call fcn.004044e5
cmp dword [ebp - 0x13c], 0
je 0x435f51
cmp dword [ebp - 0x124], 0
je 0x435f51
cmp dword [ebp - 0x120], 0x10
lea eax, [ebp - 0x134]
cmovae eax, dword [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, dword [ebp - 0x16c]
lea esi, [eax + 1]
neg esi
lea eax, [ebp - 0x14c]
push eax
sbb esi, esi
inc esi
call fcn.004362f8
mov dword [eax], esi
mov esi, str.GameLink
inc edi
cmp edi, dword [ebp - 0x168]
jl 0x435e3d
push str.CDataBaseUtil::GetIconStatus_Out
push ecx
call fcn.0044fe3d
pop ecx
push eax
call fcn.0044fe7b
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x134]
call fcn.004044e5
push 0
push 1
lea ecx, [ebp - 0x14c]
call fcn.004044e5
call fcn.004aae62
ret 4
Function at 0x435f98
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x5164b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
push edi
cmp dword [ebp + 0x18], ebx
je 0x436061
push 0x124
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x130], ebx
push ebx
push eax
call fcn.004ab3c0
add esp, 0xc
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x436061
lea eax, [ebp - 0x130]
mov dword [ebp - 0x130], 0x128
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
jmp 0x436056
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call fcn.004a81c5
mov edi, eax
lea eax, [ebp - 0x10c]
push eax
call fcn.004a81c5
pop ecx
pop ecx
mov cl, byte [eax]
cmp cl, byte [edi]
jne 0x43603f
test cl, cl
je 0x43603b
mov cl, byte [eax + 1]
cmp cl, byte [edi + 1]
jne 0x43603f
add eax, 2
add edi, 2
test cl, cl
jne 0x43601f
mov eax, ebx
jmp 0x436044
sbb eax, eax
or eax, 1
test eax, eax
je 0x436082
lea eax, [ebp - 0x130]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x435ffe
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 1
lea ecx, [ebp + 8]
call fcn.004044e5
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a5088
mov esp, ebp
pop ebp
ret 0x18
mov bl, 1
jmp 0x436061

Function at 0x436086
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, 0x4e870e
push esi
call fcn.004041c8
pop ecx
mov ecx, dword [ebp + 0x14]
push eax
push esi
call fcn.0040414f
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], 1
mov byte [ebp - 1], bl
cmp dword [eax + 0x14], 0x10
jb 0x4360be
mov eax, dword [eax]
lea ecx, [ebp - 0xc]
push ecx
push 0x20019
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43616a
mov esi, dword [ebp + 0x10]
cmp dword [esi + 0x14], 0x10
jb 0x4360e7
mov eax, dword [esi]
jmp 0x4360e9
mov eax, esi
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 1]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push ebx
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, 0xea
jne 0x436165
mov eax, dword [ebp - 8]
inc eax
push edi
push eax
call fcn.00490848
cmp dword [esi + 0x14], 0x10
mov edi, eax
pop ecx
jb 0x436123
mov esi, dword [esi]
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 0x10]
push eax
push 0
push esi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 8]
push edi
mov byte [edi + eax], 0
call fcn.004041c8
pop ecx
mov ecx, dword [ebp + 0x14]
push eax
push edi
call fcn.0040414f
push edi
call fcn.004a525a
pop ecx
push dword [ebp - 0xc]
call ebx
pop edi
test eax, eax
jne 0x436165
mov al, 1
jmp 0x43616c
push dword [ebp - 0xc]
call ebx
xor al, al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10