joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464b60
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push edi
push 0
mov edi, ecx
xor bl, bl
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x464bd2
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x464b77
sub edx, ecx
sar edx, 1
push esi
lea eax, [edx*2 + 2]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x464bcb
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x464bcb
push edi
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
mov bl, 1
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop edi
mov al, bl
pop ebx
ret

Function at 0x465770
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x510620]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [0x519e24]
push edi
movzx ecx, byte [eax + 8]
xor ecx, 0x811c9dc5
mov edi, dword [ebp + 8]
imul edx, ecx, 0x1000193
movzx ecx, byte [eax + 9]
xor edx, ecx
movzx ecx, byte [eax + 0xa]
imul edx, edx, 0x1000193
xor edx, ecx
movzx ecx, byte [eax + 0xb]
imul edx, edx, 0x1000193
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, esi
and edx, ecx
cmp dword [0x519e28], edx
ja 0x4657d5
shr esi, 1
or ecx, 0xffffffff
sub ecx, esi
add edx, ecx
lea esi, [edx*8]
mov edx, dword [0x519e18]
add edx, esi
cmp dword [edx + 4], eax
jne 0x46580d
cmp dword [edx], eax
jne 0x465805
mov eax, dword [0x519e10]
mov dword [edx], eax
mov ecx, dword [0x519e18]
mov eax, dword [0x519e10]
mov dword [esi + ecx + 4], eax
jmp 0x465815
mov eax, dword [eax + 4]
mov dword [edx + 4], eax
jmp 0x465815
cmp dword [edx], eax
jne 0x465818
mov ecx, dword [eax]
mov dword [edx], ecx
mov eax, dword [ebp + 0xc]
push eax
push edi
mov ecx, 0x519e10
call fcn.00465c80
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00494c10
mov esp, ebp
pop ebp
ret 8
Function at 0x465b70
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x510620]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov edx, dword [0x519e24]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
movzx eax, byte [edi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edx
and ecx, eax
cmp dword [0x519e28], ecx
ja 0x465bd8
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
mov edx, dword [0x519e18]
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov esi, dword [edx + ecx*4]
add edx, 4
mov dword [ebp - 0x10], esi
mov esi, dword [0x519e10]
lea ecx, [edx + ecx*4]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
jmp 0x465c00
cmp edx, esi
jne 0x465c08
mov ecx, esi
jmp 0x465c0c
mov ecx, dword [ecx]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x465c47
mov ecx, dword [eax + 8]
cmp ecx, dword [edi]
je 0x465c1e
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
jmp 0x465c00
mov ecx, dword [edi]
cmp ecx, dword [eax + 8]
lea ecx, [ebp - 8]
mov dword [ebp - 8], esi
jne 0x465c2e
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ecx]
pop edi
pop esi
mov dword [eax], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00494c10
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [eax], esi
pop esi
call fcn.00494c10
mov esp, ebp
pop ebp
ret 8
Function at 0x469590
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x510620]
xor eax, esp
mov dword [esp + 0x10], eax
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, ecx
mov dword [esp + 8], edx
push esi
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
mov edx, dword [ebx + 0x14]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edx
and ecx, eax
cmp dword [ebx + 0x18], ecx
ja 0x4695fe
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
mov edx, dword [ebx + 8]
lea eax, [ecx*8]
mov esi, dword [ebx]
mov dword [esp + 0x14], eax
add eax, edx
mov dword [esp + 0x18], eax
mov eax, dword [eax]
cmp esi, eax
je 0x46963d
mov esi, dword [esp + 0x18]
mov esi, dword [esi + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x46963d
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
lea ecx, [ecx]
mov esi, dword [esi + 4]
cmp dword [esi + 8], eax
je 0x469681
cmp esi, dword [edx + ecx*8]
jne 0x469630
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x469667
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 8]
mov edx, dword [esp + 0x14]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x4696ac
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [eax + edx + 4], edi
jmp 0x4696ce
push dword [ebp + 0x10]
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
call fcn.00465c80
mov dword [edi], esi
mov eax, edi
mov byte [edi + 4], 0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.00494c10
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x4696b4
mov dword [ecx], edi
jmp 0x4696ce
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x4696ce
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.00469b30
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
mov dword [eax], edi
pop edi
pop esi
pop ebx
xor ecx, esp
mov byte [eax + 4], 1
call fcn.00494c10
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46c420
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d88c6
mov eax, dword fs:[0]
push eax
mov eax, 0x2828
call fcn.004b6c70
mov eax, dword [0x510620]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x134]
test eax, eax
je 0x46c4af
push 0x13ff
lea ecx, [ebp - 0x2810]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
add eax, eax
cmp eax, 0x2800
jae 0x46c566
xor ecx, ecx
mov word [ebp + eax - 0x2810], cx
lea ecx, [ebp - 0x2810]
mov eax, dword [esi]
push ecx
push str.Text
mov ecx, esi
call dword [eax + 0x1c]
push dword [esi + 0x134]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 0x134], 0
cmp dword [esi + 0x150], 0
je 0x46c51a
lea eax, [ebp - 0x282c]
mov ecx, esi
push eax
call fcn.0045cc50
mov dword [ebp - 4], 0
cmp dword [ebp - 0x2818], 0
je 0x46c4f2
cmp dword [ebp - 0x2814], 8
lea eax, [ebp - 0x2828]
mov ecx, esi
cmovae eax, dword [ebp - 0x2828]
push eax
call fcn.0046ca00
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2814], 8
mov dword [ebp - method.UString.virtual_0], vtable.UString.0
jb 0x46c51a
push dword [ebp - 0x2828]
call fcn.00494c0b
add esp, 4
cmp dword [esi + 0x158], 0
je 0x46c548
sub esp, 0x18
mov eax, esp
mov dword [eax], vtable.._AV___Func_impl_U___Callable_obj_V_lambda_47a1d33f16a6461c44a2e981f4f62379____0A__std__V__allocator_V___Func_class__N___V_std___2__N___V_std__.0
mov ecx, 0xa
mov dword [eax + 4], esi
mov dword [eax + 0x10], eax
mov dword [ebp - 4], 0xffffffff
call fcn.00464d30
add esp, 0x18
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00494c10
mov esp, ebp
pop ebp
ret 4
call fcn.00499daf
int3

Function at 0x46c5f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x510620]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov eax, dword [esi + 0x134]
cmp dword [ebp + 8], eax
jne 0x46c67e
cmp dword [ebp + 0xc], 0x300
jne 0x46c67e
cmp dword [esi + 0x158], 0
je 0x46c67e
push 0
push 0
push 0xb8
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x46c67e
push 0x3ff
lea eax, [ebp - 0x804]
push eax
push dword [esi + 0x134]
call dword [sym.imp.USER32.dll_GetWindowTextW]
add eax, eax
cmp eax, 0x800
jae 0x46c694
xor ecx, ecx
mov word [ebp + eax - 0x804], cx
lea eax, [ebp - 0x804]
mov ecx, dword [esi + 0x158]
push eax
call fcn.00478290
mov dword [esi + 0x160], 0xffffffff
mov ecx, dword [ebp - 4]
mov eax, 0x80004001
xor ecx, ebp
pop esi
call fcn.00494c10
mov esp, ebp
pop ebp
ret 8
call fcn.00499daf
int3
Function at 0x46f100
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x46f19a
push 0xa
push 0x81
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x46f19a
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [0x519b2c], eax
test eax, eax
je 0x46f1a4
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, dword [0x519b30]
mov edi, eax
test esi, esi
jne 0x46f175
push 4
call fcn.004952af
mov esi, eax
add esp, 4
test esi, esi
je 0x46f16d
mov dword [esi], 0
mov dword [esi], 0
jmp 0x46f16f
xor esi, esi
mov dword [0x519b30], esi
mov ecx, dword [esi]
test ecx, ecx
je 0x46f186
call fcn.0047d8b0
mov dword [esi], 0
push 3
mov edx, edi
mov ecx, ebx
call fcn.0047d5e0
add esp, 4
mov dword [esi], eax
pop edi
pop esi
pop ebx
ret
mov dword [0x519b2c], 0
pop edi
pop esi
pop ebx
ret
Function at 0x471600
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d8f88
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x510620]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x510620]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
mov eax, dword [edi]
lea ecx, [esp + 0x24]
mov ebx, dword [ebp + 8]
push str.BarColor
push ecx
mov ecx, edi
call dword [eax + 0x34]
mov dword [esp + 0x58], 0
lea ecx, [esp + 0x24]
mov eax, dword [edi]
push ecx
push 0x4e7144
mov ecx, edi
call dword [eax + 0xc]
push ebx
mov ecx, edi
call fcn.004785c0
mov eax, dword [edi]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call dword [eax + 0xac]
mov eax, dword [esp + 0x38]
xorps xmm0, xmm0
sub eax, dword [esp + 0x30]
mov ecx, dword [edi + 0x130]
cdq
xor eax, edx
movq qword [esp + 0x40], xmm0
sub eax, edx
mov dword [esp + 0x20], 0
imul ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, dword [esp + 0x30]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.gdiplus.dll_GdipCreateRegion]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x40], eax
push eax
mov byte [esp + 0x5c], 2
push dword [ebx]
call dword [sym.imp.gdiplus.dll_GdipGetClip]
test eax, eax
je 0x4716ed
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
sub eax, edi
mov ecx, dword [esp + 0x34]
cdq
mov esi, eax
mov eax, dword [esp + 0x3c]
xor esi, edx
sub eax, ecx
sub esi, edx
cdq
push 0
xor eax, edx
sub eax, edx
push eax
push esi
push ecx
push edi
push dword [ebx]
call dword [sym.imp.gdiplus.dll_GdipSetClipRectI]
test eax, eax
je 0x471722
mov dword [ebx + 4], eax
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push str.ProgressColor
push ecx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x34]
test eax, eax
je 0x471740
add eax, 4
jmp 0x471742
xor eax, eax
mov eax, dword [eax]
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], eax
mov eax, dword [esi]
push ecx
push 0x4e7144
mov ecx, esi
call dword [eax + 0xc]
push ebx
mov ecx, esi
call fcn.004785c0
mov esi, dword [esp + 0x20]
push 0
push esi
push dword [ebx]
call dword [sym.imp.gdiplus.dll_GdipSetClipRegion]
test eax, eax
je 0x471777
mov dword [ebx + 4], eax
push esi
call dword [sym.imp.gdiplus.dll_GdipDeleteRegion]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00494c10
mov esp, ebp
pop ebp
ret 4
Function at 0x478a90
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x478ae3
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x478ae3
push edi
push 0x2f
push esi
call fcn.0049aa8e
mov edi, eax
add esp, 8
test edi, edi
je 0x478ad2
xor eax, eax
mov ecx, esi
mov word [edi], ax
call fcn.00478a90
mov eax, 0x2f
mov word [edi], ax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
pop edi
setne al
pop esi
ret
mov al, 1
pop esi
ret

Function at 0x478af0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
push 0x5c
push esi
call fcn.0049a56f
add esp, 8
mov ebx, 0x2f
test eax, eax
je 0x478b22
lea esp, [esp]
push 0x5c
push esi
mov word [eax], bx
call fcn.0049a56f
add esp, 8
test eax, eax
jne 0x478b10
push 0x2f
push esi
call fcn.0049aa8e
mov edi, eax
add esp, 8
test edi, edi
je 0x478b4e
xor eax, eax
push esi
mov word [edi], ax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x478b4b
mov ecx, esi
call fcn.00478a90
mov word [edi], bx
pop edi
pop esi
pop ebx
ret

Function at 0x478b60
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x510620]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
push eax
lea eax, [ebp - 0x408]
mov esi, ecx
push 0x200
push eax
call fcn.00499e8b
add esp, 0xc
lea ecx, [ebp - 0x408]
call fcn.00478af0
mov ecx, dword [esi]
test ecx, ecx
jne 0x478bbc
mov dword [0x519dac], 0x10000
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00494c10
mov esp, ebp
pop ebp
ret 8
cmp dword [ecx], 1
je 0x478bde
mov dword [0x519dac], 0x80000
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00494c10
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ecx + 4]
lea eax, [ebp - 0x408]
push 2
push 0
push eax
push dword [ebp + 8]
call fcn.0047d180
mov dword [0x519dac], eax
test eax, eax
jne 0x478ba9
push 0x80
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.00494c10
mov esp, ebp
pop ebp
ret 8
Function at 0x478e10
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc40
mov eax, dword [0x510620]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov bl, 1
mov byte [ebp - 0xc35], bl
cmp dword [edi], 0
je 0x478fbb
push eax
lea eax, [ebp - 0x80c]
push 0x200
push eax
call fcn.00499e8b
add esp, 0xc
lea ecx, [ebp - 0x80c]
call fcn.00478af0
mov edi, dword [edi]
lea eax, [ebp - 0xc34]
push eax
or edx, 0xffffffff
mov ecx, edi
call fcn.0047d670
add esp, 4
test eax, eax
jne 0x478fbb
mov eax, dword [ebp - 0xc34]
xor esi, esi
mov dword [ebp - 0xc3c], eax
test eax, eax
jle 0x478f59
lea eax, [ebp - 0xc34]
mov edx, esi
push eax
mov ecx, edi
call fcn.0047d670
add esp, 4
test eax, eax
jne 0x478f4c
test byte [ebp - 0x830], 0x10
jne 0x478f4c
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x40c]
push 0x200
push eax
call fcn.00499e8b
add esp, 0xc
lea eax, [ebp - 0x40c]
push 0x4e8698
push 0x200
push eax
call fcn.0049a6c8
add esp, 0xc
lea eax, [ebp - 0xc30]
push eax
lea eax, [ebp - 0x40c]
push 0x200
push eax
call fcn.0049a6c8
add esp, 0xc
lea eax, [ebp - 0x40c]
push 0x2f
push eax
call fcn.0049aa8e
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x478f36
xor eax, eax
lea ecx, [ebp - 0x40c]
mov word [ebx], ax
call fcn.00478a90
mov eax, 0x2f
mov word [ebx], ax
test edi, edi
jne 0x478f6e
mov dword [0x519dac], 0x10000
xor bl, bl
mov byte [ebp - 0xc35], bl
inc esi
cmp esi, dword [ebp - 0xc3c]
jl 0x478e90
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00494c10
mov esp, ebp
pop ebp
ret 4
cmp dword [edi], 1
je 0x478f7f
mov dword [0x519dac], 0x80000
jmp 0x478f44
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x40c]
push 2
push 0
push eax
push esi
call fcn.0047d180
mov dword [0x519dac], eax
test eax, eax
jne 0x478f44
mov eax, dword [ebp - 0x830]
and eax, 0xfffffffe
push eax
lea eax, [ebp - 0x40c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov bl, byte [ebp - 0xc35]
jmp 0x478f4c
mov ecx, dword [ebp - 8]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00494c10
mov esp, ebp
pop ebp
ret 4
Function at 0x47ae70
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x47ae7b
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x47af45
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x4e50d0]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x4e50d0]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x4e50d0]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x4e50d0]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x4e50d0]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x4e50d0]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x4e50d0]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x4e50d0]
dec edi
jne 0x47ae90
pop edi
test esi, esi
je 0x47af6a
lea esp, [esp]
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x4e50d0]
dec esi
jne 0x47af50
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x47b750
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x510620]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, edx
mov esi, ebx
mov eax, ecx
imul esi, dword [ebp + 8]
mov dword [ebp - 8], eax
cmp byte [edi], 0
je 0x47b796
push 0
lea ecx, [ebp - 8]
push ecx
push esi
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x47b791
mov byte [edi + 8], 1
mov eax, dword [ebp - 8]
jmp 0x47b7be
mov edx, dword [edi + 0x18]
mov ecx, dword [edi + 0x14]
lea eax, [edx + esi]
cmp eax, ecx
jbe 0x47b7a7
mov esi, ecx
sub esi, edx
mov ecx, dword [edi + 0x10]
push esi
add ecx, edx
push ecx
push dword [ebp - 8]
call fcn.0049ac30
add esp, 0xc
mov eax, esi
add dword [edi + 0x18], esi
mov ecx, dword [ebp - 4]
xor edx, edx
pop edi
div ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.00494c10
mov esp, ebp
pop ebp
ret
Function at 0x47b7e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x510620]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov dword [ebp - 0xc], ebx
mov edi, 1
cmp byte [esi], 0
je 0x47b825
push 0
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 5]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x47b820
mov byte [esi + 8], 1
mov edi, dword [ebp - 0xc]
jmp 0x47b852
mov ebx, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
lea eax, [ebx + 1]
cmp eax, ecx
jbe 0x47b836
mov edi, ecx
sub edi, ebx
mov eax, dword [esi + 0x10]
add eax, ebx
push edi
push eax
lea eax, [ebp - 5]
push eax
call fcn.0049ac30
lea eax, [ebx + edi]
add esp, 0xc
mov ebx, dword [ebp - 0xc]
mov dword [esi + 0x18], eax
cmp edi, 1
jne 0x47b870
movzx eax, byte [ebp - 5]
mov dword [ebx], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00494c10
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x47b85d
cmp byte [esi + 8], 0
je 0x47b85d
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00494c10
mov esp, ebp
pop ebp
ret
Function at 0x47b9e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x510620]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
mov ecx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [edi], 0
je 0x47ba28
cmp byte [edi + 1], 0
je 0x47ba17
push 2
push 0
push 0
push dword [edi + 4]
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x47ba2e
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00494c10
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x14]
mov dword [edi + 0x18], eax
cmp byte [edi], 0
push ebx
je 0x47ba53
cmp byte [edi + 1], 0
je 0x47ba4c
push 1
push 0
push 0
push dword [edi + 4]
call ecx
mov ebx, eax
sub ebx, dword [edi + 0xc]
jmp 0x47ba56
xor ebx, ebx
mov dword [ebp - 0xc], ebx
jmp 0x47ba65
mov ebx, dword [edi + 0x18]
mov eax, 0xffff
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], eax
cmp ebx, eax
jae 0x47ba68
mov dword [ebp - 0x10], ebx
push esi
push 0x404
call fcn.004962a5
mov esi, eax
add esp, 4
test esi, esi
jne 0x47ba8d
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00494c10
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x10]
mov eax, 4
mov dword [ebp - 0x14], 0
cmp ecx, eax
jbe 0x47bb8d
add eax, 0x400
cmp eax, ecx
mov edx, eax
mov eax, 0x404
cmova edx, ecx
mov ecx, ebx
sub ecx, edx
mov dword [ebp - 0x20], edx
sub ebx, ecx
mov dword [ebp - 0x1c], ecx
cmp ebx, 0x404
cmova ebx, eax
cmp byte [edi], 0
je 0x47baee
cmp byte [edi + 1], 0
je 0x47bb8d
mov eax, dword [edi + 0xc]
push 0
push 0
add eax, ecx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x47baf1
mov dword [edi + 0x18], ecx
cmp byte [edi], 0
mov ecx, ebx
mov dword [ebp - 0x18], ebx
je 0x47bb19
push 0
lea eax, [ebp - 8]
push eax
push ebx
push esi
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x47bb14
mov byte [edi + 8], 1
mov eax, dword [ebp - 8]
jmp 0x47bb42
mov edx, dword [edi + 0x18]
lea eax, [edx + ebx]
cmp eax, dword [edi + 0x14]
jbe 0x47bb2c
mov ecx, dword [edi + 0x14]
sub ecx, edx
mov dword [ebp - 0x18], ecx
push ecx
mov ecx, dword [edi + 0x10]
add ecx, edx
push ecx
push esi
call fcn.0049ac30
mov eax, dword [ebp - 0x18]
add esp, 0xc
add dword [edi + 0x18], eax
xor edx, edx
div ebx
cmp eax, 1
jne 0x47bb8d
lea eax, [ebx - 3]
test eax, eax
jle 0x47bb7c
dec eax
cmp byte [eax + esi], 0x50
jne 0x47bb6e
cmp byte [eax + esi + 1], 0x4b
jne 0x47bb6e
cmp byte [eax + esi + 2], 5
jne 0x47bb6e
cmp byte [eax + esi + 3], 6
je 0x47bb74
test eax, eax
jg 0x47bb52
jmp 0x47bb7c
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
jne 0x47bb8d
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
cmp eax, ecx
jb 0x47baa4
push esi
call fcn.0049626d
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, dword [ebp - 0x14]
xor ecx, ebp
pop esi
pop ebx
pop edi
call fcn.00494c10
mov esp, ebp
pop ebp
ret