joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43faa0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov dword [eax + 0x34], 0
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x1f], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x24], 0
mov eax, dword [ebp + 8]
or ecx, 0xffffffff
mov dword [eax + 0x468], 0xffffffff
mov dword [eax + 0x46c], ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0043fa70
mov dword [ebp - 4], 0
jmp 0x43faf2
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x100
jae 0x43fb44
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
jmp 0x43fb13
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 8
jae 0x43fb35
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp - 8]
and ecx, 1
xor edx, edx
sub edx, ecx
and edx, 0xedb88320
xor eax, edx
mov dword [ebp - 8], eax
jmp 0x43fb0a
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [ecx + eax*4 + 0x60], edx
jmp 0x43fae9
mov esp, ebp
pop ebp
ret 4
Function at 0x448e90
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x448ea9
mov al, 1
jmp 0x448eab
xor al, al
pop ebp
ret 8

Function at 0x448f80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
call fcn.00403600
mov eax, 2
imul ecx, eax, 0
mov dword [ebp - 0x214], ecx
cmp dword [ebp - 0x214], 0x20c
jae 0x448fb7
jmp 0x448fbc
call fcn.004db6c3
xor edx, edx
mov eax, dword [ebp - 0x214]
mov word [ebp + eax - 0x210], dx
lea ecx, [ebp - 0x210]
push ecx
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 0x218], eax
lea edx, [ebp - 0x210]
push edx
mov ecx, dword [ebp + 8]
call fcn.00402420
cmp dword [ebp - 0x218], 0
jbe 0x449014
cmp dword [ebp - 0x218], 0x104
ja 0x449014
mov dword [ebp - 0x21c], 1
jmp 0x44901e
mov dword [ebp - 0x21c], 0
mov al, byte [ebp - 0x21c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret 4

Function at 0x449870
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x44988c
mov eax, dword [ebp - 4]
jmp 0x44988f
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret 4
Function at 0x44b950
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508737
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x54b144]
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 dword [ebp - 0x420], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x424], 0
push 1
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
push 0x532450
mov byte [esi], 0
call fcn.0044c030
push 0
push 0
push 3
push 0
push 3
push 0
mov dword [ebp - 4], 0
push 0x532454
mov dword [ebp - 0x424], 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x44ba99
push 0x400
lea eax, [ebp - 0x410]
mov dword [ebp - 0x420], 0
push 0
push eax
mov dword [ebp - 0x414], 0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0
call fcn.004dcc10
add esp, 0xc
lea eax, [ebp - 0x420]
push 0
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push 0xc
lea eax, [ebp - 0x41c]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x44ba92
lea ebx, [ebp - 0x410]
add ebx, dword [ebp - 0x400]
movsx eax, byte [ebx]
push eax
call fcn.004f1448
add esp, 4
test eax, eax
je 0x44ba92
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44ba80
sub ecx, edx
push ecx
push ebx
mov ecx, esi
call fcn.0044c030
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
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.004dafe6
mov esp, ebp
pop ebp
ret
Function at 0x44bd40
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50882d
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
jne 0x44bd79
xor eax, eax
jmp 0x44bf4a
lea ecx, [ebp - 0x70]
call fcn.0044b950
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.0044bac0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.0044bbd0
cmp dword [ebp - 0x5c], 0x10
lea edx, [ebp - 0x70]
push dword [ebp - 0x60]
cmovae edx, dword [ebp - 0x70]
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x10c], 0x67452301
mov dword [ebp - 0x108], 0xefcdab89
mov dword [ebp - 0x104], 0x98badcfe
mov dword [ebp - 0x100], 0x10325476
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0
call fcn.0044b7c0
cmp dword [ebp - 0x2c], 0x10
lea edx, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x10c]
call fcn.0044b7c0
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x10c]
call fcn.0044b7c0
add esp, 0xc
lea ecx, [ebp - 0x10c]
mov edx, esi
call fcn.0044b8a0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x44be8d
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44be83
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44bf64
push edx
push ecx
call fcn.004dafca
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x44bed3
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44bec9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44bf64
push edx
push ecx
call fcn.004dafca
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x44bf03
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44bef9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44bf64
push edx
push ecx
call fcn.004dafca
add esp, 8
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x44bf45
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44bf3b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44bf64
push edx
push ecx
call fcn.004dafca
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret
call fcn.004e002c
int3
Function at 0x44cdb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5088bb
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x44c], edi
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x454], ebx
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
mov dword [ebp - 4], 0
mov eax, dword [esi]
test eax, eax
je 0x44ce41
cmp eax, 0xffffffff
je 0x44ce41
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x44ce3b
xor esi, esi
jmp 0x44cfcc
mov dword [esi], 0xffffffff
push 0
lea eax, [ebp - 0x448]
push eax
push 0x400
lea eax, [ebp - 0x414]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44cfaa
nop word [eax + eax]
mov eax, dword [ebp - 0x448]
test eax, eax
je 0x44cfa4
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x444], 0
push eax
lea ecx, [ebp - 0x444]
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0xf
mov byte [ebp - 0x444], 0
call fcn.0044c030
mov byte [ebp - 4], 1
lea edx, [ebp - 0x444]
mov ebx, dword [ebp - 0x430]
cmp ebx, 0x10
mov edi, dword [ebp - 0x444]
mov eax, dword [ebp - 0x418]
cmovae edx, edi
mov esi, dword [ebp - 0x41c]
sub eax, esi
mov ecx, dword [ebp - 0x434]
push ecx
push edx
cmp ecx, eax
ja 0x44cf20
cmp dword [ebp - 0x418], 0x10
lea eax, [esi + ecx]
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x42c]
cmovae eax, dword [ebp - 0x42c]
add esi, eax
push esi
call fcn.004dc690
mov eax, dword [ebp - 0x434]
add esp, 0xc
mov byte [esi + eax], 0
jmp 0x44cf45
mov byte [ebp - 0x450], 0
push dword [ebp - 0x450]
push ecx
lea ecx, [ebp - 0x42c]
call fcn.0044fdf0
mov ebx, dword [ebp - 0x430]
mov edi, dword [ebp - 0x444]
mov byte [ebp - 4], 0
cmp ebx, 0x10
jb 0x44cf79
lea ecx, [ebx + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x44cf6f
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d022
push ecx
push edi
call fcn.004dafca
add esp, 8
mov ebx, dword [ebp - 0x454]
lea eax, [ebp - 0x448]
push 0
push eax
push 0x400
lea eax, [ebp - 0x414]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44ce70
mov edi, dword [ebp - 0x44c]
lea eax, [ebp - 0x42c]
mov ecx, edi
push eax
call fcn.0044d030
mov ecx, edi
call fcn.0044e390
push ecx
mov ecx, edi
call fcn.0044e5a0
mov esi, 1
mov edx, dword [ebp - 0x418]
cmp edx, 0x10
jb 0x44d002
mov ecx, dword [ebp - 0x42c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44cff8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d022
push edx
push ecx
call fcn.004dafca
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret 0xc
call fcn.004e002c
int3
Function at 0x450010
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x450069
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x450069
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x45005a
cmp esi, edx
jae 0x450069
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x450048
cmp esi, edx
jae 0x450069
cmp word [esi], 0
je 0x450069
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x450aa0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x54b144]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [ebx + 0x14], 0
je 0x450b6d
call edi
sub eax, dword [ebx + 0x14]
cmp eax, 0x2932e00
ja 0x450b6d
cmp dword [0x54f1b4], 3
jae 0x450b8e
lea ecx, [esp + 0x10]
call fcn.00456880
cmp dword [eax + 0x14], 0x10
jb 0x450af7
mov eax, dword [eax]
lea ecx, [esp + 0x28]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
test eax, eax
je 0x450b1a
mov eax, dword [esp + 0x3c]
or eax, dword [esp + 0x40]
je 0x450b1a
mov esi, 1
jmp 0x450b1c
xor esi, esi
mov edx, dword [esp + 0x24]
cmp edx, 0x10
jb 0x450b4e
mov ecx, dword [esp + 0x10]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x450b44
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450ba4
push edx
push ecx
call fcn.004dafca
add esp, 8
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0xf
mov byte [esp + 0x10], 0
test esi, esi
jne 0x450b8e
inc dword [0x54f1b4]
call edi
lea ecx, [ebx + 4]
mov dword [ebx + 0x14], eax
mov eax, dword [ecx]
call dword [eax + 4]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x4c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret 4
call fcn.004e002c
int3
Function at 0x4515f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x188
mov eax, dword [0x54b144]
xor eax, esp
mov dword [esp + 0x184], eax
push esi
mov esi, ecx
cmp dword [esi + 0x34], 0x10
push edi
lea edi, [esi + 0x20]
mov dword [esp + 0x14], esi
mov eax, edi
jb 0x45161f
mov eax, dword [edi]
lea ecx, [esp + 0x28]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
test eax, eax
jne 0x451644
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
jmp 0x45164c
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov eax, dword [esi + 0x70]
mov esi, dword [esi + 0x74]
cmp edx, eax
jne 0x45165e
cmp ecx, esi
je 0x4517d4
mov esi, dword [esp + 0x14]
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x451676
mov eax, dword [edi]
lea ecx, [esp + 0x4c]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
test eax, eax
jne 0x45169b
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
jmp 0x4516a3
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
mov eax, dword [ecx + 0x70]
mov ecx, dword [ecx + 0x74]
cmp dword [esp + 0x20], eax
jne 0x4516c3
cmp edx, ecx
je 0x4517cd
cmp dword [edi + 0x14], 0x10
jb 0x4516cb
mov edi, dword [edi]
push edi
push 0x100
lea eax, [esp + 0x90]
push eax
push 0x531c00
push str.Guid
push str.ActiveGuid
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x70]
xor edi, edi
mov dword [esp + 0x18], eax
nop dword [eax + eax]
mov al, byte [esp + edi + 0x88]
lea ecx, [eax - 0x30]
cmp cl, 9
ja 0x451713
sub al, 0x30
jmp 0x45172d
lea ecx, [eax - 0x61]
cmp cl, 5
ja 0x45171f
sub al, 0x57
jmp 0x45172d
lea ecx, [eax - 0x41]
cmp cl, 5
ja 0x4517bb
sub al, 0x37
cmp al, 0xff
je 0x4517bb
mov dl, byte [esp + edi + 0x89]
add edi, 2
lea ecx, [edx - 0x30]
cmp cl, 9
ja 0x45174c
sub dl, 0x30
jmp 0x451764
lea ecx, [edx - 0x61]
cmp cl, 5
ja 0x451759
sub dl, 0x57
jmp 0x451764
lea ecx, [edx - 0x41]
cmp cl, 5
ja 0x4517bb
sub dl, 0x37
cmp dl, 0xff
je 0x4517bb
shl al, 4
add al, dl
mov edx, dword [esp + 0x18]
mov byte [edx], al
inc edx
mov dword [esp + 0x18], edx
cmp edi, 0x20
jl 0x451700
cmp byte [esp + edi + 0x88], 0
jne 0x4517bb
mov eax, dword [esp + 0x14]
movups xmm0, xmmword [esp + 0x70]
mov ecx, dword [esp + 0x14]
movups xmmword [eax + 0x38], xmm0
movups xmm0, xmmword [esp + 0x88]
movups xmmword [eax + 0x48], xmm0
movups xmm0, xmmword [esp + 0x98]
movups xmmword [eax + 0x58], xmm0
mov al, byte [esp + 0xa8]
mov byte [ecx + 0x68], al
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x70], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x74], ecx
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x18c]
pop edi
pop esi
xor ecx, esp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret
Function at 0x451b40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x451b75
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x451b65
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
push dword [esi + 8]
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x451bb0
push 0
push 0
call fcn.004e5eef
xor ecx, ecx
mov dword [esi + 4], eax
add esp, 0x18
test eax, eax
setne cl
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x452de0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x84]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
push 0x80
push eax
push 0x531c00
push str.config1
push str.Profile
call edi
xor ecx, ecx
mov al, byte [ebp + ecx - 0x84]
inc ecx
cmp al, 0x30
jl 0x452e32
cmp al, 0x39
jle 0x452e44
cmp al, 0x61
jl 0x452e3a
cmp al, 0x66
jle 0x452e44
sub al, 0x41
cmp al, 5
ja 0x452f11
cmp ecx, 0x20
jl 0x452e22
cmp byte [ebp + ecx - 0x84], 0
jne 0x452f11
lea ecx, [ebp - 0x84]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x452e60
sub ecx, edx
lea eax, [ebp - 0x84]
push ecx
push eax
mov ecx, ebx
call fcn.0044c030
push esi
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0x531c00
push str.config2
push str.Profile
call edi
lea ecx, [ebp - 0x84]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x452ea0
sub ecx, edx
lea eax, [ebp - 0x84]
push ecx
push eax
lea ecx, [ebx + 0x48]
call fcn.0044c030
push esi
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0x531c00
push str.config3
push str.Profile
call edi
lea ecx, [ebp - 0x84]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x452ee0
sub ecx, edx
lea eax, [ebp - 0x84]
push ecx
push eax
lea ecx, [ebx + 0x18]
call fcn.0044c030
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004dafe6
mov esp, ebp
pop ebp
ret 8
Function at 0x4563e0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xcc
mov eax, dword [0x54b144]
xor eax, esp
mov dword [esp + 0xc8], eax
push esi
push dword [ebp + 8]
mov esi, ecx
mov byte [esp + 0x24], 0
xorps xmm0, xmm0
mov dword [esp + 0x38], esi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x38], esi
movaps xmmword [esp + 0x14], xmm0
mov dword [esp + 0x3c], 0x67452301
mov dword [esp + 0x40], 0xefcdab89
mov dword [esp + 0x44], 0x98badcfe
mov dword [esp + 0x48], 0x10325476
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
call fcn.00466760
add esp, 4
lea edx, [esp + 0x38]
lea ecx, [esp + 0x10]
call fcn.00466840
movzx eax, byte [esp + 0x1f]
xorps xmm0, xmm0
push eax
movzx eax, byte [esp + 0x22]
push eax
movzx eax, byte [esp + 0x25]
push eax
movzx eax, byte [esp + 0x28]
push eax
movzx eax, byte [esp + 0x2b]
push eax
movzx eax, byte [esp + 0x2e]
push eax
movzx eax, byte [esp + 0x31]
push eax
movzx eax, byte [esp + 0x34]
push eax
movzx eax, byte [esp + 0x37]
push eax
movzx eax, byte [esp + 0x3a]
push eax
movzx eax, byte [esp + 0x3d]
push eax
movzx eax, byte [esp + 0x40]
push eax
movzx eax, byte [esp + 0x43]
push eax
movzx eax, byte [esp + 0x46]
push eax
movzx eax, byte [esp + 0x49]
push eax
movzx eax, byte [esp + 0x4c]
push eax
push 0x532610
push 0x20
lea eax, [esp + 0xd8]
movaps xmmword [esp + 0xd8], xmm0
push 0x21
push eax
movaps xmmword [esp + 0xf0], xmm0
mov byte [esp + 0x100], 0
call fcn.0044aac0
lea ecx, [esp + 0xe0]
mov dword [esi], 0
mov dword [esi + 0x10], 0
lea edx, [ecx + 1]
mov dword [esi + 0x14], 0xf
add esp, 0x50
mov byte [esi], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x456513
sub ecx, edx
lea eax, [esp + 0x90]
push ecx
push eax
mov ecx, esi
call fcn.0044c030
mov ecx, dword [esp + 0xcc]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret

Function at 0x456550
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
mov esi, ecx
lea eax, [ebp - 0x20c]
push 0
mov dword [ebp - 0x210], esi
push eax
mov dword [ebp - 0x210], esi
call fcn.004dcc10
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x8023
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.TencentDeskUpdate
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004e5ce3
add esp, 0xc
mov dword [esi], 0
xor eax, eax
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x20c]
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4565e0
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0044a750
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004dafe6
mov esp, ebp
pop ebp
ret
Function at 0x45b990
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509910
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x54b144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004daf9a
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.004d9bfc
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45d880
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509cf0
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x54b144]
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 edi, ecx
mov ebx, dword [edi + 4]
mov esi, dword [edi]
cmp esi, ebx
je 0x45d8d0
nop dword [eax]
mov ecx, esi
call fcn.00450500
add esi, 0x5c
cmp esi, ebx
jne 0x45d8c0
mov esi, dword [edi]
push 0x208
lea eax, [ebp - 0x218]
mov dword [edi + 4], esi
push 0
push eax
mov dword [ebp - 0x21c], 0
call fcn.004dcc10
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x532df8
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004e5ce3
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x220], eax
test eax, eax
je 0x45d947
push str.GetAdaptersInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x21c], eax
push edi
lea ecx, [ebp - 0x220]
mov dword [ebp - 4], 0
call fcn.004695d0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x45d972
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [edi + 4]
mov ecx, eax
mov esi, dword [edi]
cmp esi, eax
je 0x45d998
nop dword [eax]
mov ecx, esi
call fcn.0045da30
mov dword [esi + 0x50], eax
add esi, 0x5c
mov eax, dword [edi + 4]
mov ecx, eax
cmp esi, eax
jne 0x45d980
mov esi, dword [edi]
mov dword [ebp - 0x21c], 0xffffffff
mov ebx, eax
cmp esi, eax
je 0x45d9e2
nop dword [eax + eax]
mov edx, dword [esi + 0x50]
mov ecx, esi
cmp edx, dword [ebp - 0x21c]
mov dword [esi + 0x54], edx
mov ebx, dword [edi + 4]
cmovle ecx, eax
add esi, 0x5c
mov eax, ecx
cmp edx, dword [ebp - 0x21c]
mov ecx, ebx
cmovle edx, dword [ebp - 0x21c]
mov dword [ebp - 0x21c], edx
cmp esi, ebx
jne 0x45d9b0
cmp eax, ebx
je 0x45d9ef
or dword [eax + 0x58], 1
mov ebx, dword [edi + 4]
mov ecx, ebx
cmp dword [edi], ebx
mov eax, 0xb21642c9
cmove ecx, ebx
sub ecx, dword [edi]
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
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.004dafe6
mov esp, ebp
pop ebp
ret