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

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
push ecx
push edx
push 0
push 0
call fcn.004134ba
mov ecx, dword [esp + 0x20]
add esp, 0x18
test eax, eax
mov dword [ecx], eax
je 0x443913
xor eax, eax
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x443922
mov eax, 1
pop ecx
ret

Function at 0x443e50
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, eax
mov edi, ecx
xor eax, eax
test edi, edi
lea edx, [eax + 1]
je 0x443e92
push ebx
push ebp
mov ebx, dword [esp + 0x14]
movzx ebx, word [ebx + edx*2]
mov ecx, esi
and ecx, 1
mov ebp, ecx
neg ebp
sar ebp, 4
and ebp, 0x7f
shr ebx, 4
xor ebx, ebp
mov ebp, dword [esp + 0x18]
add eax, dword [ebp + ebx*4]
add edx, edx
shr esi, 1
or edx, ecx
sub edi, 1
jne 0x443e61
pop ebp
pop ebx
pop edi
pop esi
ret

Function at 0x443ee0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, eax
mov edx, pe_nt_image_headers32
xor eax, eax
or ecx, edx
mov edi, edi
add esi, esi
mov ebx, edx
and ebx, esi
add ebx, edx
mov ebp, ecx
shr ebp, 8
add ebp, ebx
mov ebx, dword [esp + 0x10]
movzx ebx, word [ebx + ebp*2]
mov ebp, ecx
shr ebp, 7
and ebp, 1
neg ebp
shr ebx, 4
sar ebp, 4
and ebp, 0x7f
xor ebx, ebp
add eax, dword [edi + ebx*4]
add ecx, ecx
mov ebx, ecx
xor ebx, esi
not ebx
and edx, ebx
cmp ecx, 0x10000
jb 0x443ef0
pop esi
pop ebp
pop ebx
ret

Function at 0x443f40
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor eax, eax
or ecx, 0x100
push edi
lea ebx, [ebx]
mov ebx, ecx
shr ebx, 7
mov edi, ecx
shr edi, 8
movzx edi, word [esi + edi*2]
and ebx, 1
neg ebx
sar ebx, 4
shr edi, 4
and ebx, 0x7f
xor edi, ebx
add eax, dword [edx + edi*4]
add ecx, ecx
cmp ecx, 0x10000
jb 0x443f50
pop edi
pop ebx
ret
Function at 0x444400
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x210
push ebx
push ebp
push edi
mov edi, 4
lea ebp, [esi + 0x30ea0]
movzx ebx, byte [esi + edi + 0x306a0]
mov ecx, ebx
mov edx, ebx
and edx, 1
shr ecx, 1
or edx, 2
sub ecx, 1
shl edx, cl
mov eax, edi
push ebp
sub eax, edx
sub edx, ebx
lea edx, [esi + edx*2 + 0x32b0e]
push edx
call fcn.00443e50
mov dword [esp + edi*4 + 0x24], eax
add edi, 1
add esp, 8
cmp edi, 0x80
jb 0x444414
lea ebp, [esp + 0x1c]
sub ebp, esi
lea eax, [esi + 0x32910]
lea ecx, [esi + 0x31d58]
sub ebp, 0x31d50
lea edi, [esi + 0x31950]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], 4
jmp 0x444494
mov ecx, dword [esp + 0xc]
xor ebx, ebx
cmp dword [esi + 0x32594], ebx
jbe 0x4444f1
mov edi, edi
mov eax, ebx
or eax, 0x40
xor edx, edx
cmp eax, 1
je 0x4444e3
lea esp, [esp]
mov ebp, dword [esp + 0x10]
mov ecx, eax
and eax, 1
shr ecx, 1
movzx ebp, word [ebp + ecx*2]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add edx, dword [esi + ebp*4 + 0x30ea0]
mov eax, ecx
cmp eax, 1
jne 0x4444b0
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov dword [edi + ebx*4], edx
add ebx, 1
cmp ebx, dword [esi + 0x32594]
jb 0x4444a0
mov eax, 0xe
cmp dword [esi + 0x32594], eax
jbe 0x444518
mov edi, edi
mov edx, eax
shr edx, 1
sub edx, 5
shl edx, 4
add dword [edi + eax*4], edx
add eax, 1
cmp eax, dword [esi + 0x32594]
jb 0x444500
mov eax, dword [edi]
mov dword [ecx - 8], eax
mov edx, dword [edi + 4]
mov dword [ecx - 4], edx
mov eax, dword [edi + 8]
mov dword [ecx], eax
mov edx, dword [edi + 0xc]
mov dword [ecx + 4], edx
mov eax, 4
add ecx, 8
jmp 0x444540
movzx edx, byte [esi + eax + 0x306a0]
mov edx, dword [edi + edx*4]
add edx, dword [ecx + ebp]
add eax, 1
mov dword [ecx], edx
add ecx, 4
cmp eax, 0x80
jb 0x444540
add dword [esp + 0x10], 0x80
add dword [esp + 0xc], 0x200
sub ebp, 0x200
add edi, 0x100
sub dword [esp + 0x18], 1
mov dword [esp + 0x14], ebp
jne 0x444490
pop edi
pop ebp
mov dword [esi + 0x3bcf8], 0
pop ebx
add esp, 0x210
ret

Function at 0x4445a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
xor esi, esi
lea eax, [edi + 0x32550]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
jmp 0x4445c0
xor edx, edx
lea ecx, [edx + 1]
mov dword [esp + 0xc], 4
lea ecx, [ecx]
movzx ebx, word [edi + ecx*2 + 0x32bf4]
mov eax, esi
and eax, 1
mov ebp, eax
neg ebp
sar ebp, 4
shr ebx, 4
and ebp, 0x7f
xor ebx, ebp
add edx, dword [edi + ebx*4 + 0x30ea0]
add ecx, ecx
shr esi, 1
or ecx, eax
sub dword [esp + 0xc], 1
jne 0x4445d0
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
add esi, 1
mov dword [eax], edx
add eax, 4
cmp esi, 0x10
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
jb 0x4445c0
pop esi
pop ebp
mov dword [edi + 0x32590], 0
pop ebx
add esp, 0xc
ret
Function at 0x4449c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
movzx eax, word [ebx]
mov ecx, eax
shr ecx, 4
mov edx, dword [esi + ecx*4]
movzx ecx, word [ebx + 2]
mov dword [esp], edx
mov edx, ecx
xor eax, 0x7f0
xor ecx, 0x7f0
shr edx, 4
mov edx, dword [esi + edx*4]
shr eax, 4
mov eax, dword [esi + eax*4]
shr ecx, 4
mov ecx, dword [esi + ecx*4]
add edx, eax
add ecx, eax
push ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
xor edx, edx
push edi
cmp edx, dword [esp + 0x1c]
jae 0x444b37
mov eax, edx
or eax, 8
xor edi, edi
cmp eax, 1
je 0x444a4a
lea ebx, [ebx]
mov ebp, dword [esp + 0x18]
mov ecx, eax
shr ecx, 1
and eax, 1
lea ebp, [ecx + ebp*8]
movzx ebp, word [ebx + ebp*2 + 4]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add edi, dword [esi + ebp*4]
mov eax, ecx
cmp eax, 1
jne 0x444a20
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x20]
add edi, eax
mov dword [ecx + edx*4], edi
add edx, 1
cmp edx, 8
jb 0x444a04
cmp edx, 0x10
jae 0x444ad1
lea eax, [edx - 8]
mov dword [esp + 8], eax
jmp 0x444a70
cmp edx, dword [esp + 0x1c]
jae 0x444b37
or eax, 8
xor edi, edi
cmp eax, 1
je 0x444ab1
mov ebp, dword [esp + 0x18]
mov ecx, eax
shr ecx, 1
and eax, 1
lea ebp, [ecx + ebp*8]
movzx ebp, word [ebx + ebp*2 + 0x104]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add edi, dword [esi + ebp*4]
mov eax, ecx
cmp eax, 1
jne 0x444a84
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
add edi, eax
mov eax, dword [esp + 8]
mov dword [ecx + edx*4], edi
add edx, 1
add eax, 1
cmp edx, 0x10
mov dword [esp + 8], eax
jb 0x444a70
cmp edx, dword [esp + 0x1c]
jae 0x444b37
lea eax, [edx - 0x10]
mov dword [esp + 8], eax
mov edi, edi
or eax, 0x100
xor edi, edi
cmp eax, 1
je 0x444b16
lea esp, [esp]
mov ecx, eax
and eax, 1
shr ecx, 1
movzx ebp, word [ebx + ecx*2 + 0x204]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add edi, dword [esi + ebp*4]
mov eax, ecx
cmp eax, 1
jne 0x444af0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add edi, eax
mov eax, dword [esp + 8]
mov dword [ecx + edx*4], edi
add edx, 1
add eax, 1
cmp edx, dword [esp + 0x1c]
mov dword [esp + 8], eax
jb 0x444ae0
pop edi
pop ebp
add esp, 0xc
ret
Function at 0x44aa50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
push esi
mov dword [eax + 0x30], edx
mov dword [eax + 0x4c], edx
mov dword [eax + 0x20], edx
mov dword [eax + 0x2c], 0x20
mov dword [eax + 0x54], 1
mov dword [eax + 0x48], 4
mov dword [eax + 0x58], edx
lea esi, [eax + 0x70]
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [esi], ecx
add edx, 1
add esi, 4
cmp edx, 0x100
jb 0x44aa77
pop esi
ret
Function at 0x44c850
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x45e194
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
mov eax, dword [0x472100]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [edi + 0x10]
or esi, 0xffffffff
cmp eax, esi
je 0x44c88e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x44c905
mov dword [edi + 0x10], esi
mov eax, dword [edi + 0x18]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], esi
jbe 0x44c8ce
mov ecx, dword [edi + 0x14]
mov ebx, dword [esp + 0x38]
call fcn.0044bc50
test eax, eax
jne 0x44c90a
mov eax, dword [edi + 0x18]
mov edx, dword [edi + 0x14]
push 0x477020
push eax
mov ecx, esi
call dword [0x475bc4]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [esp + 0x1c], eax
cmp byte [edi + 0x28], 0
je 0x44c9bb
mov dword [esp + 0x10], esi
mov dword [esp + 0x30], 0
mov eax, dword [edi + 0x1c]
push eax
lea esi, [esp + 0x14]
call fcn.0042e310
test al, al
jne 0x44c91f
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x44c905
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x80004005
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4
cmp ebp, dword [edi + 0x34]
ja 0x44c9ab
jb 0x44c933
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [edi + 0x30]
jae 0x44c9ab
mov eax, dword [edi + 0x14]
push 0
lea edx, [esp + 0x1c]
push edx
push 0x100000
push eax
mov eax, dword [esp + 0x20]
push eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44c9f5
mov esi, dword [esp + 0x18]
test esi, esi
je 0x44c9ab
mov ecx, dword [edi + 0x14]
mov ebx, dword [esp + 0x38]
mov eax, esi
call fcn.0044bc50
mov ebx, eax
test ebx, ebx
jne 0x44ca03
mov edx, dword [edi + 0x14]
mov ecx, dword [esp + 0x14]
push 0x477020
push esi
call dword [0x475bc4]
add dword [esp + 0x1c], esi
mov dword [esp + 0x14], eax
adc ebp, ebx
cmp ebp, dword [edi + 0x34]
jb 0x44c933
ja 0x44c9ab
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [edi + 0x30]
jb 0x44c933
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x44c9bb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x14]
cmp dword [edi + 0x38], edx
jne 0x44c905
mov eax, dword [esp + 0x1c]
cmp eax, dword [edi + 0x30]
jne 0x44c905
cmp ebp, dword [edi + 0x34]
jne 0x44c905
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4
lea esi, [esp + 0x10]
call fcn.004069f0
jmp 0x44c905
lea esi, [esp + 0x10]
call fcn.004069f0
mov eax, ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4
Function at 0x44cb90
Capabilities:
Delete file
Set file attributes

Disassembly:
mov eax, dword [esi + 0x14]
push eax
call fcn.00410615
mov ecx, dword [esi + 0x1c]
push ecx
call fcn.00410615
mov eax, dword [esi + 0x10]
add esp, 8
cmp eax, 0xffffffff
je 0x44cbbf
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x44cbbf
mov dword [esi + 0x10], 0xffffffff
cmp byte [esi], 0
je 0x44cbfe
push edi
mov edi, dword [esi + 4]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x44cbea
xor al, al
test al, al
mov eax, dword [esi + 4]
sete dl
pop edi
push eax
mov byte [esi], dl
call fcn.00410615
pop ecx
ret
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
test al, al
sete dl
mov byte [esi], dl
pop edi
mov eax, dword [esi + 4]
push eax
call fcn.00410615
pop ecx
ret

Function at 0x44d5e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x45d9cb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x472100]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
mov dword [esi + 4], vtable.ICompressSetInStream.0
mov dword [esi + 8], vtable.ISequentialInStream.0
mov dword [esi + 0xc], vtable.ICompressSetOutStream.0
mov dword [esi + 0x10], vtable.ISequentialOutStream.0
mov dword [esi + 0x14], vtable.IOutStreamFlush.0
mov dword [esi + 0x18], vtable.ICryptoSetPassword.0
mov dword [esi + 0x1c], vtable.ICompressSetCoderProperties.0
mov dword [esi + 0x20], vtable.ICompressWriteCoderProperties.0
mov dword [esi + 0x24], vtable.ICryptoResetInitVector.0
mov dword [esi + 0x28], vtable.ICompressSetDecoderProperties2.0
xor edi, edi
mov dword [esi + 0x2c], edi
mov dword [esi], vtable.CFilterCoder.0
mov dword [esi + 4], vtable.CFilterCoder.1.0
mov dword [esi + 8], vtable.CFilterCoder.2.0
mov dword [esi + 0xc], vtable.CFilterCoder.3.0
mov dword [esi + 0x10], vtable.CFilterCoder.4.0
mov dword [esi + 0x14], vtable.CFilterCoder.5.0
mov dword [esi + 0x18], vtable.CFilterCoder.6.0
mov dword [esi + 0x1c], vtable.CFilterCoder.7.0
mov dword [esi + 0x20], vtable.CFilterCoder.8.0
mov dword [esi + 0x24], vtable.CFilterCoder.9.0
mov dword [esi + 0x28], vtable.CFilterCoder.10.0
mov dword [esi + 0x34], edi
mov dword [esp + 0x18], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
push 4
push 0x1000
push 0x20000
push edi
mov byte [esp + 0x28], 7
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp eax, edi
mov dword [esi + 0x30], eax
jne 0x44d6f0
push 0x46c9ac
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 1
call fcn.00413fdb
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x4529c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x4529dc
mov eax, dword [ebp - 4]
jmp 0x452ab7
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
shr ecx, 3
xor eax, 0xffffffff
test ecx, ecx
je 0x452a92
push ebp
mov ebp, ecx
xor edx, edx
xor ecx, ecx
mov edi, edi
mov ebx, dword [esi]
add esi, 4
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x467528]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x467528]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x467528]
mov cl, bh
xor eax, edi
mov ebx, dword [esi]
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x467528]
add esi, 4
xor eax, edi
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x467528]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x467528]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x467528]
mov cl, bh
xor eax, edi
xor cl, al
shr eax, 8
xor eax, dword [ecx*4 + 0x467528]
dec ebp
jne 0x4529fc
pop ebp
mov ecx, dword [ebp + 0x10]
xor edx, edx
and ecx, 7
je 0x452aae
mov dl, byte [esi]
inc esi
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x467528]
dec ecx
jne 0x452a9c
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x452b20
Capabilities:
Get file size
Read file via mapping

Disassembly:
sub esp, 0x20c
mov eax, dword [0x472100]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
push esi
xor ebx, ebx
push 0x206
lea eax, [esp + 0xe]
push ebx
push eax
mov word [esp + 0x14], bx
call fcn.00413cd0
add esp, 0xc
push 0x104
lea ecx, [esp + 0xc]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x452bc3
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push ebx
push eax
push ebx
push 2
push ebx
push esi
mov dword [edi + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp esi, ebx
mov dword [edi], eax
je 0x452bbc
mov ecx, dword [edi + 8]
push ecx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebx
mov dword [edi + 4], eax
je 0x452bbc
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x210]
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.00410ae1
add esp, 0x20c
ret
Function at 0x453080
Capabilities:
Access peb ldr_data
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x45ec47
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x472100]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [0x474db4]
mov edx, dword [eax + 0xc]
xor esi, esi
mov ecx, 0x474db4
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
call edx
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x34]
lea ebx, [esp + 0x14]
call fcn.00452be0
mov edi, eax
test edi, edi
je 0x453169
cmp dword [edi], 0x4034b50
jne 0x4530f5
call fcn.004598f0
jmp 0x45311e
push 0x28
call fcn.004122e2
add esp, 4
test eax, eax
jne 0x453118
xor al, al
mov byte [esp + 0x34], al
push 0x46ca6c
lea eax, [esp + 0x38]
push eax
call fcn.00413fdb
push eax
call fcn.0042ff40
mov esi, eax
test esi, esi
je 0x453169
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
mov ecx, dword [esi]
mov ecx, dword [ecx]
push edx
push eax
push edi
push esi
call ecx
test eax, eax
je 0x453162
lea eax, [ebp - 0x10]
mov dword [esp + 0x28], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45315e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4531ad
mov edi, 1
jmp 0x45316d
mov edi, dword [esp + 0x18]
cmp dword [ebp - 0xc], 0
je 0x45317a
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test esi, esi
je 0x453186
mov ecx, dword [esi]
mov edx, dword [ecx + 0xc]
push esi
call edx
add ebp, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4531ab
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebp
call eax
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0xc
Function at 0x453230
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x420
mov eax, dword [0x472100]
xor eax, esp
mov dword [esp + 0x41c], eax
push esi
xor esi, esi
push 0x206
lea eax, [esp + 0x21e]
push esi
push eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], esi
mov word [esp + 0x224], si
call fcn.00413cd0
push 0x206
lea ecx, [esp + 0x22]
push esi
push ecx
mov word [esp + 0x28], si
call fcn.00413cd0
add esp, 0x18
cmp ebx, esi
mov dword [esp + 0xc], 0x208
je 0x45343b
push ebp
push edi
push 0x208
push esi
push ebx
call fcn.00413cd0
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0xc
mov edi, 1
mov edi, edi
push edi
push str.SOFTWARETencentPlatForm_Type_List_d
lea edx, [esp + 0x228]
call fcn.00401ae0
add esp, 8
lea edx, [esp + 0xc]
push edx
push 1
push esi
lea eax, [esp + 0x22c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
test eax, eax
jne 0x453372
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x453372
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
push esi
push esi
push str.TypePath
push eax
mov dword [esp + 0x2c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x453363
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x453333
push 0x467e8c
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x453363
lea eax, [esp + 0x18]
mov edx, ebx
mov ecx, eax
mov dword [esp + 0x10], 1
sub edx, ecx
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, si
jne 0x453354
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x453376
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], esi
add edi, 1
cmp edi, 5
jle 0x4532b0
cmp dword [esp + 0x10], esi
jne 0x45341f
lea edx, [esp + 0xc]
push edx
push 1
push esi
push str.SOFTWARETencentQQ2009
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
cmp eax, esi
jne 0x453410
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x4533d0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
push esi
push esi
push str.Install
push eax
mov dword [esp + 0x2c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, esi
jne 0x453410
push str.BinQQ.exe
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x453410
lea eax, [esp + 0x18]
mov edx, ebx
mov ecx, eax
mov dword [esp + 0x10], 1
sub edx, ecx
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, si
jne 0x453401
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x45341f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop esi
mov ecx, dword [esp + 0x41c]
xor ecx, esp
call fcn.00410ae1
add esp, 0x420
ret
mov ecx, dword [esp + 0x420]
pop esi
xor ecx, esp
xor eax, eax
call fcn.00410ae1
add esp, 0x420
ret
Function at 0x453460
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov esi, eax
mov edi, ecx
mov dword [esp + 0x10], 0
jmp 0x453480
push 0
lea eax, [esp + 0x14]
push eax
push esi
push edi
push ebp
call ebx
test eax, eax
je 0x4534a9
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4534a9
sub esi, eax
add edi, eax
test esi, esi
jne 0x453480
pop edi
lea eax, [esi + 1]
pop esi
pop ebp
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret

Function at 0x4534c0
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1008
call fcn.00420050
mov eax, dword [0x472100]
xor eax, esp
mov dword [esp + 0x1004], eax
push ebx
push esi
xor esi, esi
push esi
push esi
push esi
push edi
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
lea eax, [esp + 0xc]
push eax
push 0x1000
lea ecx, [esp + 0x18]
push ecx
push edi
call ebx
test eax, eax
je 0x453538
mov eax, dword [esp + 8]
test eax, eax
je 0x453551
push eax
lea edx, [esp + 0x10]
push edx
push esi
call fcn.004529c0
add esp, 0xc
push 0
mov esi, eax
lea eax, [esp + 0xc]
push eax
push 0x1000
lea ecx, [esp + 0x18]
push ecx
push edi
call ebx
test eax, eax
jne 0x453507
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1004]
xor ecx, esp
call fcn.00410ae1
add esp, 0x1008
ret
mov ecx, dword [esp + 0x100c]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.00410ae1
add esp, 0x1008
ret
Function at 0x453a30
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x472100]
xor eax, esp
mov dword [esp + 0x20c], eax
mov eax, 1
test byte [0x475e28], al
mov dword [esp], 0
jne 0x453a82
or dword [0x475e28], eax
mov eax, dword [0x474db4]
mov edx, dword [eax + 0xc]
mov ecx, 0x474db4
call edx
add eax, 0x10
push 0x460c60
mov dword [0x475e24], eax
call fcn.00410e71
add esp, 4
mov eax, dword [0x475e24]
cmp dword [eax - 0xc], 0
jne 0x453af2
push 0x104
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x453aed
lea eax, [esp + 4]
lea edx, [eax + 2]
jmp 0x453ab0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x453ab0
sub eax, edx
sar eax, 1
push ebx
lea ecx, [esp + 8]
mov ebx, eax
push ecx
mov eax, 0x475e24
call fcn.00401960
mov eax, 0x475e24
call fcn.00453570
push 8
push str.drivers_
push 0x475e24
call fcn.00401850
pop ebx
mov eax, dword [0x475e24]
add eax, 0xfffffff0
call fcn.004018f0
mov ecx, dword [esp + 0x20c]
add eax, 0x10
mov dword [esi], eax
xor ecx, esp
mov eax, esi
call fcn.00410ae1
add esp, 0x210
ret