joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52f77c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x52f957
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040495c
lea eax, [ebp - 0x24]
mov edx, ebx
call fcn.0040521c
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x24]
call fcn.0040522c
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x52f92c
mov eax, ebx
call fcn.004027f0
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x52f925
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
push ebx
push 0
push edi
call sub.version.dll_GetFileVersionInfoW
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x52f813
call fcn.004043a4
jmp 0x52f92c
lea eax, [ebp - 0x1c]
mov edx, 0x52f96c
call fcn.0040510c
lea eax, [ebp - 0x20]
mov edx, 0x52f984
call fcn.0040510c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x20]
call fcn.0040522c
push eax
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x52f8b3
xor ebx, ebx
mov eax, dword [ebp - 0x28]
cmp word [eax + ebx*4], 0
jne 0x52f860
mov eax, dword [ebp - 0x28]
mov word [eax + ebx*4], 0x409
mov eax, dword [ebp - 0x28]
cmp word [eax + ebx*4 + 2], 0
jne 0x52f875
mov eax, dword [ebp - 0x28]
mov word [eax + ebx*4 + 2], 0x4e4
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x28]
movzx eax, word [eax + ebx*4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0
mov eax, dword [ebp - 0x28]
movzx eax, word [eax + ebx*4 + 2]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
lea edx, [ebp - 0x3c]
mov ecx, 1
mov eax, 0x52f9c0
call fcn.0040abd0
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x1c]
call fcn.0040521c
push 0x52f9d0
push dword [ebp - 0x1c]
push 0x52f9f8
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 4]
call fcn.0040521c
push dword [ebp - 0x40]
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.0040530c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x20]
call fcn.0040522c
push eax
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueW
cmp eax, 1
sbb eax, eax
inc eax
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
test al, al
je 0x52f90f
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.00404b84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52f92c
mov eax, dword [ebp - 8]
call fcn.00402810
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52f95e
lea eax, [ebp - 0x40]
call fcn.004050ac
lea eax, [ebp - 0x2c]
call fcn.0040495c
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.004050c4
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404e38
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x52fa15
test al, 0x10
jne 0x52fa19
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x52fb98
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004050ac
push 0xfe
lea eax, [esp + 4]
push eax
push esi
push 0x800
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x52fbd2
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00405200
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x53e290
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x53e298
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x53e48a
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x53e4a0
mov eax, esi
call fcn.0053be18
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004049b0
lea ecx, [ebp - 0x10]
mov edx, 0x53e4b4
mov eax, esi
call fcn.0053be18
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.004049b0
lea ecx, [ebp - 0x14]
mov edx, 0x53e4cc
mov eax, esi
call fcn.0053be18
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.004049b0
lea ecx, [ebp - 0x18]
mov edx, 0x53e4e8
mov eax, esi
call fcn.0053be18
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.004049b0
lea ecx, [ebp - 0x1c]
mov edx, 0x53e504
mov eax, esi
call fcn.0053be18
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.004049b0
lea ecx, [ebp - 0x24]
mov edx, 0x53e51c
mov eax, esi
call fcn.0053be18
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004093f4
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.0040993c
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x53e534
mov eax, esi
call fcn.0053be18
mov eax, dword [ebp - 0x28]
call fcn.00538e74
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x53e544
mov eax, esi
call fcn.0053be18
mov eax, dword [ebp - 0x2c]
call fcn.00538e74
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x53e55c
mov eax, esi
call fcn.0053be18
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.0040993c
inc eax
je 0x53e42d
lea ecx, [ebp - 0x34]
mov edx, 0x53e55c
mov eax, esi
call fcn.0053be18
mov eax, dword [ebp - 0x34]
call fcn.00409900
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040b4dc
fstp qword [ebp - 0x3c]
wait
call fcn.0040b840
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x53e448
lea ecx, [ebp - 0x40]
mov edx, 0x53e55c
mov eax, esi
call fcn.0053be18
mov eax, dword [ebp - 0x40]
call fcn.00538e74
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x53e56c
mov eax, esi
call fcn.0053be18
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.004049b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53e491
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404980
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404980
ret
Function at 0x54e640
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x54e69a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.0054e630
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.005375e4
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.005371e4
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54e6a1
lea eax, [ebp - 4]
call fcn.0040495c
ret

Function at 0x551f6c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ebx
test dl, dl
je 0x551f89
add esp, 0xfffffff0
call fcn.00403e90
mov edi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x55207c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x5d48e0
call sub.kernel32.dll_InitializeCriticalSection_1
mov esi, edi
mov dword [ebx + 4], esi
push esi
push 0
push 0xf001f
call sub.kernel32.dll_OpenFileMappingA
mov edi, eax
mov dword [ebx + 8], edi
test edi, edi
jne 0x552011
mov eax, dword [ebx + 4]
push eax
push 0x8000
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov esi, eax
mov dword [ebx + 8], esi
test esi, esi
jne 0x552011
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, 0x5520ac
call fcn.0040abd0
mov eax, dword [ebp - 8]
call fcn.00404e38
push eax
call sub.kernel32.dll_OutputDebugStringA
jmp 0x55205e
push 0x8000
push 0
push 0
push 0xf001f
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_MapViewOfFile
mov esi, eax
mov dword [ebx + 0xc], esi
test esi, esi
jne 0x55205e
lea eax, [ebp - 0x14]
push eax
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, 0x5520d4
call fcn.0040abd0
mov eax, dword [ebp - 0x14]
call fcn.00404e38
push eax
call sub.kernel32.dll_OutputDebugStringA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x552083
lea eax, [ebp - 0x14]
call fcn.0040495c
lea eax, [ebp - 8]
call fcn.0040495c
ret
Function at 0x55a100
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x55a112
add esp, 0xfffffff0
call fcn.00403e90
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004246e8
mov eax, 0x400
call fcn.004027f0
mov dword [ebx + 0x21c], eax
mov dword [ebx + 0x34], 0xffffffff
mov dword [ebx + 0x1d0], 0x1388
mov dword [ebx + 0x1d4], 0x20
mov dword [ebx + 0x30], 0xffffffff
mov byte [ebx + 0x1d8], 0
xor eax, eax
mov dword [ebx + 0x208], eax
xor eax, eax
mov dword [ebx + 0x20c], eax
xor eax, eax
mov dword [ebx + 0x210], eax
push ebx
mov eax, dword [ebx]
mov eax, dword [eax + 0x30]
push eax
call fcn.00479e78
mov dword [ebx + 0x38], eax
push 0x55a278
call sub.kernel32.dll_LoadLibraryA
mov esi, eax
mov dword [ebx + 0x30], esi
cmp esi, 0xffffffff
je 0x55a1cf
push 0x55a284
push esi
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebx + 0x208], eax
push 0x55a294
mov eax, dword [ebx + 0x30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebx + 0x20c], eax
push 0x55a2a4
mov eax, dword [ebx + 0x30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebx + 0x210], eax
jmp 0x55a1e5
mov ecx, 0x55a2bc
mov dl, 1
mov eax, dword [0x559c40]
call fcn.0040d66c
call fcn.004042f8
cmp dword [ebx + 0x208], 0
je 0x55a200
cmp dword [ebx + 0x20c], 0
je 0x55a200
cmp dword [ebx + 0x210], 0
jne 0x55a216
mov ecx, 0x55a2dc
mov dl, 1
mov eax, dword [0x559c40]
call fcn.0040d66c
call fcn.004042f8
lea eax, [ebx + 0x3c]
push eax
push 0x101
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x55a23e
mov ecx, 0x55a31c
mov dl, 1
mov eax, dword [0x559c40]
call fcn.0040d66c
call fcn.004042f8
mov eax, 8
call fcn.004027f0
mov dword [ebx + 0x214], eax
call dword [ebx + 0x208]
mov dword [ebx + 0x34], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x55a26e
call fcn.00403ee8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x55e2ec
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov esi, eax
xor eax, eax
push ebp
push 0x55e4c5
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [esi + 0x8c], eax
mov eax, dword [0x5d0294]
cmp byte [eax], 0
jne 0x55e4aa
mov eax, dword [esi + 0x90]
mov edx, dword [eax]
call dword [edx + 0x44]
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x55e4d8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
sete bl
test bl, bl
je 0x55e37c
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push 0x55e508
push 0x80000006
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
sete bl
test bl, bl
je 0x55e467
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
cmp dword [ebp - 0x14], 0
je 0x55e467
lea eax, [ebp - 0x10]
mov ecx, 0x21
xor edx, edx
call fcn.00404a4c
mov edi, dword [ebp - 0x14]
sub edi, 1
jno 0x55e3d7
call fcn.00403a6c
test edi, edi
jl 0x55e467
inc edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 0x21
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404e38
push eax
mov eax, dword [ebp - 0x1c]
test eax, eax
jns 0x55e40f
call fcn.00403a64
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
push dword [ebp - 0x10]
push 0x55e524
push dword [esi + 0x78]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404cf8
lea eax, [ebp - 0x24]
push eax
push 0
lea eax, [ebp - 0x20]
push eax
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404e38
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x55e461
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0x90]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 0x1c]
dec edi
jne 0x55e3e7
cmp dword [ebp - 4], 0
je 0x55e476
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
cmp dword [ebp - 8], 0
je 0x55e485
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, dword [esi + 0x90]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edi, eax
mov dword [esi + 0x8c], edi
test edi, edi
je 0x55e4aa
mov eax, dword [esi + 0x90]
mov edx, dword [eax]
call dword [edx + 0x90]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55e4cc
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404980
ret
Function at 0x55e55c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404e28
xor eax, eax
push ebp
push 0x55e673
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea ecx, [ebp - 0xc]
mov edx, ebx
sub edx, 1
jno 0x55e596
call fcn.00403a6c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x90]
mov ebx, dword [eax]
call dword [ebx + 0xc]
push dword [ebp - 0xc]
push 0x55e68c
push dword [ebp - 4]
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404cf8
mov eax, dword [ebp + 8]
add eax, 0xfffffff8
push eax
push 0
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00404e38
mov ebx, eax
push ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x55e655
xor eax, eax
push ebp
push 0x55e64e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.004027f0
mov edx, dword [ebp + 8]
mov dword [edx - 0x14], eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff8
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
push eax
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
push eax
push 0
push ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
sete byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55e655
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
call fcn.00402810
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55e67a
lea eax, [ebp - 0xc]
call fcn.0040495c
lea eax, [ebp - 4]
call fcn.0040495c
ret

Function at 0x55eb10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404e28
xor eax, eax
push ebp
push 0x55ebc2
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 8]
mov edx, ebx
sub edx, 1
jno 0x55eb49
call fcn.00403a6c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x90]
mov ebx, dword [eax]
call dword [ebx + 0xc]
push dword [ebp - 8]
push 0x55ebdc
push dword [ebp - 4]
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404cf8
mov eax, dword [ebp + 8]
mov dword [eax - 8], 4
mov eax, dword [ebp + 8]
add eax, 0xfffffff8
push eax
push esi
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00404e38
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55ebc9
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404980
ret
Function at 0x56a790
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x5d4b40
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x56a7b2
shr eax, 1
xor eax, 0xedb88320
jmp 0x56a7b4
shr eax, 1
dec edx
jne 0x56a7a0
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x56a799
mov byte [0x5d4f40], 1
pop esi
pop ebx
ret

Function at 0x56a7d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x5d4f40], 0
jne 0x56a7e7
call fcn.0056a790
mov eax, edi
dec eax
test eax, eax
jl 0x56a810
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5d4b40]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x56a7f1
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x56d068
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x56d099
dec al
je 0x56d0d5
dec al
je 0x56d119
dec al
je 0x56d184
jmp 0x56d20e
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x56d20e
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x56d0a9
jmp 0x56d20e
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x56d20e
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x56d0e5
jmp 0x56d20e
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x56d20e
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x56d147
xor ebp, ebp
jmp 0x56d158
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x56d161
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x56d129
jmp 0x56d20e
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x56d20e
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x56d1dc
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.0056a818
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x56d198
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404e38
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x571a35
test al, 0x10
jne 0x571a39
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x575f38
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x575fa1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x5ce778]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x575f8b
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.00575f28
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5734c0]
call fcn.00576df0
mov dword [0x5ce7e0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x575fa8
lea eax, [ebp - 8]
call fcn.00406624
ret

Function at 0x576040
Capabilities:
Get file system object information

Disassembly:
push esi
add esp, 0xfffffea0
mov esi, 0x4008
test cl, cl
je 0x576053
or esi, 2
test dl, dl
je 0x57605c
or esi, 0
jmp 0x57605f
or esi, 1
push esi
push 0x160
lea edx, [esp + 8]
push edx
push 0
push eax
call sub.shell32.dll_SHGetFileInfo
mov eax, dword [esp + 4]
add esp, 0x160
pop esi
ret
Function at 0x576c7c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00404e28
xor eax, eax
push ebp
push 0x576dd4
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 1
mov edx, dword [ebx]
mov eax, dword [0x57329c]
call fcn.00416f0c
test eax, eax
jl 0x576ce3
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx]
call fcn.00576024
and eax, 0x7f
mov eax, dword [eax*4 + 0x5ce778]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
mov esi, eax
jmp 0x576d46
mov eax, dword [ebx]
call fcn.00404c38
test eax, eax
jle 0x576d46
mov eax, dword [ebx]
call fcn.00404c38
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x3a
jne 0x576d0a
mov eax, ebx
mov edx, 0x576dec
call fcn.00404c40
mov eax, dword [ebx]
call fcn.00404c38
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
call fcn.00405af0
mov esi, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push 0
push 0
lea eax, [ebp - 0x18]
call fcn.00575f28
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov esi, eax
test esi, esi
je 0x576d91
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x1c]
mov eax, 0x575c4c
call fcn.00406b04
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebx]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x24]
xor ecx, ecx
pop eax
call fcn.0040abd0
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004049b0
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x40849c]
call fcn.0040d66c
call fcn.004042f8
mov eax, dword [ebp - 8]
call fcn.00576bf4
mov ebx, eax
test edi, edi
je 0x576da6
mov eax, edi
call fcn.00403b2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x576ddb
lea eax, [ebp - 0x1c]
call fcn.0040495c
lea eax, [ebp - 0x18]
call fcn.00406624
lea eax, [ebp - 0x14]
call fcn.0040495c
lea eax, [ebp - 4]
call fcn.0040495c
ret