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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5a7843
add esp, 0xfffffff0
call fcn.00405e18
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004a5014
mov eax, dword [0x688624]
cmp byte [eax], 0
jne 0x5a7870
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x18c], al
mov eax, dword [0x688a8c]
cmp word [eax + 2], 0
jne 0x5a788a
mov eax, dword [0x688a8c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005a9b00
mov eax, dword [0x688c1c]
cmp word [eax + 2], 0
jne 0x5a78a4
mov eax, dword [0x688c1c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005a9d04
mov byte [ebx + 0x39], 0
mov dl, 1
mov eax, dword [0x4d1f74]
call fcn.004d8210
mov esi, eax
mov dword [ebx + 0x4c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5aa180
mov dl, 1
mov eax, dword [0x473cd8]
call fcn.00405878
mov dword [ebx + 0x9c], eax
mov dl, 1
mov eax, dword [0x473cd8]
call fcn.00405878
mov dword [ebx + 0xbc], eax
xor eax, eax
mov dword [ebx + 0x6c], eax
xor eax, eax
mov dword [ebx + 0x90], eax
mov dword [ebx + 0x68], 0xff000018
mov dword [ebx + 0x84], 0x1f4
mov byte [ebx + 0x88], 1
xor eax, eax
mov dword [ebx + 0x8c], eax
mov dword [ebx + 0x80], 0x9c4
mov byte [ebx + 0x94], 0
mov byte [ebx + 0xb1], 1
mov byte [ebx + 0xc8], 1
mov dl, 1
mov eax, dword [0x4d6b0c]
call fcn.004e1694
mov esi, eax
mov dword [ebx + 0xac], esi
push 0x5a7a8c
mov eax, dword [0x6888c8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.004e1a90
mov eax, dword [ebx + 0xac]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5aa440
mov dl, 1
mov eax, dword [0x473cd8]
call fcn.00405878
mov dword [ebx + 0xa4], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x6888c8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0041de48
test eax, eax
je 0x5a79be
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041dc50
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041de2c
test eax, eax
je 0x5a79d6
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 + 0x98]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.004083b8
push ebx
push 0x5a94dc
call fcn.0059d628
mov dword [ebx + 0x188], eax
mov byte [ebx + 0xdc], 0
mov eax, dword [0x688624]
cmp byte [eax], 0
jne 0x5a7a27
mov eax, ebx
call fcn.005a7c54
mov byte [ebx + 0x65], 1
mov byte [ebx + 0x66], 1
mov byte [ebx + 0x67], 1
mov byte [ebx + 0xb2], 1
mov byte [ebx + 0xdd], 0
mov byte [ebx + 0xe8], 0
xor eax, eax
mov dword [ebx + 0xe0], eax
mov byte [ebx + 0xdf], 0
xor eax, eax
mov dword [ebx + 0xb4], eax
mov eax, ebx
call fcn.005aa688
mov eax, ebx
call fcn.005ab2d8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5a7a84
call fcn.00405e70
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5a7f8c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x180]
test eax, eax
je 0x5a8038
cmp dword [ebx + 0xa0], 0
jne 0x5a8032
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5a7ec4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x9c]
cmp dword [eax + 8], 0
je 0x5a8032
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
mov eax, esi
mov edx, 0xffffffec
push edx
push eax
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x5a7ff8
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x9c]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5a8032
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x9c]
call fcn.00495824
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5a8007
inc dword [ebx + 0xa0]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x68e378]
cmp dword [eax + 0x180], 0
je 0x5a83bd
test bl, bl
jne 0x5a830b
cmp dword [esi + 0xa8], 0
jne 0x5a8300
mov eax, esi
call fcn.005ab128
push eax
push 0x5a8164
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x50], 0
je 0x5a82d1
mov eax, dword [0x68e378]
cmp byte [eax + 0xdf], 0
je 0x5a82d1
mov eax, dword [esi + 0xe4]
call fcn.0040974c
mov edi, eax
cmp edi, 0
jl 0x5a82d1
push 0
mov eax, dword [esi + 0xe4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5a82ba
mov eax, dword [esi + 0xa4]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5a8300
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0xa4]
call fcn.00495824
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5a82e0
inc dword [esi + 0xa8]
jmp 0x5a83bd
cmp dword [esi + 0xa8], 0
jle 0x5a83bd
dec dword [esi + 0xa8]
cmp dword [esi + 0xa8], 0
jne 0x5a83bd
cmp dword [esi + 0x50], 0
je 0x5a8368
mov eax, dword [0x68e378]
cmp byte [eax + 0xdf], 0
je 0x5a8368
mov eax, dword [esi + 0xe4]
call fcn.0040974c
mov edi, eax
cmp edi, 0
jl 0x5a8368
push 5
mov eax, dword [esi + 0xe4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5a8351
mov eax, dword [esi + 0xa4]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5a8397
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0xa4]
call fcn.00495824
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5a8377
mov eax, dword [esi + 0xa4]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xe4]
mov ecx, 1
mov edx, dword [0x599ecc]
call fcn.00409960
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x5a8fdc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xb8], 0
je 0x5a9039
cmp byte [ebx + 0xdf], 0
jne 0x5a9039
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x180]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040761c
mov eax, dword [esi]
test eax, eax
je 0x5a9026
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5a9046
mov eax, esi
mov edx, dword [ebx + 0x98]
call fcn.00407874
jmp 0x5a9046
mov eax, esi
mov edx, dword [ebx + 0x98]
call fcn.00407874
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5aa874
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x90]
test esi, esi
je 0x5aa8e5
mov eax, esi
call fcn.0050b598
test al, al
je 0x5aa8e5
mov eax, dword [ebx + 0x90]
call fcn.0050b1e4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5aa8e5
mov eax, dword [ebx + 0x90]
mov edx, dword [eax]
call dword [edx + 0x110]
test al, al
je 0x5aa8d6
push 0
mov eax, dword [ebx + 0x90]
call fcn.0050b1e4
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x90]
call fcn.005022a0
jmp 0x5aa8e5
mov cl, 1
mov edx, dword [ebx + 0x80]
mov eax, ebx
call fcn.005aa6a8
pop esi
pop ebx
ret
Function at 0x5b1304
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x8c], 0
jne 0x5b137e
mov eax, dword [ebx + 8]
call fcn.0050b1e4
mov ecx, eax
mov dl, 1
mov eax, dword [0x518b64]
call fcn.00505664
mov esi, eax
mov dword [ebx + 0x8c], esi
xor edx, edx
mov eax, esi
call fcn.0051e660
mov dword [esi + 0x2b4], ebx
mov dword [esi + 0x2b0], 0x5b0bfc
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x8c]
call fcn.0050b1e4
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x8c]
call fcn.0050b1e4
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x9c], 0
jne 0x5b13f4
mov eax, dword [ebx + 8]
call fcn.0050b1e4
mov ecx, eax
mov dl, 1
mov eax, dword [0x518b64]
call fcn.00505664
mov esi, eax
mov dword [ebx + 0x9c], esi
mov dl, 1
mov eax, esi
call fcn.0051e660
mov dword [esi + 0x2b4], ebx
mov dword [esi + 0x2b0], 0x5b0c48
push 8
push 0
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0050b1e4
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0050b1e4
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x94], 0
jne 0x5b1460
mov eax, dword [ebx + 8]
call fcn.0050b1e4
mov ecx, eax
mov dl, 1
mov eax, dword [0x5195d4]
call fcn.00505664
mov esi, eax
mov dword [ebx + 0x94], esi
mov eax, esi
mov byte [eax + 0x288], 1
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x94]
call fcn.0050b1e4
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x94]
call fcn.0050b1e4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x5f41cc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00407578
xor eax, eax
push ebp
push 0x5f42fb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, dword [ebx + 8]
call fcn.00408510
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x5f423b
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040b388
mov esi, dword [ebp - 8]
test esi, esi
je 0x5f421d
sub esi, 4
mov esi, dword [esi]
push 0
lea eax, [ebp - 0xc]
push eax
push esi
mov eax, dword [ebp - 8]
call fcn.00407edc
push eax
mov eax, dword [ebx + 0x10]
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x5f42dd
cmp eax, 1
jne 0x5f426b
mov esi, dword [ebp - 4]
test esi, esi
je 0x5f424c
sub esi, 4
mov esi, dword [esi]
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, esi
add eax, eax
push eax
mov eax, dword [ebp - 4]
call fcn.004082fc
push eax
mov eax, dword [ebx + 0x10]
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x5f42dd
cmp eax, 2
jne 0x5f42a8
mov eax, dword [ebp - 4]
call fcn.004082fc
call fcn.00634fd4
mov esi, dword [ebp - 4]
test esi, esi
je 0x5f4289
sub esi, 4
mov esi, dword [esi]
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, esi
add eax, eax
push eax
mov eax, dword [ebp - 4]
call fcn.004082fc
push eax
mov eax, dword [ebx + 0x10]
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x5f42dd
cmp eax, 3
jne 0x5f42dd
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040b388
mov esi, dword [ebp - 8]
test esi, esi
je 0x5f42c4
sub esi, 4
mov esi, dword [esi]
push 0
lea eax, [ebp - 0xc]
push eax
push esi
mov eax, dword [ebp - 8]
call fcn.00407edc
push eax
mov eax, dword [ebx + 0x10]
push eax
call sub.kernel32.dll_WriteFile_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f4302
lea eax, [ebp - 8]
call fcn.004074b8
lea eax, [ebp - 4]
call fcn.00407494
ret
Function at 0x5f4350
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x5f4504
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.005f4308
xor eax, eax
mov dword [edi + 0x18], eax
test esi, esi
jl 0x5f438a
cmp esi, 3
jle 0x5f438c
xor esi, esi
test bl, bl
jne 0x5f4398
mov eax, dword [edi + 4]
call fcn.0041d82c
test bl, bl
je 0x5f43a5
mov dword [ebp - 0x10], 4
jmp 0x5f43ac
mov dword [ebp - 0x10], 2
push 0
push 0x80
mov eax, dword [ebp - 0x10]
push eax
push 0
push 1
push 0xc0000000
mov eax, dword [edi + 4]
call fcn.004082fc
push eax
call sub.kernel32.dll_CreateFileW
mov dword [edi + 0x10], eax
cmp dword [edi + 0x10], 0xffffffff
setne byte [ebp - 9]
cmp byte [ebp - 9], 0
je 0x5f44e6
test bl, bl
je 0x5f4415
push 0
mov eax, dword [edi + 0x10]
push eax
call sub.kernel32.dll_GetFileSize
test eax, eax
jbe 0x5f4415
mov eax, dword [edi + 0x10]
call fcn.00637724
mov dword [edi + 0x18], eax
push 2
push 0
push 0
mov eax, dword [edi + 0x10]
push eax
call sub.kernel32.dll_SetFilePointer
jmp 0x5f44aa
mov eax, esi
mov dword [edi + 0x18], eax
test esi, esi
jle 0x5f44aa
cmp eax, 1
jne 0x5f4450
lea eax, [ebp - 4]
mov edx, 0x5f4524
call fcn.004078bc
push 0
lea eax, [ebp - 0x14]
push eax
push 2
mov eax, dword [ebp - 4]
call fcn.004082fc
push eax
mov eax, dword [edi + 0x10]
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x5f44aa
cmp eax, 2
jne 0x5f447e
lea eax, [ebp - 4]
mov edx, 0x5f4534
call fcn.004078bc
push 0
lea eax, [ebp - 0x14]
push eax
push 2
mov eax, dword [ebp - 4]
call fcn.004082fc
push eax
mov eax, dword [edi + 0x10]
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x5f44aa
cmp eax, 3
jne 0x5f44aa
lea eax, [ebp - 8]
mov edx, 0x5f4544
call fcn.00407958
push 0
lea eax, [ebp - 0x14]
push eax
push 3
mov eax, dword [ebp - 8]
call fcn.00407edc
push eax
mov eax, dword [edi + 0x10]
push eax
call sub.kernel32.dll_WriteFile_1
cmp byte [ebp + 8], 0
je 0x5f44cc
lea eax, [edi + 8]
mov edx, 0x5f4554
call fcn.00407874
lea eax, [edi + 0xc]
mov edx, 0x5f4564
call fcn.00407910
jmp 0x5f44e6
lea eax, [edi + 8]
mov edx, 0x5f4574
call fcn.00407874
lea eax, [edi + 0xc]
mov edx, 0x5f4588
call fcn.00407910
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f450b
lea eax, [ebp - 8]
call fcn.004074b8
lea eax, [ebp - 4]
call fcn.00407494
ret

Function at 0x5f865c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x68e894], 0
jne 0x5f8673
call fcn.005f8618
mov eax, edi
dec eax
test eax, eax
jl 0x5f869b
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x68e494]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x5f867d
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x5fb2fc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x5fb396.0
jmp dword [ecx*4 + 0x5fb32f]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x5fb361
sub dl, 8
je 0x5fb370
jmp case.0x5fb396.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5fafc8
jmp case.0x5fb396.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5fb01c
jmp case.0x5fb396.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x5fb396.0
movzx ecx, byte [ecx + 0x5fb39d]
jmp dword [ecx*4 + 0x5fb3ae]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5fb0bc
jmp case.0x5fb396.0
cmp dl, 3
jne 0x5fb3db
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5fb114
jmp case.0x5fb396.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5fb0d0
jmp case.0x5fb396.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5fb158
jmp case.0x5fb396.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x5fb406
sub dl, 8
je 0x5fb412
jmp case.0x5fb396.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5fb184
jmp case.0x5fb396.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5fb1e8
jmp case.0x5fb396.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x5fb431
sub dl, 8
je 0x5fb43d
jmp case.0x5fb396.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5fb298
jmp case.0x5fb396.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5fb2c0
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x10], edx
mov esi, ecx
test esi, esi
jb 0x5fb4df
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.005fa504
test eax, eax
je 0x5fb4df
mov eax, ebx
call fcn.005fb4e8
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x5fb478
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x5fb4e8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x5fb519
dec al
je 0x5fb554
dec al
je 0x5fb599
dec al
je 0x5fb602
jmp 0x5fb68c
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x5fb68c
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, 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 0x5fb529
jmp 0x5fb68c
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5fb68c
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x5fb564
jmp 0x5fb68c
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5fb68c
mov esi, 1
movzx eax, 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 0x5fb5c8
xor ebp, ebp
jmp 0x5fb5d8
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x5fb5e1
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x5fb5a9
jmp 0x5fb68c
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5fb68c
mov esi, 1
movzx eax, 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 0x5fb65b
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, 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
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.005f86a4
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x5fb616
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x602b44
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x602b72
mov eax, ebx
call fcn.00603600
cmp dword [ebx + 0x40], 0
je 0x602b6b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x602be3
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x602bd5
cmp dword [ebx + 8], 0
je 0x602b94
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x602ba6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x602bd5
cmp dword [ebx + 8], 0
je 0x602b87
cmp eax, 3
je 0x602bb9
dec eax
jne 0x602b87
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x602b87
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x602b87
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x602c01
cmp dword [ebx + 0x14], 0xcc
je 0x602c01
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00602c0c
pop ebx
ret

Function at 0x619ea0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x619ef1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x619ed8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x619ec8
jmp 0x619ef1
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x619ed9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x62ae0c
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.004053b0
ret

Function at 0x62c3f4
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407578
xor eax, eax
push ebp
push 0x62c43a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x80
mov eax, dword [ebp - 4]
call fcn.004082fc
push eax
call sub.kernel32.dll_SetFileAttributesW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62c441
lea eax, [ebp - 4]
call fcn.00407494
ret
Function at 0x6303d8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00407578
mov eax, dword [ebp - 8]
call fcn.00407578
xor eax, eax
push ebp
push 0x630475
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test eax, eax
je 0x630412
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x630431
mov eax, dword [ebp - 4]
cmp word [eax], 0x5c
jne 0x630431
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00408720
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x63043d
sub ebx, 4
mov ebx, dword [ebx]
push ebx
mov eax, dword [ebp - 8]
call fcn.004082fc
push eax
push 1
mov eax, dword [ebp - 4]
call fcn.004082fc
push eax
push esi
call sub.advapi32.dll_RegSetValueW
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63047c
lea eax, [ebp - 8]
mov edx, 2
call fcn.004074f4
ret

Function at 0x630544
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00407578
mov eax, dword [ebp - 8]
call fcn.00407578
xor eax, eax
push ebp
push 0x6305d8
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0x20019
lea eax, [ebp - 0xc]
push eax
push 0
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00630484
test eax, eax
jne 0x6305bd
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.004082fc
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x6305b4
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6305df
lea eax, [ebp - 8]
mov edx, 2
call fcn.004074f4
ret