joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10018460
Capabilities:
Create thread

Disassembly:
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp]
push eax
push 0
push ecx
push 0x10019770
push 0
push 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop ecx
ret

Function at 0x10018490
Capabilities:
Create thread

Disassembly:
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp]
push eax
push 0
push ecx
push 0x100197f0
push 0
push 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop ecx
ret

Function at 0x10018650
Capabilities:
Get common file path
Get disk information
Get disk size
Query or enumerate registry value

Disassembly:
sub esp, 0x808
push ebp
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x128]
xor ebp, ebp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x24]
mov word [esp + 0xc], 0x41
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x20]
lea ecx, [esp + 0x124]
push eax
push ecx
push ebp
push str.Install
push str.SOFTWARETencentQQ2009
push reloc.WS2_32.dll_bind
mov word [esp + 0x26], 0x3a
mov word [esp + 0x28], 0x5c
mov word [esp + 0x2a], bp
mov byte [esp + 0x13c], 0
mov dword [esp + 0x38], 0x20a
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
je 0x100186d8
pop edi
xor eax, eax
pop ebp
add esp, 0x808
ret
mov al, byte [esp + 0x124]
mov dl, al
and dl, 0xdf
sub dl, 0x41
cmp dl, 0x19
ja 0x100186f6
and eax, 0xdf
mov byte [esp + eax + 0x24], 1
lea eax, [esp + 0x124]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov al, byte [esp + 0x124]
mov cl, al
and cl, 0xdf
sub cl, 0x41
cmp cl, 0x19
ja 0x10018727
and eax, 0xdf
mov byte [esp + eax + 0x24], 1
mov ecx, 0x137
xor eax, eax
lea edi, [esp + 0x334]
push ebx
rep stosd dword es:[edi], eax
lea edx, [esp + 0x69]
push esi
xor edi, edi
mov dword [esp + 0x338], ebp
mov dword [esp + 0x10], edx
xor bl, bl
lea esi, [esp + 0x338]
mov eax, dword [esp + 0x10]
cmp byte [eax], 0
je 0x100187bb
push ebp
push ebp
xor cx, cx
push ebp
lea edx, [esp + 0x28]
push ebp
mov cl, bl
push edx
push ebp
lea eax, [esp + 0x2c]
add ecx, 0x41
push ebp
push eax
mov word [esp + 0x34], cx
mov dword [esp + 0x3c], ebp
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
lea ecx, [esp + 0x20]
push ebp
push ecx
lea edx, [esp + 0x1c]
push ebp
push edx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esi], eax
add esi, 4
inc edi
inc edi
mov dword [esi], ecx
add esi, 4
inc edi
mov dword [esi], edx
add esi, 4
mov ecx, dword [esp + 0x10]
inc bl
inc ecx
cmp bl, 0x1a
mov dword [esp + 0x10], ecx
jb 0x10018753
mov eax, dword [esp + 0x81c]
lea ecx, [edi*4]
push eax
lea edx, [esp + 0x33c]
push ecx
push edx
call fcn.1001a300
add esp, 0xc
mov eax, 1
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x808
ret
Function at 0x10018930
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1002b1bb
push eax
mov dword fs:[0], esp
sub esp, 0x90
lea eax, [esp + 8]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftCryptography
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10018ae3
lea ecx, [esp + 4]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0x10032140
push ecx
mov dword [esp + 0x1c], 0x80
mov dword [esp + 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 4]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 4]
push ecx
push edx
call fcn.10018800
add esp, 0xc
push 0x100375c4
push 0x1003213c
lea ecx, [esp + 8]
mov dword [esp + 0xa0], 0
call sub.MFC42.DLL_CString::Replace
push 0x100375c4
push 0x10032138
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::Replace
push 0x100375c4
push 0x10032134
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::Replace
mov eax, dword [esp]
cmp dword [eax - 8], 0x20
jne 0x10018acf
push esi
mov esi, dword [esp + 0xa4]
push edi
mov edi, dword [sym.imp.MSVCRT.dll_sscanf]
push esi
push str._08x
push eax
call edi
mov ecx, dword [esp + 0x14]
add esp, 0xc
lea eax, [esi + 4]
add ecx, 8
push eax
push str._04x
push ecx
call edi
mov eax, dword [esp + 0x14]
add esp, 0xc
lea edx, [esi + 6]
add eax, 0xc
push edx
push str._04x
push eax
call edi
mov eax, dword [esp + 0x14]
add esp, 0xc
lea ecx, [esi + 9]
lea edx, [esi + 8]
push ecx
push edx
add eax, 0x10
push str._02x_02x
push eax
call edi
add esp, 0x10
lea ecx, [esi + 0xf]
lea edx, [esi + 0xe]
lea eax, [esi + 0xd]
push ecx
push edx
lea ecx, [esi + 0xc]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esi + 0xb]
push ecx
add esi, 0xa
push edx
push esi
add eax, 0x14
push str._02x_02x_02x_02x_02x_02x
push eax
call edi
add esp, 0x20
lea ecx, [esp + 8]
mov dword [esp + 0xa0], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
add esp, 0x9c
ret
lea ecx, [esp]
mov dword [esp + 0x98], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x90]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x9c
ret
Function at 0x10018b00
Capabilities:
Encode data using xor
Print debug messages

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp word [esi], 0x4154
jne 0x10018be3
mov eax, dword [esp + 0xc]
push ebp
add esi, 8
lea ebp, [eax - 8]
cmp ebp, 7
jle 0x10018bde
push ebx
mov ebx, dword [esp + 0x14]
push edi
mov cl, byte [esi]
movsx dx, cl
mov eax, edx
and eax, 0xffff
cmp eax, 6
je 0x10018b78
cmp eax, 0xb
je 0x10018b51
push str.switch_tdtype_error_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x10018bd3
cmp word [esi + 5], 0x4454
mov edi, dword [esi + 1]
lea eax, [esi + 5]
jne 0x10018b69
push edi
push eax
call fcn.10018c10
add esp, 8
mov ecx, 0xfffffffb
lea esi, [esi + edi + 5]
sub ecx, edi
add ebp, ecx
jmp 0x10018bd3
movsx eax, cl
sub eax, 4
je 0x10018b96
sub eax, 2
je 0x10018b96
sub eax, 5
jne 0x10018b9f
movsx ebx, word [esi + 1]
add esi, 2
sub ebp, 2
jmp 0x10018b9f
mov ebx, dword [esi + 1]
add esi, 5
sub ebp, 5
cmp dx, 7
je 0x10018bb7
cmp dx, 8
je 0x10018bb7
cmp dx, 9
je 0x10018bb7
add esi, ebx
sub ebp, ebx
jmp 0x10018bd3
mov eax, ebx
sar eax, 8
xor al, bl
test ebx, ebx
jle 0x10018bd3
mov ecx, ebx
sub ebp, ebx
mov dl, byte [esi]
xor dl, al
inc esi
not dl
mov byte [esi - 1], dl
dec ecx
jne 0x10018bc6
cmp ebp, 7
jg 0x10018b2a
pop edi
pop ebx
pop ebp
xor eax, eax
pop esi
ret
mov ax, word [esi + 2]
push eax
call sub.WS2_32.dll_ntohs
mov ecx, dword [esp + 0xc]
add eax, 8
and eax, 0xffff
sub ecx, eax
add eax, esi
push ecx
push eax
call fcn.10018c10
add esp, 8
xor eax, eax
pop esi
ret
Function at 0x10018c10
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
cmp word [ebx], 0x4454
jne 0x10018d3b
mov eax, dword [esp + 0xc]
push ebp
push esi
push edi
lea edi, [eax - 6]
lea esi, [ebx + 6]
cmp edi, 7
jle 0x10018d34
add ebx, eax
mov dword [esp + 0x18], ebx
cmp esi, dword [esp + 0x18]
jae 0x10018d34
movsx dx, byte [esi]
mov ebx, edx
and ebx, 0xffff
cmp ebx, 0xb
je 0x10018c80
mov cx, word [esi + 1]
add esi, 3
mov eax, ecx
sub edi, 3
sar eax, 8
xor al, cl
movsx ecx, cx
test ecx, ecx
jle 0x10018c80
mov ebp, ecx
sub edi, ebp
mov cl, byte [esi]
xor cl, al
inc esi
not cl
mov byte [esi - 1], cl
dec ebp
jne 0x10018c73
cmp dx, 0xc
jne 0x10018ca7
mov ebx, dword [esi]
lea edx, [esi + 4]
push ebx
push edx
call fcn.10018b00
mov eax, 0xfffffffc
add esp, 8
sub eax, ebx
lea esi, [esi + ebx + 4]
add edi, eax
jmp 0x10018d2b
cmp ebx, 0xb
je 0x10018cee
mov eax, dword [esi]
add esi, 4
sub edi, 4
cmp dx, 6
je 0x10018cd2
cmp dx, 7
je 0x10018cd2
cmp dx, 8
je 0x10018cd2
cmp dx, 9
je 0x10018cd2
add esi, eax
sub edi, eax
jmp 0x10018d2b
mov ecx, eax
sar ecx, 8
xor cl, al
test eax, eax
jle 0x10018d2b
sub edi, eax
mov dl, byte [esi]
xor dl, cl
inc esi
not dl
mov byte [esi - 1], dl
dec eax
jne 0x10018cdf
jmp 0x10018d2b
mov cx, word [esi + 1]
add esi, 3
mov eax, ecx
sub edi, 3
sar eax, 8
xor al, cl
movsx ecx, cx
test ecx, ecx
jle 0x10018d15
sub edi, ecx
mov dl, byte [esi]
xor dl, al
inc esi
not dl
mov byte [esi - 1], dl
dec ecx
jne 0x10018d08
cmp word [esi + 4], 0x4454
jne 0x10018d25
add esi, 0xa
sub edi, 0xa
jmp 0x10018d2b
add esi, 4
sub edi, 4
cmp edi, 7
jg 0x10018c3c
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov ax, word [ebx + 2]
push eax
call sub.WS2_32.dll_ntohs
mov ecx, dword [esp + 0xc]
add eax, 8
and eax, 0xffff
sub ecx, eax
add eax, ebx
push ecx
push eax
call fcn.10018b00
add esp, 8
xor eax, eax
pop ebx
ret
Function at 0x10019550
Capabilities:
Enumerate files on windows
Read .ini file

Disassembly:
sub esp, 0x654
lea eax, [esp + 0x244]
push ebp
push esi
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
push edi
push str.C:Documents_and_SettingsAll_UsersDocumentsTencentQQUserDataInfo.ini
push eax
call esi
mov edi, dword [sym.imp.MSVCRT.dll__access]
lea ecx, [esp + 0x258]
push 0
push ecx
call edi
add esp, 0x10
test eax, eax
je 0x10019599
lea edx, [esp + 0x250]
push str.C:UsersPublicDocumentsTencentQQUserDataInfo.ini
push edx
call esi
add esp, 8
lea eax, [esp + 0x250]
lea ecx, [esp + 0xc]
push eax
push 0x104
push ecx
push 0x100375c4
push str.UserDataSavePath
push str.UserDataSet
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0xc]
push 0
push edx
call edi
add esp, 8
test eax, eax
jne 0x10019679
lea eax, [esp + 0xc]
lea ecx, [esp + 0x354]
push eax
push str._s.
push ecx
call esi
add esp, 0xc
lea edx, [esp + 0x110]
lea eax, [esp + 0x354]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x10019679
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
test byte [esp + 0x114], 0x10
je 0x10019662
cmp byte [esp + 0x140], 0x2e
je 0x10019662
lea ecx, [esp + 0x140]
lea edx, [esp + 0x10]
push ecx
push edx
lea eax, [esp + 0x464]
push str._s_sQQRegistry.db
push eax
call esi
lea ecx, [esp + 0x46c]
push 0
push ecx
call edi
add esp, 0x18
test eax, eax
jne 0x10019662
lea edx, [esp + 0x45c]
push edx
call fcn.10019030
add esp, 4
lea eax, [esp + 0x114]
push eax
push ebp
call ebx
test eax, eax
jne 0x1001960f
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x654
ret

Function at 0x10019690
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x4e8
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
push ebp
xor eax, eax
push esi
push edi
mov dword [esp + 0x14], eax
push eax
lea eax, [esp + 0x20]
push str.passinfo_d
push eax
mov dword [esp + 0x1c], 0xc8
call ebx
add esp, 0xc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x30]
lea eax, [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
push str.SoftwareMicrosoftWindows
push bind
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x1001975b
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x1001973e
push eax
lea edx, [esp + 0xfc]
push str.content_type:_qqpass_r_nncontent_length:__d_r_n_r_n
push edx
call ebx
mov edx, dword [esp + 0x1c]
lea esi, [esp + 0x3c]
mov ecx, edx
lea edi, [esp + eax + 0x104]
mov ebp, ecx
add esp, 0xc
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x1003dac0]
test ecx, ecx
je 0x1001973e
push 0
add eax, edx
push 0x39
push eax
lea eax, [esp + 0x104]
push eax
call ecx
add esp, 0x10
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 0x65
mov dword [esp + 0x14], eax
jl 0x100196a6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4e8
ret
Function at 0x10019870
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov 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 0x1001a890
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1002b251
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 0x20]
call sub.MFC42.DLL_CString::CString_2
xor edi, edi
lea ecx, [esi + 0x2c]
mov dword [esp + 0x14], edi
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x34]
mov byte [esp + 0x14], 2
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0xc]
xor eax, eax
mov dword [esi], 0x1002c5cc
mov dword [esi + 4], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 8], edi
mov dword [ecx], eax
pop edi
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x1001bdc0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
cmp esi, 0x7fff
jle 0x1001bdd8
pop edi
pop esi
or eax, 0xffffffff
pop ebx
ret 8
mov eax, dword [esp + 0x10]
cmp byte [eax], 0x51
je 0x1001bdea
pop edi
pop esi
or eax, 0xffffffff
pop ebx
ret 8
cmp byte [eax + 1], 0x44
je 0x1001bdf9
pop edi
pop esi
or eax, 0xffffffff
pop ebx
ret 8
add esi, 0xfffffffa
add eax, 6
cmp esi, 7
jle 0x1001be6c
movsx dx, byte [eax + 1]
mov bl, byte [eax]
mov ecx, edx
sar ecx, 8
xor cl, dl
add eax, 3
movsx edx, dx
sub esi, 3
test edx, edx
jle 0x1001be30
mov edi, edx
sub esi, edi
mov dl, byte [eax]
xor dl, cl
inc eax
not dl
mov byte [eax - 1], dl
dec edi
jne 0x1001be23
cmp bl, 7
jg 0x1001bdf0
mov ecx, dword [eax]
add eax, 4
sub esi, 4
cmp bl, 6
je 0x1001be4b
cmp bl, 7
je 0x1001be4b
add eax, ecx
jmp 0x1001be67
mov edx, ecx
sar edx, 8
xor dl, cl
test ecx, ecx
jle 0x1001be67
mov edi, ecx
sub esi, ecx
mov cl, byte [eax]
xor cl, dl
inc eax
not cl
mov byte [eax - 1], cl
dec edi
jne 0x1001be5a
cmp esi, 7
jg 0x1001be04
pop edi
pop esi
xor eax, eax
pop ebx
ret 8
Function at 0x1001be80
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x1002b346
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c4
push ebx
push ebp
mov ebp, dword [esp + 0x3dc]
push esi
push edi
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x2d0]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x2d0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str..
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x8c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2d4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x1001c05d
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
mov edi, dword [sym.imp.MSVCRT.dll__access]
xor ebx, ebx
test byte [esp + 0x8c], 0x10
je 0x1001c037
cmp byte [esp + 0xb8], 0x2e
je 0x1001c037
lea edx, [esp + 0xb8]
lea eax, [esp + 0x2d0]
push edx
push ebp
push 0x10030690
push eax
call esi
add esp, 0x10
lea ecx, [esp + 0xb8]
lea edx, [esp + 0x1cc]
push ecx
push ebp
push str._s_sUser.db
push edx
call esi
lea eax, [esp + 0x1dc]
push ebx
push eax
call edi
add esp, 0x18
test eax, eax
jne 0x1001bfcc
lea ecx, [esp + 0x50]
call fcn.1001a890
lea ecx, [esp + 0x1cc]
lea edx, [esp + 0xb8]
push ecx
push edx
lea ecx, [esp + 0x58]
mov dword [esp + 0x3e4], ebx
call fcn.1001af50
lea ecx, [esp + 0x50]
mov dword [esp + 0x3dc], 0xffffffff
call fcn.1001a940
lea eax, [esp + 0xb8]
lea ecx, [esp + 0x1cc]
push eax
push ebp
push str._s_sMsgEx.db
push ecx
call esi
lea edx, [esp + 0x1dc]
push ebx
push edx
call edi
add esp, 0x18
test eax, eax
jne 0x1001c037
lea ecx, [esp + 0x14]
call fcn.1001a890
lea eax, [esp + 0x1cc]
lea ecx, [esp + 0xb8]
push eax
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3e4], 1
call fcn.1001b6a0
lea ecx, [esp + 0x14]
mov dword [esp + 0x3dc], 0xffffffff
call fcn.1001a940
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x8c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1001bf2e
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x3d4]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x3d0
ret
Function at 0x1001c080
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x1002b370
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x18]
push eax
call sub.MFC42.DLL_CString::CString_1
push 0x5c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, 0xffffffff
je 0x1001c10a
lea ecx, [esp + 4]
push eax
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Left
push str.CQQEx.dat
lea edx, [esp + 4]
push eax
push edx
mov byte [esp + 0x1c], 1
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp]
mov byte [esp + 0x10], 1
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x10], 0
lea ecx, [esp + 4]
jmp 0x1001c136
lea eax, [esp + 0x18]
push str.CqqEx.dat
lea ecx, [esp + 8]
push eax
push ecx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], 3
call sub.MFC42.DLL_CString::operator_1
mov byte [esp + 0x10], 0
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x18]
push edx
push 0
push str.time
push 0x10032488
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], 0xffffffff
mov dword [ecx], eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x1001c910
Capabilities:
Encrypt data using tea

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
mov esi, dword [esp + 0x18]
xor edx, edx
add esi, ebx
xor eax, eax
xor ecx, ecx
xor ebx, ebx
mov dl, byte [esi]
mov al, byte [esi + 1]
mov cl, byte [esi + 2]
add esi, 4
shl edx, 8
add edx, eax
xor eax, eax
mov al, byte [esi - 1]
push edi
shl edx, 8
add edx, ecx
xor ecx, ecx
mov cl, byte [esi]
shl edx, 8
add edx, eax
xor eax, eax
mov al, byte [esi + 1]
shl ecx, 8
add ecx, eax
xor eax, eax
mov al, byte [esi + 2]
shl ecx, 8
add ecx, eax
xor eax, eax
mov al, byte [esi + 3]
shl ecx, 8
add ecx, eax
mov eax, dword [esp + 0x24]
mov bl, byte [eax]
add eax, 4
mov esi, ebx
xor ebx, ebx
mov bl, byte [eax - 3]
add eax, 4
shl esi, 8
add esi, ebx
xor ebx, ebx
mov bl, byte [eax - 6]
shl esi, 8
add esi, ebx
xor ebx, ebx
mov bl, byte [eax - 5]
shl esi, 8
add esi, ebx
xor ebx, ebx
mov bl, byte [eax - 4]
mov edi, ebx
xor ebx, ebx
mov bl, byte [eax - 3]
shl edi, 8
add edi, ebx
xor ebx, ebx
mov bl, byte [eax - 2]
shl edi, 8
add edi, ebx
xor ebx, ebx
mov bl, byte [eax - 1]
shl edi, 8
add edi, ebx
xor ebx, ebx
mov bl, byte [eax]
mov ebp, ebx
xor ebx, ebx
mov bl, byte [eax + 1]
shl ebp, 8
add ebp, ebx
xor ebx, ebx
mov bl, byte [eax + 2]
shl ebp, 8
add ebp, ebx
shl ebp, 8
xor ebx, ebx
mov dword [esp + 0x10], 0xe3779b90
mov bl, byte [eax + 3]
add eax, 4
add ebp, ebx
xor ebx, ebx
mov bl, byte [eax]
mov dword [esp + 0x24], ebp
mov ebp, ebx
xor ebx, ebx
mov bl, byte [eax + 1]
mov dword [esp + 0x14], 0
shl ebp, 8
add ebp, ebx
xor ebx, ebx
mov bl, byte [eax + 2]
mov dword [esp + 0x1c], 0x10
shl ebp, 8
add ebp, ebx
xor ebx, ebx
mov bl, byte [eax + 3]
shl ebp, 8
add ebp, ebx
mov dword [esp + 0x20], ebp
jmp 0x1001ca2c
mov ebp, dword [esp + 0x20]
mov ebx, edx
mov eax, edx
shr ebx, 5
add ebx, ebp
mov ebp, dword [esp + 0x24]
shl eax, 4
add eax, ebp
mov dword [esp + 0x14], 0
xor ebx, eax
mov eax, dword [esp + 0x10]
lea ebp, [eax + edx]
xor ebx, ebp
sub ecx, ebx
mov ebx, ecx
mov ebp, ecx
shr ebx, 5
shl ebp, 4
add ebx, edi
add ebp, esi
xor ebx, ebp
lea ebp, [eax + ecx]
xor ebx, ebp
sub edx, ebx
add eax, 0x61c88647
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x1c], eax
jne 0x1001ca28
mov esi, dword [esp + 0x28]
mov eax, edx
shr eax, 0x18
mov byte [esi], al
mov eax, edx
sar eax, 0x10
mov byte [esi + 1], al
mov eax, edx
sar eax, 8
mov byte [esi + 3], dl
mov byte [esi + 2], al
mov edx, ecx
add esi, 4
shr edx, 0x18
mov byte [esi], dl
mov eax, ecx
mov edx, ecx
mov byte [esi + 3], cl
sar eax, 0x10
sar edx, 8
mov byte [esi + 1], al
mov byte [esi + 2], dl
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x10
Function at 0x1001cef0
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
mov edx, dword [esp + 8]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov ecx, 0xe3779b90
mov edi, 0x10
mov eax, dword [esi]
mov ebp, dword [0x1003daf4]
mov ebx, eax
shl ebx, 4
add ebx, ebp
mov ebp, eax
shr ebp, 5
add ebp, dword [0x1003daf8]
add eax, ecx
xor ebx, ebp
xor ebx, eax
mov eax, dword [edx]
sub eax, ebx
mov ebx, eax
mov dword [edx], eax
mov ebp, dword [0x1003daec]
shl ebx, 4
add ebx, ebp
mov ebp, eax
shr ebp, 5
add ebp, dword [0x1003daf0]
add eax, ecx
add ecx, 0x61c88647
xor ebx, ebp
mov ebp, dword [esi]
xor ebx, eax
sub ebp, ebx
dec edi
mov dword [esi], ebp
jne 0x1001cf06
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x1001cfb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1002b3e9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov edi, dword [esi + 0x50]
mov dword [esp + 0x14], 3
test edi, edi
je 0x1001cfed
mov ecx, edi
call fcn.1001e820
push edi
call fcn.10010220
add esp, 4
mov edi, dword [esi + 0x4c]
mov byte [esp + 0x14], 2
test edi, edi
je 0x1001d009
mov ecx, edi
call fcn.1001e2f0
push edi
call fcn.10010220
add esp, 4
mov eax, dword [esi + 0x48]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
lea ecx, [esi + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov edx, dword [esi + 8]
mov dword [esi], 0x1002c5d8
push edx
call edi
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x1001d420
Capabilities:
Create thread
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x1002b458
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
lea eax, [esp + 4]
lea ecx, [esp]
push eax
lea edx, [esp + 0x10]
push ecx
push edx
push str.para
push str.SOFTWAREMicrosoft
push bind
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov eax, dword [esp]
cmp eax, 0x31
je 0x1001d47a
cmp eax, 1
jne 0x1001d484
mov dword [0x1003db6c], 1
call fcn.1001d1c0
lea ecx, [esp + 0x10]
call fcn.1001eac0
push 7
lea ecx, [esp + 0x14]
mov dword [esp + 0x64], 0
call fcn.1001ed50
lea ecx, [esp + 0x10]
call fcn.1001eba0
push 0
push 7
push eax
lea ecx, [esp + 0x1c]
call fcn.1001f330
lea eax, [esp + 8]
mov dword [esp + 8], 0
push eax
push 0
push 0
push 0x1001d1a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
mov dword [esp + 0x60], 0xffffffff
call fcn.1001eb40
mov ecx, dword [esp + 0x58]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x64
ret