joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446ec0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51f8c8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x57f578]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
mov dword [esi + 0x10], eax
call fcn.004eddfc
mov ecx, dword [esi]
add esp, 4
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
test ecx, ecx
je 0x446f9a
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x1c], edx
call fcn.0043aca0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.00408e80
test al, al
jne 0x446f8b
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x38]
call fcn.00408e90
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x446f8b
test esi, esi
je 0x446f8b
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 8
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00408080
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e679a
mov esp, ebp
pop ebp
ret 4
Function at 0x44abc0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51ff83
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x57f578]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0
push 0
mov dword [ebp - 0x14], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.0043b070
mov dword [edi], eax
mov dword [ebp - 4], 2
lea esi, [edi + 8]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00416b30
mov dword [esi], eax
mov byte [ebp - 4], 5
lea esi, [edi + 0x10]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0044ebb0
mov dword [esi], eax
mov byte [ebp - 4], 8
lea esi, [edi + 0x18]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00416b30
mov dword [esi], eax
mov byte [ebp - 4], 0xb
lea esi, [edi + 0x20]
mov dword [ebp - 0x14], esi
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0044eb00
mov dword [esi], eax
mov byte [ebp - 4], 0xe
lea esi, [edi + 0x28]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0044ea60
mov dword [esi], eax
mov byte [ebp - 4], 0x11
lea esi, [edi + 0x30]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0044ea60
mov dword [esi], eax
mov byte [ebp - 4], 0x14
lea esi, [edi + 0x38]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
push 0
push 0
mov dword [esi + 4], 0
call fcn.0044ea60
mov dword [esi], eax
mov byte [ebp - 4], 0x17
lea esi, [edi + 0x40]
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.00408fb0
mov byte [ebp - 4], 0x18
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [esi + 0x30], 0
mov byte [ebp - 4], 0x19
lea ecx, [edi + 0x78]
call fcn.00408fb0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44ae60
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5200f3
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x57f578]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 8
lea ecx, [ebx + 0x78]
call fcn.00408080
mov byte [ebp - 4], 7
lea ecx, [ebx + 0x40]
mov dword [ebp - 0x10], ecx
mov byte [ebp - 4], 7
call fcn.00408080
mov byte [ebp - 4], 6
lea esi, [ebx + 0x38]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xb
mov ecx, esi
call fcn.0044e240
mov byte [ebp - 4], 6
push 0x38
push dword [esi]
call fcn.004e6b81
add esp, 8
mov byte [ebp - 4], 5
lea esi, [ebx + 0x30]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xd
mov ecx, esi
call fcn.0044e240
mov byte [ebp - 4], 5
push 0x38
push dword [esi]
call fcn.004e6b81
add esp, 8
mov byte [ebp - 4], 4
lea esi, [ebx + 0x28]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xf
mov ecx, esi
call fcn.0044e340
mov byte [ebp - 4], 4
push 0x38
push dword [esi]
call fcn.004e6b81
add esp, 8
mov byte [ebp - 4], 3
lea edi, [ebx + 0x20]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 0x12
mov ecx, edi
mov esi, dword [edi]
push dword [esi + 4]
call fcn.0044e7b0
mov eax, dword [edi]
mov dword [eax + 4], esi
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 8], esi
mov dword [edi + 4], 0
mov byte [ebp - 4], 3
push 0x40
push dword [edi]
call fcn.004e6b81
add esp, 8
mov byte [ebp - 4], 2
lea edi, [ebx + 0x18]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 0x16
mov ecx, edi
mov esi, dword [edi]
push dword [esi + 4]
call fcn.0044e840
mov eax, dword [edi]
mov dword [eax + 4], esi
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 8], esi
mov dword [edi + 4], 0
mov byte [ebp - 4], 2
push 0x30
push dword [edi]
call fcn.004e6b81
add esp, 8
mov byte [ebp - 4], 1
lea esi, [ebx + 0x10]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0x18
mov ecx, esi
call fcn.0044e4b0
mov byte [ebp - 4], 1
push 0x28
push dword [esi]
call fcn.004e6b81
add esp, 8
mov byte [ebp - 4], 0
lea edi, [ebx + 8]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 0x1b
mov ecx, edi
mov esi, dword [edi]
push dword [esi + 4]
call fcn.0044e840
mov eax, dword [edi]
mov dword [eax + 4], esi
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 8], esi
mov dword [edi + 4], 0
mov byte [ebp - 4], 0
push 0x30
push dword [edi]
call fcn.004e6b81
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0x1d
mov ecx, ebx
call fcn.0043aec0
mov dword [ebp - 4], 0xffffffff
push 0x54
push dword [ebx]
call fcn.004e6b81
add esp, 8
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 0x44b140
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x520178
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x57f578]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebx + 8]
lea ecx, [ebx + 8]
push dword [esi + 4]
call fcn.0044e840
mov eax, dword [ebx + 8]
lea ecx, [ebx + 0x18]
mov dword [eax + 4], esi
mov eax, dword [ebx + 8]
mov dword [eax], esi
mov eax, dword [ebx + 8]
mov dword [eax + 8], esi
mov dword [ebx + 0xc], 0
mov esi, dword [ebx + 0x18]
push dword [esi + 4]
call fcn.0044e840
mov eax, dword [ebx + 0x18]
lea ecx, [ebx + 0x10]
mov dword [eax + 4], esi
mov eax, dword [ebx + 0x18]
mov dword [eax], esi
mov eax, dword [ebx + 0x18]
mov dword [eax + 8], esi
mov dword [ebx + 0x1c], 0
call fcn.0044e4b0
mov esi, dword [ebx + 0x20]
lea ecx, [ebx + 0x20]
push dword [esi + 4]
call fcn.0044e7b0
mov eax, dword [ebx + 0x20]
lea ecx, [ebx + 0x28]
mov dword [eax + 4], esi
mov eax, dword [ebx + 0x20]
mov dword [eax], esi
mov eax, dword [ebx + 0x20]
mov dword [eax + 8], esi
mov dword [ebx + 0x24], 0
call fcn.0044e340
lea ecx, [ebx + 0x30]
call fcn.0044e240
push 0
push 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
call fcn.0043b070
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 2
lea eax, [ebp - 0x14]
cmp ebx, eax
je 0x44b231
mov eax, dword [ebx]
mov dword [ebx], ecx
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebx + 4], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.0043aec0
mov dword [ebp - 4], 0xffffffff
push 0x54
push dword [ebp - 0x14]
call fcn.004e6b81
add esp, 8
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 0x466e70
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x57f578]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
mov dword [esp + 4], 0x114
push 0
push eax
call fcn.004e8f30
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x466ecc
cmp dword [esp + 4], 6
jb 0x466ecc
mov al, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004e679a
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor al, al
xor ecx, esp
call fcn.004e679a
add esp, 0x118
ret
Function at 0x4689d0
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x124]
sub esp, 0x124
push 0xffffffffffffffff
push 0x52546b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x57f578]
xor eax, ebp
mov dword [ebp + 0x120], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 1
mov dword [ebp + 0x11c], 0
call fcn.004e67b9
mov dword [ebp + 0x11c], eax
push 0x118
push 0
mov byte [eax], 0
lea eax, [ebp + 4]
push eax
call fcn.004e8f30
add esp, 0x10
mov dword [ebp], 0x11c
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x468a5a
cmp dword [ebp + 4], 6
mov eax, dword [ebp + 0x11c]
setae cl
mov byte [eax], cl
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [ebp + 0x11c]
call fcn.004273d0
test al, al
je 0x468a8d
lea ecx, [ebp + 0x11c]
call fcn.00426800
test al, al
jne 0x468a8d
xor bl, bl
jmp 0x468b7f
lea edx, [esi + 4]
xor ecx, ecx
call fcn.0049ba20
test al, al
jne 0x468ac6
lea ecx, [esi + 4]
call fcn.00409140
mov dword [ebp - 0x10], 0
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], 0
jb 0x468ab9
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.00409800
add esp, 8
lea edx, [esi + 0x1c]
mov ecx, 0x1a
call fcn.0049ba20
test al, al
jne 0x468b02
lea ecx, [esi + 0x1c]
call fcn.00409140
mov dword [ebp - 0x10], 0
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], 0
jb 0x468af5
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.00409800
add esp, 8
lea edx, [esi + 0x34]
mov ecx, 2
call fcn.0049ba20
test al, al
jne 0x468b3e
lea ecx, [esi + 0x34]
call fcn.00409140
mov dword [ebp - 0x10], 0
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], 0
jb 0x468b31
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.00409800
add esp, 8
lea edx, [esi + 0x4c]
mov ecx, 0xb
call fcn.0049ba20
test al, al
jne 0x468b7a
lea ecx, [esi + 0x4c]
call fcn.00409140
mov dword [ebp - 0x10], 0
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], 0
jb 0x468b6d
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.00409800
add esp, 8
mov byte [esi], 1
mov bl, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x11c]
call fcn.00426200
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x120]
xor ecx, ebp
call fcn.004e679a
lea esp, [ebp + 0x124]
pop ebp
ret
Function at 0x468bc0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5254c1
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x57f578]
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, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ecx, edi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], 0
call fcn.00409140
mov ebx, eax
cmp dword [eax + 0x14], 8
jb 0x468c0c
mov ebx, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x14], 0x25
test eax, eax
je 0x468cf7
lea ecx, [ebp - 0x14]
push ecx
push eax
push ebx
call fcn.00409f80
add esp, 0xc
test eax, eax
je 0x468cf7
sub eax, ebx
sar eax, 1
cmp eax, 0xffffffff
je 0x468cf7
push edi
lea ecx, [ebp - 0x2c]
call fcn.00408fd0
mov dword [ebp - 4], 1
mov ecx, edi
push 0
push 0
call fcn.00408e90
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x468c8a
push edi
mov ecx, esi
call fcn.00408fd0
mov dword [ebp - 0x30], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00408080
jmp 0x468d0d
xor ecx, ecx
add eax, 2
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e6ffd
mov edx, dword [ebp - 0x14]
add esp, 4
inc edx
mov ebx, eax
mov ecx, edi
push edx
push ebx
call fcn.00408e90
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x468cde
cmp eax, dword [ebp - 0x14]
ja 0x468cde
xor ecx, ecx
push ebx
mov word [ebx + eax*2], cx
call fcn.00409590
add esp, 4
lea ecx, [ebp - 0x2c]
push eax
push ebx
call fcn.004092c0
push ebx
call fcn.004e6ff8
add esp, 4
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.00409f40
jmp 0x468c72
push edi
mov ecx, esi
call fcn.00408fd0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 1
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.004e679a
mov esp, ebp
pop ebp
ret 8
Function at 0x469570
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x228]
sub esp, 0x228
push 0xffffffffffffffff
push 0x5255df
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x57f578]
xor eax, ebp
mov dword [ebp + 0x224], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x230]
lea eax, [ebp + 0x1c]
push 0x208
push 0
push eax
call fcn.004e8f30
add esp, 0xc
lea eax, [ebp + 0x1c]
push eax
push 0
push 0
push 0x29
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.MacromedFlashFlashHelperService.exe
lea ecx, [ebp - 0x40]
call fcn.00408f70
mov dword [ebp - 4], 0
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00408f70
mov byte [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp]
push eax
call fcn.00411c20
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00408080
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00408080
lea eax, [ebp]
push eax
call fcn.0040f460
add esp, 4
test al, al
je 0x4696c6
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp + 0x18], 0
call fcn.004e67b9
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 5
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov byte [ebp - 4], 4
mov dword [ebp + 0x18], eax
mov byte [ebp - 4], 6
lea eax, [ebp]
push 0x80
push 4
push 1
push SysReAllocString
push eax
lea ecx, [ebp + 0x18]
call fcn.00428f90
test al, al
jne 0x4696ca
mov byte [ebp - 4], 4
mov esi, dword [ebp + 0x18]
test esi, esi
je 0x4696c6
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4696b4
test eax, eax
je 0x4696b4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push 4
push esi
call fcn.004e6b81
add esp, 8
mov dword [ebp + 0x18], 0
xor bl, bl
jmp 0x46970a
push esi
lea ecx, [ebp + 0x18]
call fcn.00429170
mov bl, al
mov byte [ebp - 4], 4
mov esi, dword [ebp + 0x18]
test esi, esi
je 0x46970a
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4696f8
test eax, eax
je 0x4696f8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push 4
push esi
call fcn.004e6b81
add esp, 8
mov dword [ebp + 0x18], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.00408080
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp + 0x224]
xor ecx, ebp
call fcn.004e679a
lea esp, [ebp + 0x228]
pop ebp
ret 4
Function at 0x46cd00
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525d2c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x57f578]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea edi, [ebx + 0x10]
mov dword [ebp + 8], edi
mov dword [ebp - 4], 0
lea esi, [edi + 0x18]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 4
lea ecx, [esi + 0x48]
call fcn.00408080
mov byte [ebp - 4], 3
lea ecx, [esi + 0x30]
call fcn.00408080
mov byte [ebp - 4], 2
lea ecx, [esi + 0x18]
call fcn.00408080
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.00408080
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
call fcn.00408080
push 0x88
push ebx
call fcn.004e6b81
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x46d0a0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525d89
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x57f578]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
call fcn.0040b320
mov dword [ebp - 4], 0
xor esi, esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], 1
test eax, eax
je 0x46d252
nop dword [eax]
dec eax
mov dword [ebp + 8], eax
mov al, byte [edi]
inc edi
mov byte [ebp + esi - 0x14], al
inc esi
mov ch, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov dword [ebp - 0x20], edi
mov byte [ebp - 0xf], ch
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xe], cl
cmp esi, 3
jne 0x46d194
mov al, cl
xor edi, edi
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x17], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
mov byte [ebp - 0x16], cl
and al, 0x3f
mov ecx, 0x5848e0
mov byte [ebp - 0x15], al
call fcn.00409140
mov esi, eax
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x46d16f
mov ecx, dword [esi]
movzx eax, byte [ebp + edi - 0x18]
movzx eax, byte [eax + ecx]
mov ecx, ebx
push eax
call fcn.00411090
inc edi
cmp edi, 4
jl 0x46d165
mov edi, dword [ebp - 0x20]
xor esi, esi
mov dl, byte [ebp - 0xd]
mov cl, byte [ebp - 0xe]
mov ch, byte [ebp - 0xf]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x46d100
mov dword [ebp + 8], esi
test esi, esi
je 0x46d252
mov eax, esi
cmp esi, 3
jge 0x46d1ce
cmp eax, 3
jae 0x46d266
mov byte [ebp + eax - 0x14], 0
inc eax
cmp eax, 3
jl 0x46d1b4
mov ch, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov al, cl
xor edi, edi
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [ebp - 0x17], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [ebp - 0x15], ch
lea eax, [esi + 1]
mov byte [ebp - 0x16], dl
mov dword [ebp - 0x20], eax
test eax, eax
jle 0x46d238
mov ecx, 0x5848e0
call fcn.00409140
mov esi, eax
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x46d21e
mov ecx, dword [esi]
movzx eax, byte [ebp + edi - 0x18]
movzx eax, byte [eax + ecx]
mov ecx, ebx
push eax
call fcn.00411090
inc edi
cmp edi, dword [ebp - 0x20]
jl 0x46d214
mov esi, dword [ebp + 8]
cmp esi, 3
jge 0x46d252
mov edi, 3
sub edi, esi
push 0x3d
mov ecx, ebx
call fcn.00411090
sub edi, 1
jne 0x46d244
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004e6f1e
int3
Function at 0x46e100
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5262a0
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x57f578]
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
lea edi, [esi + 0x38]
mov ecx, edi
call fcn.004158f0
lea ebx, [esi + 0x48]
push str..bak
lea eax, [ebp - 0x70]
mov dword [ebp - 0x7c], ebx
push ebx
push eax
call fcn.004103d0
add esp, 0xc
mov esi, eax
mov dword [ebp - 4], 0
mov ecx, esi
push 0xb
call fcn.00408e90
push eax
mov ecx, ebx
call fcn.00408e90
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x46e17b
mov bl, 1
jmp 0x46e285
lea ecx, [ebp - 0x58]
mov byte [ebp - 0x71], 0
call fcn.00408fb0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x58]
mov ecx, ebx
call fcn.0042e430
movzx ecx, byte [ebp - 0x71]
test al, al
mov edx, 1
cmovne ecx, edx
mov dword [ebp - 0x78], ecx
lea ecx, [ebp - 0x40]
call fcn.00408fb0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x40]
mov ecx, esi
call fcn.0042e430
test al, al
jne 0x46e1c5
cmp byte [ebp - 0x78], al
je 0x46e202
push 0xb
lea ecx, [ebp - 0x40]
call fcn.00408e90
push eax
lea ecx, [ebp - 0x58]
call fcn.00408e90
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x46e202
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00408080
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00408080
mov bl, 1
jmp 0x46e285
mov ecx, esi
call fcn.0042ddd0
cmp eax, 0xffffffff
je 0x46e26b
push esi
lea ecx, [ebp - 0x28]
call fcn.00408fd0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.0042e1f0
test al, al
je 0x46e25f
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.0042de70
test al, al
je 0x46e25f
mov edx, esi
mov ecx, ebx
call fcn.0042de70
lea ecx, [ebp - 0x28]
test al, al
je 0x46e258
call fcn.0042df80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00408080
jmp 0x46e1e3
mov edx, esi
call fcn.0042de70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00408080
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00408080
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00408080
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00408080
test bl, bl
je 0x46e2b6
mov ecx, edi
call fcn.00415e50
push 1
push dword [ebp - 0x7c]
mov ecx, edi
call fcn.00415680
mov ecx, edi
call fcn.004158f0
mov al, 1
jmp 0x46e2b8
xor al, al
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.004e679a
mov esp, ebp
pop ebp
ret
Function at 0x47eb20
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x47eb2b
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.0047eb40
Function at 0x4911c0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x18]
test edi, edi
je 0x491280
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
push ebx
mov ebx, dword [esp + 0x18]
push ebp
lea ecx, [eax + ebx]
cmp ecx, edx
jb 0x491262
lea edi, [edx + edx]
push 0
cmp edi, ecx
cmovbe edi, ecx
push edi
push 0
push 4
push 0
push 0xffffffffffffffff
mov dword [esp + 0x34], edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
je 0x491224
push edi
push 0
push 0
push 0xf001f
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
jne 0x491231
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop ebx
pop edi
mov eax, 0x300
pop esi
pop ecx
ret 8
push dword [esi + 0x20]
push dword [esi + 0x18]
push edi
call fcn.004e89b0
add esp, 0xc
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x18], edi
mov dword [esi + 4], ebp
push ebx
push dword [esp + 0x1c]
lea ecx, [edi + eax]
push ecx
call fcn.004e89b0
add esp, 0xc
mov eax, ebx
add dword [esi + 0x1c], ebx
pop ebp
pop ebx
pop edi
pop esi
pop ecx
ret 8
mov eax, dword [esi]
test eax, eax
je 0x4912ae
push 0
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
push ecx
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 8
pop edi
mov dword [esi + 0xc], 0x1000000
xor eax, eax
pop esi
pop ecx
ret 8