joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4aa46012
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4aa50774]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
mov dword [ebp - 0xc], esi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
push esi
call fcn.4aa4832f
pop ecx
pop ecx
push 0xffffffffffffffec
push esi
call dword [sym.imp.SQLUNIRL.dll__GetWindowLong_8]
and eax, 0xfffffbff
push eax
push 0xffffffffffffffec
push esi
call dword [sym.imp.SQLUNIRL.dll__SetWindowLong_12]
mov eax, dword [0x4aa51260]
mov esi, dword [sym.imp.SQLUNIRL.dll__MAKEINTRESOURCE_4]
push 0
push 0x10
pop edi
push edi
push edi
push 1
add eax, 0x2b8
push 0x7f
mov dword [ebp - 8], eax
call esi
push eax
push dword [0x4aa5a9f0]
mov eax, dword [ebp - 8]
call dword [eax]
push 0
push edi
mov dword [0x4aa50df8], eax
mov eax, dword [0x4aa51260]
push edi
push 1
add eax, 0x2b8
push 0x80
mov dword [ebp - 8], eax
call esi
push eax
push dword [0x4aa5a9f0]
mov eax, dword [ebp - 8]
call dword [eax]
push 0
push edi
mov dword [0x4aa50dfc], eax
mov eax, dword [0x4aa51260]
push edi
push 1
add eax, 0x2b8
push 0x7d
mov dword [ebp - 8], eax
call esi
push eax
push dword [0x4aa5a9f0]
mov eax, dword [ebp - 8]
call dword [eax]
push 0
push edi
mov dword [0x4aa50e00], eax
mov eax, dword [0x4aa51260]
push edi
push 1
add eax, 0x2b8
push 0x7e
mov dword [ebp - 8], eax
call esi
push eax
push dword [0x4aa5a9f0]
mov eax, dword [ebp - 8]
call dword [eax]
mov edi, dword [sym.imp.SQLUNIRL.dll__SendDlgItemMessage_20]
mov dword [0x4aa50e04], eax
mov eax, dword [0x4aa50df8]
test eax, eax
je 0x4aa46126
push eax
push 1
push 0xf7
push 0x40c
push ebx
call edi
mov eax, dword [0x4aa50e00]
test eax, eax
je 0x4aa4613f
push eax
push 1
push 0xf7
push 0x40d
push ebx
call edi
mov edi, dword [0x4aa51260]
push 0x64
add edi, 0x428
call esi
push eax
push dword [0x4aa5a9f0]
call dword [sym.imp.SQLUNIRL.dll__LoadIcon_8]
push eax
push 0xfffffffffffffff2
push dword [ebp - 0xc]
call dword [edi]
push dword [0x4aa51224]
mov edi, dword [sym.imp.USER32.dll_CheckDlgButton]
push 0x410
push ebx
call edi
xor esi, esi
push esi
push 3
push 0x403
push ebx
call dword [sym.imp.SQLUNIRL.dll__SendMessage_16]
cmp dword [0x4aa4c160], esi
jne 0x4aa461c1
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push esi
mov esi, 0x415
push esi
push ebx
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push esi
push ebx
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [0x4aa51228], 1
jmp 0x4aa461f2
push 1
mov esi, 0x415
push esi
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 5
push esi
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x4aa51228]
push esi
push ebx
call edi
mov ecx, dword [ebp - 4]
and dword [0x4aa50e08], 0
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
call fcn.4aa4a60f
leave
ret
Function at 0x4aa4a7d1
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push 0x4aa4179c
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4aa4a829
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x4aa417d8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4aa4a81c
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x4aa4a82b
xor eax, eax
pop esi
leave
ret 4
Function at 0x1000108d
Capabilities:
Create udp socket

Disassembly:
push esi
mov esi, ecx
call fcn.100019d4
cmp eax, 0xffffffff
je 0x100010a7
push 0x2735
call dword [sym.imp.WS2_32.dll_WSASetLastError]
jmp 0x10001100
mov ecx, esi
call fcn.10001312
test eax, eax
jne 0x100010b9
push 0x276d
jmp 0x1000109f
push 0
push dword [esp + 0x10]
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
je 0x10001100
push eax
mov ecx, esi
mov dword [esi + 4], eax
call fcn.1000119f
push dword [esp + 0x10]
mov ecx, esi
call fcn.100018fd
test eax, eax
je 0x100010f9
push dword [esp + 0x14]
mov ecx, esi
push dword [esp + 0xc]
call fcn.1000111a
test eax, eax
jne 0x10001104
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
xor eax, eax
jmp 0x10001107
push 1
pop eax
pop esi
ret 0x10

Function at 0x1000184d
Capabilities:
Connect socket

Disassembly:
push dword [esp + 8]
push dword [esp + 8]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_connect]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8
Function at 0x100028e1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
push 8
pop ebx
cdq
mov ecx, ebx
idiv ecx
test edx, edx
jne 0x10002a36
cmp dword [ebp + 0xc], 0x10
jl 0x10002a36
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
push esi
call fcn.10002a3d
mov cl, byte [ebp - 8]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x18]
and ecx, 7
sub eax, ecx
add esp, 0xc
sub eax, 0xa
cmp dword [edx], eax
jl 0x10002a36
test eax, eax
mov dword [edx], eax
jl 0x10002a36
sub dword [ebp + 0xc], ebx
mov edi, esi
add esi, ebx
lea eax, [ecx + 1]
mov dword [ebp + 8], 1
cmp eax, ebx
jge 0x10002957
inc eax
inc dword [ebp + 8]
cmp eax, ebx
jne 0x1000298a
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
push esi
call fcn.10002a3d
lea eax, [ebp - 8]
add esp, 0xc
xor ecx, ecx
sub edi, eax
lea eax, [ebp + ecx - 8]
mov dl, byte [edi + eax]
xor byte [eax], dl
inc ecx
cmp ecx, ebx
jl 0x10002970
sub dword [ebp + 0xc], ebx
mov edx, dword [ebp + 0x18]
mov edi, esi
add esi, ebx
xor eax, eax
cmp dword [ebp + 8], 2
jle 0x1000294d
mov edx, dword [edx]
test edx, edx
mov dword [ebp + 0x18], edx
je 0x100029e5
cmp eax, ebx
jge 0x100029af
mov edx, dword [ebp + 0x14]
mov cl, byte [ebp + eax - 8]
inc dword [ebp + 0x14]
inc eax
dec dword [ebp + 0x18]
mov byte [edx], cl
jmp 0x100029df
jne 0x100029df
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
push esi
call fcn.10002a3d
lea eax, [ebp - 8]
add esp, 0xc
xor ecx, ecx
sub edi, eax
lea eax, [ebp + ecx - 8]
mov dl, byte [edi + eax]
xor byte [eax], dl
inc ecx
cmp ecx, ebx
jl 0x100029c8
sub dword [ebp + 0xc], ebx
mov edi, esi
add esi, ebx
xor eax, eax
cmp dword [ebp + 0x18], 0
jne 0x10002999
mov dword [ebp + 8], 1
cmp eax, ebx
jge 0x100029fe
mov cl, byte [ebp + eax - 8]
inc eax
test cl, cl
jne 0x10002a36
inc dword [ebp + 8]
jmp 0x10002a2b
jne 0x10002a2b
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
push esi
call fcn.10002a3d
lea eax, [ebp - 8]
add esp, 0xc
xor ecx, ecx
sub edi, eax
lea eax, [ebp + ecx - 8]
mov dl, byte [edi + eax]
xor byte [eax], dl
inc ecx
cmp ecx, ebx
jl 0x10002a17
mov edi, esi
add esi, ebx
xor eax, eax
cmp dword [ebp + 8], 7
jle 0x100029ec
push 1
pop eax
jmp 0x10002a38
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10002a3d
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [sym.imp.WS2_32.dll_ntohl]
push edi
mov edi, dword [ebp + 8]
push dword [edi]
call esi
push dword [edi + 4]
mov dword [ebp + 8], eax
call esi
mov ebx, eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
lea edi, [ebp - 0x14]
sub eax, ecx
mov dword [ebp + 0xc], 4
mov dword [ebp - 4], eax
jmp 0x10002a77
mov eax, dword [ebp - 4]
push dword [eax + edi]
call esi
mov dword [edi], eax
add edi, 4
dec dword [ebp + 0xc]
jne 0x10002a74
push 0x10
mov eax, 0xe3779b90
pop ecx
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 8]
shr edx, 5
add edx, dword [ebp - 8]
shl esi, 4
add esi, dword [ebp - 0xc]
xor edx, esi
mov esi, dword [ebp + 8]
add esi, eax
xor edx, esi
sub ebx, edx
mov edx, ebx
mov esi, ebx
shr edx, 5
add edx, dword [ebp - 0x10]
shl esi, 4
add esi, dword [ebp - 0x14]
xor edx, esi
lea esi, [eax + ebx]
xor edx, esi
add eax, 0x61c88647
sub dword [ebp + 8], edx
dec ecx
jne 0x10002a8e
push dword [ebp + 8]
mov esi, dword [sym.imp.WS2_32.dll_htonl]
call esi
mov edi, dword [ebp + 0x10]
push ebx
mov dword [edi], eax
call esi
mov dword [edi + 4], eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10002cf8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
push 8
add eax, 0xa
pop ebx
cdq
mov ecx, ebx
idiv ecx
test edx, edx
mov dword [ebp - 4], edx
je 0x10002d1d
mov eax, ebx
sub eax, edx
mov dword [ebp - 4], eax
mov esi, dword [sym.imp.MSVCRT.dll_rand]
call esi
mov ecx, eax
mov eax, dword [ebp - 4]
and cl, 0xf8
push 1
or cl, al
pop edi
mov byte [ebp - 0xc], cl
mov ecx, eax
dec eax
test ecx, ecx
je 0x10002d4c
inc eax
mov dword [ebp - 4], eax
call esi
mov byte [ebp + edi - 0xc], al
inc edi
dec dword [ebp - 4]
jne 0x10002d40
push ebx
lea eax, [ebp - 0x14]
push 0
push eax
call sub.MSVCRT.dll_memset
mov esi, dword [ebp + 0x18]
lea eax, [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 4], eax
and dword [esi], 0
mov dword [ebp + 0x18], 1
cmp edi, ebx
jge 0x10002d82
call dword [sym.imp.MSVCRT.dll_rand]
mov byte [ebp + edi - 0xc], al
inc edi
inc dword [ebp + 0x18]
cmp edi, ebx
jne 0x10002dbb
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0xc]
xor edi, edi
sub ecx, eax
lea eax, [ebp + edi - 0xc]
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc edi
cmp edi, ebx
jl 0x10002d8e
push dword [ebp + 0x14]
lea eax, [ebp - 0xc]
push dword [ebp + 0x10]
push eax
call fcn.10002e72
mov eax, dword [ebp + 0x14]
add dword [esi], ebx
add esp, 0xc
xor edi, edi
add dword [ebp + 0x14], ebx
mov dword [ebp - 4], eax
cmp dword [ebp + 0x18], 2
jle 0x10002d6e
cmp dword [ebp + 0xc], 0
je 0x10002e18
cmp edi, ebx
jge 0x10002ddd
mov eax, dword [ebp + 8]
inc edi
inc dword [ebp + 8]
dec dword [ebp + 0xc]
mov al, byte [eax]
cmp edi, ebx
mov byte [ebp + edi - 0xd], al
jne 0x10002dc1
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0xc]
xor edi, edi
sub ecx, eax
lea eax, [ebp + edi - 0xc]
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc edi
cmp edi, ebx
jl 0x10002de9
push dword [ebp + 0x14]
lea eax, [ebp - 0xc]
push dword [ebp + 0x10]
push eax
call fcn.10002e72
mov eax, dword [ebp + 0x14]
add dword [esi], ebx
add esp, 0xc
xor edi, edi
add dword [ebp + 0x14], ebx
mov dword [ebp - 4], eax
jmp 0x10002dc1
mov dword [ebp + 0x18], 1
cmp edi, ebx
jge 0x10002e2e
and byte [ebp + edi - 0xc], 0
inc edi
inc dword [ebp + 0x18]
cmp edi, ebx
jne 0x10002e67
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0xc]
xor edi, edi
sub ecx, eax
lea eax, [ebp + edi - 0xc]
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc edi
cmp edi, ebx
jl 0x10002e3a
push dword [ebp + 0x14]
lea eax, [ebp - 0xc]
push dword [ebp + 0x10]
push eax
call fcn.10002e72
mov eax, dword [ebp + 0x14]
add dword [esi], ebx
add esp, 0xc
xor edi, edi
add dword [ebp + 0x14], ebx
mov dword [ebp - 4], eax
cmp dword [ebp + 0x18], 7
jle 0x10002e1f
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10002e72
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [sym.imp.WS2_32.dll_ntohl]
push edi
mov edi, dword [ebp + 8]
push dword [edi]
call esi
push dword [edi + 4]
mov ebx, eax
call esi
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
lea edi, [ebp - 0x14]
sub eax, ecx
mov dword [ebp + 0xc], 4
mov dword [ebp - 4], eax
jmp 0x10002eac
mov eax, dword [ebp - 4]
push dword [eax + edi]
call esi
mov dword [edi], eax
add edi, 4
dec dword [ebp + 0xc]
jne 0x10002ea9
push 0x10
xor eax, eax
pop ecx
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 8]
shr edx, 5
add edx, dword [ebp - 0x10]
sub eax, 0x61c88647
shl esi, 4
add esi, dword [ebp - 0x14]
xor edx, esi
mov esi, dword [ebp + 8]
add esi, eax
xor edx, esi
add ebx, edx
mov edx, ebx
mov esi, ebx
shr edx, 5
add edx, dword [ebp - 8]
shl esi, 4
add esi, dword [ebp - 0xc]
xor edx, esi
lea esi, [eax + ebx]
xor edx, esi
add dword [ebp + 8], edx
dec ecx
jne 0x10002ec0
mov esi, dword [sym.imp.WS2_32.dll_htonl]
push ebx
call esi
mov edi, dword [ebp + 0x10]
push dword [ebp + 8]
mov dword [edi], eax
call esi
mov dword [edi + 4], eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10007c32
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
mov byte [ebp - 0x10], 0x30
mov byte [ebp - 0xf], 0x31
mov byte [ebp - 0xe], 0x32
mov byte [ebp - 0xd], 0x33
mov byte [ebp - 0xc], 0x34
mov byte [ebp - 0xb], 0x35
mov byte [ebp - 0xa], 0x36
mov byte [ebp - 9], 0x37
mov byte [ebp - 8], 0x38
mov byte [ebp - 7], 0x39
mov byte [ebp - 6], 0x41
mov byte [ebp - 5], 0x42
mov byte [ebp - 4], 0x43
mov byte [ebp - 3], 0x44
mov byte [ebp - 2], 0x45
mov byte [ebp - 1], 0x46
xor esi, esi
lea ecx, [ebp - 0x33]
mov eax, dword [ebp + 0xc]
push 0x10
pop ebx
movsx edi, byte [esi + eax]
mov eax, edi
push ebx
cdq
idiv ebx
mov al, byte [ebp + eax - 0x10]
mov byte [ecx - 1], al
mov eax, edi
cdq
pop edi
idiv edi
inc esi
mov al, byte [ebp + edx - 0x10]
mov byte [ecx], al
inc ecx
inc ecx
cmp esi, ebx
jb 0x10007c80
and byte [ebp + esi*2 - 0x34], 0
mov esi, dword [ebp + 8]
mov al, byte [ebp + 0xf]
push 0
mov ecx, esi
mov byte [esi], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea eax, [ebp - 0x34]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
push eax
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000873a
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 4], 0
and dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret
Function at 0x10009188
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
xor ebx, ebx
push 0x105
lea eax, [ebp - 0x10c]
push ebx
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [ebp + 8]
add esp, 0xc
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x100091b9
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push 0x104
push eax
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
lea eax, [ebp - 0x10c]
push ebx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1000925f
inc eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
pop ecx
cmp esi, ebx
je 0x1000925f
push esi
lea eax, [ebp - 0x10c]
push dword [ebp - 4]
push ebx
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x10009258
lea eax, [ebp - 4]
mov dword [ebp + 8], ebx
push eax
lea eax, [ebp + 8]
push eax
push 0x10014480
push esi
mov dword [ebp - 4], 0x34
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x10009258
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov bl, 1
mov ecx, dword [eax + 8]
shr ecx, 0x10
mov word [edx], cx
mov edx, dword [ebp + 0x10]
mov cx, word [eax + 8]
mov word [edx], cx
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp + 0x14]
shr ecx, 0x10
mov word [edx], cx
mov ecx, dword [ebp + 0x18]
mov ax, word [eax + 0xc]
mov word [ecx], ax
push esi
call fcn.1000e3bc
pop ecx
mov al, bl
pop esi
pop ebx
leave
ret
Function at 0x10009265
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
test byte [0x100155c8], 1
push ebx
push esi
mov esi, 0x100155b8
jne 0x100092a2
mov al, byte [ebp + 0xb]
or byte [0x100155c8], 1
push 0
mov ecx, esi
mov byte [0x100155b8], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 0x10009383
call fcn.1000e56e
pop ecx
cmp dword [0x100155c0], 0
mov ebx, 0x100155b8
jne 0x10009357
mov al, byte [0x100155b4]
push edi
push 0x40
mov byte [ebp - 0x104], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x103]
push 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x104]
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x104]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
push eax
lea eax, [ebp - 0x104]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Freeze_void_]
mov eax, dword [0x100155bc]
mov edx, dword [0x100155c0]
mov ecx, eax
add eax, edx
neg ecx
sbb ecx, ecx
and ecx, eax
cmp byte [ecx - 1], 0x5c
je 0x10009339
mov edi, 0x10014480
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const___unsigned_int_]
mov edi, str.TencentQQMusicKernel_
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const___unsigned_int_]
push ebx
call fcn.10009391
pop ecx
pop edi
mov esi, dword [ebp + 8]
mov al, byte [0x100155b8]
push 0
mov ecx, esi
mov byte [esi], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, esi
push dword [eax]
push 0
push ebx
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1000b0d6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
push 1
lea eax, [ebp + 0xb]
push 1
push eax
call sub.MSVCRT.dll_fread
add esp, 0x10
cmp eax, 1
jne 0x1000b100
movzx eax, byte [ebp + 0xb]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
xor eax, eax
jmp 0x1000b109
mov eax, dword [esi + 0xc]
and al, 0x20
neg al
sbb eax, eax
pop esi
pop ebp
ret

Function at 0x1000b180
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor ebx, ebx
push 2
push ebx
push dword [ebp + 8]
mov esi, 0xffff
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], ebx
call sub.MSVCRT.dll_fseek
add esp, 0xc
test eax, eax
jne 0x1000b1ce
push dword [ebp + 8]
call sub.MSVCRT.dll_ftell
cmp eax, esi
pop ecx
mov dword [ebp - 0x10], eax
jae 0x1000b1bb
mov dword [ebp - 4], eax
mov edi, 0x404
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x1000b1d5
xor eax, eax
jmp 0x1000b277
push 4
pop eax
cmp dword [ebp - 4], eax
jbe 0x1000b26d
jmp 0x1000b1eb
mov eax, dword [ebp - 8]
mov edi, 0x404
mov ecx, dword [ebp - 4]
add eax, 0x400
cmp eax, ecx
mov dword [ebp - 8], ecx
ja 0x1000b1fd
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov esi, eax
sub esi, dword [ebp - 8]
sub eax, esi
cmp eax, edi
ja 0x1000b20d
mov edi, eax
push 0
push esi
push dword [ebp + 8]
call sub.MSVCRT.dll_fseek
add esp, 0xc
test eax, eax
jne 0x1000b26d
push dword [ebp + 8]
push 1
push edi
push ebx
call sub.MSVCRT.dll_fread
add esp, 0x10
cmp eax, 1
jne 0x1000b26d
lea eax, [edi - 3]
mov ecx, eax
dec eax
test ecx, ecx
jle 0x1000b261
cmp byte [eax + ebx], 0x50
jne 0x1000b236
cmp byte [eax + ebx + 1], 0x4b
jne 0x1000b236
cmp byte [eax + ebx + 2], 5
jne 0x1000b236
cmp byte [eax + ebx + 3], 6
jne 0x1000b236
add eax, esi
test eax, eax
mov dword [ebp - 0xc], eax
jne 0x1000b26d
mov eax, dword [ebp - 4]
cmp dword [ebp - 8], eax
jb 0x1000b1e3
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000b9df
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
jne 0x1000b9fa
push 0xffffffffffffff9a
jmp 0x1000ba07
mov esi, dword [eax + 0x7c]
cmp esi, ebx
je 0x1000b9f6
cmp dword [esi], ebx
jne 0x1000ba0d
push 0xffffffffffffff9c
pop eax
jmp 0x1000bb47
mov ecx, dword [ebp + 0x10]
cmp ecx, ebx
je 0x1000bb3b
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x5c]
cmp ecx, eax
jbe 0x1000ba2b
mov dword [esi + 0x14], eax
cmp dword [esi + 0x14], ebx
jbe 0x1000bb36
cmp dword [esi + 8], ebx
jne 0x1000ba95
mov eax, dword [esi + 0x58]
cmp eax, ebx
jbe 0x1000ba95
mov edi, 0x4000
cmp eax, edi
jae 0x1000ba53
mov edi, eax
cmp edi, ebx
je 0x1000bb3b
mov eax, dword [esi + 0x68]
push ebx
add eax, dword [esi + 0x3c]
push eax
push dword [esi + 0x60]
call sub.MSVCRT.dll_fseek
add esp, 0xc
test eax, eax
jne 0x1000bb3f
push dword [esi + 0x60]
push 1
push edi
push dword [esi]
call sub.MSVCRT.dll_fread
add esp, 0x10
cmp eax, 1
jne 0x1000bb3f
mov eax, dword [esi]
add dword [esi + 0x3c], edi
sub dword [esi + 0x58], edi
mov dword [esi + 4], eax
mov dword [esi + 8], edi
cmp dword [esi + 0x64], ebx
jne 0x1000bae6
mov eax, dword [esi + 0x14]
mov edi, dword [esi + 8]
cmp eax, edi
jae 0x1000baa6
mov edi, eax
xor eax, eax
cmp edi, ebx
jbe 0x1000babd
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0x10]
mov cl, byte [ecx + eax]
mov byte [edx + eax], cl
inc eax
cmp eax, edi
jb 0x1000baac
push edi
push dword [esi + 0x10]
push dword [esi + 0x50]
call fcn.1000d48c
sub dword [esi + 0x5c], edi
sub dword [esi + 8], edi
sub dword [esi + 0x14], edi
add dword [esi + 0x10], edi
add dword [esi + 4], edi
add dword [esi + 0x18], edi
add esp, 0xc
add dword [ebp - 4], edi
mov dword [esi + 0x50], eax
jmp 0x1000bb28
mov eax, dword [esi + 0x10]
mov ebx, dword [esi + 0x18]
mov dword [ebp + 8], eax
lea eax, [esi + 4]
push 2
push eax
call fcn.1000be38
mov edi, dword [esi + 0x18]
mov dword [ebp - 8], eax
sub edi, ebx
push edi
push dword [ebp + 8]
push dword [esi + 0x50]
call fcn.1000d48c
sub dword [esi + 0x5c], edi
add dword [ebp - 4], edi
add esp, 0x14
cmp dword [ebp - 8], 1
mov dword [esi + 0x50], eax
je 0x1000bb36
cmp dword [ebp - 8], 0
jne 0x1000bb44
xor ebx, ebx
cmp dword [esi + 0x14], ebx
ja 0x1000ba34
cmp dword [ebp - 8], ebx
jne 0x1000bb44
mov eax, dword [ebp - 4]
jmp 0x1000bb47
xor eax, eax
jmp 0x1000bb47
or eax, 0xffffffff
jmp 0x1000bb47
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret