joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403ec4
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [0x63c650], 2
push esi
mov esi, ecx
jne 0x403f49
push edi
call fcn.00405c03
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov edi, eax
test edi, edi
je 0x403f48
push ecx
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
mov edx, edi
lea ecx, [ebp - 8]
call fcn.00406162
mov esi, dword [ebp - 8]
add esp, 8
cmp esi, dword [edi + 4]
je 0x403f48
push dword [esi]
push 0
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [edi + 4]
lea ecx, [esi + 8]
push esi
call fcn.004062aa
add dword [edi + 4], 0xfffffff8
mov eax, dword [edi + 4]
pop ecx
cmp dword [edi], eax
jne 0x403f48
mov ecx, edi
call fcn.00405efc
push 0xc
push edi
call fcn.0056d0c8
pop ecx
pop ecx
call fcn.00405c03
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_TlsSetValue]
pop edi
pop esi
leave
ret

Function at 0x4043d7
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x63c658], 2
push esi
push edi
mov edi, ecx
jne 0x404457
call fcn.00405bdc
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov esi, eax
test esi, esi
je 0x404457
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
mov dword [ebp - 4], eax
mov ecx, esi
lea eax, [ebp - 4]
push eax
call fcn.00406256
cmp eax, dword [esi]
je 0x404457
cmp dword [eax + 0x14], edi
jne 0x404457
push eax
mov ecx, esi
call fcn.004064f2
cmp dword [esi + 4], 0
jne 0x40443e
push ecx
mov ecx, esi
call fcn.0040445f
call fcn.00405bdc
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_TlsSetValue]
cmp byte [ebp + 8], 0
je 0x404449
xor eax, eax
inc eax
jmp 0x404459
call dword [sym.imp.USER32.dll_ReleaseCapture]
neg eax
sbb eax, eax
neg eax
jmp 0x404459
xor al, al
pop edi
pop esi
leave
ret 4

Function at 0x40447f
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x63c658], 2
push esi
mov dword [ebp - 4], ecx
jne 0x4044b7
call fcn.00405bdc
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov esi, eax
test esi, esi
je 0x4044b7
lea eax, [ebp - 4]
mov ecx, esi
push eax
call fcn.00406256
cmp eax, dword [esi]
je 0x4044b7
mov eax, dword [eax + 0x14]
jmp 0x4044b9
xor eax, eax
pop esi
leave
ret

Function at 0x405f22
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push ecx
xor ecx, ecx
mov edx, 0x63c658
inc ecx
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x405f71
push esi
push 4
call fcn.00413631
mov esi, eax
mov dword [ebp - 4], esi
pop ecx
test esi, esi
je 0x405f54
call dword [sym.imp.KERNEL32.DLL_TlsAlloc]
mov dword [esi], eax
jmp 0x405f56
xor esi, esi
mov dword [0x63c65c], esi
mov dword [0x63c658], 2
pop esi
leave
ret
push 0
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp dword [0x63c658], 2
jne 0x405f69
leave
ret
Function at 0x405f7c
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push ecx
xor ecx, ecx
mov edx, 0x63c650
inc ecx
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x405fcb
push esi
push 4
call fcn.00413631
mov esi, eax
mov dword [ebp - 4], esi
pop ecx
test esi, esi
je 0x405fae
call dword [sym.imp.KERNEL32.DLL_TlsAlloc]
mov dword [esi], eax
jmp 0x405fb0
xor esi, esi
mov dword [0x63c654], esi
mov dword [0x63c650], 2
pop esi
leave
ret
push 0
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp dword [0x63c650], 2
jne 0x405fc3
leave
ret

Function at 0x408c6f
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x634254]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x5c
xor ebx, ebx
mov esi, ecx
push ebx
push esi
call fcn.005713c0
add esp, 0xc
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push esi
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
push 0x118
lea eax, [ebp - 0x11c]
push ebx
push eax
call fcn.005713c0
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
xor ecx, ecx
inc ecx
cmp dword [ebp - 0x11c], 6
jne 0x408ce5
cmp byte [ebp - 6], cl
jne 0x408cf2
mov bl, cl
cmp dword [ebp - 0x11c], 6
movzx ebx, bl
cmova ebx, ecx
mov ecx, str.Tahoma
test bl, bl
mov eax, 0x605894
cmove eax, ecx
push eax
lea eax, [esi + 0x1c]
push 0x20
push eax
call fcn.0058f3c9
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop esi
pop ebx
call fcn.0056d855
leave
ret

Function at 0x40cd94
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
mov esi, ecx
call fcn.0040d139
test al, al
jne 0x40cda8
mov ecx, esi
pop esi
jmp fcn.00403ec4
pop esi
ret
Function at 0x415156
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cdba2
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x634254]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x30]
mov dword [esi], vtable.CFilterCoder.10.0
mov dword [esi + 4], vtable.CFilterCoder.9.0
mov dword [esi + 8], vtable.CFilterCoder.8.0
mov dword [esi + 0xc], vtable.CFilterCoder.7.0
mov dword [esi + 0x10], vtable.CFilterCoder.6.0
mov dword [esi + 0x14], vtable.CFilterCoder.5.0
mov dword [esi + 0x18], vtable.CFilterCoder.4.0
mov dword [esi + 0x1c], vtable.CFilterCoder.3.0
mov dword [esi + 0x20], vtable.CFilterCoder.2.0
mov dword [esi + 0x24], vtable.CFilterCoder.1.0
mov dword [esi + 0x28], vtable.CFilterCoder.0
call fcn.00414d84
and dword [ebp - 4], 0
mov ecx, dword [esi + 0x74]
test ecx, ecx
je 0x4151e0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 1
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x4151f4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 2
mov ecx, dword [esi + 0x6c]
test ecx, ecx
je 0x415208
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 3
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x41521c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 4
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x415230
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 5
mov ecx, dword [esi + 0x60]
test ecx, ecx
je 0x415244
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 6
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x415258
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 7
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x41526c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
leave
ret

Function at 0x417d16
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 0x100
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
or esi, edi
mov eax, esi
add ebx, ebx
shr eax, 7
mov ecx, edi
and eax, 1
and ecx, ebx
push eax
mov eax, esi
add ecx, edi
shr eax, 8
add eax, ecx
mov ecx, dword [ebp - 4]
lea edx, [edx + eax*2]
call fcn.00417c82
mov edx, dword [ebp - 8]
add esi, esi
mov eax, esi
xor eax, ebx
not eax
and edi, eax
pop ecx
cmp esi, 0x10000
jb 0x417d31
pop edi
pop esi
pop ebx
leave
ret

Function at 0x417db4
Capabilities:
Encode data using xor

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

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

Function at 0x417ee3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
bts esi, edx
mov ebx, ecx
cmp esi, 1
je 0x417f1e
push edi
mov edi, dword [ebp + 0xc]
mov edx, esi
and esi, 1
shr edx, 1
neg esi
sar esi, 4
and esi, 0x7f
movzx ecx, word [ebx + edx*2]
shr ecx, 4
xor ecx, esi
mov esi, edx
add eax, dword [edi + ecx*4]
cmp esi, 1
jne 0x417efb
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x417f22
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor esi, esi
inc edi
test ebx, ebx
je 0x417f69
mov eax, dword [ebp + 8]
mov edx, eax
movzx ecx, word [ecx + edi*2]
and edx, 1
shr eax, 1
add edi, edi
mov dword [ebp + 8], eax
or edi, edx
mov eax, edx
shr ecx, 4
neg eax
sar eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [ebp + 0xc]
add esi, dword [eax + ecx*4]
mov ecx, dword [ebp - 4]
sub ebx, 1
jne 0x417f37
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41bb31
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push ebx
push esi
xor ebx, ebx
push edi
sub eax, 3
je 0x41bbf6
sub eax, 3
je 0x41bbe5
sub eax, 1
je 0x41bb95
dec eax
sub eax, 1
je 0x41bb80
sub eax, 1
je 0x41bb6c
sub eax, 1
je 0x41bb6c
sub eax, 1
jne 0x41bc20
mov eax, dword [ebp + 0x14]
push 0x40
pop ecx
mov word [eax], cx
mov dword [eax + 0xc], ebx
mov dword [eax + 8], ebx
jmp 0x41bc20
mov eax, dword [ebp + 0x14]
push 0x13
pop ecx
mov word [eax], cx
mov dword [eax + 8], 0x80
jmp 0x41bc20
mov esi, dword [ebp + 0x14]
push 0x15
pop eax
push ebx
mov word [esi], ax
mov eax, dword [ebp + 8]
push 0x80
push 3
push ebx
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp + 0xc]
push 1
push SysReAllocString
push dword [ecx + eax*4]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x41bbde
lea eax, [esi + 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
push edi
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x41bc20
mov ebx, 0x80004005
jmp 0x41bc20
mov eax, dword [ebp + 0x14]
push 0xb
pop ecx
mov word [eax], cx
xor ecx, ecx
mov word [eax + 8], cx
jmp 0x41bc20
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push 8
pop eax
mov word [ebx], ax
mov edi, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
mov edx, dword [ecx - 0xc]
mov ecx, dword [edi + esi*4]
lea ecx, [ecx + edx*2]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebx + 8], eax
xor ebx, ebx
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0x10

Function at 0x41e125
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
push esi
push edi
xor esi, esi
mov dword [ebp - 8], eax
push esi
lea ecx, [ebp - 4]
mov dword [ebp - 4], esi
push ecx
mov edi, edx
push edi
push ebx
push eax
jmp 0x41e158
add ebx, dword [ebp - 4]
sub edi, dword [ebp - 4]
je 0x41e164
push esi
lea eax, [ebp - 4]
push eax
push edi
push ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
jne 0x41e146
jmp 0x41e167
xor esi, esi
inc esi
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x41e16e
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 4
mov eax, 0x5ce23b
call fcn.0056deea
mov edi, ecx
push edi
lea ecx, [ebp - 0x10]
call fcn.0041cbfe
xor esi, esi
push edi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41e1e3
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
jne 0x41e1e3
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
je 0x41e1e3
lea ecx, [ebp - 0x10]
call fcn.0041e09f
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], esi
je 0x41e1e6
mov ecx, eax
call fcn.0041e16e
test eax, eax
je 0x41e1e6
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
jne 0x41e1e3
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
jne 0x41e1e6
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040b785
mov eax, esi
call fcn.0056deb8
ret
Function at 0x41e356
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
push esi
push edi
xor esi, esi
mov dword [ebp - 8], eax
push esi
lea ecx, [ebp - 4]
mov dword [ebp - 4], esi
push ecx
mov edi, edx
push edi
push ebx
push eax
jmp 0x41e389
add ebx, dword [ebp - 4]
sub edi, dword [ebp - 4]
je 0x41e395
push esi
lea eax, [ebp - 4]
push eax
push edi
push ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
jne 0x41e377
jmp 0x41e398
xor esi, esi
inc esi
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

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

Disassembly:
xor edx, edx
push esi
push edi
mov dword [ecx + 0x30], edx
mov dword [ecx + 0x4c], edx
mov dword [ecx + 0x20], edx
call fcn.00421789
lea esi, [ecx + 0x70]
push 8
mov ecx, edx
pop edi
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor ecx, eax
sub edi, 1
jne 0x4217bd
mov dword [esi], ecx
inc edx
add esi, 4
cmp edx, 0x100
jb 0x4217b8
pop edi
pop esi
ret

Function at 0x422e23
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x422e49
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
je 0x422e49
xor al, al
jmp 0x422e5d
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [ebp - 4]
add ecx, esi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4

Function at 0x4259a3
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
push edi
push dword [ebp + 8]
mov esi, ecx
push edx
push edi
push edi
call fcn.00592655
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x4259cd
call fcn.0042594f
mov edi, eax
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x438d97
Capabilities:
Set file attributes

Disassembly:
push 0
push ecx
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
test eax, eax
setne al
ret

Function at 0x442ea0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
jne 0x442eae
xor al, al
leave
ret
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 8
jb 0x442eb9
mov ecx, dword [ecx]
movzx eax, byte [ebp + 0x14]
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [eax*2 + 2]
push ebx
push ebx
push eax
push ebx
push ebx
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x442f38
cmp byte [ebp + 0x14], bl
je 0x442ef6
push 2
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
cmp eax, 0xffffffff
je 0x442f2c
push ebx
lea eax, [ebp - 4]
mov edi, ebx
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
jmp 0x442f1e
add edi, dword [ebp - 4]
cmp edi, dword [ebp + 0x10]
je 0x442f3f
push ebx
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0x10]
sub eax, edi
push eax
mov eax, dword [ebp + 0xc]
add eax, edi
push eax
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
jne 0x442f05
cmp esi, 0xffffffff
je 0x442f38
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
mov bl, 1
jmp 0x442f31

Function at 0x442f43
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
cmp dword [eax + 0x14], 8
jb 0x442f56
mov eax, dword [eax]
push ebx
push ebx
push 3
push ebx
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x442fc8
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov edi, eax
cmp edi, 0x7fffffff
ja 0x442fc0
mov ecx, dword [ebp + 0xc]
push edi
call fcn.00441500
push edi
mov dword [ebp + 8], ebx
call fcn.0056d555
pop ecx
push ebx
lea ecx, [ebp + 8]
mov dword [ebp - 4], eax
push ecx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x442fc0
cmp edi, dword [ebp + 8]
jne 0x442fc0
push dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push dword [ebp - 4]
call fcn.00441e9a
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
mov al, bl
pop ebx
leave
ret

Function at 0x4437aa
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x634254]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x20a
lea eax, [ebp - 0x210]
mov esi, ecx
push 0
push eax
call fcn.005713c0
add esp, 0xc
lea eax, [ebp - 0x210]
push 0
push 0x25
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x4437f1
xor al, al
jmp 0x443801
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call fcn.004089a4
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0056d855
leave
ret
Function at 0x444c50
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov eax, ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], eax
push esi
push edi
mov edi, dword [eax]
mov esi, dword [eax + 4]
mov eax, edi
shr eax, 4
xor eax, esi
mov dword [ebp - 8], 8
and eax, 0xf0f0f0f
xor esi, eax
shl eax, 4
xor edi, eax
mov eax, edi
shr eax, 0x10
xor eax, esi
movzx eax, ax
xor esi, eax
shl eax, 0x10
xor edi, eax
mov eax, esi
shr eax, 2
xor eax, edi
and eax, 0x33333333
xor edi, eax
shl eax, 2
xor esi, eax
mov ebx, esi
shr ebx, 8
xor ebx, edi
and ebx, 0xff00ff
xor edi, ebx
shl ebx, 8
xor ebx, esi
rol ebx, 1
mov eax, ebx
xor eax, edi
and eax, 0xaaaaaaaa
xor ebx, eax
xor eax, edi
rol eax, 1
mov edi, eax
mov eax, dword [ebp - 4]
mov edx, ebx
ror edx, 4
xor edx, dword [eax]
add eax, 4
mov dword [ebp - 4], eax
mov ecx, edx
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
and ecx, 0x3f
and eax, 0x3f
mov esi, dword [ecx*4 + 0x5fb7d0]
or esi, dword [eax*4 + 0x5fb5d0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or esi, dword [eax*4 + 0x5fb3d0]
or esi, dword [edx*4 + 0x5fb1d0]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
add eax, 4
mov dword [ebp - 4], eax
xor edx, ebx
mov ecx, edx
mov eax, edx
shr eax, 0x10
shr ecx, 0x18
and eax, 0x3f
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x5fb6d0]
or ecx, dword [eax*4 + 0x5fb4d0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or ecx, dword [eax*4 + 0x5fb2d0]
or ecx, dword [edx*4 + 0x5fb0d0]
mov eax, dword [ebp - 4]
or ecx, esi
xor edi, ecx
mov edx, edi
ror edx, 4
xor edx, dword [eax]
add eax, 4
mov dword [ebp - 4], eax
mov ecx, edx
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
and ecx, 0x3f
and eax, 0x3f
mov esi, dword [ecx*4 + 0x5fb7d0]
or esi, dword [eax*4 + 0x5fb5d0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or esi, dword [eax*4 + 0x5fb3d0]
mov eax, dword [ebp - 4]
or esi, dword [edx*4 + 0x5fb1d0]
mov edx, dword [eax]
add eax, 4
xor edx, edi
mov dword [ebp - 4], eax
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5fb6d0]
or ecx, dword [eax*4 + 0x5fb4d0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or ecx, dword [eax*4 + 0x5fb2d0]
or ecx, dword [edx*4 + 0x5fb0d0]
or ecx, esi
xor ebx, ecx
sub dword [ebp - 8], 1
jne 0x444ccb
ror ebx, 1
mov edx, ebx
mov esi, dword [ebp - 0x10]
xor edx, edi
and edx, 0xaaaaaaaa
xor ebx, edx
xor edx, edi
ror edx, 1
mov eax, edx
shr eax, 8
xor eax, ebx
and eax, 0xff00ff
xor ebx, eax
shl eax, 8
xor edx, eax
mov eax, edx
shr eax, 2
xor eax, ebx
and eax, 0x33333333
xor ebx, eax
shl eax, 2
xor edx, eax
mov eax, ebx
shr eax, 0x10
xor eax, edx
movzx eax, ax
xor edx, eax
shl eax, 0x10
xor ebx, eax
mov ecx, ebx
shr ecx, 4
xor ecx, edx
and ecx, 0xf0f0f0f
mov eax, ecx
shl eax, 4
xor eax, ebx
xor ecx, edx
pop edi
mov dword [esi], eax
mov dword [esi + 4], ecx
pop esi
pop ebx
leave
ret
Function at 0x444f3b
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
mov eax, dword [0x634254]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
movzx ebx, dx
xor esi, esi
push edi
mov edi, ecx
mov dword [ebp - 0xf8], ebx
mov dword [ebp - 0xfc], eax
movzx edx, byte [esi + str.80_]
mov eax, edx
and edx, 7
shr eax, 3
movsx ecx, byte [eax + edi]
movzx eax, word [edx*2 + 0x5fb9b0]
test eax, ecx
setne al
mov byte [ebp + esi - 0x3c], al
inc esi
cmp esi, 0x38
jl 0x444f67
push 0x1e
xor edi, edi
pop esi
cmp bx, 1
lea eax, [edi + edi]
mov edx, esi
cmovne edx, eax
movzx eax, byte [edi + 0x5fb900]
and dword [ebp + edx*4 - 0xf0], 0
and dword [ebp + edx*4 - 0xf4], 0
xor ecx, ecx
cmp eax, 0x1c
jge 0x444fc6
mov bl, byte [ebp + eax - 0x3c]
jmp 0x444fca
mov bl, byte [ebp + eax - 0x58]
mov byte [ebp + ecx - 0x74], bl
inc ecx
inc eax
cmp ecx, 0x1c
jl 0x444fbb
movzx eax, byte [edi + 0x5fb900]
push 0x1c
pop ecx
add eax, ecx
cmp eax, 0x38
jge 0x444fec
mov bl, byte [ebp + eax - 0x3c]
jmp 0x444ff0
mov bl, byte [ebp + eax - 0x58]
mov byte [ebp + ecx - 0x74], bl
inc ecx
inc eax
cmp ecx, 0x38
jl 0x444fe1
xor ecx, ecx
movzx eax, byte [ecx + 0x5fb8d0]
cmp byte [ebp + eax - 0x74], 0
je 0x445019
mov eax, dword [ecx*4 + 0x5fb950]
or dword [ebp + edx*4 - 0xf4], eax
movzx eax, byte [ecx + 0x5fb8e8]
cmp byte [ebp + eax - 0x74], 0
je 0x445035
mov eax, dword [ecx*4 + 0x5fb950]
or dword [ebp + edx*4 - 0xf0], eax
inc ecx
cmp ecx, 0x18
jl 0x444ffd
mov ebx, dword [ebp - 0xf8]
sub esi, 2
inc edi
cmp esi, 0xfffffffe
jg 0x444f96
mov edx, dword [ebp - 0xfc]
lea ecx, [ebp - 0xf4]
call fcn.00444e5f
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056d855
leave
ret
Function at 0x4459e8
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
lea eax, [edi + 2]
test eax, eax
js 0x445af8
push 3
cdq
pop ecx
idiv ecx
cmp eax, 0x40000000
jge 0x445af8
push esi
mov esi, dword [ebp + 0x10]
cmp edi, 2
jle 0x445a88
lea eax, [edi - 3]
xor edx, edx
div ecx
push 3
lea edx, [eax + 1]
imul ecx, edx, 0xfffffffd
add edi, ecx
mov dword [ebp + 0xc], edi
pop edi
movzx ecx, byte [ebx]
shr ecx, 2
mov al, byte [ecx + 0x5fbbc0]
mov byte [esi], al
movzx ecx, byte [ebx]
movzx eax, byte [ebx + 1]
and ecx, edi
shr eax, 4
add ecx, ecx
mov al, byte [eax + ecx*8 + 0x5fbbc0]
mov byte [esi + 1], al
movzx ecx, byte [ebx + 1]
movzx eax, byte [ebx + 2]
and ecx, 0xf
shr eax, 6
mov al, byte [eax + ecx*4 + 0x5fbbc0]
mov byte [esi + 2], al
movzx eax, byte [ebx + 2]
add ebx, edi
and eax, 0x3f
mov al, byte [eax + 0x5fbbc0]
mov byte [esi + 3], al
add esi, 4
sub edx, 1
jne 0x445a2d
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x445ae2
movzx eax, byte [ebx]
shr eax, 2
mov al, byte [eax + 0x5fbbc0]
mov byte [esi], al
movzx ecx, byte [ebx]
and ecx, 3
shl ecx, 4
cmp edi, 1
jle 0x445ad0
movzx eax, byte [ebx + 1]
shr eax, 4
mov al, byte [eax + ecx + 0x5fbbc0]
mov byte [esi + 1], al
movzx eax, byte [ebx + 1]
and eax, 0xf
mov byte [esi + 3], 0x3d
mov al, byte [eax*4 + 0x5fbbc0]
mov byte [esi + 2], al
jmp 0x445adf
mov al, byte [ecx + 0x5fbbc0]
mov byte [esi + 1], al
mov word [esi + 2], 0x3d3d
add esi, 4
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x445af0
mov eax, esi
sub eax, dword [ebp + 0x10]
mov dword [ecx], eax
mov byte [esi], 0
xor eax, eax
pop esi
jmp 0x445afb
or eax, 0xffffffff
pop edi
pop ebx
pop ebp
ret