joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420b00
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49fc83
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x4be014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb0], edx
mov esi, ecx
cmp byte [esi], 0
mov dword [ebp - 0x58], 0xf
mov dword [ebp - 0x5c], 0
mov byte [ebp - 0x6c], 0
jne 0x420b50
xor ecx, ecx
jmp 0x420b5c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x420b53
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x6c]
call fcn.0041d2a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xa8]
cmp dword [ebp - 0x58], 0x10
lea eax, [ebp - 0x6c]
push ecx
cmovae eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0xa4]
push ecx
xorps xmm0, xmm0
push 0
movups xmmword [ebp - 0xa4], xmm0
push eax
movups xmmword [ebp - 0x94], xmm0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 1
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x420bc2
mov esi, 2
jmp 0x420cdb
mov esi, dword [ebp - 0xa8]
mov dword [ebp - 0xac], esi
test esi, esi
je 0x420cd2
nop word [eax + eax]
mov dword [ebp - 0x70], 0xf
mov dword [ebp - 0x74], 0
mov byte [ebp - 0x84], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x84]
cmp dword [esi + 4], 2
mov edi, dword [esi + 0x18]
push 4
jne 0x420c14
add edi, 4
push str.IPv4
jmp 0x420c1c
add edi, 8
push str.IPv6
call fcn.0041d2a0
push 0x41
lea eax, [ebp - 0x54]
push eax
push edi
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_inet_ntop]
lea eax, [ebp - 0x54]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x420c36
mov edi, dword [ebp - 0xb0]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x420c46
mov ecx, eax
mov edx, 0x4b413c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push 0x4374d0
call fcn.00437080
lea edx, [ebp - 0x84]
mov ecx, eax
call fcn.004372d0
mov edx, 0x4b4098
mov ecx, eax
call fcn.00437080
lea edx, [ebp - 0x54]
mov ecx, eax
call fcn.00437080
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x70]
cmp eax, 0x10
jb 0x420cb5
inc eax
push eax
push dword [ebp - 0x84]
call fcn.0041d520
mov esi, dword [ebp - 0xac]
mov esi, dword [esi + 0x1c]
mov dword [ebp - 0xac], esi
test esi, esi
jne 0x420be0
mov esi, dword [ebp - 0xa8]
push esi
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
xor esi, esi
mov ecx, dword [ebp - 0x58]
cmp ecx, 0x10
jb 0x420ced
inc ecx
push ecx
push dword [ebp - 0x6c]
call fcn.0041d520
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004429bd
mov esp, ebp
pop ebp
ret
Function at 0x420d10
Capabilities:
Create directory
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49fce0
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x4be014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x210]
push 0x200
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x214]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebp - 0x218]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebp - 0x220]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebp - 0x21c]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0
mov byte [ebp - 4], 3
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x224], edx
push 0
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov eax, dword [0x4c119c]
imul edi, esi, 0x1261
mov esi, dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__9]
push dword [edi + eax + 8]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
push str._sGzxItem
push eax
call esi
add esp, 0x10
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0x10
je 0x420e0a
push 0
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [0x4c119c]
push dword [edi + eax + 8]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
push str._sGzxItem_u.ini
push eax
call esi
mov eax, dword [0x4c119c]
push dword [edi + eax + 8]
lea eax, [ebp - 0x218]
push 0x4b2b5c
push eax
call esi
add esp, 0x1c
lea eax, [ebp - 0x24c]
lea ecx, [ebp - 0x228]
push eax
call fcn.0041dfe0
test eax, eax
je 0x420e5d
mov eax, dword [eax + 0xc]
jmp 0x420e5f
xor eax, eax
push eax
lea eax, [ebp - 0x21c]
push 0x4b3d1c
push eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esp, 0xc
push dword [ebp - 0x214]
push dword [ebp - 0x21c]
push 0x4b2c40
push dword [ebp - 0x218]
call esi
push dword [ebp - 0x214]
push ebx
push 0x4b2f90
push dword [ebp - 0x218]
call esi
lea ecx, [ebp - 0x21c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x220]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x218]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x214]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004429bd
mov esp, ebp
pop ebp
ret
Function at 0x4211f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push esi
mov esi, ecx
xor ecx, ecx
nop
mov eax, ecx
shr eax, 1
test cl, 1
je 0x42120e
xor eax, 0xedb88320
test al, 1
je 0x42121b
shr eax, 1
xor eax, 0xedb88320
jmp 0x42121d
shr eax, 1
test al, 1
je 0x42122a
shr eax, 1
xor eax, 0xedb88320
jmp 0x42122c
shr eax, 1
test al, 1
je 0x421239
shr eax, 1
xor eax, 0xedb88320
jmp 0x42123b
shr eax, 1
test al, 1
je 0x421248
shr eax, 1
xor eax, 0xedb88320
jmp 0x42124a
shr eax, 1
test al, 1
je 0x421257
shr eax, 1
xor eax, 0xedb88320
jmp 0x421259
shr eax, 1
test al, 1
je 0x421266
shr eax, 1
xor eax, 0xedb88320
jmp 0x421268
shr eax, 1
test al, 1
je 0x421275
shr eax, 1
xor eax, 0xedb88320
jmp 0x421277
shr eax, 1
mov dword [ebp + ecx*4 - 0x400], eax
inc ecx
cmp ecx, 0x100
jb 0x421200
or ecx, 0xffffffff
test edx, edx
je 0x4212ac
movzx eax, byte [esi]
lea esi, [esi + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [ebp + eax*4 - 0x400]
sub edx, 1
jne 0x421292
not ecx
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4212c0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4be014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push edi
push 0x288
mov dword [ebp - 8], 0x288
call esi
mov edi, eax
add esp, 4
test edi, edi
jne 0x421304
pop edi
mov eax, str.Null
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004429bd
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 8]
push eax
push edi
call ebx
cmp eax, 0x6f
jne 0x42132c
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push dword [ebp - 8]
call esi
mov edi, eax
add esp, 8
test edi, edi
je 0x421380
lea eax, [ebp - 8]
push eax
push edi
call ebx
test eax, eax
jne 0x421372
mov esi, edi
test edi, edi
je 0x421380
nop dword [eax]
lea ebx, [esi + 0x10c]
push str.Intel
push ebx
call dword [sym.imp.VCRUNTIME140.dll_strstr]
add esp, 8
test eax, eax
jne 0x421396
push str.Realtek
push ebx
call dword [sym.imp.VCRUNTIME140.dll_strstr]
add esp, 8
test eax, eax
jne 0x421396
mov esi, dword [esi]
test esi, esi
jne 0x421340
test edi, edi
je 0x421380
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
pop ebx
pop edi
mov eax, str.Null
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004429bd
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x190]
lea ecx, [esi + 0x194]
call fcn.00421190
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.004429bd
mov esp, ebp
pop ebp
ret
Function at 0x421620
Capabilities:
Get disk information
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1f4
mov eax, dword [0x4be014]
xor eax, esp
mov dword [esp + 0x1f0], eax
push esi
push 0x80
lea eax, [esp + 0x174]
mov esi, ecx
push eax
push 0
push 0
lea eax, [esp + 0x14]
push eax
push 0x80
push 0x7c33c0
push 0x4b4180
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
call fcn.004212c0
push eax
push dword [esp + 8]
call fcn.004213c0
push eax
lea eax, [esp + 0x7c]
push str._d_d_s
push eax
call fcn.0041da60
add esp, 0x14
test esi, esi
jne 0x42175f
lea ecx, [esp + 0x70]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
lea edx, [ecx + 1]
mov dword [esp + 8], 0x67452301
mov dword [esp + 0xc], 0xefcdab89
mov dword [esp + 0x10], 0x98badcfe
mov dword [esp + 0x14], 0x10325476
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4216c1
sub ecx, edx
lea edx, [esp + 0x70]
push ecx
lea ecx, [esp + 0xc]
call fcn.00401c70
add esp, 4
lea edx, [esp + 0x18]
lea ecx, [esp + 0x60]
push 8
call fcn.00401510
mov ecx, dword [esp + 0x1c]
add esp, 4
shr ecx, 3
mov eax, 0x38
and ecx, 0x3f
cmp ecx, 0x38
jb 0x421706
mov eax, 0x78
sub eax, ecx
mov edx, 0x4be458
push eax
lea ecx, [esp + 0xc]
call fcn.00401c70
add esp, 4
lea edx, [esp + 0x60]
lea ecx, [esp + 8]
push 8
call fcn.00401c70
add esp, 4
lea edx, [esp + 8]
lea ecx, [esp + 0x60]
push 0x10
call fcn.00401510
add esp, 4
lea ecx, [esp + 0x60]
mov edx, 0x10
call fcn.00421190
pop esi
mov ecx, dword [esp + 0x1f0]
xor ecx, esp
call fcn.004429bd
mov esp, ebp
pop ebp
ret
push 0x80
push 0
push 0x7c33c0
call sub.VCRUNTIME140.dll_memset
lea edx, [esp + 0x7c]
add esp, 0xc
lea ecx, [edx + 1]
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x421780
sub edx, ecx
lea ecx, [esp + 0x70]
call fcn.004211f0
push eax
push 0x4b39c8
push 0x7c33c0
call fcn.00437500
mov ecx, dword [esp + 0x200]
add esp, 0xc
mov eax, 0x7c33c0
pop esi
xor ecx, esp
call fcn.004429bd
mov esp, ebp
pop ebp
ret
Function at 0x422ab0
Capabilities:
Extract resource via kernel32 functions
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
mov eax, dword [0x4be014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x1c
lea eax, [ebp - 0x828]
push eax
push 0x422a70
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov esi, dword [ebp - 0x824]
lea eax, [ebp - 0x804]
push 0x400
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x80c]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebp - 0x808]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x404]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x4b39d8
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x804]
push 0x4b39e8
push eax
call fcn.0041da40
add esp, 0x10
push str.ItemName
push 0x84
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x422bc0
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
lea eax, [ebp - 0x804]
push 0x4b41a0
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x422bbf
push esi
push edi
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x422bbf
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
lea ecx, [ebp - 0x808]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x80c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004429bd
mov esp, ebp
pop ebp
ret

Function at 0x422ef0
Capabilities:
Create directory
Get disk information
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4be014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov bl, 0x44
nop dword [eax]
lea eax, [ebp - 0x108]
mov byte [ebp - 0x108], bl
push eax
mov word [ebp - 0x107], 0x5c3a
mov byte [ebp - 0x105], 0
call esi
cmp eax, 3
je 0x422f47
inc bl
cmp bl, 0x5a
jle 0x422f10
push str.C:LogInfo
push 0x4b2d88
jmp 0x422f53
lea eax, [ebp - 0x108]
push eax
push str._sLogInfo
push 0x4c0918
call fcn.0041da60
add esp, 0xc
push 0x4c0918
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0x10
je 0x422f7d
push 0
push 0x4c0918
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004429bd
mov esp, ebp
pop ebp
ret
Function at 0x426f10
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x4be014]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4c10e0], 0
push esi
mov esi, ecx
jne 0x426f40
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004429bd
mov esp, ebp
pop ebp
ret
push 0x400
lea eax, [ebp - 0x424]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x400
lea eax, [ebp - 0x824]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
mov byte [ebp - 0x24], 0
lea eax, [ebp - 0x424]
mov dword [ebp - 0xb], 0
xorps xmm0, xmm0
mov byte [ebp - 7], 0
movups xmmword [ebp - 0x23], xmm0
push 0
push 0
push eax
push 0
movq qword [ebp - 0x13], xmm0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x824]
push 0x4b2ec4
push eax
call fcn.0041da40
push esi
lea eax, [ebp - 0x24]
push 0x4b2b54
push eax
call fcn.0041da80
add esp, 0x18
lea eax, [ebp - 0x824]
push eax
push 0
lea eax, [ebp - 0x24]
push eax
push 0x4b3090
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 2
je 0x426fec
cmp eax, 4
je 0x426fec
cmp eax, 5
jne 0x426f2f
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.004429bd
mov esp, ebp
pop ebp
ret
Function at 0x428eb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8fc
mov eax, dword [0x4be014]
xor eax, esp
mov dword [esp + 0x8f8], eax
push ebx
push esi
push edi
push 0x400
lea eax, [esp + 0x104]
mov dword [esp + 0x1c], edx
push 0
push eax
mov dword [esp + 0x28], ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x500]
push 0x400
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x100]
push 0
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [esp + 0x100]
push eax
lea eax, [esp + 0x504]
push 0x4b2ec4
push eax
call fcn.0041da40
add esp, 0xc
lea eax, [esp + 0x100]
push 0x400
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x24], 0
lea ecx, [esp + 0x20]
push eax
call fcn.0041dfe0
test eax, eax
je 0x428f7c
mov ebx, dword [eax]
mov dword [esp + 0x10], ebx
jmp 0x428f84
mov dword [esp + 0x10], 0xffffffff
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x24]
call fcn.0041dfe0
test eax, eax
je 0x428f9f
mov ebx, dword [eax + 4]
mov dword [esp + 0x14], ebx
jmp 0x428fa7
mov dword [esp + 0x14], 0xffffffff
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x24]
call fcn.0041dfe0
test eax, eax
je 0x428fbe
mov ebx, dword [eax + 8]
jmp 0x428fc1
or ebx, 0xffffffff
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x24]
call fcn.0041dfe0
test eax, eax
je 0x428fdb
mov edi, dword [eax + 0xc]
jmp 0x428fdd
xor edi, edi
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x24]
call fcn.0041dfe0
test eax, eax
je 0x428ff8
mov esi, dword [eax + 0x10]
inc esi
jmp 0x428ffa
xor esi, esi
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0x24]
call fcn.0041dfe0
test eax, eax
je 0x429019
mov eax, dword [eax + 0x14]
add eax, 0x76c
jmp 0x42901b
xor eax, eax
push dword [esp + 0x18]
push dword [esp + 0x14]
push dword [esp + 0x1c]
push ebx
push edi
push esi
push eax
push dword [esp + 0x38]
lea eax, [esp + 0x120]
push str._u_____d__d__d__d__d__d_____s_n
push eax
call fcn.0041da40
lea eax, [esp + 0x528]
push 0x4b2d84
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov esi, eax
add esp, 0x30
test esi, esi
je 0x42907d
lea eax, [esp + 0x100]
push eax
push 0x4b2d88
push esi
call fcn.0041dd60
add esp, 0xc
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov ecx, dword [esp + 0x904]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004429bd
mov esp, ebp
pop ebp
ret
Function at 0x4308d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.0049e380
mov eax, dword [0x4be014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0x1010]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
push eax
push 0x20019
push esi
push str.SOFTWARETencentQQ
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4309b9
push 0x1000
push eax
lea eax, [ebp - 0x1004]
mov dword [ebp - 0x1008], 3
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x100c], 0x400
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x1008]
push eax
push esi
push str.path
push dword [ebp - 0x1010]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4309b9
mov eax, dword [ebp - 0x100c]
push eax
mov dword [ebx], eax
call dword [sym.imp.mfc140u.dll_operator]
push dword [ebp - 0x100c]
mov esi, eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
push dword [ebp - 0x100c]
lea eax, [ebp - 0x1004]
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
push dword [ebp - 0x100c]
push esi
push edi
call sub.VCRUNTIME140.dll_memcpy
push esi
call dword [sym.imp.mfc140u.dll_operator_1]
add esp, 0x2c
mov esi, 1
push dword [ebp - 0x1010]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004429bd
mov esp, ebp
pop ebp
ret

Function at 0x4309e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4be014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, esi
lea ecx, [edi + 2]
nop dword [eax]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x430a00
sub edi, ecx
sar edi, 1
test esi, esi
jne 0x430a25
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004429bd
mov esp, ebp
pop ebp
ret
cmp edi, 0x104
jge 0x430a13
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea ecx, [ebp - 0x210]
add esp, 0xc
sub ecx, esi
nop dword [eax + eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x430a50
add edi, edi
cmp edi, 0x20a
jae 0x430b25
xor eax, eax
mov word [ebp + edi - 0x210], ax
add edi, 2
cmp edi, 0x20a
jae 0x430b25
mov dword [ebp - 0x218], eax
xorps xmm0, xmm0
mov word [ebp + edi - 0x210], ax
mov ecx, 0x414
movq qword [ebp - 0x220], xmm0
mov ax, word [ebp - 0x220]
or ax, cx
mov dword [ebp - 0x21a], 0
movups xmmword [ebp - 0x230], xmm0
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x228], ecx
mov ecx, 0xffbf
and ax, cx
mov dword [ebp - 0x216], 0
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x230]
push eax
mov dword [ebp - 0x22c], 3
mov dword [ebp - 0x224], 0
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [ebp - 4]
neg eax
pop edi
sbb eax, eax
xor ecx, ebp
inc eax
pop esi
call fcn.004429bd
mov esp, ebp
pop ebp
ret
call fcn.00442af1
int3
Function at 0x431e80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x4be014]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4c10f4], 0
je 0x431f54
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x4c0a20
lea eax, [ebp - 0x404]
push 0x4b4e0c
push eax
call fcn.0041da40
add esp, 0x18
cmp dword [0x4c0290], 0
jne 0x431ee8
push 0xb05e0
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [0x4c0290], eax
push edi
lea eax, [ebp - 0x404]
push 0x4b4e20
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
je 0x431f53
push ebx
push 2
push 0
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push 0
push 0
push edi
mov ebx, eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
push edi
push ebx
push 1
push dword [0x4c0290]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x30
test ebx, ebx
je 0x431f52
mov eax, 0xfe03f81
mul ebx
shr edx, 6
mov dword [0x4c0294], edx
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004429bd
mov esp, ebp
pop ebp
ret
Function at 0x4368d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1218
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4be014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x436a03
cmp byte [ebx + 0x3d], 0
je 0x436a03
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x436929
xor al, al
jmp 0x436a05
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.0041d210
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x14]
lea edi, [ebx + 0x40]
cmp esi, 0x10
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
add eax, edx
push eax
push ecx
mov ecx, dword [ebx + 0x38]
push edi
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x436990
sub eax, 1
je 0x436994
mov esi, dword [ebp - 0x14]
sub eax, 2
je 0x4369ec
xor bl, bl
jmp 0x4369ee
mov byte [ebx + 0x3d], 0
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp esi, 0x10
mov edi, dword [ebp - 0x2c]
cmovae eax, ecx
sub edi, eax
je 0x4369ca
push dword [ebx + 0x4c]
cmp esi, 0x10
lea eax, [ebp - 0x28]
push edi
cmovae eax, ecx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov esi, dword [ebp - 0x14]
add esp, 0x10
cmp edi, eax
jne 0x43698c
cmp byte [ebx + 0x3d], 0
je 0x4369ec
test edi, edi
lea edi, [ebx + 0x40]
jne 0x436954
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.0041d6f0
jmp 0x43694e
mov bl, 1
cmp esi, 0x10
jb 0x4369ff
lea ecx, [esi + 1]
push ecx
push dword [ebp - 0x28]
call fcn.0041d520
mov al, bl
jmp 0x436a05
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004429bd
mov esp, ebp
pop ebp
ret

Function at 0x438f70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x438fa1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x438f90
pop edi
mov eax, edx
pop esi
pop ebp
ret 8