joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426960
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4c1d68
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4f4524]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f4524]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esi + 0x58]
cmp dword [esi + 0x54], ebx
lea edi, [esi + 0x48]
jbe 0x4269a4
call fcn.004485d9
mov ebp, dword [edi + 0xc]
mov eax, dword [edi]
mov dword [esp + 0x14], eax
cmp ebp, dword [edi + 0x10]
jbe 0x4269b7
call fcn.004485d9
mov ecx, dword [esp + 0x14]
mov eax, dword [edi]
push ebx
push ecx
push ebp
push eax
lea edx, [esp + 0x24]
push edx
mov ecx, edi
call fcn.00424da0
mov eax, dword [esp + 0x80]
push 1
push eax
mov byte [esi + 0x68], al
call fcn.00423090
mov dword [esi + 0x64], eax
mov edi, dword [esi + 0x3c]
sub edi, dword [esi + 0x38]
add esp, 8
sar edi, 2
cmp byte [esi + 0x44], 0
jne 0x426a64
xor ebp, ebp
test edi, edi
jle 0x426a96
or ebx, 0xffffffff
mov eax, dword [esi + 0x3c]
sub eax, dword [esi + 0x38]
sar eax, 2
cmp ebp, eax
jb 0x426a13
call fcn.004485d9
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx + ebp*4]
lea eax, [ecx + ebp*4]
push edx
lea ecx, [esp + 0x20]
call fcn.004135a0
cmp byte [esi + 0x44], 0
mov dword [esp + 0x78], 0
jne 0x426a43
lea eax, [esp + 0x1c]
push 1
push eax
call fcn.00421f00
add esp, 8
push ebp
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.004266d0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x78], ebx
call fcn.00411e90
inc ebp
cmp ebp, edi
jl 0x426a01
jmp 0x426a96
xor ebx, ebx
test edi, edi
jle 0x426a96
lea ebx, [ebx]
mov edx, dword [esi + 0x3c]
sub edx, dword [esi + 0x38]
sar edx, 2
cmp ebx, edx
jb 0x426a82
call fcn.004485d9
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + ebx*4]
push ebx
push ecx
mov ecx, esi
call fcn.004266d0
inc ebx
cmp ebx, edi
jl 0x426a70
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00443ac5
add esp, 0x68
ret 4
Function at 0x4277b0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4c1f28
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4f4524]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x4f4524]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x40]
mov edi, ecx
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x427857
push 0
push 0
lea ecx, [esp + 0x14]
push ecx
push 0x400
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, dword [esp + 0xc]
push edx
lea ecx, [esp + 0x14]
call fcn.00418b00
mov eax, dword [esp + 0xc]
push eax
mov dword [esp + 0x3c], 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00412790
cmp dword [esp + 0x28], 0x10
jb 0x42787a
mov edx, dword [esp + 0x14]
push edx
call fcn.00443052
add esp, 4
jmp 0x42787a
call fcn.0044b91d
cmp dword [eax], 0
jne 0x427868
mov eax, 0x64
jmp 0x42786f
call fcn.0044b91d
mov eax, dword [eax]
push 1
push eax
push esi
mov ecx, edi
call fcn.00427950
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00443ac5
add esp, 0x30
ret 4

Function at 0x42b8c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c2218
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4f4524]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x4f4524]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x38]
xor eax, eax
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], eax
mov byte [esp + 0xc], al
mov dword [esp + 0x30], eax
lea eax, [esp + 8]
push eax
call fcn.004226c0
add esp, 4
test al, al
jne 0x42b932
cmp dword [esp + 0x20], 0x10
jb 0x42b92e
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00443052
add esp, 4
xor al, al
jmp 0x42b988
push esi
call fcn.00422120
add esp, 4
test al, al
jne 0x42b957
cmp dword [esp + 0x20], 0x10
jb 0x42b92e
mov edx, dword [esp + 0xc]
push edx
call fcn.00443052
add esp, 4
xor al, al
jmp 0x42b988
mov eax, dword [esp + 0xc]
mov esi, 0x10
cmp dword [esp + 0x20], esi
jae 0x42b96a
lea eax, [esp + 0xc]
push eax
call fcn.00422120
add esp, 4
cmp dword [esp + 0x20], esi
jb 0x42b986
mov eax, dword [esp + 0xc]
push eax
call fcn.00443052
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00443ac5
add esp, 0x2c
ret
Function at 0x42c5d0
Capabilities:
Compute adler32 checksum

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
movzx ecx, di
shr edi, 0x10
test esi, esi
jne 0x42c5ea
pop edi
lea eax, [esi + 1]
pop esi
ret
push ebx
mov ebx, dword [esp + 0x18]
test ebx, ebx
jbe 0x42c6fa
push ebp
jmp 0x42c600
mov eax, ebx
cmp ebx, 0x15b0
jb 0x42c60f
mov eax, 0x15b0
sub ebx, eax
cmp eax, 0x10
jl 0x42c6bb
mov edx, eax
shr edx, 4
mov ebp, edx
neg ebp
shl ebp, 4
add eax, ebp
jmp 0x42c630
movzx ebp, byte [esi]
add ecx, ebp
movzx ebp, byte [esi + 1]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 2]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 3]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 4]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 5]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 6]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 7]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 8]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 9]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xa]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xb]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xc]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xd]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xe]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xf]
add edi, ecx
add ecx, ebp
add edi, ecx
add esi, 0x10
sub edx, 1
jne 0x42c630
test eax, eax
je 0x42c6cd
nop
movzx edx, byte [esi]
add ecx, edx
inc esi
add edi, ecx
sub eax, 1
jne 0x42c6c0
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul edx, edx, 0xffff000f
add edi, edx
test ebx, ebx
ja 0x42c600
pop ebp
mov eax, edi
pop ebx
shl eax, 0x10
pop edi
or eax, ecx
pop esi
ret

Function at 0x42e7fc
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4f8bcc], 0
push esi
jne 0x42e76a
call fcn.0042e67e
test eax, eax
je 0x42e7ad
mov eax, dword [0x4f8bcc]
cmp eax, 1
jne 0x42e78b
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x42e7ad
pop esi
ret
push eax
call dword [0x4f8bd4]
test eax, eax
jne 0x42e7f5
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x42e7b1
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4f8bcc]
call dword [0x4f8bd4]
mov edi, eax
test edi, edi
je 0x42e7d6
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x42e7f2
mov edi, esi
add esi, 0xff0
push edi
push dword [0x4f8bcc]
call dword [0x4f8bd0]
add edi, 0x10
cmp edi, esi
jb 0x42e7de
mov eax, edi
pop edi
pop esi
ret
jmp 0x42e757

Function at 0x443ac5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4f4524]
jne 0x443acf
repz ret
jmp fcn.0045238c
Function at 0x443bde
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x443c0f
call fcn.0044b930
mov dword [eax], esi
call fcn.0044b91d
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.004485b3
add esp, 0x14
push 0x16
pop eax
jmp 0x443c64
test dword [ebp + 0xc], 0xfffffff9
jne 0x443beb
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x443c3c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0044b943
pop ecx
call fcn.0044b91d
mov eax, dword [eax]
jmp 0x443c64
test al, 0x10
jne 0x443c62
test al, 1
je 0x443c62
test byte [ebp + 0xc], 2
je 0x443c62
call fcn.0044b930
mov dword [eax], 5
call fcn.0044b91d
mov dword [eax], 0xd
jmp 0x443c33
xor eax, eax
pop esi
pop ebp
ret

Function at 0x466717
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00451cc7
and dword [ebp - 4], 0
cmp dword [0x4f9a48], 0
mov ebx, eax
jne 0x4667c8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x466879
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x466879
push eax
call fcn.00451c55
mov dword [esp], 0x4d51b4
push edi
mov dword [0x4f9a48], eax
call esi
push eax
call fcn.00451c55
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4f9a4c], eax
call esi
push eax
call fcn.00451c55
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4f9a50], eax
call esi
push eax
call fcn.00451c55
pop ecx
mov dword [0x4f9a58], eax
test eax, eax
je 0x4667c8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00451c55
pop ecx
mov dword [0x4f9a54], eax
mov eax, dword [0x4f9a54]
cmp eax, ebx
je 0x466820
cmp dword [0x4f9a58], ebx
je 0x466820
push eax
call fcn.00451cd0
push dword [0x4f9a58]
mov esi, eax
call fcn.00451cd0
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x466820
test edi, edi
je 0x466820
call esi
test eax, eax
je 0x466817
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x466817
test byte [ebp - 0xc], 1
jne 0x466820
or dword [ebp + 0x10], 0x200000
jmp 0x466859
mov eax, dword [0x4f9a4c]
cmp eax, ebx
je 0x466859
push eax
call fcn.00451cd0
pop ecx
test eax, eax
je 0x466859
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x466859
mov eax, dword [0x4f9a50]
cmp eax, ebx
je 0x466859
push eax
call fcn.00451cd0
pop ecx
test eax, eax
je 0x466859
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4f9a48]
call fcn.00451cd0
pop ecx
test eax, eax
je 0x466879
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x46687b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x47d47e
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [ecx + 4], 0
je 0x47d4a0
cmp byte [ecx + 5], 0
je 0x47d4a0
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 4], ecx
mov al, 1
jmp 0x47d4e3
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 0x47d4c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x47d4c2
xor al, al
jmp 0x47d4e2
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.00451010
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4

Function at 0x47e100
Capabilities:
Create thread

Disassembly:
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
push 0
push ecx
push edx
push 0
push 0
call fcn.004bad60
mov ecx, dword [esp + 0x1c]
add esp, 0x18
push eax
mov dword [ecx], eax
call fcn.0047e080
ret 0xc

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

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x4fd7c0], ecx
inc edx
cmp edx, 0x100
jb 0x47eac2
ret

Function at 0x47eb70
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
mov ecx, dword [esp + 4]
test ecx, ecx
jbe 0x47eb9c
push esi
jmp 0x47eb80
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4fd7c0]
dec ecx
inc edx
test ecx, ecx
ja 0x47eb80
pop esi
ret 4
Function at 0x486b40
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x31
mov esi, ecx
call fcn.00486350
push 0x41
mov ecx, esi
call fcn.00486350
push 0x59
mov ecx, esi
call fcn.00486350
push 0x26
mov ecx, esi
call fcn.00486350
push 0x53
mov ecx, esi
call fcn.00486350
push 0x59
mov ecx, esi
call fcn.00486350
mov ecx, dword [esp + 0x14]
mov bl, byte [ecx]
or eax, 0xffffffff
xor edi, edi
xor ebp, ebp
jmp 0x486b90
mov edx, dword [esp + 0x14]
mov cl, byte [edx + ebp]
cmp edi, 4
jne 0x486bbd
test cl, cl
jbe 0x486bb9
movzx edx, bl
mov edi, eax
shr edi, 0x18
xor edi, edx
shl eax, 8
xor eax, dword [edi*4 + 0x4fc108]
add cl, 0xff
jne 0x486ba3
xor edi, edi
jmp 0x486bdf
cmp bl, cl
jne 0x486bc4
inc edi
jmp 0x486bcb
mov edi, 1
mov bl, cl
mov edx, eax
movzx ecx, cl
shr edx, 0x18
xor edx, ecx
shl eax, 8
xor eax, dword [edx*4 + 0x4fc108]
inc ebp
cmp ebp, dword [esp + 0x18]
jb 0x486b90
not eax
mov edi, eax
push edi
mov ecx, esi
call fcn.00486380
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
push eax
mov ecx, esi
call fcn.00486440
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x487280
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 8]
mov edx, dword [esi + 0x8ce0]
xor ebx, ebx
lea ecx, [esp + 0x10]
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x24]
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 8
mov byte [esp + 0x1c], bl
mov dword [esi + 0x8cd4], ebx
mov eax, dword [edx + 0x170]
mov edx, dword [esi]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00486c10
mov eax, dword [esi + 0x8ce0]
cmp byte [eax + 0x19c], bl
je 0x4872f7
mov ecx, dword [esi + 0x8cd8]
mov edx, dword [eax + 0x178]
imul ecx, ecx, 0x8e00
mov eax, dword [ecx + edx + 0x8cf0]
push eax
call fcn.0047e0f0
xor ecx, ecx
cmp dword [esi + 0x8cd4], ebx
jbe 0x487333
lea edx, [esi + 0x7cd4]
jmp 0x487310
mov eax, dword [esi + 0x8ce0]
mov edi, dword [eax + 0x174]
add eax, 0x174
rol edi, 1
xor edi, dword [edx]
inc ecx
mov dword [eax], edi
add edx, 4
cmp ecx, dword [esi + 0x8cd4]
jb 0x487310
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esi + 8]
lea eax, [edx*8 + 8]
sub eax, dword [esp + 0x1c]
push eax
push ecx
mov ecx, dword [esi + 0x8ce0]
call fcn.00486dd0
mov eax, dword [esi + 0x8ce0]
cmp byte [eax + 0x19c], bl
je 0x4873f4
mov edi, dword [esi + 0x8cd8]
inc edi
cmp edi, dword [eax + 0x198]
jne 0x48737a
xor edi, edi
cmp dword [eax + 0x1b0], ebx
je 0x4873d5
lea ebx, [eax + 0x140]
push ebp
mov ecx, ebx
call fcn.0047e347
mov ecx, eax
mov ebp, edx
mov eax, 0xf
sub eax, dword [ebx + 0x28]
cdq
and edx, 7
add eax, edx
sar eax, 3
cdq
add ecx, eax
adc ebp, edx
mov edx, dword [esi + 0x8ce0]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebp
mov eax, dword [edx + 0x1b0]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
lea edx, [esi + 0x8cf8]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov ebx, eax
pop ebp
mov ecx, dword [esi + 0x8ce0]
imul edi, edi, 0x8e00
mov edx, dword [ecx + 0x178]
lea eax, [edx + edi + 0x8cf0]
push eax
call fcn.0047e160
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x18
ret 4

Function at 0x48e0d6
Capabilities:
Set file attributes

Disassembly:
push dword [esp + 8]
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
setne al
ret 8

Function at 0x48e5d3
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov eax, 0x105
push eax
push eax
mov ecx, esi
call fcn.0048e342
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, dword [esi]
push edi
mov ebx, eax
call fcn.0047d84b
mov byte [edi + eax], 0
mov dword [esi + 4], eax
dec ebx
mov eax, 0x103
cmp eax, ebx
pop edi
sbb eax, eax
pop esi
inc eax
pop ebx
ret 4
Function at 0x48e78f
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x4f9b40], 0
jne 0x48e7c6
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.0048e588
push dword [ebp + 0xc]
mov eax, dword [eax]
push eax
call fcn.0048e0d6
push dword [ebp - 0xc]
mov bl, al
call fcn.00443052
pop ecx
mov al, bl
pop ebx
jmp 0x48e7d7
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
leave
ret 8

Function at 0x48e7db
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x4f9b40], 0
jne 0x48e80e
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.0048e588
push dword [eax]
call fcn.0048e0ec
push dword [ebp - 0xc]
mov bl, al
call fcn.00443052
pop ecx
mov al, bl
pop ebx
jmp 0x48e81c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne al
leave
ret 4

Function at 0x48e88c
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x4f9b40], 0
jne 0x48e8bf
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.0048e588
push dword [eax]
call fcn.0048e114
push dword [ebp - 0xc]
mov bl, al
call fcn.00443052
pop ecx
mov al, bl
pop ebx
jmp 0x48e8cf
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne al
leave
ret 4

Function at 0x48e8f1
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x4f9b40], 0
jne 0x48e924
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.0048e588
push dword [eax]
call fcn.0048e128
push dword [ebp - 0xc]
mov bl, al
call fcn.00443052
pop ecx
mov al, bl
pop ebx
jmp 0x48e940
push 0
push dword [ebp + 8]
call fcn.0048e78f
test al, al
je 0x48e940
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
leave
ret 4

Function at 0x48ea1b
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, 0x105
push edi
mov ecx, esi
call fcn.0048e342
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, dword [esi]
push edi
mov ebx, eax
call fcn.0047d84b
mov byte [edi + eax], 0
mov dword [esi + 4], eax
dec ebx
mov eax, 0x103
cmp eax, ebx
pop edi
sbb eax, eax
pop esi
inc eax
pop ebx
ret 4

Function at 0x48ea59
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x4f9b40], 0
je 0x48ea79
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
jmp 0x48ea9b
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.0048e588
push dword [eax]
call fcn.0048e033
push dword [ebp - 0xc]
mov bl, al
call fcn.00443052
pop ecx
mov al, bl
pop ebx
leave
ret 4
Function at 0x48eb9a
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, 0x105
push edi
mov ecx, esi
call fcn.0048e342
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edi, dword [esi]
push edi
mov ebx, eax
call fcn.0047d84b
mov byte [edi + eax], 0
mov dword [esi + 4], eax
dec ebx
mov eax, 0x103
cmp eax, ebx
pop edi
sbb eax, eax
pop esi
inc eax
pop ebx
ret 4

Function at 0x48ecbe
Capabilities:
Get common file path

Disassembly:
push 0x28
mov eax, 0x4c7238
call fcn.00443ad4
xor edi, edi
mov dword [ebp - 0x10], edi
cmp byte [0x4f9b40], 0
je 0x48ed0f
mov esi, dword [ebp + 0x10]
push 0x104
mov ecx, esi
call fcn.0047272a
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov edi, dword [esi]
push edi
mov ebx, eax
call fcn.004702c7
xor ecx, ecx
mov word [edi + eax*2], cx
mov dword [esi + 4], eax
mov eax, ebx
jmp 0x48edbd
lea ecx, [ebp - 0x1c]
call fcn.0047e6d0
mov dword [ebp - 4], edi
cmp dword [ebp + 0xc], edi
je 0x48ed3a
push dword [ebp + 0xc]
lea eax, [ebp - 0x34]
push eax
call fcn.0048e588
mov esi, dword [eax]
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], 1
jmp 0x48ed3c
xor esi, esi
cmp dword [ebp + 8], 0
push 2
pop ebx
je 0x48ed5b
push dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
call fcn.0048e588
or dword [ebp - 0x10], ebx
mov eax, dword [eax]
mov dword [ebp - 4], ebx
jmp 0x48ed5d
xor eax, eax
lea ecx, [ebp - 0x1c]
push ecx
push esi
push eax
call fcn.0048ec81
mov esi, eax
test byte [ebp - 0x10], bl
je 0x48ed7c
push dword [ebp - 0x28]
and dword [ebp - 0x10], 0xfffffffd
call fcn.00443052
pop ecx
and dword [ebp - 4], 0
test byte [ebp - 0x10], 1
je 0x48ed8f
push dword [ebp - 0x34]
call fcn.00443052
pop ecx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0048e206
mov ecx, dword [ebp + 0x10]
push eax
mov byte [ebp - 4], 3
call fcn.004727af
push dword [ebp - 0x34]
call fcn.00443052
push dword [ebp - 0x1c]
call fcn.00443052
pop ecx
pop ecx
mov eax, esi
call fcn.00443bac
ret 0xc

Function at 0x48fe80
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
ret 4
Function at 0x4973b0
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
ret
Function at 0x497f80
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
xor eax, eax
movzx ecx, byte [eax + str.cw]
mov byte [ecx + 0x4fbfd0], al
inc eax
cmp eax, 0x100
jb 0x497f82
push ebx
push ebp
push esi
push edi
xor esi, esi
lea ecx, [ecx]
movzx ecx, byte [esi + str.cw]
mov edx, ecx
and dl, 0x80
movzx eax, dl
neg eax
sbb eax, eax
and eax, 0x1b
lea edx, [ecx + ecx]
xor eax, edx
and eax, 0xff
mov edi, eax
xor edi, ecx
mov edx, edi
shl edx, 8
or edx, ecx
shl edx, 8
or edx, ecx
shl edx, 8
or edx, eax
mov dword [esi*4 + 0x4f9fd0], edx
movzx ebp, byte [esi + 0x4fbfd0]
mov edx, ecx
shl edx, 8
mov ebx, edx
or edx, eax
or ebx, ecx
shl ebx, 8
or ebx, eax
shl eax, 8
or eax, edi
shl eax, 8
or eax, ecx
shl edx, 8
or edx, edi
shl eax, 8
or eax, ecx
shl edx, 8
or edx, ecx
mov dword [esi*4 + 0x4fabd0], eax
shl ebx, 8
or ebx, edi
mov eax, ebp
and al, 0x80
movzx eax, al
neg eax
sbb eax, eax
mov dword [esi*4 + 0x4fa7d0], edx
and eax, 0x1b
lea ecx, [ebp + ebp]
xor eax, ecx
and eax, 0xff
mov edx, eax
and dl, 0x80
movzx ecx, dl
neg ecx
sbb ecx, ecx
and ecx, 0x1b
lea edx, [eax + eax]
xor ecx, edx
and ecx, 0xff
mov edx, ecx
and dl, 0x80
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0x1b
lea edi, [ecx + ecx]
xor edx, edi
and edx, 0xff
mov edi, edx
mov dword [esi*4 + 0x4fa3d0], ebx
mov ebx, edx
xor edx, ecx
xor edi, eax
mov ecx, edx
xor edi, ebp
xor ebx, ebp
xor ecx, ebp
xor edx, eax
mov eax, edx
mov edx, edi
shl edx, 8
or edx, ecx
shl edx, 8
or edx, ebx
shl edx, 8
or edx, eax
mov dword [esi*4 + 0x4fafd0], edx
mov edx, ecx
shl edx, 8
or edx, ebx
shl edx, 8
or edx, eax
shl edx, 8
or edx, edi
mov dword [esi*4 + 0x4fb3d0], edx
mov edx, ebx
shl edx, 8
or edx, eax
shl eax, 8
or eax, edi
shl edx, 8
shl eax, 8
or edx, edi
or eax, ecx
shl edx, 8
shl eax, 8
or edx, ecx
or eax, ebx
mov dword [esi*4 + 0x4fb7d0], edx
mov dword [esi*4 + 0x4fbbd0], eax
inc esi
cmp esi, 0x100
jb 0x497fa0
pop edi
pop esi
pop ebp
pop ebx
ret