joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4785f0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fec08
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x53d058]
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 ebx, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x30]
call fcn.00478460
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
push ecx
cmovae eax, dword [ebp - 0x30]
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x4786a3
push str.system_info::get_ospartion_available_size
lea edx, [eax + 4]
lea ecx, [ebp - 0xd8]
call fcn.0040fef0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 1
cmp byte [esi + 0x48], 0
je 0x478680
push str.GetDiskFreeSpaceEx_err
push esi
call fcn.00414f60
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [esi + 0x48], 0
je 0x478694
push eax
mov ecx, esi
call fcn.00413060
lea ecx, [ebp - 0xd8]
call fcn.0040fdc0
xor esi, esi
jmp 0x4786ad
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
shrd esi, eax, 0x14
lea ecx, [ebp - 0x30]
call fcn.004033a0
mov dword [edi], esi
mov eax, edi
mov ecx, dword [ebx]
mov dword [edi + 4], ecx
mov ecx, dword [ebx + 4]
mov dword [edi + 8], ecx
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.0049852a
mov esp, ebp
pop ebp
ret 4
Function at 0x4786f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fec63
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x53d058]
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 ebx, edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x24]
push eax
push 0x201
push 0
push ebx
push ecx
mov dword [ebp - 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
je 0x4787c5
push str.GetRegKeyValue
mov edx, 4
lea ecx, [ebp - 0xd8]
call fcn.0040fef0
add esp, 4
mov esi, eax
mov dword [ebp - 4], 0
mov al, byte [esi + 0x48]
test al, al
je 0x4787b3
mov edx, str.RegOpenKeyEx
mov ecx, esi
call fcn.004151c0
mov al, byte [esi + 0x48]
test al, al
je 0x4787b3
push ebx
push esi
call fcn.00414f60
mov al, byte [esi + 0x48]
add esp, 8
test al, al
je 0x4787b3
mov edx, str._failed
mov ecx, esi
call fcn.004151c0
mov al, byte [esi + 0x48]
test al, al
je 0x4787b3
push edi
mov ecx, esi
call fcn.00413060
lea ecx, [ebp - 0xd8]
call fcn.0040fdc0
xor al, al
jmp 0x4788ef
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
lea ecx, [ebp - 0x1c]
push 0x7fff
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.00403460
push 0xfffe
push 0
push eax
lea esi, [eax + 0xfffe]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], esi
call fcn.004cdf10
add esp, 0xc
mov dword [ebp - 0x18], esi
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
sub esi, ecx
sar esi, 1
lea eax, [esi + esi]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push ecx
push 0
push 0
push ebx
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x47886b
mov esi, dword [ebp - 0x1c]
mov edx, esi
lea ecx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x478850
sub edx, ecx
mov ecx, dword [ebp - 0x2c]
sar edx, 1
push edx
push esi
call fcn.004034d0
jmp 0x4788d9
push str.GetRegKeyValue
mov edx, 4
lea ecx, [ebp - 0x180]
call fcn.0040fef0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 2
mov al, byte [esi + 0x48]
test al, al
je 0x4788ce
mov edx, str.RegQueryValueEx
mov ecx, esi
call fcn.004151c0
mov al, byte [esi + 0x48]
test al, al
je 0x4788ce
push ebx
push esi
call fcn.00414f60
mov al, byte [esi + 0x48]
add esp, 8
test al, al
je 0x4788ce
mov edx, str._failed
mov ecx, esi
call fcn.004151c0
cmp byte [esi + 0x48], 0
je 0x4788ce
push edi
mov ecx, esi
call fcn.00413060
lea ecx, [ebp - 0x180]
call fcn.0040fdc0
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x1c]
call fcn.0044e240
test edi, edi
sete 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.0049852a
mov esp, ebp
pop ebp
ret
Function at 0x478910
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fecb6
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x53d058]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x14]
push eax
push 0x202
push 0
push edi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test ebx, ebx
je 0x478a8d
push str.SetRegKeyValue
mov edx, 4
lea ecx, [ebp - 0xc8]
call fcn.0040fef0
add esp, 4
mov esi, eax
mov dword [ebp - 4], 0
mov al, byte [esi + 0x48]
test al, al
je 0x4789da
mov edx, str.RegOpenKeyEx
mov ecx, esi
call fcn.004151c0
mov al, byte [esi + 0x48]
test al, al
je 0x4789da
push edi
push esi
call fcn.00414f60
mov al, byte [esi + 0x48]
add esp, 8
test al, al
je 0x4789da
mov edx, str._failed
mov ecx, esi
call fcn.004151c0
cmp byte [esi + 0x48], 0
je 0x4789da
push ebx
mov ecx, esi
call fcn.00413060
lea ecx, [ebp - 0xc8]
mov dword [ebp - 4], 0xffffffff
call fcn.0040fdc0
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf023f
push 0
push 0
push 0
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test ebx, ebx
je 0x478a8a
push str.SetRegKeyValue
mov edx, 4
lea ecx, [ebp - 0xc8]
call fcn.0040fef0
add esp, 4
mov esi, eax
mov dword [ebp - 4], 1
mov al, byte [esi + 0x48]
test al, al
je 0x478a78
mov edx, str.RegCreateKeyEx
mov ecx, esi
call fcn.004151c0
mov al, byte [esi + 0x48]
test al, al
je 0x478a78
push edi
push esi
call fcn.00414f60
mov al, byte [esi + 0x48]
add esp, 8
test al, al
je 0x478a78
mov edx, str._failed
mov ecx, esi
call fcn.004151c0
mov al, byte [esi + 0x48]
test al, al
je 0x478a78
push ebx
mov ecx, esi
call fcn.00413060
lea ecx, [ebp - 0xc8]
call fcn.0040fdc0
xor al, al
jmp 0x478b40
mov esi, dword [ebp - 0x18]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x478a92
mov ebx, dword [ebp - 0x1c]
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test edi, edi
je 0x478b32
push str.SetRegKeyValue
mov edx, 4
lea ecx, [ebp - 0x170]
call fcn.0040fef0
add esp, 4
mov esi, eax
mov dword [ebp - 4], 2
mov al, byte [esi + 0x48]
test al, al
je 0x478b27
mov edx, str.RegSetValueEx
mov ecx, esi
call fcn.004151c0
mov al, byte [esi + 0x48]
test al, al
je 0x478b27
push ebx
push esi
call fcn.00414f60
mov al, byte [esi + 0x48]
add esp, 8
test al, al
je 0x478b27
mov edx, str._failed
mov ecx, esi
call fcn.004151c0
cmp byte [esi + 0x48], 0
je 0x478b27
push edi
mov ecx, esi
call fcn.00413060
lea ecx, [ebp - 0x170]
call fcn.0040fdc0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
sete 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.0049852a
mov esp, ebp
pop ebp
ret
Function at 0x478db0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fed4b
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x53d058]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
push 0x201
push 0
push str..DEFAULTSoftwareSetID
push SysStringLen
mov dword [ebp - 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
je 0x478e85
push str.GetRegKeyValue
mov edx, 4
lea ecx, [ebp - 0xc8]
call fcn.0040fef0
add esp, 4
mov esi, eax
mov dword [ebp - 4], 0
mov al, byte [esi + 0x48]
test al, al
je 0x478e73
mov edx, str.RegOpenKeyEx
mov ecx, esi
call fcn.004151c0
mov al, byte [esi + 0x48]
test al, al
je 0x478e73
push str..DEFAULTSoftwareSetID
push esi
call fcn.00414f60
mov al, byte [esi + 0x48]
add esp, 8
test al, al
je 0x478e73
mov edx, str._failed
mov ecx, esi
call fcn.004151c0
mov al, byte [esi + 0x48]
test al, al
je 0x478e73
push edi
mov ecx, esi
call fcn.00413060
lea ecx, [ebp - 0xc8]
call fcn.0040fdc0
xor al, al
jmp 0x478f3b
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 4
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push 0
push 0x5163b0
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x478eb8
cmp dword [ebp - 0x18], 4
je 0x478f2d
xor al, al
jmp 0x478f3b
push str.GetRegKeyValue
mov edx, 4
lea ecx, [ebp - 0x170]
call fcn.0040fef0
add esp, 4
mov esi, eax
mov dword [ebp - 4], 1
mov al, byte [esi + 0x48]
test al, al
je 0x478f22
mov edx, str.RegQueryValueEx
mov ecx, esi
call fcn.004151c0
mov al, byte [esi + 0x48]
test al, al
je 0x478f22
push 0x5163b0
push esi
call fcn.00414f60
mov al, byte [esi + 0x48]
add esp, 8
test al, al
je 0x478f22
mov edx, str._failed
mov ecx, esi
call fcn.004151c0
cmp byte [esi + 0x48], 0
je 0x478f22
push edi
mov ecx, esi
call fcn.00413060
lea ecx, [ebp - 0x170]
call fcn.0040fdc0
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049852a
mov esp, ebp
pop ebp
ret
Function at 0x478f70
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x53d058]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x25
push 0
mov esi, ecx
mov dword [ebp - 0xc], 0x25
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
movups xmm0, xmmword [str.5B1674C0_22B8_411D_BD44_56BD4689568B]
mov dword [ebp - 8], eax
push esi
movups xmmword [eax], xmm0
push 4
movups xmm0, xmmword [0x517ffc]
push 0
push 0
movups xmmword [eax + 0x10], xmm0
mov ecx, dword [0x51800c]
mov dword [eax + 0x20], ecx
mov cl, byte [0x518010]
mov byte [eax + 0x24], cl
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp + 8]
push eax
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
cmp eax, 1
mov eax, dword [ebp - 8]
sete bl
test eax, eax
je 0x478fec
push eax
call esi
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x478ff6
push ecx
call esi
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.0049852a
mov esp, ebp
pop ebp
ret

Function at 0x4792e0
Capabilities:
Hash data using sha1
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fee6e
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x53d058]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x24], edi
xorps xmm0, xmm0
push 0
mov dword [ebp - 0x20], 0
push dword [eax]
movlpd qword [ebp - 0x18], xmm0
push 0x8004
push dword [edx]
mov dword [ebp - 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x479353
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov esi, 0x53ed5c
jmp 0x47935b
mov edx, dword [ebp - 0x18]
mov esi, 0x53ece0
mov eax, dword [ebp - 0x1c]
mov dword [edi], eax
mov dword [ebp - 4], 0
mov ecx, dword [esi + 4]
mov dword [ebp - 0x20], 1
cmp ecx, dword [0x53ece4]
jne 0x47939a
test edx, edx
jne 0x47939a
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049852a
mov esp, ebp
pop ebp
ret
push esi
push edx
mov edx, str.CryptCreateHash_failed
lea ecx, [ebp - 0x38]
call fcn.00444420
add esp, 8
lea eax, [ebp - 0x38]
push 0x53a6ec
push eax
call fcn.004cd922
int3

Function at 0x479460
Capabilities:
Hash data via wincrypt

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push 0
push dword [edx + 4]
xorps xmm0, xmm0
push dword [edx]
movlpd qword [esp + 0x24], xmm0
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x479494
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov edx, 0x53ed5c
jmp 0x47949d
mov ecx, dword [esp + 0x18]
mov edx, 0x53ece0
mov eax, dword [edx + 4]
cmp eax, dword [0x53ece4]
jne 0x4794b0
test ecx, ecx
jne 0x4794b0
mov esp, ebp
pop ebp
ret
push edx
push ecx
mov edx, str.CryptHashData_failed
lea ecx, [esp + 0xc]
call fcn.00444420
add esp, 8
lea eax, [esp + 4]
push 0x53a6ec
push eax
call fcn.004cd922
int3
Function at 0x482d80
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x500545
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x53d058]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ecx
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x10], ecx
push eax
mov ecx, esi
call fcn.00482f00
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], eax
test al, al
je 0x482ded
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [esi + 4], 0x4924924
je 0x482e89
mov ebx, dword [esi]
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
push 0x38
lfence
call fcn.00498569
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
push dword [ebp - 0x10]
lea ecx, [edi + 0x10]
mov dword [ebp - 4], 1
call fcn.00412650
mov edx, dword [ebp - 0x10]
push edi
push dword [ebp - 0x1c]
mov al, byte [edx + 0x18]
push dword [ebp - 0x20]
mov byte [edi + 0x28], al
mov ecx, dword [edx + 0x24]
mov eax, dword [edx + 0x20]
mov dword [edi + 0x34], ecx
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0x30], eax
mov byte [edx + 0x18], 0
mov dword [edx + 0x20], 0
mov dword [edx + 0x24], 0
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov word [edi + 0xc], 0
call fcn.004134e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.0040f340
int3
Function at 0x49e460
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [0x544624]
mov eax, dword fs:[0x2c]
push ebx
push esi
mov esi, ecx
xor bl, bl
push edi
mov edi, dword [eax + edx*4]
mov dword [ebp - 8], esi
nop
mov eax, dword [0x544ba0]
cmp eax, dword [edi + 8]
jg 0x49e56a
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x49e4ac
mov ecx, esi
call fcn.004afc50
test al, al
jne 0x49e480
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x49e4c4
push eax
push ecx
push 1
push dword [ebp + 8]
call fcn.004dab0e
add esp, 0x10
jmp 0x49e4d5
push dword [ebp + 8]
push 0x508e90
push eax
call fcn.004be210
add esp, 0xc
cmp dword [0x544b9c], 0
mov ecx, eax
jl 0x49e53e
jg 0x49e4eb
cmp dword [0x544b98], 0
jb 0x49e53e
lea eax, [esi + 0x28]
mov dword [ebp + 0xc], eax
mov eax, ecx
mov esi, dword [ebp + 0xc]
cdq
mov ebx, eax
mov dword [ebp - 4], edx
mov dword [ebp + 8], ebx
nop
mov eax, dword [esi]
add ebx, eax
mov edi, dword [esi + 4]
mov edx, edi
mov ecx, dword [ebp - 4]
mov dword [ebp + 0xc], eax
adc ecx, edi
lock cmpxchg8b qword [esi]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
cmp eax, ecx
jne 0x49e500
cmp edx, edi
jne 0x49e500
mov esi, dword [ebp - 8]
cmp edi, dword [0x544b9c]
jl 0x49e53c
jg 0x49e538
cmp ecx, dword [0x544b98]
jb 0x49e53c
mov bl, 1
jmp 0x49e53e
xor bl, bl
lea edx, [esi + 0x30]
mov eax, 1
lock xadd dword [edx], eax
inc eax
cmp eax, 1
jne 0x49e55f
xor ecx, ecx
xchg dword [edx], ecx
push dword [esi + 0x1c]
call fcn.004da365
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x544ba0
call fcn.0049892b
add esp, 4
cmp dword [0x544ba0], 0xffffffff
jne 0x49e491
mov eax, dword [esi + 0x34]
push 0x544ba0
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [0x544b98], ecx
mov dword [0x544b9c], eax
call fcn.004988e1
add esp, 4
jmp 0x49e491
Function at 0x49e5b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [0x544624]
mov eax, dword fs:[0x2c]
push ebx
push esi
mov esi, ecx
xor bl, bl
push edi
mov edi, dword [eax + edx*4]
mov dword [ebp - 8], esi
nop
mov eax, dword [0x544bb0]
cmp eax, dword [edi + 8]
jg 0x49e6ba
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x49e5fc
mov ecx, esi
call fcn.004afc50
test al, al
jne 0x49e5d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x49e614
push eax
push ecx
push 2
push dword [ebp + 8]
call fcn.004dab0e
add esp, 0x10
jmp 0x49e625
push dword [ebp + 8]
push 0x516e04
push eax
call fcn.004be240
add esp, 0xc
cmp dword [0x544bac], 0
mov ecx, eax
jl 0x49e68e
jg 0x49e63b
cmp dword [0x544ba8], 0
jb 0x49e68e
lea eax, [esi + 0x28]
mov dword [ebp + 0xc], eax
mov eax, ecx
mov esi, dword [ebp + 0xc]
cdq
mov ebx, eax
mov dword [ebp - 4], edx
mov dword [ebp + 8], ebx
nop
mov eax, dword [esi]
add ebx, eax
mov edi, dword [esi + 4]
mov edx, edi
mov ecx, dword [ebp - 4]
mov dword [ebp + 0xc], eax
adc ecx, edi
lock cmpxchg8b qword [esi]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
cmp eax, ecx
jne 0x49e650
cmp edx, edi
jne 0x49e650
mov esi, dword [ebp - 8]
cmp edi, dword [0x544bac]
jl 0x49e68c
jg 0x49e688
cmp ecx, dword [0x544ba8]
jb 0x49e68c
mov bl, 1
jmp 0x49e68e
xor bl, bl
lea edx, [esi + 0x30]
mov eax, 1
lock xadd dword [edx], eax
inc eax
cmp eax, 1
jne 0x49e6af
xor ecx, ecx
xchg dword [edx], ecx
push dword [esi + 0x1c]
call fcn.004da365
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x544bb0
call fcn.0049892b
add esp, 4
cmp dword [0x544bb0], 0xffffffff
jne 0x49e5e1
mov eax, dword [esi + 0x34]
push 0x544bb0
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [0x544ba8], ecx
mov dword [0x544bac], eax
call fcn.004988e1
add esp, 4
jmp 0x49e5e1
Function at 0x4a0e50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501c55
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x53d058]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x10], edx
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x14], ebx
cmp dword [ebx + 0x14], 8
mov ecx, dword [ebx + 0x10]
jb 0x4a0e97
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
lea eax, [ecx + ecx]
mov esi, 0x811c9dc5
xor ecx, ecx
test eax, eax
je 0x4a0ec7
mov edx, dword [ebp - 0x14]
mov edi, eax
nop word [eax + eax]
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x4a0eb0
mov edi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
push esi
push ebx
lea eax, [ebp - 0x20]
mov ecx, edx
push eax
call fcn.0040e150
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4a0ee4
mov byte [edi + 4], 0
jmp 0x4a0f9a
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0x7ffffff
je 0x4a0fb2
add eax, 4
mov dword [ebp - 0x18], eax
push 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
call fcn.00498569
add esp, 4
mov dword [ebp - 0x14], eax
add eax, 8
mov ecx, eax
mov dword [ebp - 0x24], eax
push ebx
call fcn.0040bca0
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0x1c]
inc ecx
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x522e80]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x522e80]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ebx]
jbe 0x4a0f87
mov ecx, ebx
call fcn.004b42e0
push esi
push dword [ebp - 0x24]
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.0040e150
mov ecx, dword [eax]
jmp 0x4a0f8a
mov ecx, dword [ebp - 0x20]
push dword [ebp - 0x14]
push ecx
push esi
mov ecx, ebx
call fcn.004b4090
mov byte [edi + 4], 1
mov dword [edi], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.00484b59
int3

Function at 0x4a1520
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 0xc]
mov eax, ecx
push ebx
push esi
push edi
cmp dword [edx + 0x14], 8
mov edi, edx
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], eax
jb 0x4a153e
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add ebx, ebx
je 0x4a1564
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x4a1550
mov eax, dword [ebp - 4]
push esi
push edx
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.0040e150
pop edi
pop esi
pop ebx
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x4a1584
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 4]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x4a6840
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x53d058]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0x10]
push esi
push edi
mov dword [ebp - 0x54], ebx
mov eax, dword [ecx]
mov dword [ebx], eax
mov eax, dword [ecx + 4]
mov dword [ebx + 4], eax
mov eax, dword [ecx]
mov dword [ebx + 8], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0xc], eax
cmp ecx, 1
jb 0x4a69cf
mov eax, 0x38
cmp ecx, eax
cmovbe eax, ecx
push eax
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x3c]
push edx
push eax
call fcn.004cd990
movups xmm0, xmmword [0x53d098]
lea edi, [ebx + 0x10]
push 0x1000
movups xmmword [edi], xmm0
lea eax, [ebx + 0x58]
mov dword [ebp - 0x44], edi
movups xmm0, xmmword [0x53d0a8]
push 0x53d0e0
push eax
movups xmmword [edi + 0x10], xmm0
mov dword [ebp - 0x4c], eax
movups xmm0, xmmword [0x53d0b8]
movups xmmword [edi + 0x20], xmm0
movups xmm0, xmmword [0x53d0c8]
movups xmmword [edi + 0x30], xmm0
movq xmm0, qword [0x53d0d8]
movq qword [edi + 0x40], xmm0
call fcn.004cd990
add esp, 0x18
mov dword [ebp - 0x40], 0x12
lea ebx, [ebp - 0x3c]
xor esi, esi
nop word [eax + eax]
xor edx, edx
lea edi, [edx + 4]
movzx eax, byte [ebx]
lea ecx, [esi + 1]
shl edx, 8
inc ebx
or edx, eax
cmp ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x3c]
cmovne eax, ebx
xor esi, esi
cmp ecx, dword [ebp - 0x50]
mov ebx, eax
cmovne esi, ecx
sub edi, 1
jne 0x4a6905
mov edi, dword [ebp - 0x44]
xor dword [edi], edx
add edi, 4
sub dword [ebp - 0x40], 1
mov dword [ebp - 0x44], edi
jne 0x4a6900
mov ebx, dword [ebp - 0x54]
xor edi, edi
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
lea esi, [ebx + 0x14]
lea eax, [ebp - 0x48]
mov ecx, ebx
push eax
call fcn.004ab6a0
mov eax, dword [ebp - 0x48]
lea esi, [esi + 8]
mov dword [esi - 0xc], eax
add edi, 2
mov eax, dword [ebp - 0x44]
mov dword [esi - 8], eax
cmp edi, 0x12
jb 0x4a6950
mov dword [ebp - 0x40], 4
lea eax, [ebx + 0x58]
nop dword [eax]
xor edi, edi
mov esi, eax
lea eax, [ebp - 0x48]
mov ecx, ebx
push eax
call fcn.004ab6a0
mov eax, dword [ebp - 0x48]
lea esi, [esi + 8]
mov dword [esi - 8], eax
add edi, 2
mov eax, dword [ebp - 0x44]
mov dword [esi - 4], eax
cmp edi, 0x100
jl 0x4a6984
mov eax, dword [ebp - 0x4c]
add eax, 0x400
sub dword [ebp - 0x40], 1
mov dword [ebp - 0x4c], eax
jne 0x4a6980
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049852a
mov esp, ebp
pop ebp
ret 0xc
push 0x5391cc
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], str.Incorrect_key_length
push eax
call fcn.004cd922
int3