joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4af41c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4af433
add esp, 0xfffffff0
call fcn.00405970
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00441fa0
mov eax, dword [0x57ed48]
cmp byte [eax], 0
jne 0x4af460
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x57f2a4]
cmp word [eax + 2], 0
jne 0x4af47a
mov eax, dword [0x57f2a4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004b1514
mov eax, dword [0x57f478]
cmp word [eax + 2], 0
jne 0x4af494
mov eax, dword [0x57f478]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004b1724
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x44c8d4]
call fcn.00452ba8
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4b1cd4
mov dl, 1
mov eax, dword [0x42a8a8]
call fcn.0040540c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x42a8a8]
call fcn.0040540c
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x450d6c]
call fcn.0045c018
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4af674
mov eax, dword [0x57f094]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0045c4ac
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4b1fbc
mov dl, 1
mov eax, dword [0x42a8a8]
call fcn.0040540c
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x57f094]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00414d90
test eax, eax
je 0x4af5a5
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00414b20
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00414d74
test eax, eax
je 0x4af5bd
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.004073ac
push ebx
push 0x4b0ee4
call fcn.004a512c
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x57ed48]
cmp byte [eax], 0
jne 0x4af60e
mov eax, ebx
call fcn.004af7e8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004b21e8
mov eax, ebx
call fcn.004b2e1c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4af66b
call fcn.004059c8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4afabc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4afb5e
cmp dword [ebx + 0x94], 0
jne 0x4afb58
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4afa08
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4afb58
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x4afb1e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4afb58
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00435ca4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4afb2d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4afd7c
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x585288]
cmp dword [eax + 0x170], 0
je 0x4afee1
test bl, bl
jne 0x4afe2f
cmp dword [esi + 0x9c], 0
jne 0x4afe24
mov eax, esi
call fcn.004b2c6c
push eax
push 0x4afc88
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4afdf5
mov eax, dword [0x585288]
cmp byte [eax + 0xd3], 0
je 0x4afdf5
mov eax, dword [esi + 0xd8]
call fcn.00408a64
mov edi, eax
cmp edi, 0
jl 0x4afdf5
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4afdde
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4afe24
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00435ca4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4afe04
inc dword [esi + 0x9c]
jmp 0x4afee1
cmp dword [esi + 0x9c], 0
jle 0x4afee1
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4afee1
cmp dword [esi + 0x44], 0
je 0x4afe8c
mov eax, dword [0x585288]
cmp byte [eax + 0xd3], 0
je 0x4afe8c
mov eax, dword [esi + 0xd8]
call fcn.00408a64
mov edi, eax
cmp edi, 0
jl 0x4afe8c
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4afe75
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4afebb
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00435ca4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4afe9b
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4a3004]
call fcn.00408c24
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4b0b30
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4b0b9b
cmp byte [ebx + 0xd3], 0
jne 0x4b0b9b
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004072d8
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4b0b88
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4b0ba8
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040719c
jmp 0x4b0ba8
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040719c
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4b23d0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4b243e
mov eax, esi
call fcn.0048aad8
test al, al
je 0x4b243e
mov eax, dword [ebx + 0x84]
call fcn.0048a758
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4b243e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4b2432
push 0
mov eax, dword [ebx + 0x84]
call fcn.0048a758
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0048172c
jmp 0x4b243e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004b2208
pop esi
pop ebx
ret
Function at 0x526464
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00407184
xor eax, eax
push ebp
push 0x5264e4
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 4]
test eax, eax
je 0x5264a1
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x5264a1
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.004068e8
test eax, eax
je 0x5264aa
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x5264ce
mov edx, 1
mov ecx, ebx
add ecx, ecx
add ecx, ecx
shr ebx, 0x1e
or ecx, ebx
mov ebx, dword [ebp - 4]
movzx ebx, word [ebx + edx*2 - 2]
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x5264b3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5264eb
lea eax, [ebp - 4]
call fcn.0040718c
ret

Function at 0x52710c
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.00404b6c
ret

Function at 0x527244
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
mov dword [ebp - 8], edx
mov ebx, eax
lea eax, [ebp - 0x6c]
call fcn.0052710c
push 0
push 0x8000080
push 3
push 0
push 3
push 0x80000000
mov eax, ebx
call fcn.00407228
push eax
call sub.kernel32.dll_CreateFileW_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x52735a
xor eax, eax
push ebp
push 0x527353
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CreateFileMappingW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x52733c
xor eax, eax
push ebp
push 0x527335
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x52731e
xor eax, eax
push ebp
push 0x527317
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetFileSize_1
mov ecx, eax
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0x14]
call fcn.00527144
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52731e
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_UnmapViewOfFile
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52733c
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52735a
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x6c]
call fcn.005271cc
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x52a460
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x52a4ed
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004140b0
test al, al
je 0x52a49c
lea eax, [ebp - 4]
mov edx, esi
call fcn.004071f0
jmp 0x52a4a4
lea eax, [ebp - 4]
call fcn.0052a430
lea eax, [ebp - 0x20c]
push eax
xor bl, 1
movzx eax, bl
push eax
push 0x52a4fc
mov eax, dword [ebp - 4]
call fcn.00407228
push eax
call sub.kernel32.dll_GetTempFileNameW
mov eax, edi
lea edx, [ebp - 0x20c]
mov ecx, 0x104
call fcn.004073ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52a4f4
lea eax, [ebp - 4]
call fcn.0040718c
ret

Function at 0x52a57c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x52a638
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.004148a0
mov edx, dword [ebp - 4]
mov eax, 0x52a654
call fcn.0040dc34
test al, al
je 0x52a5c5
lea eax, [ebp - 4]
mov ecx, 8
mov edx, 1
call fcn.004079bc
jmp 0x52a5e8
mov edx, dword [ebp - 4]
mov eax, 0x52a674
call fcn.0040dc34
test al, al
je 0x52a5e8
lea eax, [ebp - 4]
mov ecx, 4
mov edx, 1
call fcn.004079bc
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004145d4
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.0041abf8
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.004071f0
mov eax, dword [ebp - 4]
call fcn.00407228
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 2
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52a63f
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407194
ret

Function at 0x52b714
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
mov esi, edx
mov edx, dword [eax]
dec ecx
test ecx, ecx
jl 0x52b73f
inc ecx
mov ebx, edx
xor bl, byte [esi]
movzx ebx, bl
mov ebx, dword [ebx*4 + 0x578118]
shr edx, 8
and edx, 0xffffff
xor ebx, edx
mov edx, ebx
inc esi
dec ecx
jne 0x52b720
mov dword [eax], edx
pop esi
pop ebx
ret

Function at 0x52cf20
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, edx
mov edx, dword [eax]
dec ecx
test ecx, ecx
jl 0x52cf48
inc ecx
mov ebx, edx
xor bl, byte [esi]
movzx ebx, bl
mov edi, dword [0x57ed30]
mov ebx, dword [edi + ebx*4]
shr edx, 8
xor ebx, edx
mov edx, ebx
inc esi
dec ecx
jne 0x52cf2d
mov dword [eax], edx
pop edi
pop esi
pop ebx
ret

Function at 0x53182c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x531872
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x30]
call fcn.0053046c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x531879
lea eax, [ebp - 4]
call fcn.0040718c
ret
Function at 0x53b478
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov esi, ecx
mov ebx, edx
mov dword [esp], eax
lea edi, [esp + 4]
mov eax, dword [esp]
cmp byte [eax + 4], 0
jne 0x53b4a7
mov ecx, 0xc8
mov edx, 0x53b548
mov eax, 0x53b5d4
call fcn.00406628
mov eax, dword [esp]
mov eax, dword [eax + 8]
mov dword [edi], eax
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov dword [edi + 4], eax
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
mov dword [edi + 8], eax
dec esi
test esi, esi
jl 0x53b51a
inc esi
mov eax, dword [edi + 8]
and eax, 0xffff
or eax, 2
movzx edx, byte [ebx]
mov ecx, eax
xor ecx, 1
imul ecx, eax
shr ecx, 8
xor dl, cl
mov byte [ebx], dl
mov edx, dword [edi]
movzx eax, byte [ebx]
call fcn.0052b744
mov ebp, eax
mov dword [edi], ebp
and ebp, 0xff
add dword [edi + 4], ebp
imul ebp, dword [edi + 4], 0x8088405
inc ebp
mov dword [edi + 4], ebp
mov eax, ebp
shr eax, 0x18
mov edx, dword [edi + 8]
call fcn.0052b744
mov dword [edi + 8], eax
inc ebx
dec esi
jne 0x53b4c7
mov eax, dword [esp]
mov edx, dword [edi]
mov dword [eax + 8], edx
mov eax, dword [esp]
mov edx, dword [edi + 4]
mov dword [eax + 0xc], edx
mov eax, dword [esp]
mov edx, dword [edi + 8]
mov dword [eax + 0x10], edx
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x53b660
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov ebx, eax
test esi, esi
jne 0x53b688
mov ecx, 0xf8
mov edx, 0x53b718
mov eax, 0x53b7a4
call fcn.00406628
mov edx, esi
mov eax, ebx
call fcn.0053b80c
mov dword [ebp - 0xc], 0xc
mov edi, dword [ebp - 8]
lea esi, [ebp - 0x18]
mov eax, dword [ebx + 0x10]
and eax, 0xffff
or eax, 2
mov edx, eax
xor edx, 1
imul edx, eax
shr edx, 8
xor dl, byte [edi]
mov byte [esi], dl
mov edx, dword [ebx + 8]
movzx eax, byte [esi]
call fcn.0052b744
mov dword [ebx + 8], eax
mov eax, dword [ebx + 8]
and eax, 0xff
add dword [ebx + 0xc], eax
imul eax, dword [ebx + 0xc], 0x8088405
inc eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0xc]
shr eax, 0x18
mov edx, dword [ebx + 0x10]
call fcn.0052b744
mov dword [ebx + 0x10], eax
inc esi
inc edi
dec dword [ebp - 0xc]
jne 0x53b69e
movzx eax, byte [ebp + 0xb]
cmp al, byte [ebp - 0xd]
sete al
mov byte [ebx + 4], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x53b80c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00406b8c
xor eax, eax
push ebp
push 0x53b8b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebx + 8], 0x12345678
mov dword [ebx + 0xc], 0x23456789
mov dword [ebx + 0x10], 0x34567890
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406928
call fcn.00406a90
mov esi, eax
test esi, esi
jle 0x53b89b
mov edi, 1
mov eax, dword [ebp - 4]
movzx eax, byte [eax + edi - 1]
mov edx, dword [ebx + 8]
call fcn.0052b744
mov dword [ebx + 8], eax
mov eax, dword [ebx + 8]
and eax, 0xff
add dword [ebx + 0xc], eax
imul eax, dword [ebx + 0xc], 0x8088405
inc eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0xc]
shr eax, 0x18
mov edx, dword [ebx + 0x10]
call fcn.0052b744
mov dword [ebx + 0x10], eax
inc edi
dec esi
jne 0x53b85d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53b8b8
lea eax, [ebp - 4]
call fcn.004066fc
ret
Function at 0x55508e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
jmp 0x555146
mov eax, dword [ebp + 8]
add dword [ebp + 8], 4
mov eax, dword [eax]
cdq
xor eax, edx
sub eax, edx
mov ecx, eax
shr ecx, 9
add eax, ecx
cmp eax, 0x100
jae 0x5550de
movsx edx, byte [eax + 0x57d870]
mov ecx, 9
sub ecx, edx
shl eax, cl
and eax, 0xff
movzx eax, byte [eax + 0x57d970]
shl edx, 8
add eax, edx
add ebx, eax
jmp 0x555146
cmp eax, 0x10000
jae 0x5550f6
mov edx, eax
shr edx, 8
movsx edx, byte [edx + 0x57d870]
add edx, 8
jmp 0x55511d
cmp eax, 0x1000000
jae 0x55510e
mov ecx, eax
shr ecx, 0x10
movsx edx, byte [ecx + 0x57d870]
add edx, 0x10
jmp 0x55511d
mov ecx, eax
shr ecx, 0x18
movsx edx, byte [ecx + 0x57d870]
add edx, 0x18
lea ecx, [edx - 9]
shr eax, cl
and eax, 0xff
movzx eax, byte [eax + 0x57d970]
mov ecx, edx
shl ecx, 8
add eax, ecx
mov edx, eax
add ebx, eax
test esi, esi
je 0x555146
cmp esi, edx
jg 0x555146
or eax, 0xffffffff
jmp 0x555157
mov edx, dword [ebp + 0xc]
add dword [ebp + 0xc], 0xffffffff
test edx, edx
jne 0x55509d
mov eax, ebx
pop esi
pop ebx
pop ebp
ret
Function at 0x568844
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd10
xor edx, edx
mov dword [ebp - 0x2ec], edx
mov dword [ebp - 0x2f0], edx
mov dword [ebp - 0x2dc], edx
mov dword [ebp - 0x2e8], edx
mov dword [ebp - 0x2d8], edx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x568a17
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x57ecf4], 0
je 0x568892
mov eax, dword [0x57ecf4]
push eax
call sub.kernel32.dll_CloseHandle_1
cmp dword [0x57ecf8], 0
je 0x5689e1
lea edx, [ebp - 0x2d8]
xor eax, eax
call fcn.00404610
mov eax, dword [ebp - 0x2d8]
lea ecx, [ebp - 4]
mov edx, 0x568a30
call fcn.00414404
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x2d4]
call fcn.004049c4
lea eax, [ebp - 0x2d4]
call fcn.0040475c
call fcn.004043a0
mov edx, 0x568a48
lea eax, [ebp - 0x2d4]
call fcn.00407b5c
call fcn.00404e20
call fcn.004043a0
lea eax, [ebp - 0x2dc]
push eax
lea edx, [ebp - 0x2e8]
xor eax, eax
call fcn.00404610
mov eax, dword [ebp - 0x2e8]
mov dword [ebp - 0x2e4], eax
mov byte [ebp - 0x2e0], 0x11
lea edx, [ebp - 0x2e4]
xor ecx, ecx
mov eax, 0x568a60
call fcn.00415024
mov edx, dword [ebp - 0x2dc]
lea eax, [ebp - 0x2d4]
call fcn.00407b5c
call fcn.00404e20
call fcn.004043a0
lea eax, [ebp - 0x2ec]
push eax
lea edx, [ebp - 0x2f0]
xor eax, eax
call fcn.00404610
mov eax, dword [ebp - 0x2f0]
mov dword [ebp - 0x2e4], eax
mov byte [ebp - 0x2e0], 0x11
lea edx, [ebp - 0x2e4]
xor ecx, ecx
mov eax, 0x568a80
call fcn.00415024
mov edx, dword [ebp - 0x2ec]
lea eax, [ebp - 0x2d4]
call fcn.00407b5c
call fcn.00404e20
call fcn.004043a0
mov edx, 0x568abc
lea eax, [ebp - 0x2d4]
call fcn.00407b5c
call fcn.00404e20
call fcn.004043a0
lea eax, [ebp - 0x2d4]
call fcn.00404a88
call fcn.004043a0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00407228
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x568a1e
lea eax, [ebp - 0x2f0]
mov edx, 3
call fcn.00407194
lea eax, [ebp - 0x2dc]
mov edx, 2
call fcn.00407194
lea eax, [ebp - 4]
call fcn.0040718c
ret

Function at 0x5694e4
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x56958a
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.004145d4
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 4]
call fcn.0041abf8
mov eax, dword [ebp - 4]
call fcn.004140b0
mov ebx, eax
test bl, bl
je 0x56956c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00407228
push eax
call sub.kernel32.dll_GetDiskFreeSpaceW
mov eax, dword [ebp - 0x10]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.004083f0
call fcn.004083f0
cmp edx, dword [ebp + 0xc]
jne 0x569569
cmp eax, dword [ebp + 8]
seta bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x569591
lea eax, [ebp - 0x18]
call fcn.0040718c
lea eax, [ebp - 4]
call fcn.0040718c
ret
Function at 0x569f78
Capabilities:
Get proxy
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov ebx, ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x56a17c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
push 0x20219
push 0
push 0x56a188
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x56a166
lea eax, [ebp - 0x1c]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0x56a200
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x56a15d
cmp dword [ebp - 0x18], 4
je 0x569ff4
cmp dword [ebp - 0x18], 4
je 0x569ff4
cmp dword [ebp - 0x18], 5
jne 0x56a15d
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x56a200
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
cmp dword [ebp - 0x20], 0
je 0x56a15d
lea eax, [ebp - 0x1c]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0x56a218
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x56a15d
cmp dword [ebp - 0x18], 1
jne 0x56a15d
mov ecx, dword [ebp - 0x1c]
shr ecx, 1
lea eax, [ebp - 4]
xor edx, edx
call fcn.004072d8
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
call fcn.00407228
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x56a218
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov eax, dword [ebp - 4]
call fcn.00407228
call fcn.00414ad4
mov edx, eax
lea eax, [ebp - 4]
call fcn.00407528
cmp dword [ebp - 4], 0
je 0x56a15d
mov edx, dword [ebp - 4]
mov eax, 0x56a23c
call fcn.00407c5c
test eax, eax
jle 0x56a14f
mov dl, 1
mov eax, dword [0x42cfa8]
call fcn.00439558
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x56a148
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 1
mov ecx, dword [ebp - 0x14]
mov dx, 0x3b
mov eax, dword [ebp - 4]
call fcn.00569c8c
test bl, bl
je 0x56a0f4
lea ecx, [ebp - 4]
mov edx, 0x56a24c
mov eax, dword [ebp - 0x14]
call fcn.004380c4
jmp 0x56a104
lea ecx, [ebp - 4]
mov edx, 0x56a264
mov eax, dword [ebp - 0x14]
call fcn.004380c4
cmp dword [ebp - 4], 0
jne 0x56a130
lea ecx, [ebp - 4]
mov edx, 0x56a27c
mov eax, dword [ebp - 0x14]
call fcn.004380c4
cmp dword [ebp - 4], 0
jne 0x56a130
lea ecx, [ebp - 4]
mov edx, 0x56a294
mov eax, dword [ebp - 0x14]
call fcn.004380c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56a14f
mov dl, 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx - 4]
ret
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0056a2a4
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56a183
lea eax, [ebp - 4]
call fcn.0040718c
ret