joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46ed40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x555200
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5d8024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, edx
cmp dword [edx + 0x14], 8
mov eax, dword [edx + 0x10]
jb 0x46ed7a
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add eax, eax
je 0x46ed9b
mov edx, eax
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x46ed87
mov edx, dword [ebp + 0xc]
push esi
push edx
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.0040ad60
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x46edcc
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
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 [ebx + 8], 0x4924924
je 0x46ef2f
lea eax, [ebx + 4]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
push 0x38
mov dword [ebp - 0x14], 0
call fcn.00521dee
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
push dword [ebp + 0xc]
lea eax, [edi + 8]
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.00406c50
mov byte [ebp - 4], 1
lea ecx, [edi + 0x20]
mov eax, dword [ebp + 0xc]
add eax, 0x18
push eax
call fcn.00406c50
mov dword [ebp - 4], 3
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x59f5a0]
mov eax, dword [ebx + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x59f5a0]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x46eebf
divss xmm0, xmm3
call fcn.0040adf0
call fcn.005403d0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x46eea3
cmp eax, 0x200
jae 0x46eea1
shl eax, 3
cmp eax, ecx
jae 0x46eea3
mov eax, ecx
push eax
mov ecx, ebx
call fcn.00426e60
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040ad60
mov edx, dword [eax]
jmp 0x46eec2
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 8]
mov ecx, dword [edx + 4]
inc eax
mov dword [ebx + 8], eax
mov dword [edi], edx
mov dword [edi + 4], ecx
mov dword [ecx], edi
mov dword [edx + 4], edi
mov eax, dword [ebx + 0x18]
mov dword [ebp + 0xc], ecx
and eax, esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x14], 0
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x46eef5
mov dword [ecx + eax*8], edi
jmp 0x46ef07
cmp esi, edx
jne 0x46eefe
mov dword [ecx + eax*8], edi
jmp 0x46ef0b
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x46ef0b
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov dword [ebp - 4], 0xffffffff
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.0051ff55
int3
Function at 0x470200
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
lea ebp, [esp - 0x2b8]
sub esp, 0x2b8
push 0xffffffffffffffff
push 0x5554f8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x5d8024]
xor eax, ebp
mov dword [ebp + 0x2b4], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
push dword [ebp + 0x2c4]
mov esi, dword [ebp + 0x2c0]
push esi
mov dword [ebp - 0x18], edi
call fcn.00474ea0
mov dword [ebp - 4], 0
mov ecx, esi
mov dword [edi], 0x58e96c
mov dword [edi + 0x24], 0x58e888
mov dword [edi + 0x28], 0x58e874
mov eax, dword [esi]
call dword [eax + 4]
mov dword [edi + 0x17c], eax
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 8]
lea esi, [edi + 0x190]
mov dword [edi + 0x180], eax
mov dword [edi + 0x184], 0
mov dword [edi + 0x188], 0
mov dword [edi + 0x18c], 1
mov dword [ebp - 0x10], esi
mov dword [esi], 0
push 0x40
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.00521dee
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
mov byte [ebp - 4], 1
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x18], 7
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
push dword [esi + 4]
push 0x10
call fcn.0040a380
mov byte [ebp - 4], 4
mov esi, dword [0x5de6cc]
test esi, esi
jne 0x470414
push 0x10
call fcn.00521dee
mov esi, eax
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 5
lea eax, [ebp]
push 0x2b4
push 0
push eax
call fcn.00524130
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea eax, [ebp]
add esp, 0x10
push 0x4011
push 0x2b4
push eax
push 0x10
push 0x5930a4
call ebx
push 0x4011
push 0x2b4
mov dword [esi], eax
lea eax, [ebp]
push eax
push 0x10
push str.C:FAKE_DIR_
call ebx
mov eax, dword [ebp + 4]
push 0x4013
push 0x2b4
mov dword [esi + 4], eax
lea eax, [ebp]
push eax
push 0x10
push str.C:FAKE_DIR_
call ebx
mov eax, dword [ebp + 4]
mov dword [esi + 8], eax
lea eax, [ebp - 0x10]
push eax
push 0x11
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x4703e9
push 0x4009
push 0x2b4
lea eax, [ebp]
push eax
push 0
push dword [ebp - 0x10]
call ebx
mov eax, dword [ebp + 4]
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jne 0x4703f0
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x10]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x14]
jmp 0x4703f0
mov dword [esi + 0xc], 0
mov byte [ebp - 4], 4
mov eax, dword [0x5de6cc]
mov dword [0x5de6cc], esi
test eax, eax
je 0x470414
push 0x10
push eax
call fcn.00521dbd
mov esi, dword [0x5de6cc]
add esp, 8
mov dword [edi + 0x1b0], esi
mov dword [edi + 0x1b4], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2b4]
xor ecx, ebp
call fcn.00521dac
lea esp, [ebp + 0x2b8]
pop ebp
ret 8
Function at 0x4724f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x555cad
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5d8024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov eax, 0x1fffffff
mov edi, 1
bsr ecx, eax
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x472690
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.0040a380
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x47264c
nop dword [eax + eax]
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
imul eax, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [ebp + 8], eax
cmp ebx, esi
jne 0x4725d1
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x47263f
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x472608
mov eax, dword [eax]
cmp eax, ecx
je 0x472600
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x10], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
jmp 0x47263f
cmp ebx, eax
je 0x47261c
nop dword [eax]
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x47266e
cmp ebx, eax
jne 0x472610
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x10], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ebx, dword [ebp - 0x14]
mov ecx, edx
cmp edx, esi
jne 0x472580
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
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
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp + 8], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
jmp 0x47263f
push str.invalid_hash_bucket_count
call fcn.0051ff55
int3
Function at 0x47a720
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55708d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5d8024]
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 [ebx + 4]
mov esi, dword [ebx]
cmp esi, edi
je 0x47a766
mov ecx, esi
call fcn.00407f30
add esi, 0x18
cmp esi, edi
jne 0x47a756
mov esi, dword [ebx]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebx + 4], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push eax
push eax
call edi
mov ecx, dword [ebp - 0x18]
mov esi, eax
cmp esi, ecx
ja 0x47a7b7
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], esi
cmovae ecx, dword [ebp - 0x28]
xor eax, eax
mov word [ecx + esi*2], ax
jmp 0x47a7c6
mov eax, esi
sub eax, ecx
lea ecx, [ebp - 0x28]
push 0
push eax
call fcn.0047acf0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push esi
call edi
test eax, eax
jne 0x47a7dd
xor bl, bl
jmp 0x47a80c
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push ebx
cmovae ecx, dword [ebp - 0x28]
mov edx, eax
call fcn.00487820
mov ecx, dword [ebx + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [ebx]
add esp, 4
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
setne bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407f30
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 - 0x10]
xor ecx, ebp
call fcn.00521dac
mov esp, ebp
pop ebp
ret
Function at 0x480b20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5436c0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5d8024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x480b67
lea eax, [ebx + 0xd]
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
xor esi, esi
mov edx, ebx
nop dword [eax + eax]
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x480b75
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x480b70
mov eax, dword [ebp - 0x10]
push esi
push ebx
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
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
Function at 0x481e50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x558765
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5d8024]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x410]
mov eax, dword [ebp + 0x414]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x418]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], 0
mov dword [ebp], 0
mov byte [ebp - 4], 1
push 0x60
push 0
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
call ebx
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x481ef8
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x1c], eax
test esi, esi
jne 0x481ef8
call fcn.00413c20
mov edi, eax
jmp 0x482000
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x481f15
call fcn.00413c20
jmp 0x481ff3
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x18], ebx
test ebx, ebx
jne 0x481f30
call fcn.00413c20
jmp 0x481ff3
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x14], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x481f4e
mov edi, 0x8007000e
jmp 0x481ff5
mov byte [ebp - 4], 2
mov ecx, 2
mul ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
test edx, edx
ja 0x482042
jb 0x481f72
cmp eax, 0xffffffff
ja 0x482042
cmp eax, 0x400
jbe 0x481f8b
push eax
lea ecx, [ebp]
call fcn.00478590
mov dword [ebp - 4], 1
jmp 0x481fb0
lea eax, [ebp + 4]
mov dword [ebp], eax
mov dword [ebp - 4], 1
jmp 0x481fb0
mov eax, dword [ebp]
test eax, eax
jne 0x481fbe
mov edi, 0x8007000e
jmp 0x481ff5
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x481fd9
call fcn.00413c20
jmp 0x481ff3
xor edx, edx
mov eax, dword [ebp]
mov word [eax + ecx*2], dx
push dword [ebp + 0x41c]
push dword [ebp]
lea ecx, [ebp - 0x24]
call fcn.00481cf0
mov edi, eax
test esi, esi
je 0x482000
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x482014
lea ecx, [ebp]
call fcn.00478550
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.00521dac
lea esp, [ebp + 0x408]
pop ebp
ret 0x10
push 0x80070216
call fcn.00408fc0
int3
Function at 0x484990
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x558eed
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x5d8024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov edi, dword [ebp + 8]
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x54]
mov ecx, str.kernel32.dll
movzx esi, ax
call fcn.00454140
mov ebx, eax
push 0x5926f0
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x484a21
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x38]
test eax, eax
je 0x484a21
cmp dword [ebp - 0x34], 0
je 0x484a21
push str.GetNativeSystemInfo
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x484a21
lea ecx, [ebp - 0x5c]
push ecx
call eax
jmp 0x484a2b
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov cx, word [ebp - 0x5c]
movzx eax, cx
test eax, eax
je 0x484a6e
cmp eax, 6
je 0x484a69
cmp eax, 9
jne 0x484a73
cmp esi, eax
je 0x484a49
test si, si
jne 0x484a73
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00521dac
mov esp, ebp
pop ebp
ret 4
cmp esi, 6
jmp 0x484a47
cmp si, cx
je 0x484a49
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx + 0x148]
test ecx, ecx
je 0x484a8b
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
test al, al
jne 0x484b06
mov eax, dword [edi]
lea ecx, [ebp - 0x2c]
push 0x1048
push ecx
mov ecx, edi
call dword [eax + 0x2c]
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0
jne 0x484acf
lea edx, [ebp - 0x2c]
mov ecx, 0x661
call fcn.004829c0
cmp dword [ebp - 0x1c], 0
jne 0x484acf
push ecx
mov eax, esp
push ecx
mov dword [eax], 0x2797
mov eax, esp
mov dword [eax], 0x2796
jmp 0x484ae8
push ecx
mov eax, esp
lea ecx, [ebp - 0x2c]
mov dword [eax], 0
cmp dword [ebp - 0x18], 8
cmovae ecx, dword [ebp - 0x2c]
push ecx
mov eax, esp
mov dword [eax], ecx
mov edx, 0x10
xor ecx, ecx
call fcn.00439a40
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00407f30
xor al, al
jmp 0x484a4b
Function at 0x4862a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559516
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x5d8024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x78], eax
mov edi, ecx
mov dword [ebp - 0x80], edi
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x7c], ecx
lea ecx, [ebp - 0x40]
push ecx
mov dword [ebp - 0x84], edi
mov ecx, eax
mov dword [ebp - 0x74], 0
call fcn.00486640
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00407f30
cmp esi, 0xffffffff
mov esi, dword [ebp - 0x78]
jne 0x48644b
cmp dword [esi + 0x10], 0
je 0x48644b
lea eax, [ebp - 0x70]
mov ecx, esi
push eax
call fcn.004865d0
mov dword [ebp - 4], 4
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 8
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 8
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
mov dword [ebp - 0x74], 4
call fcn.00485710
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x58]
call fcn.004862a0
add esp, 4
mov byte [ebp - 4], 0xb
mov esi, 4
mov dword [ebp - 0x74], esi
and esi, 0xfffffffb
mov dword [ebp - 0x74], esi
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x40]
call fcn.00407f30
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x28]
call fcn.00446fe0
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x4863e8
cmp dword [ebp - 0x14], 8
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00407c60
movups xmm0, xmmword [ebp - 0x58]
mov dword [edi + 0x10], 0
xor eax, eax
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
mov word [ebp - 0x58], ax
movq xmm0, qword [ebp - 0x48]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov byte [ebp - 4], 0xc
or esi, 1
mov dword [ebp - 0x74], esi
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x58]
call fcn.00407f30
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00407f30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.00407f30
jmp 0x486461
push esi
mov ecx, edi
call fcn.00406c50
mov dword [ebp - 4], 0
mov dword [ebp - 0x74], 1
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.00521dac
mov esp, ebp
pop ebp
ret
Function at 0x4892c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559c2f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5d8024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0
call fcn.0052032f
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov byte [ebp - 4], 1
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
mov byte [ebp - 4], 2
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov byte [ebp - 4], 3
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov byte [ebp - 4], 4
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov byte [ebp - 4], 5
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
test eax, eax
je 0x489371
push eax
push esi
call fcn.005201ed
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
call fcn.0051ffb5
int3

Function at 0x48b1f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540940
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x5d8024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test byte [esi + 0x3c], 1
je 0x48b269
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x48b22e
mov eax, dword [esi + 0x30]
mov eax, dword [eax]
lea ecx, [ecx + eax*2]
jmp 0x48b23b
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax]
mov eax, dword [esi + 0x1c]
mov eax, dword [eax]
lea ecx, [eax + ecx*2]
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
sub ecx, eax
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x48b25f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48b2ba
mov eax, edx
push ecx
push eax
call fcn.00521dbd
add esp, 8
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [esi + 0x10]
mov dword [eax], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
and dword [esi + 0x3c], 0xfffffffe
mov dword [esi + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0052713a
int3
Function at 0x48f150
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, ecx
push edi
cmp dword [esi], 0
jne 0x48f17f
mov ecx, dword [esi + 0x40]
lea eax, [esi + 0xc]
or ecx, 0xf003f
cmp dword [eax + 0x14], 8
jb 0x48f16d
mov eax, dword [eax]
sub esp, 8
push ecx
sub esp, 8
mov ecx, esi
push eax
push dword [esi + 0x3c]
call fcn.00480a20
mov edx, dword [esp + 0x10]
cmp dword [edx + 0x14], 8
jb 0x48f18b
mov edx, dword [edx]
mov edi, dword [esp + 0xc]
cmp dword [edi + 0x14], 8
jb 0x48f197
mov edi, dword [edi]
test edx, edx
jne 0x48f1aa
mov eax, 0xd
test eax, eax
pop edi
sete al
pop esi
ret 0xc
mov ecx, edx
push ebx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48f1b0
sub ecx, ebx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 2
push 0
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop ebx
test eax, eax
pop edi
sete al
pop esi
ret 0xc