joyce8/EMBER2024-capa huggingface dataset:
Function at 0x524630
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
push 1
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
push eax
call sub.IMAGEHLP.DLL_ImageDirectoryEntryToData
mov ebx, eax
test ebx, ebx
je 0x5246ce
jmp 0x524671
mov esi, dword [ebp + 8]
add esi, edi
mov eax, dword [ebp - 4]
push eax
push esi
call sub.kernel32.dll_lstrcmpiA
test eax, eax
je 0x524678
add ebx, 0x14
mov edi, dword [ebx + 0xc]
test edi, edi
jne 0x52465b
cmp dword [ebx + 0xc], 0
je 0x5246ce
mov eax, dword [ebp + 8]
add eax, dword [ebx + 0x10]
mov ebx, eax
jmp 0x5246c9
mov esi, ebx
mov eax, dword [esi]
cmp eax, dword [ebp - 8]
sete al
neg al
sbb edi, edi
test edi, edi
je 0x5246c6
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push esi
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_VirtualProtectEx
lea eax, [ebp - 0x14]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push esi
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_WriteProcessMemory
jmp 0x5246ce
add ebx, 4
cmp dword [ebx], 0
jne 0x524688
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x5345d8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00431190
cmp ebx, dword [ebp - 8]
jge 0x53463b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004315b8
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004315b8
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004315e4
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x534601
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x534644
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00431190
cmp ebx, dword [ebp - 8]
jge 0x5346a7
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004315b8
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004315b8
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004315e4
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x53466d
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x536b2c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
mov byte [ebp - 1], 0
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x536be3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00405378
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jne 0x536b6e
call fcn.004048e4
jmp 0x536bea
mov eax, ebx
call fcn.00402f9c
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push ebx
push 0
mov eax, esi
call fcn.00405378
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
jne 0x536b97
call fcn.004048e4
jmp 0x536bea
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x536bf8
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
jne 0x536bb8
call fcn.004048e4
jmp 0x536bea
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov dword [edi], eax
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x536bea
mov eax, dword [ebp - 8]
call fcn.00402fb8
ret
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x536e44
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x536eac
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x164]
xor ecx, ecx
mov edx, 0x160
call fcn.00403814
test ebx, ebx
jne 0x536e81
mov word [ebp - 2], 0
lea ebx, [ebp - 2]
or esi, 0x4008
push esi
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
push ebx
call sub.shell32.dll_SHGetFileInfoA
mov ebx, dword [ebp - 0x160]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x536eb8
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x537198
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
push 0x537344
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x53733c
xor eax, eax
push ebp
push 0x537335
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 6], 0
push 0x4001
push 0x160
lea eax, [ebp - 0x168]
push eax
push 0
push 0x537350
call sub.shell32.dll_SHGetFileInfoA
mov esi, eax
test esi, esi
jne 0x537210
push 0x4009
push 0x160
lea eax, [ebp - 0x168]
push eax
push 0
lea eax, [ebp - 6]
push eax
call sub.shell32.dll_SHGetFileInfoA
mov esi, eax
push 0x4000
push 0x160
lea eax, [ebp - 0x168]
push eax
push 0
push 0x537350
call sub.shell32.dll_SHGetFileInfoA
mov edi, eax
test edi, edi
jne 0x537251
push 0x4008
push 0x160
lea eax, [ebp - 0x168]
push eax
push 0
lea eax, [ebp - 6]
push eax
call sub.shell32.dll_SHGetFileInfoA
mov edi, eax
push 0x8000
push 0x10
push 0x10
push 1
push 0x1d
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_LoadImageA
mov ebx, eax
push 1
mov edx, ebx
mov eax, esi
call fcn.0042b518
push eax
push esi
call sub.comctl32.dll_ImageList_SetOverlayImage
push ebx
call sub.user32.dll_DestroyIcon
push 0x8000
push 0x20
push 0x20
push 1
push 0x1d
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_LoadImageA
mov ebx, eax
push 1
mov edx, ebx
mov eax, edi
call fcn.0042b518
push eax
push edi
call sub.comctl32.dll_ImageList_SetOverlayImage
push ebx
call sub.user32.dll_DestroyIcon
push 0x8000
push 0x10
push 0x10
push 1
push 0x1e
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_LoadImageA
mov ebx, eax
push 2
mov edx, ebx
mov eax, esi
call fcn.0042b518
push eax
push esi
call sub.comctl32.dll_ImageList_SetOverlayImage
push ebx
call sub.user32.dll_DestroyIcon
push 0x8000
push 0x20
push 0x20
push 1
push 0x1e
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_LoadImageA
mov ebx, eax
push 2
mov edx, ebx
mov eax, edi
call fcn.0042b518
push eax
push edi
call sub.comctl32.dll_ImageList_SetOverlayImage
push ebx
call sub.user32.dll_DestroyIcon
mov byte [0x5b3298], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53733c
cmp dword [ebp - 4], 0
je 0x537334
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x537354
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffe9c
mov ebx, eax
call fcn.00536b20
test al, al
je 0x537381
cmp dword [0x5bcbbc], 0x40047
jl 0x537381
cmp byte [0x5b3298], 0
jne 0x537381
call fcn.00537198
mov esi, ebx
and esi, 0x7f
mov eax, dword [esi*4 + 0x5b329c]
or eax, 0x4000
push eax
push 0x160
lea eax, [esp + 0xc]
push eax
push 0
push 0x5373e4
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
jne 0x5373d9
mov word [esp], 0
mov eax, dword [esi*4 + 0x5b329c]
or eax, 0x4000
or eax, 8
push eax
push 0x160
lea eax, [esp + 0xc]
push eax
push 0
lea eax, [esp + 0x10]
push eax
call sub.shell32.dll_SHGetFileInfoA
add esp, 0x164
pop esi
pop ebx
ret
Function at 0x53f808
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x53f810
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x53f95d
push dword fs:[eax]
mov dword fs:[eax], esp
test dl, dl
je 0x53f866
lea edx, [ebp - 4]
mov eax, dword [0x5b49dc]
call fcn.00407524
cmp ebx, 1
jbe 0x53f89d
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, 0x53f974
call fcn.0040b4d8
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.004051b4
jmp 0x53f89d
lea eax, [ebp - 4]
mov edx, 0x53f984
call fcn.00404f80
cmp ebx, 1
jbe 0x53f89d
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, 0x53f994
call fcn.0040b4d8
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 4]
call fcn.004051b4
push 0
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 4]
call fcn.00405200
mov eax, dword [ebp - 0x18]
call fcn.00405378
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x53f925
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0xb7
jne 0x53f8d5
mov bl, 1
jmp 0x53f935
push 0
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x20]
mov eax, ebx
call fcn.0040e1dc
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x24]
mov eax, dword [0x5b5050]
call fcn.00407524
mov eax, dword [ebp - 0x24]
mov ecx, 1
pop edx
call fcn.00538180
mov eax, dword [ebp - 0x1c]
movzx ecx, word [0x53f998]
xor edx, edx
call fcn.0047c07c
mov bl, 2
jmp 0x53f935
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp - 4]
call fcn.00404f3c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53f964
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.00404f0c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404f0c
ret

Function at 0x53ffd8
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffea0
mov ebx, ecx
mov esi, eax
test edx, 0x40000000
jne 0x53fffa
mov edx, ebx
mov eax, dword [0x5b504c]
call fcn.00407524
jmp 0x540031
push 0x408
push 0x160
lea eax, [esp + 8]
push eax
push 0
push esi
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x54002a
mov eax, ebx
lea edx, [esp + 0x110]
mov ecx, 0x50
call fcn.00405158
jmp 0x540031
mov eax, ebx
call fcn.00404ee8
add esp, 0x160
pop esi
pop ebx
ret
Function at 0x5409b4
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x164], ebx
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x158], ebx
mov ebx, ecx
test ebx, ebx
js 0x5409e7
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x5409e0
mov edx, esp
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
call fcn.00405368
mov ecx, dword [ebp - 0xc]
inc ecx
mov eax, dword [ebp - 4]
mov edx, dword [0x401128]
call fcn.00405dac
xor eax, eax
push ebp
push 0x540b75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
test eax, eax
jl 0x540b3d
inc eax
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x154]
push eax
push dword [ebp - 8]
push 0x540b9c
push dword [esi]
lea eax, [ebp - 0x158]
mov edx, 3
call fcn.0040527c
mov eax, dword [ebp - 0x158]
call fcn.00405378
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x540b31
mov eax, dword [ebp - 0x154]
test al, 0x10
jne 0x540b16
test al, 2
jne 0x540b16
xor eax, eax
mov dword [ebp - 0x10], eax
push dword [ebp - 8]
push 0x540b9c
lea eax, [ebp - 0x160]
lea edx, [ebp - 0x128]
mov ecx, 0x104
call fcn.00405158
push dword [ebp - 0x160]
lea eax, [ebp - 0x15c]
mov edx, 3
call fcn.0040527c
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 0x10]
call fcn.00536ca8
call fcn.004110ac
test al, al
je 0x540ad4
or edi, 0xffffffff
jmp 0x540ae3
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00536e44
mov edi, eax
mov eax, dword [ebp - 0x10]
call fcn.00536c0c
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x128]
mov ecx, 0x104
call fcn.00405158
mov edx, dword [ebp - 0x164]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax]
mov ecx, edi
mov edi, dword [eax]
call dword [edi + 0x3c]
lea eax, [ebp - 0x154]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x540a69
push ebx
call sub.kernel32.dll_FindClose_1
add esi, 4
dec dword [ebp - 0x14]
jne 0x540a2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x540b7c
lea eax, [ebp - 0x164]
mov edx, 4
call fcn.00404f0c
lea eax, [ebp - 8]
call fcn.00404ee8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
inc ecx
mov edx, dword [0x401128]
call fcn.00405c6c
ret
Function at 0x541cdc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x541da9
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x541d8c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x700f0037
mov eax, dword [0x5b5280]
cmp dword [eax + 4], 0x60000
jl 0x541d2c
or dword [ebp - 8], 0x400000
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00541e3c
mov eax, dword [ebp - 4]
call fcn.0053fb8c
test al, al
je 0x541d5c
mov eax, dword [ebp - 4]
call fcn.00405378
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
jne 0x541d5c
and dword [ebp - 8], 0xfffbffff
lea eax, [ebp - 8]
push eax
lea eax, [ebx + 0xc]
push eax
push 1
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x468]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x541d93
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x5458a4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.00405378
push eax
call sub.kernel32.dll_GetDriveTypeA
sub eax, 3
je 0x5458e6
dec eax
je 0x5458c7
sub eax, 2
je 0x5458e6
jmp 0x5458f7
movzx eax, byte [ebx]
call fcn.00538624
test al, al
je 0x5458f7
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, ebx
mov si, 0xff9e
call fcn.00404180
jmp 0x5458f7
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, ebx
mov si, 0xff9e
call fcn.00404180
pop esi
pop ebx
pop ebp
ret

Function at 0x5458fc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5459ab
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x430], 0
jne 0x54594a
push 0x465
mov eax, dword [ebp - 4]
call fcn.00464ef4
mov ecx, eax
mov dl, 1
mov eax, dword [0x541fd8]
call fcn.00542044
mov edx, dword [ebp - 4]
mov dword [edx + 0x430], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x430]
call fcn.00542524
lea eax, [ebp - 8]
mov edx, 0x5459c0
call fcn.00404f80
call sub.kernel32.dll_GetLogicalDrives
mov ebx, eax
xor esi, esi
test ebx, ebx
je 0x545995
test bl, 1
je 0x54598e
lea eax, [ebp - 8]
call fcn.004053d8
lea edx, [esi + 0x41]
mov byte [eax], dl
push ebp
mov eax, dword [ebp - 8]
call fcn.005458a4
pop ecx
shr ebx, 1
inc esi
test ebx, ebx
jne 0x545972
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5459b2
lea eax, [ebp - 8]
call fcn.00404ee8
ret
Function at 0x546548
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeac
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x154], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00405368
xor eax, eax
push ebp
push 0x546666
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x546639
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
or eax, 1
push eax
call sub.kernel32.dll_SetErrorMode
lea eax, [ebp - 0x14c]
push eax
mov eax, dword [ebp - 4]
call fcn.00405378
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x546616
test byte [ebp - 0x14c], 0x10
jne 0x5465f9
lea eax, [ebp - 0x154]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.00405158
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x150]
call fcn.00409a98
mov edx, dword [ebp - 0x150]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x14c]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x5465bc
push ebx
call sub.kernel32.dll_FindClose_1
mov byte [ebp - 5], 1
jmp 0x546622
call sub.kernel32.dll_GetLastError
cmp eax, 2
sete byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x546640
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x54b240
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, eax
movzx eax, byte [ebx + 4]
sub al, 1
jb 0x54b24f
je 0x54b254
jmp 0x54b278
mov eax, dword [ebx + 8]
pop ebx
ret
cmp dword [ebx + 8], 0
jne 0x54b273
lea eax, [ebx + 8]
push eax
movzx eax, byte [ebx + 0xc]
push eax
mov eax, dword [0x5b4f30]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
mov eax, dword [ebx + 8]
pop ebx
ret
xor eax, eax
pop ebx
ret
Function at 0x55bb7c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x18]
xor eax, eax
mov dword [ebp - 0xc], eax
test ebx, ebx
je 0x55bbaf
movzx eax, byte [ebx]
mov edx, dword [0x5b36c4]
cmp al, byte [edx]
jne 0x55bbaf
cmp dword [ebp + 8], 0x38
je 0x55bbb9
mov eax, 0xfffffffa
jmp 0x55bd7f
lea eax, [esi + 0x18]
call fcn.00404ee8
cmp dword [esi + 0x20], 0
jne 0x55bbd3
mov dword [esi + 0x20], 0x55ba8c
xor eax, eax
mov dword [esi + 0x28], eax
cmp dword [esi + 0x24], 0
jne 0x55bbe0
mov dword [esi + 0x24], 0x55ba84
cmp dword [ebp - 4], 0xffffffff
jne 0x55bbed
mov dword [ebp - 4], 6
test edi, edi
jge 0x55bbfa
mov dword [ebp - 0xc], 1
neg edi
cmp dword [ebp + 0x14], 1
jl 0x55bc2e
cmp dword [ebp + 0x14], 9
jg 0x55bc2e
cmp dword [ebp - 8], 8
jne 0x55bc2e
cmp edi, 8
jl 0x55bc2e
cmp edi, 0xf
jg 0x55bc2e
cmp dword [ebp - 4], 0
jl 0x55bc2e
cmp dword [ebp - 4], 9
jg 0x55bc2e
cmp dword [ebp + 0x10], 0
jl 0x55bc2e
cmp dword [ebp + 0x10], 2
jle 0x55bc38
mov eax, 0xfffffffe
jmp 0x55bd7f
mov eax, esi
mov ecx, 0x16bc
mov edx, 1
call fcn.0055ba98
mov ebx, eax
test ebx, ebx
jne 0x55bc59
mov eax, 0xfffffffc
jmp 0x55bd7f
mov dword [esi + 0x1c], ebx
mov dword [ebx], esi
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x18], eax
mov eax, edi
mov dword [ebx + 0x28], eax
mov ecx, eax
mov edx, 1
shl edx, cl
mov dword [ebx + 0x24], edx
dec edx
mov dword [ebx + 0x2c], edx
mov eax, dword [ebp + 0x14]
add eax, 7
mov dword [ebx + 0x48], eax
mov ecx, eax
mov edx, 1
shl edx, cl
mov dword [ebx + 0x44], edx
dec edx
mov dword [ebx + 0x4c], edx
mov eax, dword [ebx + 0x48]
add eax, 3
dec eax
mov ecx, 3
xor edx, edx
div ecx
mov dword [ebx + 0x50], eax
mov eax, esi
mov ecx, 2
mov edx, dword [ebx + 0x24]
call fcn.0055ba98
mov dword [ebx + 0x30], eax
mov eax, esi
mov ecx, 2
mov edx, dword [ebx + 0x24]
call fcn.0055ba98
mov dword [ebx + 0x38], eax
mov eax, esi
mov ecx, 2
mov edx, dword [ebx + 0x44]
call fcn.0055ba98
mov dword [ebx + 0x3c], eax
mov ecx, dword [ebp + 0x14]
add ecx, 6
mov edi, 1
shl edi, cl
mov dword [ebx + 0x1690], edi
mov eax, esi
mov ecx, 4
mov edx, edi
call fcn.0055ba98
mov dword [ebx + 8], eax
mov edx, dword [ebx + 0x1690]
add edx, edx
add edx, edx
mov dword [ebx + 0xc], edx
cmp dword [ebx + 0x30], 0
je 0x55bd24
cmp dword [ebx + 0x38], 0
je 0x55bd24
cmp dword [ebx + 0x3c], 0
je 0x55bd24
cmp dword [ebx + 8], 0
jne 0x55bd3f
lea eax, [esi + 0x18]
mov edx, 0x5b374c
call fcn.0040514c
mov eax, esi
call fcn.0055c12c
mov eax, 0xfffffffc
jmp 0x55bd7f
mov edx, dword [ebx + 0x1690]
shr edx, 1
lea eax, [eax + edx*2]
mov dword [ebx + 0x1698], eax
mov eax, dword [ebx + 0x1690]
lea eax, [eax + eax*2]
mov edx, dword [ebx + 8]
lea eax, [edx + eax]
mov dword [ebx + 0x168c], eax
mov eax, dword [ebp - 4]
mov dword [ebx + 0x78], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x7c], eax
movzx eax, byte [ebp - 8]
mov byte [ebx + 0x1d], al
mov eax, esi
call fcn.0055bdb0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x55c430
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, eax
mov edi, dword [ebx + 0x24]
mov esi, dword [ebx + 0x34]
sub esi, dword [ebx + 0x6c]
sub esi, dword [ebx + 0x64]
test esi, esi
jne 0x55c459
cmp dword [ebx + 0x64], 0
jne 0x55c459
cmp dword [ebx + 0x6c], 0
jne 0x55c459
mov esi, edi
jmp 0x55c4e5
cmp esi, 0xffffffff
jne 0x55c464
dec esi
jmp 0x55c4e5
mov eax, dword [ebx + 0x64]
lea edx, [edi + edi]
sub edx, 0x106
cmp eax, edx
jb 0x55c4e5
mov eax, dword [ebx + 0x30]
lea edx, [eax + edi]
mov ecx, edi
call fcn.0055ba74
sub dword [ebx + 0x68], edi
sub dword [ebx + 0x64], edi
sub dword [ebx + 0x54], edi
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x3c]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x55c4ad
movzx ecx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x55c4b2
mov word [edx], 0
dec eax
test eax, eax
jne 0x55c493
mov eax, edi
mov edx, dword [ebx + 0x38]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x55c4d9
movzx ecx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x55c4de
mov word [edx], 0
dec eax
test eax, eax
jne 0x55c4bf
add esi, edi
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0x55c543
mov edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x30]
lea edx, [ecx + edx]
mov ecx, esi
call fcn.0055c1a8
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x55c52e
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x30]
movzx eax, byte [edx + eax]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
movzx edx, byte [ecx + edx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x55c543
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x55c439
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x560f24
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x5bde54
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x560f46
shr eax, 1
xor eax, 0xedb88320
jmp 0x560f48
shr eax, 1
dec edx
jne 0x560f34
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x560f2d
mov byte [0x5be254], 1
pop esi
pop ebx
ret

Function at 0x560f64
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x5be254], 0
jne 0x560f7b
call fcn.00560f24
mov eax, edi
dec eax
test eax, eax
jl 0x560fa3
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5bde54]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x560f85
mov eax, ebx
pop edi
pop esi
pop ebx
ret