joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4836e7
Capabilities:
Move file

Disassembly:
push 0x104
mov eax, 0x64b471
call fcn.00642602
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x58]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x74], edi
push str.FileUtils::renameWithMessage
mov dword [ebp - 0x74], esi
call fcn.0044ea89
and dword [ebp - 4], 0
cmp dword [0x793bb4], 0
je 0x48372d
lea eax, [ebp - 0x58]
mov ecx, 0x793b90
push eax
call fcn.004a17d0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004511a7
mov edx, ebx
lea ecx, [ebp - 0x40]
call fcn.0048a63e
mov edx, esi
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0048a63e
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0062188a
pop ecx
pop ecx
test eax, eax
jne 0x483790
push 0x6f1967
lea ecx, [edi + 4]
mov byte [edi], 1
call fcn.0044ea89
jmp 0x483822
call fcn.006189f0
push ecx
lea ecx, [ebp - 0x110]
mov esi, dword [eax]
call fcn.004506fd
mov edx, str.Could_not_rename_
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x110]
call fcn.00451714
mov edx, ebx
mov ecx, eax
call fcn.0045195f
mov edx, str._to_
mov ecx, eax
call fcn.00451714
mov edx, dword [ebp - 0x74]
mov ecx, eax
call fcn.0045195f
mov edx, str..__errno_was
mov ecx, eax
call fcn.00451714
push esi
mov ecx, eax
call fcn.0047401d
push eax
call fcn.00451a1a
pop ecx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x10c]
call fcn.00450fef
lea eax, [ebp - 0x70]
mov byte [edi], 0
push eax
lea ecx, [edi + 4]
call fcn.00450be4
lea ecx, [ebp - 0x70]
call fcn.004511a7
lea ecx, [ebp - 0x110]
call fcn.0044ec83
lea ecx, [ebp - 0x28]
call fcn.004510b9
lea ecx, [ebp - 0x40]
call fcn.004510b9
mov eax, edi
call fcn.006425b1
ret 0xc

Function at 0x48393e
Capabilities:
Check if file exists

Disassembly:
push 0x6c
mov eax, 0x64b513
call fcn.00642602
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x40]
push str.FileUtils::exists
call fcn.0044ea89
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [0x793bb4], ebx
je 0x483975
lea eax, [ebp - 0x40]
mov ecx, 0x793b90
push eax
call fcn.004a17d0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004511a7
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.0048a63e
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x78]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call fcn.00621824
pop ecx
pop ecx
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 2
je 0x4839b4
test esi, esi
sete bl
lea ecx, [ebp - 0x28]
call fcn.004510b9
mov al, bl
call fcn.006425b1
ret 4
Function at 0x483e30
Capabilities:
Enumerate files on windows

Disassembly:
push 0x2dc
mov eax, 0x64b682
call fcn.00642602
mov ebx, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x40]
mov eax, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x2e8], edi
push str.FileUtils::getFiles
mov dword [ebp - 0x2e0], eax
mov dword [ebp - 0x2dc], esi
call fcn.0044ea89
mov dword [ebp - 4], 1
cmp dword [0x793bb4], esi
je 0x483e88
lea eax, [ebp - 0x40]
mov ecx, 0x793b90
push eax
call fcn.004a17d0
lea ecx, [ebp - 0x40]
call fcn.004511a7
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
push 0x250
lea eax, [ebp - 0x2d8]
mov dword [ebp - 4], esi
push esi
push eax
mov dword [ebp - 0x2dc], 1
call fcn.0060ecf0
mov eax, dword [ebx]
add esp, 0xc
mov esi, dword [eax + 0x60]
lea eax, [ebp - 0x88]
push eax
mov ecx, esi
call dword [0x670300]
mov ecx, ebx
call esi
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x70]
mov edx, dword [ebp - 0x2e0]
push eax
call fcn.004516c9
pop ecx
push 1
push 0x6fabec
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00451215
push eax
lea ecx, [ebp - 0x58]
call fcn.00450be4
mov dword [ebp - 0x2dc], 3
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.0048a63e
lea ecx, [ebp - 0x58]
call fcn.004511a7
lea ecx, [ebp - 0x70]
call fcn.004511a7
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 8
call fcn.004511a7
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x2d8]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x483fcc
xor ebx, ebx
test byte [ebp - 0x2d8], 0x10
jne 0x483fb3
lea eax, [ebp - 0x2ac]
mov ecx, eax
mov dword [ebp - 0x2e4], eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x483f78
sub ecx, edx
lea edx, [ebp - 0x2e4]
sar ecx, 1
mov dword [ebp - 0x2e0], ecx
lea ecx, [ebp - 0x40]
call fcn.0048a47c
push eax
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.00479282
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 8
call fcn.004511a7
lea eax, [ebp - 0x2d8]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x483f5e
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
lea ecx, [ebp - 0x28]
call fcn.004510b9
mov eax, edi
call fcn.006425b1
ret 8
Function at 0x4844ee
Capabilities:
Enumerate files on windows

Disassembly:
push 0x358
mov eax, 0x64b879
call fcn.00642602
mov ebx, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov edi, dword [ebp + 0xc]
xor esi, esi
push str.FileUtils::deleteAllFiles
mov dword [ebp - 0x358], eax
call fcn.0044ea89
mov dword [ebp - 4], esi
cmp dword [0x793bb4], esi
je 0x484533
lea eax, [ebp - 0x28]
mov ecx, 0x793b90
push eax
call fcn.004a17d0
lea ecx, [ebp - 0x28]
call fcn.004511a7
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
push 0x250
lea eax, [ebp - 0x350]
mov dword [ebp - 4], 1
push esi
push eax
call fcn.0060ecf0
mov eax, dword [ebx]
add esp, 0xc
mov esi, dword [eax + 0x60]
lea eax, [ebp - 0xb8]
push eax
mov ecx, esi
call dword [0x670300]
mov ecx, ebx
call esi
mov edx, dword [ebp - 0x358]
lea ecx, [ebp - 0xa0]
push eax
mov byte [ebp - 4], 2
call fcn.004516c9
pop ecx
push 1
push 0x6fabec
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00451215
push eax
lea ecx, [ebp - 0x70]
call fcn.00450be4
push edi
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
call fcn.00450b92
push eax
lea ecx, [ebp - 0x58]
call fcn.00450be4
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.0048a63e
lea ecx, [ebp - 0x58]
call fcn.004511a7
lea ecx, [ebp - 0x70]
call fcn.004511a7
lea ecx, [ebp - 0xa0]
call fcn.004511a7
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0xa
call fcn.004511a7
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x350]
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x354], esi
cmp esi, 0xffffffff
je 0x484730
test byte [ebp - 0x350], 0x10
jne 0x484713
mov eax, dword [ebx]
xor esi, esi
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x35c], eax
lea eax, [ebp - 0x324]
mov ecx, eax
mov dword [ebp - 0x364], eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x48464e
sub ecx, edx
lea edx, [ebp - 0x364]
sar ecx, 1
mov dword [ebp - 0x360], ecx
lea ecx, [ebp - 0x100]
call fcn.0048a47c
mov edi, eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0xe8]
mov ecx, dword [ebx]
push eax
mov esi, dword [ecx + 0x60]
mov ecx, esi
call dword [0x670300]
mov ecx, ebx
call esi
mov edx, dword [ebp - 0x358]
lea ecx, [ebp - 0xd0]
push eax
mov byte [ebp - 4], 0xc
call fcn.004516c9
pop ecx
push edi
push eax
push dword [ebp - 0x354]
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xd
call fcn.00451f29
mov esi, dword [ebp - 0x35c]
lea eax, [ebp - 0x88]
push eax
mov ecx, esi
mov byte [ebp - 4], 0xe
call dword [0x670300]
mov ecx, ebx
call esi
lea ecx, [ebp - 0x88]
call fcn.004511a7
lea ecx, [ebp - 0xd0]
call fcn.004511a7
lea ecx, [ebp - 0xe8]
call fcn.004511a7
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0xa
call fcn.004511a7
mov esi, dword [ebp - 0x354]
lea eax, [ebp - 0x350]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x484623
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
lea ecx, [ebp - 0x40]
call fcn.004510b9
call fcn.006425b1
ret 8
Function at 0x4b0cb2
Capabilities:
Enumerate files on windows

Disassembly:
push 0x4c4
mov eax, 0x6527d7
call fcn.00642602
mov esi, dword [ebp + 8]
xor edx, edx
mov eax, dword [ebp + 0xc]
inc edx
mov dword [ebp - 0x4d0], esi
mov dword [ebp - 0x4cc], edx
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov byte [ebp - 4], dl
mov ebx, edx
mov edx, 0x104
mov dword [ebp - 0x4cc], ebx
cmp dword [eax + 0x10], edx
ja 0x4b0ea1
cmp dword [eax + 0x14], 8
jb 0x4b0d04
mov eax, dword [eax]
push ecx
lea ecx, [ebp - 0x218]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_GetFullPathNameW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.0044eb76
push 0x6fe5c4
lea edx, [ebp - 0x248]
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x260]
call fcn.0045af8c
pop ecx
cmp dword [eax + 0x14], 8
jb 0x4b0d4c
mov eax, dword [eax]
lea ecx, [ebp - 0x4c8]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
lea ecx, [ebp - 0x260]
mov edi, eax
call fcn.004510b9
cmp edi, 0xffffffff
je 0x4b0e8f
test byte [ebp - 0x4c8], 0x10
je 0x4b0e79
mov ecx, 0x6f7b68
lea eax, [ebp - 0x49c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4b0dae
test dx, dx
je 0x4b0daa
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4b0dae
add eax, 4
add ecx, 4
test dx, dx
jne 0x4b0d88
xor eax, eax
jmp 0x4b0db3
sbb eax, eax
or eax, 1
test eax, eax
je 0x4b0e79
mov ecx, 0x6fe5b0
lea eax, [ebp - 0x49c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4b0dec
test dx, dx
je 0x4b0de8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4b0dec
add eax, 4
add ecx, 4
test dx, dx
jne 0x4b0dc6
xor eax, eax
jmp 0x4b0df1
sbb eax, eax
or eax, 1
test eax, eax
je 0x4b0e79
push 0x6f15e8
lea edx, [ebp - 0x248]
lea ecx, [ebp - 0x278]
call fcn.0045af8c
pop ecx
lea ecx, [ebp - 0x49c]
mov byte [ebp - 4], 3
push ecx
mov ecx, eax
call fcn.00450a8f
push eax
lea ecx, [ebp - 0x230]
call fcn.00450b08
or ebx, 2
mov dword [ebp - 0x4cc], ebx
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 5
call fcn.004510b9
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x230]
push ecx
cmp eax, dword [esi + 8]
je 0x4b0e62
mov ecx, eax
call fcn.00450b40
add dword [esi + 4], 0x18
jmp 0x4b0e6a
push eax
mov ecx, esi
call fcn.0046260a
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
call fcn.004510b9
lea eax, [ebp - 0x4c8]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x4b0d70
push edi
call dword [sym.imp.KERNEL32.DLL_FindClose]
lea ecx, [ebp - 0x248]
call fcn.004510b9
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x4b0ead
call fcn.0044e240
mov eax, esi
call fcn.006425b1
ret 0x10
Function at 0x4e60ab
Capabilities:
Get disk information

Disassembly:
push 0x54
mov eax, 0x65c20a
call fcn.00642602
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x5c]
xor edx, edx
mov dword [ebp - 0x5c], esi
mov ecx, 0x105
mov dword [ebp - 0x60], edx
push ecx
push edx
push edx
push edx
push eax
push ecx
push edx
push edx
mov dword [ebp - 0x5c], edx
call dword [sym.imp.KERNEL32.DLL_GetVolumeInformationW]
test eax, eax
je 0x4e60ff
mov edx, dword [ebp - 0x5c]
lea ecx, [ebp - 0x13]
call fcn.0046ec35
push ecx
lea ecx, [ebp - 0x13]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.0046ec4d
lea eax, [ebp - 0x40]
push 0x19
jmp 0x4e610e
push 0x6fd798
lea ecx, [ebp - 0x58]
call fcn.0044ea89
push 2
pop ebx
push eax
mov ecx, esi
call fcn.00450be4
or ebx, 4
test bl, 2
je 0x4e612a
lea ecx, [ebp - 0x58]
and ebx, 0xfffffffd
call fcn.004511a7
test bl, 1
je 0x4e6137
lea ecx, [ebp - 0x40]
call fcn.004511a7
mov eax, esi
call fcn.006425b1
ret 4

Function at 0x4e6141
Capabilities:
Get session user name

Disassembly:
push ebp
lea ebp, [esp - 0x820]
sub esp, 0x820
push 0xffffffffffffffff
push 0x65c259
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x758f44]
xor eax, ebp
mov dword [ebp + 0x81c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x828]
lea eax, [ebp + 0x18]
push 0x802
xor esi, esi
mov dword [ebp - 0x10], edi
push esi
push eax
call fcn.0060ecf0
add esp, 0xc
mov dword [ebp - 0x10], 0x401
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x18]
push eax
push 8
call dword [sym.imp.Secur32.dll_GetUserNameExW]
test al, al
je 0x4e61da
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp]
call fcn.0044eb76
lea edx, [ebp]
mov dword [ebp - 4], esi
mov ecx, edi
call fcn.0048a4b7
lea ecx, [ebp]
call fcn.004510b9
jmp 0x4e628c
push 5
pop ecx
call fcn.00488e9b
test al, al
je 0x4e6280
push ecx
lea ecx, [ebp - 0xb8]
call fcn.004506fd
mov edx, str.AutomateLoginUtils::GetCredentials_failed__error_code:
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xb8]
call fcn.00451714
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
mov ecx, esi
call fcn.00455eec
sub esp, 0x18
mov ecx, 0x702978
mov eax, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.004a9ed6
sub esp, 0x18
mov byte [ebp - 4], 2
mov eax, esp
mov dword [ebp - 0x20], esp
mov ecx, 0x702934
push eax
call fcn.004671f3
sub esp, 0x18
mov byte [ebp - 4], 3
mov eax, esp
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x14], eax
push eax
call fcn.00450fef
push 0x1a
pop edx
push 5
pop ecx
mov byte [ebp - 4], 1
call fcn.00488e21
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
add esp, 0x48
call fcn.0044ec83
push 0x6f1967
mov ecx, edi
call fcn.0044ea89
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x81c]
xor ecx, ebp
call fcn.005f9dd5
add ebp, 0x820
leave
ret 4
Function at 0x4e62b2
Capabilities:
Get hostname

Disassembly:
push ebp
lea ebp, [esp - 0x820]
sub esp, 0x820
push 0xffffffffffffffff
push 0x65c259
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x758f44]
xor eax, ebp
mov dword [ebp + 0x81c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x828]
lea eax, [ebp + 0x18]
push 0x802
xor esi, esi
mov dword [ebp - 0x10], edi
push esi
push eax
call fcn.0060ecf0
add esp, 0xc
mov dword [ebp - 0x10], 0x401
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x18]
push eax
push 2
call dword [sym.imp.KERNEL32.DLL_GetComputerNameExW]
test eax, eax
je 0x4e634b
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp]
call fcn.0044eb76
lea edx, [ebp]
mov dword [ebp - 4], esi
mov ecx, edi
call fcn.0048a4b7
lea ecx, [ebp]
call fcn.004510b9
jmp 0x4e63fd
push 5
pop ecx
call fcn.00488e9b
test al, al
je 0x4e63f1
push ecx
lea ecx, [ebp - 0xb8]
call fcn.004506fd
mov edx, str.AutomateLoginUtils::GetDomainName_failed__error_code:
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xb8]
call fcn.00451714
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
mov ecx, esi
call fcn.00455eec
sub esp, 0x18
mov ecx, 0x7029d4
mov eax, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.0045f5fc
sub esp, 0x18
mov byte [ebp - 4], 2
mov eax, esp
mov dword [ebp - 0x20], esp
mov ecx, 0x702934
push eax
call fcn.004671f3
sub esp, 0x18
mov byte [ebp - 4], 3
mov eax, esp
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x14], eax
push eax
call fcn.00450fef
push 0x28
pop edx
push 5
pop ecx
mov byte [ebp - 4], 1
call fcn.00488e21
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
add esp, 0x48
call fcn.0044ec83
push 0x6f1967
mov ecx, edi
call fcn.0044ea89
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x81c]
xor ecx, ebp
call fcn.005f9dd5
add ebp, 0x820
leave
ret 4
Function at 0x52418d
Capabilities:
Create thread

Disassembly:
push 0x18
mov eax, 0x666be0
call fcn.006425cf
mov eax, ecx
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov dword [eax + 4], vtable.ITimerManagerController.0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [ebp - 4], ecx
lea esi, [eax + 0x10]
push 0xb0
mov dword [eax], vtable.TimerManager.0
mov dword [eax + 4], vtable.TimerManager.1.0
mov dword [ebp - 0x14], esi
call fcn.005fa585
mov ebx, eax
mov dword [ebp - 0x14], ebx
xor ecx, ecx
lea esi, [ebx + 0x10]
inc ecx
mov edi, ebx
mov byte [ebp - 4], cl
xor eax, eax
push 0xa0
push 0
stosd dword es:[edi], eax
push esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx], vtable.std::_Ref_count_obj2_struct_TimerManager::Context_.0
call fcn.0060ecf0
add esp, 0x10
mov ecx, esi
call fcn.00525428
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], ebx
mov ecx, ebx
test ecx, ecx
je 0x524218
lock inc dword [ecx + 4]
mov edi, dword [eax + 0x10]
mov esi, dword [eax + 0x14]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], esi
push 8
mov byte [ebp - 4], 3
call fcn.005fa585
xor ebx, ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [eax], edi
mov dword [eax + 4], esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
push ecx
push ebx
push eax
push 0x5253d5
push ebx
push ebx
call fcn.00628880
add esp, 0x1c
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x52428a
mov ebx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebx + 0x10]
add ecx, 0x5c
call fcn.004a1804
cmp dword [ebp - 0x18], 0
jne 0x524294
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 0x60]
add ecx, 0x64
xchg dword [ecx], eax
mov eax, ebx
call fcn.0064259d
ret
push 6
mov dword [ebp - 0x18], ebx
call fcn.005fd67f
call fcn.0061dd7c
int3
Function at 0x52d193
Capabilities:
Get file size

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x670300]
mov ecx, edi
call esi
test al, al
jne 0x52d1b3
pop edi
xor eax, eax
xor edx, edx
pop esi
ret
mov ecx, dword [edi + 0x18]
pop edi
pop esi
jmp 0x549c68
push 0x10
mov eax, 0x66b93a
call fcn.006425cf
mov edi, ecx
lea esi, [edi + 0x24]
mov ecx, esi
call fcn.00642afc
mov eax, dword [edi + 0x3c]
or edi, 0xffffffff
cmp eax, edi
jne 0x549c8e
mov ebx, edi
jmp 0x549cb4
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileSizeEx]
cmp eax, 1
jne 0x549ca6
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
jmp 0x549cb4
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.00642b04
mov eax, edi
mov edx, ebx
call fcn.0064259d
ret
Function at 0x53f7f3
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push 4
pop edx
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x6f4950]
sub edx, 1
jne 0x53f7f6
mov eax, ecx
ret
Function at 0x542bb1
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
mov ebx, edx
mov ebp, ecx
mov esi, dword [edi]
test esi, esi
je 0x542c00
and dword [edi], 0
and dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push 0
push eax
mov ecx, 0x400000
mov eax, esi
cmp esi, ecx
cmova eax, ecx
push eax
push ebx
push dword [ebp]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov ecx, dword [esp + 0x10]
add ebx, ecx
add dword [edi], ecx
sub esi, ecx
test eax, eax
je 0x542c08
test ecx, ecx
je 0x542c00
test esi, esi
jne 0x542bc7
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x542c02

Function at 0x542e5c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor ecx, ecx
push esi
push 8
mov edx, ecx
pop esi
mov eax, edx
shr edx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor edx, eax
sub esi, 1
jne 0x542e64
mov dword [ecx*4 + 0x795360], edx
inc ecx
cmp ecx, 0x100
jb 0x542e5f
pop esi
mov edx, 0x400
mov ecx, dword [edx + 0x794f60]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x795360]
mov dword [edx + 0x795360], ecx
add edx, 4
cmp edx, 0x2000
jb 0x542e8f
mov dword [0x797360], 0x543c9c
call fcn.00543ed4
mov ecx, dword [0x797360]
test eax, eax
mov edx, 0x543d31
cmove ecx, edx
mov dword [0x797360], ecx
ret

Function at 0x546837
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push ebp
push esi
and edx, 0xfffffffe
push edi
mov edi, ecx
add edx, 0xfffffffc
mov esi, edi
add edx, edi
mov ebx, esi
cmp esi, edx
ja 0x5468ac
movzx ecx, byte [esi + 1]
movzx eax, byte [esi + 3]
xor ecx, 8
add esi, 2
and eax, ecx
mov ebp, esi
cmp eax, 0xf8
jb 0x546847
movzx eax, byte [ebx]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 1]
and eax, 7
lea ecx, [eax + ecx*8]
movzx eax, byte [esi]
shl ecx, 8
add esi, 2
add ecx, eax
mov eax, esi
sub eax, edi
shr eax, 1
sub ecx, eax
mov eax, ecx
mov byte [ebp], cl
shr eax, 0xb
mov byte [ebx], al
mov eax, ecx
shr eax, 0x13
and al, 7
shr ecx, 8
or al, 0xf0
or cl, 0xf8
mov byte [esi - 3], al
mov byte [esi - 1], cl
jmp 0x546847
sub esi, edi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
Function at 0x546960
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
push ebx
mov eax, ecx
xor ebx, ebx
mov ecx, dword [esp + 0x10]
push ebp
push esi
mov ebp, edx
mov dword [esp + 0xc], eax
mov esi, dword [ecx]
and esi, 7
cmp ebp, 5
jae 0x546983
xor eax, eax
jmp 0x546aa9
sub ebp, 4
push edi
cmp dword [esp + 0x24], 0
je 0x5469a8
mov ecx, dword [esp + 0x24]
call dword [0x670300]
call dword [esp + 0x24]
test eax, eax
jne 0x546a8e
mov eax, dword [esp + 0x10]
lea edi, [ebx + eax]
lea edx, [eax + ebp]
cmp edi, edx
jae 0x5469c3
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x5469bf
inc edi
cmp edi, edx
jb 0x5469b2
mov eax, dword [esp + 0x10]
mov ecx, edi
sub ecx, ebx
mov ebx, edi
sub ecx, eax
sub ebx, eax
cmp edi, edx
jae 0x546a93
cmp ecx, 2
jbe 0x546a4e
xor esi, esi
movzx edx, byte [edi + 4]
lea eax, [edx + 1]
test al, 0xfe
jne 0x546a7f
movzx eax, byte [edi + 3]
add ebx, 5
shl edx, 8
or edx, eax
movzx eax, byte [edi + 2]
shl edx, 8
or edx, eax
movzx eax, byte [edi + 1]
shl edx, 8
or edx, eax
sub edx, ebx
test esi, esi
je 0x546a2e
and esi, 6
mov eax, edx
shl esi, 2
mov ecx, esi
shr eax, cl
inc eax
test al, 0xfe
jne 0x546a2c
mov eax, 0x100
shl eax, cl
dec eax
xor edx, eax
sub edx, ebx
xor esi, esi
mov eax, edx
mov byte [edi + 1], dl
shr eax, 8
mov byte [edi + 2], al
mov eax, edx
shr edx, 0x18
shr eax, 0x10
and dl, 1
neg dl
mov byte [edi + 3], al
mov byte [edi + 4], dl
jmp 0x546a85
shr esi, cl
test esi, esi
je 0x5469dc
cmp esi, 4
ja 0x546a74
cmp esi, 3
je 0x546a74
mov eax, esi
shr eax, 1
movzx eax, byte [eax + edi + 1]
inc eax
test al, 0xfe
jne 0x5469dc
mov eax, dword [esp + 0x10]
or esi, 8
shr esi, 1
inc ebx
jmp 0x546987
or esi, 8
shr esi, 1
inc ebx
mov eax, dword [esp + 0x10]
jmp 0x546987
push 0x12
pop eax
jmp 0x546aa8
xor eax, eax
shr esi, cl
cmp ecx, 2
lfence
cmova esi, eax
mov eax, dword [esp + 0x1c]
mov dword [eax], esi
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret