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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
test ebx, ebx
je 0x4abc38
test bl, 7
jne 0x4abc38
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
cmp eax, 1
jne 0x4abb2b
mov eax, dword [edi + 8]
mov dword [ebp + 0xc], eax
mov eax, dword [edi + 0xc]
mov dword [ebp + 0x10], eax
cmp ebx, 8
jb 0x4abb22
mov esi, dword [ebp + 8]
add esi, 0xfffffff9
shr ebx, 3
lea eax, [ebp - 8]
mov ecx, edi
push eax
lea eax, [esi + 7]
push eax
call fcn.004a8bf0
mov eax, dword [ebp + 0xc]
mov ecx, edi
xor dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
xor dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
call fcn.004ab6a0
mov edx, dword [ebp - 4]
lea esi, [esi + 8]
mov ecx, dword [ebp - 8]
mov eax, edx
shr eax, 8
mov byte [esi + 5], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 4], al
mov eax, edx
shr eax, 0x18
mov byte [esi + 3], al
mov eax, ecx
shr eax, 8
mov byte [esi + 1], al
mov eax, ecx
shr eax, 0x10
mov byte [esi], al
mov eax, ecx
shr eax, 0x18
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], edx
mov byte [esi + 6], dl
mov byte [esi + 2], cl
mov byte [esi - 1], al
sub ebx, 1
jne 0x4abab3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, 2
jne 0x4abbc4
mov eax, dword [edi + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0xc], eax
cmp ebx, 8
jb 0x4abb22
mov esi, dword [ebp + 8]
add esi, 0xfffffff9
shr ebx, 3
nop
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.004ab6a0
lea eax, [ebp - 8]
mov ecx, edi
push eax
lea eax, [esi + 7]
push eax
call fcn.004a8bf0
mov ecx, dword [ebp - 0xc]
lea esi, [esi + 8]
xor ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov eax, ecx
xor edx, dword [ebp - 8]
shr eax, 8
mov byte [esi + 5], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 4], al
mov eax, edx
shr eax, 8
mov byte [esi + 1], al
mov eax, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], ecx
mov byte [esi + 6], cl
shr ecx, 0x18
mov byte [esi + 2], dl
shr eax, 0x10
shr edx, 0x18
mov byte [esi + 3], cl
mov byte [esi], al
mov byte [esi - 1], dl
sub ebx, 1
jne 0x4abb50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp ebx, 8
jb 0x4abb22
mov esi, dword [ebp + 8]
add esi, 0xfffffff9
shr ebx, 3
lea eax, [ebp - 8]
mov ecx, edi
push eax
lea eax, [esi + 7]
push eax
call fcn.004a8bf0
lea eax, [ebp - 8]
mov ecx, edi
push eax
call fcn.004ab6a0
mov ecx, dword [ebp - 4]
lea esi, [esi + 8]
mov eax, ecx
mov byte [esi + 6], cl
shr eax, 8
mov byte [esi + 5], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [esi + 4], al
mov byte [esi + 3], cl
mov ecx, dword [ebp - 8]
mov eax, ecx
shr eax, 8
mov byte [esi + 1], al
mov eax, ecx
mov byte [esi + 2], cl
shr eax, 0x10
shr ecx, 0x18
mov byte [esi], al
mov byte [esi - 1], cl
sub ebx, 1
jne 0x4abbd6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x5391cc
lea eax, [ebp + 8]
mov dword [ebp + 8], str.Incorrect_buffer_length
push eax
call fcn.004cd922
int3
Function at 0x4b2b50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x53d058]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 8]
push eax
push edi
call ebx
test eax, eax
je 0x4b2c84
cmp dword [ebp - 0xc], 4
jne 0x4b2c84
cmp dword [esi + 0x14], 0x10
jb 0x4b2ba1
mov esi, dword [esi]
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push esi
push edi
call ebx
test eax, eax
je 0x4b2bcd
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jne 0x4b2bcd
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049852a
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xb8]
push eax
call fcn.004ae6d0
add esp, 4
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x38], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax]
movq qword [ebp - 0x28], xmm0
cmp dword [eax], 0
je 0x4b2d27
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea eax, [ebp - 0x1c]
push 0x5093a8
push eax
call fcn.004a2f20
mov edi, eax
lea eax, [ebp - 0x90]
push str.WriteStringToFile
push eax
call fcn.004a3230
mov esi, eax
lea eax, [ebp - 0x6c]
push 0x5093d8
push eax
call fcn.004a3100
push esi
push eax
lea eax, [ebp - 0xfc]
push eax
call fcn.0049a520
push edi
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.0049c270
push dword [ebp - 0x20]
push dword [ebp - 0x10]
push ebx
push 0x509350
push eax
push 0
call fcn.004b50a0
add esp, 0x48
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049852a
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xb8]
push eax
call fcn.004ae6d0
add esp, 4
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x38], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax]
movq qword [ebp - 0x28], xmm0
cmp dword [eax], 0
je 0x4b2d27
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [ebp - 0x1c], 0x290028
lea eax, [ebp - 0x90]
mov dword [ebp - 0x18], 0x2d0020
push str.WriteStringToFile
push eax
mov dword [ebp - 0x14], 0x20
call fcn.004a3230
mov esi, eax
lea eax, [ebp - 0x6c]
push 0x5093d8
push eax
call fcn.004a3100
push esi
push eax
lea eax, [ebp - 0xfc]
push eax
call fcn.0049a520
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.0049c270
push ebx
push dword [ebp - 0x10]
push edi
push 0x509350
push eax
push 0
call fcn.004b50a0
add esp, 0x40
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049852a
mov esp, ebp
pop ebp
ret
Function at 0x4b2d40
Capabilities:
Create directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x4b2dea
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x4b2d5d
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
mov dx, word [0x53d094]
cmp word [ecx + eax*2 - 2], dx
je 0x4b2d79
movzx eax, dx
mov ecx, esi
push eax
call fcn.0040b850
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b2d80
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, esi
call fcn.0040ba70
mov ecx, dword [esi + 0x14]
mov edi, esi
cmp ecx, 8
jb 0x4b2da4
mov edi, dword [esi]
mov eax, dword [esi + 0x10]
mov dx, word [0x53d094]
cmp word [edi + eax*2 - 2], dx
je 0x4b2dc3
movzx eax, dx
mov ecx, esi
push eax
call fcn.0040b850
mov ecx, dword [esi + 0x14]
mov eax, esi
cmp ecx, 8
jb 0x4b2dcc
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [esi + 0x14], 8
jb 0x4b2ddd
mov esi, dword [esi]
push 0x2000
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop esi
pop edi
pop ebp
ret 8

Function at 0x4b31e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503665
mov eax, dword fs:[0]
push eax
sub esp, 0x54
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 eax, dword fs:[0x2c]
mov edx, dword [0x544624]
mov edx, dword [eax + edx*4]
mov eax, dword [0x544b20]
cmp eax, dword [edx + 8]
jg 0x4b32d8
mov ecx, dword [0x544b1c]
test ecx, ecx
jl 0x4b32bd
mov esi, dword [0x544b18]
jg 0x4b3247
cmp esi, 2
jb 0x4b32bd
mov eax, dword [edi + 0x28]
cdq
sub eax, esi
sbb edx, ecx
sub eax, 1
sbb edx, 0
mov dword [ebp - 0x2c], edx
js 0x4b32bd
jg 0x4b3260
test eax, eax
jb 0x4b32bd
push eax
lea eax, [ebp - 0x60]
push eax
lea ecx, [edi + 0x30]
call fcn.004adcc0
mov esi, eax
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 0
push eax
lea ecx, [edi + 0x30]
call fcn.004adf20
push esi
push eax
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00464270
lea ecx, [ebp - 0x48]
call fcn.00403400
lea ecx, [ebp - 0x60]
call fcn.00403400
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x28]
call fcn.00403400
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 0x544b20
call fcn.0049892b
add esp, 4
cmp dword [0x544b20], 0xffffffff
jne 0x4b322c
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
push 0x544b20
mov dword [0x544b18], eax
mov dword [0x544b1c], ecx
call fcn.004988e1
add esp, 4
jmp 0x4b322c
Function at 0x4b3940
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0x10], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x4b3aa3
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
mov dword [ebp - 0xc], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.004b2df0
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x4b3a76
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]
mov dword [ebp - 4], ebx
lea eax, [eax + edi*8]
mov dword [ebp - 8], eax
cmp ebx, esi
jne 0x4b39f6
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x4b3a69
mov eax, dword [eax + 4]
mov ebx, dword [ecx + 8]
cmp ebx, dword [eax + 8]
jne 0x4b3a30
mov eax, dword [eax]
mov dword [ebp - 4], eax
cmp eax, ecx
je 0x4b3a28
mov ebx, dword [ecx + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
jmp 0x4b3a69
mov edi, eax
cmp dword [ebp - 4], eax
je 0x4b3a46
mov eax, dword [eax + 4]
mov edi, eax
cmp ebx, dword [eax + 8]
je 0x4b3a7f
cmp dword [ebp - 4], eax
jne 0x4b3a37
mov eax, dword [ecx + 4]
mov dword [ebp - 4], eax
mov dword [eax], edx
mov ebx, dword [edx + 4]
mov dword [ebx], edi
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov dword [edi + 4], ebx
mov edi, dword [ebp - 4]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 8]
mov dword [eax], ecx
mov ebx, dword [ebp - 0x10]
mov ecx, edx
cmp edx, esi
jne 0x4b39a2
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], eax
mov esi, eax
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x4b3a69
push str.invalid_hash_bucket_count
call fcn.00484b59
int3
Function at 0x4b4e40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2034
call fcn.00499790
mov eax, dword [0x53d058]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea esi, [ebp - 0x2034]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
push edi
push eax
lea eax, [ebp - 0x34]
push 0x508e7c
push eax
call fcn.004a5d80
mov al, byte [ebp - 0x34]
add esp, 0x10
test al, al
je 0x4b4e9a
lea ecx, [ebp - 0x34]
mov edx, esi
sub ecx, edx
nop
mov byte [esi], al
inc esi
mov al, byte [ecx + esi]
test al, al
jne 0x4b4e90
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4b4eba
mov al, byte [ecx]
test al, al
je 0x4b4eba
sub ecx, esi
nop dword [eax]
mov byte [esi], al
inc esi
mov al, byte [ecx + esi]
test al, al
jne 0x4b4eb0
mov eax, dword [ebp + 0x10]
lea edi, [ebp - 0x36]
test eax, eax
mov ecx, 0x508e90
push ebx
cmovne ecx, eax
lea eax, [ebp + 0x14]
push eax
push 0
push ecx
push 0xffffffffffffffff
sub edi, esi
mov dword [ebp + 0x10], ecx
push edi
push esi
call fcn.00416400
push dword [eax + 4]
push dword [eax]
call fcn.004d4e7a
or ecx, 0xffffffff
add esp, 0x20
test eax, eax
cmovs eax, ecx
cmp eax, edi
cmovbe edi, eax
cmp dword [ebp + 8], 8
mov word [esi + edi], 0xa
mov esi, dword [0x544890]
mov eax, dword [esi]
mov ebx, dword [eax]
jne 0x4b4f19
cmp dword [esi + 8], 2
je 0x4b4f19
or ebx, 2
lea eax, [ebp - 0x2034]
push esi
push eax
call fcn.004b51a0
add esp, 8
mov edi, eax
test bl, 1
je 0x4b4f3d
lea eax, [ebp - 0x2034]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test bl, 2
pop ebx
je 0x4b4f52
push edi
lea eax, [ebp - 0x2034]
mov ecx, esi
push eax
call fcn.004af3a0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0049852a
mov esp, ebp
pop ebp
ret
Function at 0x4b4f70
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2038
call fcn.00499790
mov eax, dword [0x53d058]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x2038], eax
lea esi, [ebp - 0x2034]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
push edi
push eax
lea eax, [ebp - 0x34]
push 0x508e7c
push eax
call fcn.004a5d80
mov al, byte [ebp - 0x34]
add esp, 0x10
test al, al
je 0x4b4fd1
lea ecx, [ebp - 0x34]
mov edx, esi
sub ecx, edx
mov byte [esi], al
inc esi
mov al, byte [ecx + esi]
test al, al
jne 0x4b4fc7
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4b4fea
mov al, byte [ecx]
test al, al
je 0x4b4fea
sub ecx, esi
mov byte [esi], al
inc esi
mov al, byte [ecx + esi]
test al, al
jne 0x4b4fe0
mov eax, dword [ebp + 0x14]
lea edi, [ebp - 0x36]
test eax, eax
mov ecx, 0x508e90
push ebx
cmovne ecx, eax
lea eax, [ebp + 0x18]
push eax
push 0
push ecx
push 0xffffffffffffffff
sub edi, esi
mov dword [ebp + 0x14], ecx
push edi
push esi
call fcn.00416400
push dword [eax + 4]
push dword [eax]
call fcn.004d4e7a
or ecx, 0xffffffff
add esp, 0x20
test eax, eax
cmovs eax, ecx
cmp eax, edi
cmovbe edi, eax
cmp dword [ebp + 0xc], 8
mov word [esi + edi], 0xa
mov esi, dword [ebp - 0x2038]
mov eax, dword [esi]
mov ebx, dword [eax]
jne 0x4b5049
cmp dword [esi + 8], 2
je 0x4b5049
or ebx, 2
lea eax, [ebp - 0x2034]
push esi
push eax
call fcn.004b51a0
add esp, 8
mov edi, eax
test bl, 1
je 0x4b506d
lea eax, [ebp - 0x2034]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test bl, 2
pop ebx
je 0x4b5082
push edi
lea eax, [ebp - 0x2034]
mov ecx, esi
push eax
call fcn.004af3a0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0049852a
mov esp, ebp
pop ebp
ret

Function at 0x4b51a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [eax + 4]
test esi, esi
je 0x4b51f6
cmp dword [esi], 0
je 0x4b51f6
mov eax, dword fs:[0x2c]
mov ecx, dword [0x544624]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x544b08]
cmp eax, dword [ecx + 8]
jg 0x4b51fb
mov edx, dword [ebp + 8]
mov ecx, edx
mov al, byte [edx]
test al, al
je 0x4b51ef
nop word [eax + eax]
xor al, byte [0x544b04]
mov byte [ecx], al
inc ecx
mov al, byte [ecx]
test al, al
jne 0x4b51e0
sub ecx, edx
mov eax, ecx
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
push 0x544b08
call fcn.0049892b
add esp, 4
cmp dword [0x544b08], 0xffffffff
jne 0x4b51cf
mov al, byte [esi + 1]
sub al, byte [esi + 3]
sub al, byte [esi + 2]
add al, byte [esi]
push 0x544b08
mov byte [0x544b04], al
call fcn.004988e1
add esp, 4
jmp 0x4b51cf
Function at 0x4b6700
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
cmp dword [edx + 0x14], 8
mov esi, edx
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], ecx
jb 0x4b671c
mov esi, dword [edx]
xor ecx, ecx
mov edi, 0x811c9dc5
add ebx, ebx
je 0x4b6738
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, ebx
jb 0x4b6727
mov ebx, dword [ebp - 4]
lea eax, [ebp - 0xc]
push edi
push edx
push eax
mov ecx, ebx
call fcn.0040e150
mov esi, dword [eax + 4]
test esi, esi
je 0x4b67b5
mov ecx, dword [ebx + 0x18]
mov eax, dword [ebx + 0xc]
and ecx, edi
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], esi
jne 0x4b6777
cmp eax, esi
jne 0x4b676f
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x4b677f
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x4b677f
cmp eax, esi
jne 0x4b677f
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
lea edx, [ebx + 4]
dec dword [edx + 4]
mov eax, dword [esi + 4]
mov dword [eax], ecx
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
lea eax, [esi + 8]
push eax
push edx
call fcn.00482770
push 0x20
push esi
call fcn.0049855b
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4b7f10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503cdd
mov eax, dword fs:[0]
push eax
sub esp, 0xc
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, dword [ebp + 8]
push 0
push 0
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4b7fe1
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004987ea
add esp, 4
mov dword [ebp - 0x14], eax
push esi
mov esi, eax
mov dword [ebp - 4], 0
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4b7fd2
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b7f90
sub ecx, edx
mov dword [edi], 0
sar ecx, 1
xor eax, eax
push ecx
mov dword [edi + 0x10], 0
mov ecx, edi
mov dword [edi + 0x14], 7
push esi
mov word [edi], ax
call fcn.004034d0
test esi, esi
je 0x4b8005
push 2
push esi
call fcn.0049855b
add esp, 8
jmp 0x4b8005
test esi, esi
je 0x4b7fe1
push 2
push esi
call fcn.0049855b
add esp, 8
xorps xmm0, xmm0
xor eax, eax
movups xmmword [edi], xmm0
movq qword [edi + 0x10], xmm0
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
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

Function at 0x4b8220
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503cdd
mov eax, dword fs:[0]
push eax
sub esp, 0xc
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, dword [ebp + 8]
push 0
push 0
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x4b82f1
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004987ea
add esp, 4
mov dword [ebp - 0x14], eax
push esi
mov esi, eax
mov dword [ebp - 4], 0
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x4b82e2
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b82a0
sub ecx, edx
mov dword [edi], 0
sar ecx, 1
xor eax, eax
push ecx
mov dword [edi + 0x10], 0
mov ecx, edi
mov dword [edi + 0x14], 7
push esi
mov word [edi], ax
call fcn.004034d0
test esi, esi
je 0x4b8315
push 2
push esi
call fcn.0049855b
add esp, 8
jmp 0x4b8315
test esi, esi
je 0x4b82f1
push 2
push esi
call fcn.0049855b
add esp, 8
xorps xmm0, xmm0
xor eax, eax
movups xmmword [edi], xmm0
movq qword [edi + 0x10], xmm0
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
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
Function at 0x4b8340
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503d7d
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
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, dword [ebp + 8]
push 0
push 0
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x4b84b7
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004987ea
add esp, 4
mov dword [ebp - 0x14], eax
push esi
mov esi, eax
mov dword [ebp - 4], 0
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x4b84aa
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b83c1
sub ecx, edx
mov dword [ebp - 0x48], 0
sar ecx, 1
xor eax, eax
push ecx
push esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
call fcn.004034d0
push 4
xor eax, eax
mov dword [ebp - 0x30], 0
push 0x509574
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
call fcn.004034d0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x48]
call fcn.00404860
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x4b8477
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b846a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b84f8
push edx
push ecx
call fcn.0049855b
mov eax, dword [ebp - 0x18]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], cx
mov ecx, edi
push eax
mov dword [ebp - 0x1c], 7
call fcn.0040bca0
lea ecx, [ebp - 0x48]
call fcn.00403400
test esi, esi
je 0x4b84db
push esi
call fcn.004987f3
add esp, 4
jmp 0x4b84db
test esi, esi
je 0x4b84b7
push esi
call fcn.004987f3
add esp, 4
xorps xmm0, xmm0
xor eax, eax
movups xmmword [edi], xmm0
movq qword [edi + 0x10], xmm0
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
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
call fcn.004d076f
int3