joyce8/EMBER2024-capa huggingface dataset:
Function at 0x525778
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 0x5257e3
cmp byte [ebx + 0xd3], 0
jne 0x5257e3
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.004072d0
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x5257d0
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5257f0
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00407528
jmp 0x5257f0
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00407528
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x526fb8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x527026
mov eax, esi
call fcn.00499d84
test al, al
je 0x527026
mov eax, dword [ebx + 0x84]
call fcn.004999d8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x527026
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x52701a
push 0
mov eax, dword [ebx + 0x84]
call fcn.004999d8
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00490954
jmp 0x527026
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00526df0
pop esi
pop ebx
ret
Function at 0x530d94
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x530dc2
mov eax, ebx
call fcn.00531848
cmp dword [ebx + 0x40], 0
je 0x530dbb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x530e33
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x530e25
cmp dword [ebx + 8], 0
je 0x530de4
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 0x530df6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x530e25
cmp dword [ebx + 8], 0
je 0x530dd7
cmp eax, 3
je 0x530e09
dec eax
jne 0x530dd7
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 0x530dd7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x530dd7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x530e51
cmp dword [ebx + 0x14], 0xcc
je 0x530e51
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.00530e5c
pop ebx
ret

Function at 0x544ed4
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x6bd380
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x544ef6
shr eax, 1
xor eax, 0xedb88320
jmp 0x544ef8
shr eax, 1
dec edx
jne 0x544ee4
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x544edd
mov byte [0x6bd780], 1
pop esi
pop ebx
ret

Function at 0x544f14
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x6bd780], 0
jne 0x544f2b
call fcn.00544ed4
mov eax, edi
dec eax
test eax, eax
jl 0x544f53
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x6bd380]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x544f35
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x547ce0
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.0x547d7a.0
jmp dword [ecx*4 + 0x547d13]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x547d45
sub dl, 8
je 0x547d54
jmp case.0x547d7a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x547988
jmp case.0x547d7a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5479e0
jmp case.0x547d7a.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x547d7a.0
movzx ecx, byte [ecx + 0x547d81]
jmp dword [ecx*4 + 0x547d92]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x547a8c
jmp case.0x547d7a.0
cmp dl, 3
jne 0x547dbf
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x547ae4
jmp case.0x547d7a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x547aa0
jmp case.0x547d7a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x547b28
jmp case.0x547d7a.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x547dea
sub dl, 8
je 0x547df6
jmp case.0x547d7a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x547b54
jmp case.0x547d7a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x547bc0
jmp case.0x547d7a.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x547e15
sub dl, 8
je 0x547e21
jmp case.0x547d7a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x547c7c
jmp case.0x547d7a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x547ca4
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 0x547ec3
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.00546e8c
test eax, eax
je 0x547ec3
mov eax, ebx
call fcn.00547ecc
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 0x547e5c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x547ecc
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 0x547efd
dec al
je 0x547f38
dec al
je 0x547f7d
dec al
je 0x547fe6
jmp 0x548070
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x548070
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 0x547f0d
jmp 0x548070
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x548070
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 0x547f48
jmp 0x548070
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x548070
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 0x547fac
xor ebp, ebp
jmp 0x547fbc
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 0x547fc5
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 0x547f8d
jmp 0x548070
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x548070
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 0x54803f
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.00544f5c
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 0x547ffa
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x552eac
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 0x552efd
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x552ee4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x552ed4
jmp 0x552efd
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 0x552ee5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x57a470
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x57a598
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0057a35c
mov eax, dword [esi]
call fcn.00409040
add eax, 0x28
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x417e7c]
call fcn.00409208
add esp, 4
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1c]
mov ecx, 0x1c
call fcn.00404734
mov ebx, 0x1c
mov eax, dword [ebp - 4]
lea edx, [eax + ebx]
lea eax, [ebp - 0x2c]
mov ecx, 0x1c
call fcn.00404734
add ebx, 0x1c
mov eax, dword [esi]
call fcn.00409040
mov dword [ebp - 0xc], eax
mov eax, dword [0x6b7334]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 4]
mov ecx, ebx
call fcn.00568948
add ebx, 4
mov eax, dword [ebp - 4]
add eax, ebx
xor ecx, ecx
mov edx, 3
call fcn.00404ed8
add ebx, 3
mov eax, dword [ebp - 4]
mov byte [eax + ebx], 0x3a
inc ebx
mov eax, dword [esi]
mov byte [eax + 2], 0
mov eax, dword [esi]
mov byte [eax + 3], 0
push ebx
mov eax, dword [esi]
call fcn.00409040
push eax
lea ecx, [ebp - 4]
mov eax, dword [esi]
xor edx, edx
call fcn.0056883c
mov edx, dword [ebp - 4]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x98]
mov ebx, eax
mov eax, ebx
call fcn.00568664
mov edx, esi
mov ecx, dword [ebp + 0x10]
call fcn.00568940
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57a59f
lea eax, [ebp - 4]
mov edx, dword [0x417e7c]
call fcn.0040932c
ret
Function at 0x586ca0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040722c
xor eax, eax
push ebp
push 0x586e26
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
call fcn.00407e20
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
call fcn.004044b4
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x586dfc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push esi
call sub.version.dll_GetFileVersionInfoW
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x586e34
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueW
cmp dword [ebp - 0x10], 0
jbe 0x586dc3
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 8]
shr eax, 0x10
xor edx, edx
push edx
push eax
mov eax, ebx
call fcn.0041f0b4
push dword [ebx]
push 0x586e44
mov eax, dword [esi + 8]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x1c]
call fcn.0041f0b4
push dword [ebp - 0x1c]
mov eax, ebx
mov edx, 3
call fcn.0040810c
push dword [ebx]
push 0x586e44
mov eax, dword [esi + 0xc]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.0041f0b4
push dword [ebp - 0x20]
mov eax, ebx
mov edx, 3
call fcn.0040810c
push dword [ebx]
push 0x586e44
mov eax, dword [esi + 0xc]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.0041f0b4
push dword [ebp - 0x24]
mov eax, ebx
mov edx, 3
call fcn.0040810c
jmp 0x586dcf
mov eax, ebx
mov edx, 0x586e54
call fcn.00407528
lea edx, [ebp - 0x28]
mov eax, dword [ebx]
call fcn.0041e814
mov edx, dword [ebp - 0x28]
mov eax, ebx
call fcn.00407528
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x586e03
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.004044d0
ret

Function at 0x586f3c
Capabilities:
Log keystrokes via polling

Disassembly:
add esp, 0xffffff00
push esp
call sub.user32.dll_GetKeyboardState
test byte [esp + 0x11], 0x80
setne al
add esp, 0x100
ret
Function at 0x58ee70
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push ecx
mov ebx, edx
mov esi, eax
cmp dword [esi + 0x18], 0
je 0x58ee84
mov eax, esi
call fcn.0058ef48
mov eax, dword [esi + 4]
mov dword [esi + 0x18], eax
test bl, bl
je 0x58eead
mov eax, dword [esi + 4]
cmp word [eax], 0x25ff
jne 0x58eead
add dword [esi + 0x18], 2
jno 0x58eea3
call fcn.00405558
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 8]
sub eax, dword [esi + 0x18]
jno 0x58eeba
call fcn.00405558
sub eax, 5
jno 0x58eec4
call fcn.00405558
mov byte [esi + 0xc], 0xe9
mov edx, eax
and edx, 0xff
mov byte [esi + 0xd], dl
mov edx, eax
shr edx, 8
and edx, 0xff
mov byte [esi + 0xe], dl
mov edx, eax
shr edx, 0x10
and edx, 0xff
mov byte [esi + 0xf], dl
shr eax, 0x18
and eax, 0xff
mov byte [esi + 0x10], al
mov eax, dword [esi + 0x18]
movzx eax, byte [eax]
mov byte [esi + 0x11], al
mov eax, dword [esi + 0x18]
movzx eax, byte [eax + 1]
mov byte [esi + 0x12], al
mov eax, dword [esi + 0x18]
movzx eax, byte [eax + 2]
mov byte [esi + 0x13], al
mov eax, dword [esi + 0x18]
movzx eax, byte [eax + 3]
mov byte [esi + 0x14], al
mov eax, dword [esi + 0x18]
movzx eax, byte [eax + 4]
mov byte [esi + 0x15], al
push esp
push 0x40
push 5
mov eax, dword [esi + 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x58ef42
call fcn.004268fc
pop edx
pop esi
pop ebx
ret
Function at 0x58f004
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x58f024
add esp, 0xfffffff0
call fcn.00405bd4
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.0040722c
xor eax, eax
push ebp
push 0x58f21b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00407e20
push eax
call sub.kernel32.dll_CreateFileW_1
mov edi, eax
mov dword [esi + 0x20], edi
cmp edi, 0xffffffff
jne 0x58f08c
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, 0x58f250
call fcn.00408084
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x5873e8]
call fcn.00424b44
call fcn.00406830
push 0
push 0
push 0
push 2
push 0
mov eax, dword [esi + 0x20]
push eax
call sub.kernel32.dll_CreateFileMappingW
mov edi, eax
mov dword [esi + 0x24], edi
test edi, edi
jne 0x58f0cc
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, 0x58f280
call fcn.00408084
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x5873e8]
call fcn.00424b44
call fcn.00406830
push 0
push 0
push 0
push 4
mov eax, dword [esi + 0x24]
push eax
call sub.kernel32.dll_MapViewOfFile
mov edi, eax
mov dword [esi + 0x28], edi
test edi, edi
jne 0x58f12a
push 0x58f2d0
push dword [ebp - 4]
push 0x58f300
lea eax, [ebp - 0x18]
call fcn.0058a144
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
call fcn.00407f10
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.0040810c
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x5873e8]
call fcn.00424b44
call fcn.00406830
mov eax, dword [ebp + 0x10]
add eax, dword [esi + 0x28]
mov dword [esi + 0x2c], eax
mov byte [esi + 4], 0
mov edx, dword [esi + 0x2c]
xor ecx, ecx
mov eax, esi
call fcn.0058efec
cmp eax, 0x950412de
je 0x58f175
cmp eax, 0xde120495
je 0x58f175
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov edx, 0x58f33c
call fcn.00408084
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x5873e8]
call fcn.00424b44
call fcn.00406830
cmp eax, 0xde120495
sete al
mov byte [esi + 4], al
mov edx, dword [esi + 0x2c]
mov ecx, 4
mov eax, esi
call fcn.0058efec
mov edx, dword [esi + 0x2c]
mov ecx, 8
mov eax, esi
call fcn.0058efec
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x2c]
mov ecx, 0xc
mov eax, esi
call fcn.0058efec
mov dword [esi + 0x10], eax
mov edx, dword [esi + 0x2c]
mov ecx, 0x10
mov eax, esi
call fcn.0058efec
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
test eax, eax
jns 0x58f1d1
call fcn.00405550
mov dword [esi + 0x18], 1
test eax, eax
je 0x58f1e5
shr eax, 1
shl dword [esi + 0x18], 1
test eax, eax
jne 0x58f1dc
shr dword [esi + 0x18], 1
mov eax, dword [esi + 0x18]
shr eax, 1
mov dword [esi + 0x1c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58f222
lea eax, [ebp - 0x1c]
call fcn.00407148
lea eax, [ebp - 0x18]
call fcn.00407190
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.004071a8
ret
Function at 0x5a9294
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, edx
mov ebx, eax
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5a92ef
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, esi
call fcn.00407e20
push eax
mov eax, ebx
call fcn.00407e20
push eax
call sub.kernel32.dll_CopyFileW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a92f6
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x5ab168
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
mov eax, ebx
mov edx, 0x10
call fcn.00407fac
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x5ab18d
sub eax, 4
mov eax, dword [eax]
mov dword [esp], eax
push esp
mov eax, dword [ebx]
call fcn.00407e20
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x5ab1ac
mov eax, ebx
mov edx, dword [esp]
call fcn.00407fac
pop ecx
pop edx
pop ebx
ret

Function at 0x5bc5c4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov eax, 8
test byte [edx + 1], 0x80
setne bl
movzx esi, word [edx]
add esi, esi
movzx edi, cl
shr edi, 7
or si, di
mov word [edx], si
test bl, bl
je 0x5bc5ed
xor word [edx], 0x1021
add ecx, ecx
and cl, 0xff
dec eax
jne 0x5bc5cc
pop edi
pop esi
pop ebx
ret
Function at 0x5dad18
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5daef8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
mov edx, 0x24
call fcn.005de5b4
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov eax, dword [ebp - 0x14]
mov dword [0x6b4970], eax
mov eax, dword [ebp - 0xc]
mov dword [0x6b4974], eax
mov eax, dword [ebp - 0x24]
mov dword [0x6b4978], eax
mov eax, dword [0x6b7510]
cmp dword [eax], 2
sete byte [0x6b4119]
push 0x5daf04
call sub.kernel32.dll_GetModuleHandleW_2
lea edx, [ebp - 4]
call fcn.005ddcb8
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp byte [0x6b4119], 0
jne 0x5dada7
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.005ddecc
test al, al
je 0x5dada7
mov eax, dword [ebp - 0x4c]
mov dword [0x6bdaf4], eax
jmp 0x5dadae
xor eax, eax
mov dword [0x6bdaf4], eax
call fcn.005d8724
and eax, 0x7f
cmp eax, 0x12
ja case.0x5dadbf.0
jmp dword [eax*4 + 0x5dadc6]
mov byte [0x6b4114], 1
jmp case.0x5dadbf.0
mov byte [0x6b4115], 1
jmp case.0x5dadbf.0
mov byte [0x6b4116], 1
jmp case.0x5dadbf.0
mov byte [0x6b4117], 1
jmp case.0x5dadbf.0
mov byte [0x6b4118], 1
jmp case.0x5dadbf.0
mov byte [0x6b411a], 1
mov byte [0x6b411b], 1
jmp case.0x5dadbf.0
mov byte [0x6b411a], 1
mov byte [0x6b411c], 1
jmp case.0x5dadbf.0
mov byte [0x6b411a], 1
mov byte [0x6b411c], 1
mov byte [0x6b411d], 1
jmp case.0x5dadbf.0
mov byte [0x6b411e], 1
jmp case.0x5dadbf.0
mov byte [0x6b411f], 1
jmp case.0x5dadbf.0
mov byte [0x6b4120], 1
jmp case.0x5dadbf.0
mov byte [0x6b4121], 1
jmp case.0x5dadbf.0
mov byte [0x6b4122], 1
jmp case.0x5dadbf.0
mov byte [0x6b4123], 1
jmp case.0x5dadbf.0
mov byte [0x6b4124], 1
jmp case.0x5dadbf.0
mov byte [0x6b4125], 1
jmp case.0x5dadbf.0
mov byte [0x6b4126], 1
jmp case.0x5dadbf.0
mov byte [0x6b4127], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5daeff
lea eax, [ebp - 4]
call fcn.00407148
ret

Function at 0x5dc618
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
test dl, dl
je 0x5dc62d
add esp, 0xfffffff0
call fcn.00405bd4
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
xor edx, edx
mov eax, ebx
call fcn.00405640
lea eax, [ebx + 0xc]
mov edx, esi
call fcn.00407528
mov eax, esi
call fcn.00407e20
push eax
movzx eax, byte [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CreateMutexW
mov edi, eax
mov dword [ebx + 8], edi
test edi, edi
jne 0x5dc681
mov ecx, dword [0x6b7278]
mov dl, 1
mov eax, dword [0x5dc214]
call fcn.005d53d4
call fcn.00406830
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xb7
sete al
mov byte [ebx + 4], al
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5dc6a8
call fcn.00405c2c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8