joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53423e
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push 0x18
mov eax, 0x6cac9b
call fcn.00648b1c
xor esi, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x24]
cmp dword [ebp + 8], esi
je 0x534326
mov esi, 0x2001f
mov edi, str.SoftwareMicrosoftWindowsCurrentVersionRun
push esi
push edi
mov ebx, SysReAllocStringLen
push ebx
call fcn.0051e4ac
test eax, eax
je 0x534298
push ecx
push ecx
push esi
push ecx
push ecx
push edi
push ebx
lea ecx, [ebp - 0x24]
call fcn.00534d73
mov esi, eax
test esi, esi
jne 0x53434c
lea eax, [ebp - 0x18]
push eax
call fcn.0051636a
mov ecx, eax
call fcn.00517d7b
push eax
mov edx, 0x741500
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00534752
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
mov edx, eax
mov dword [esp], 0x74cfa4
call fcn.005347ac
mov byte [ebp - 4], 3
lea ecx, [ebp + 8]
mov edx, eax
mov dword [esp], str._totray
call fcn.005347ac
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00515ed6
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00515ed6
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00515ed6
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x24]
push 0x7415ec
call fcn.0051e38e
mov ecx, dword [ebp + 8]
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.00515ed6
jmp 0x53434c
push 0x2001f
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocStringLen
call fcn.0051e4ac
test eax, eax
jne 0x53434c
push 0x7415ec
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ecx, [ebp - 0x24]
call fcn.0051e50a
mov eax, esi
call fcn.00648ae5
ret 0xc
Function at 0x534b05
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x81c5a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ecx
call fcn.005339f6
xor edi, edi
mov esi, edi
cmp dword [eax + 0xc], 4
je 0x534c57
lea ebx, [eax + 8]
mov eax, dword [ebp - 0x28]
mov edx, dword [ebx + 8]
add edx, eax
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x30], edx
je 0x534b4e
cmp dword [ebp + 0xc], edx
jne 0x534c3d
mov esi, dword [ebp - 0x2c]
cmp esi, 2
je 0x534c50
mov eax, dword [ebx + 4]
sub eax, edi
je 0x534c06
dec eax
sub eax, 1
je 0x534b9a
sub eax, 1
jne 0x534c50
push dword [ebp + 8]
push dword [ebx + 0xc]
push edx
push dword [ebx]
push dword [ebx - 4]
cmp esi, 1
jne 0x534b92
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStructW]
mov esi, eax
jmp 0x534c3a
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructW]
jmp 0x534b8b
xor eax, eax
lea edi, [ebp - 0x22]
mov word [ebp - 0x24], ax
push 7
pop ecx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
cmp esi, 1
jne 0x534bd7
push 0xa
push 0xf
push eax
push dword [edx]
call fcn.0067d003
add esp, 0x10
lea eax, [ebp - 0x24]
push dword [ebp + 8]
push eax
push dword [ebx]
push dword [ebx - 4]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov esi, eax
xor edi, edi
jmp 0x534c3a
push dword [ebp + 8]
xor edi, edi
push 0xf
push eax
push edi
push dword [ebx]
push dword [ebx - 4]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, eax
neg esi
sbb esi, esi
neg esi
je 0x534c3a
lea eax, [ebp - 0x24]
push eax
call fcn.0067ca08
pop ecx
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
jmp 0x534c3a
push dword [ebp + 8]
cmp esi, 1
jne 0x534c1f
push edx
push dword [ebx]
push dword [ebx - 4]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x534b8b
push dword [ebx + 0xc]
push edx
push edi
push dword [ebx]
push dword [ebx - 4]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
neg eax
sbb esi, esi
inc esi
mov eax, dword [ebp - 0x28]
test esi, esi
je 0x534c57
add ebx, 0x18
cmp dword [ebx + 4], 4
jne 0x534b37
jmp 0x534c75
mov esi, 0x80004001
jmp 0x534c7e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x534c69
push 2
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
jne 0x534c75
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, edi
call fcn.00534cf6
mov esi, eax
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00515ed6
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00647fba
mov esp, ebp
pop ebp
ret
Function at 0x5373f3
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, ecx
test edx, edx
jne 0x537406
push 0xd
pop eax
jmp 0x53744a
push esi
xor eax, eax
push edi
mov dword [ebp + 0xc], eax
mov esi, eax
mov edi, edx
mov ecx, edi
lea eax, [ecx + 2]
mov dword [ebp - 4], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp + 0xc]
jne 0x537419
sub ecx, dword [ebp - 4]
sar ecx, 1
inc ecx
lea edi, [edi + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x537411
push esi
push edx
push 7
xor eax, eax
push eax
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x5383ec
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x6cb2bb
call fcn.00648bbe
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x418], esi
push 0x60
push esi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x538469
push 2
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x538469
call fcn.00536f0c
mov esi, eax
jmp 0x53856e
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x53848c
call fcn.00536f0c
jmp 0x538561
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x538482
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x5384bf
mov esi, 0x8007000e
jmp 0x538563
push 2
pop ecx
mul ecx
mov byte [ebp - 4], cl
cmp edx, esi
ja 0x5384f3
cmp eax, 0xffffffff
ja 0x5384f3
cmp eax, 0x400
jbe 0x5384e5
push eax
lea ecx, [ebp - 0x418]
call fcn.00536ee7
jmp 0x538511
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x538511
push 0x80070216
call fcn.00515c22
mov eax, 0x538503
ret
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
je 0x5384b5
push ebx
push dword [ebp - 0x418]
push ebx
push dword [ebp - 0x41c]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x538482
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.00538295
mov esi, eax
test edi, edi
je 0x53856e
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x538587
lea ecx, [ebp - 0x418]
call fcn.00536ed2
mov eax, esi
call fcn.00648b0b
ret 0x10
Function at 0x53a55d
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [ebp - 0xc], edi
mov ebx, dword [esi + 8]
mov dword [ebp - 8], ebx
cmp dword [esi + 0x10], edi
jle 0x53a5e4
mov eax, dword [esi + 0xc]
mov dword [ebp - 4], 0xff
and dword [ebp - 0x10], 0
test eax, eax
jle 0x53a5d5
lea edi, [ebx + 3]
mov ebx, dword [ebp - 0x10]
movzx ecx, byte [edi]
xor edx, edx
movzx eax, byte [edi - 3]
lea edi, [edi + 4]
imul eax, ecx
div dword [ebp - 4]
xor edx, edx
mov byte [edi - 7], al
movzx eax, byte [edi - 6]
imul eax, ecx
div dword [ebp - 4]
xor edx, edx
mov byte [edi - 6], al
movzx eax, byte [edi - 5]
imul eax, ecx
mov ecx, 0xff
div ecx
inc ebx
mov byte [edi - 5], al
mov eax, dword [esi + 0xc]
cmp ebx, eax
jl 0x53a590
mov edi, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
add ebx, dword [esi + 0x14]
inc edi
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], edi
cmp edi, dword [esi + 0x10]
jl 0x53a582
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x53b083
Capabilities:
Check os version

Disassembly:
push 0x134
mov eax, 0x6cb790
call fcn.00648b50
mov esi, ecx
mov dword [ebp - 0x13c], esi
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor ebx, ebx
mov dword [esi], vtable.CTrayNotifyIcon.0
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x3c8], ebx
mov dword [esi + 0x3cc], ebx
mov dword [esi + 0x3d0], ebx
mov dword [esi + 0x3d8], ebx
mov dword [esi + 0x3e8], ebx
mov dword [ebp - 0x140], esi
mov dword [esi + 0x3ec], ebx
mov dword [esi + 0x3f0], ebx
mov dword [esi + 0x3f4], eax
mov dword [esi + method.CTrayIconHooker.virtual_0], vtable.CTrayIconHooker.0
mov dword [esi + 0x3f8], ebx
mov dword [esi + 0x3fc], ebx
mov dword [esi + 0x400], ebx
mov dword [esi + 0x404], ebx
mov dword [esi + 0x408], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x40c], ebx
xor edi, edi
mov dword [esi + 0x410], ebx
inc edi
mov dword [esi + 0x418], ebx
mov dword [esi + 0x414], edi
mov dword [esi + 0x41c], ebx
mov dword [esi + 0x420], ebx
lea eax, [ebp - 0x138]
mov byte [ebp - 4], 2
push eax
mov dword [esi + 0x424], ebx
mov dword [ebp - 0x138], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x53b16f
cmp dword [ebp - 0x134], 6
jb 0x53b16f
mov dword [esi + 0x418], 3
jmp 0x53b1b9
push str.SHELL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.DllGetVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x53b1b9
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0x14
push ecx
call eax
test eax, eax
js 0x53b1b9
cmp dword [ebp - 0x20], 6
jb 0x53b1ad
mov dword [esi + 0x418], 2
jmp 0x53b1b9
cmp dword [ebp - 0x20], 5
jb 0x53b1b9
mov dword [esi + 0x418], edi
push 0x3bc
lea edi, [esi + 0xc]
push ebx
push edi
call fcn.0066f220
mov eax, dword [esi + 0x418]
add esp, 0xc
mov ecx, 0x98
sub eax, 1
je 0x53b1f3
sub eax, 1
je 0x53b1ec
sub eax, 1
jne 0x53b1f8
mov ecx, 0x3bc
jmp 0x53b1f8
mov ecx, 0x3b8
jmp 0x53b1f8
mov ecx, 0x3a8
mov dword [edi], ecx
mov eax, esi
call fcn.00648afa
ret
Function at 0x53c382
Capabilities:
Create process on windows

Disassembly:
push 0x40
mov eax, 0x6cb90d
call fcn.00648b1c
mov esi, ecx
call fcn.00515e26
push eax
lea ecx, [ebp - 0x10]
call fcn.00515c3a
xor edi, edi
mov dword [ebp - 4], edi
push dword [ebp + 0xc]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp + 0xc], eax
lea ecx, [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
call fcn.0053a4ad
mov esi, dword [ebp - 0x10]
xor eax, eax
push 7
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
lea edi, [ebp - 0x2c]
pop ecx
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x40], str.open
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x30], 1
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea ecx, [esi - 0x10]
call fcn.00515ed6
call fcn.00648ae5
ret 0xc

Function at 0x53c409
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push 0x428
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp byte [ebp + 8], 0
je 0x53c435
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [esi + 0xf1], 0
jmp 0x53c445
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [esi + 0xf1], 1
pop esi
pop ebp
ret 4

Function at 0x53c44a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
push 0x429
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp byte [ebp + 8], 0
mov esi, eax
je 0x53c485
mov eax, dword [ebp + 0xc]
push dword [eax]
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [edi + 0xf2], 1
jmp 0x53c495
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [edi + 0xf2], 0
pop edi
pop esi
pop ebp
ret 8

Function at 0x53f554
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push esi
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push ecx
push esi
lea ecx, [esp + 0x14]
call fcn.0053f941
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [esp + 8]
mov ecx, eax
call fcn.0053f720
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x544bbd
Capabilities:
Read .ini file

Disassembly:
push 0x34
mov eax, 0x6ccf91
call fcn.00648b50
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], ecx
xor edi, edi
mov dword [ebp - 4], edi
call fcn.00544fb8
mov esi, edi
cmp dword [eax + 0xc], 4
je 0x544d0b
lea ebx, [eax + 8]
mov eax, dword [ebp - 0x34]
mov edx, dword [ebx + 8]
add edx, eax
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x3c], edx
je 0x544c02
cmp dword [ebp + 0xc], edx
jne 0x544cf1
mov esi, dword [ebp - 0x38]
cmp esi, 2
je 0x544d04
mov eax, dword [ebx + 4]
sub eax, edi
je 0x544cba
dec eax
sub eax, 1
je 0x544c4e
sub eax, 1
jne 0x544d04
push dword [ebp + 8]
push dword [ebx + 0xc]
push edx
push dword [ebx]
push dword [ebx - 4]
cmp esi, 1
jne 0x544c46
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStructW]
mov esi, eax
jmp 0x544cee
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructW]
jmp 0x544c3f
xor eax, eax
lea edi, [ebp - 0x2e]
mov word [ebp - 0x30], ax
push 7
pop ecx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x30]
cmp esi, 1
jne 0x544c8b
push 0xa
push 0xf
push eax
push dword [edx]
call fcn.0067d003
add esp, 0x10
lea eax, [ebp - 0x30]
push dword [ebp + 8]
push eax
push dword [ebx]
push dword [ebx - 4]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov esi, eax
xor edi, edi
jmp 0x544cee
push dword [ebp + 8]
xor edi, edi
push 0xf
push eax
push edi
push dword [ebx]
push dword [ebx - 4]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, eax
neg esi
sbb esi, esi
neg esi
je 0x544cee
lea eax, [ebp - 0x30]
push eax
call fcn.0067ca08
pop ecx
mov ecx, dword [ebp - 0x3c]
mov dword [ecx], eax
jmp 0x544cee
push dword [ebp + 8]
cmp esi, 1
jne 0x544cd3
push edx
push dword [ebx]
push dword [ebx - 4]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x544c3f
push dword [ebx + 0xc]
push edx
push edi
push dword [ebx]
push dword [ebx - 4]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
neg eax
sbb esi, esi
inc esi
mov eax, dword [ebp - 0x34]
test esi, esi
je 0x544d0b
add ebx, 0x18
cmp dword [ebx + 4], 4
jne 0x544beb
jmp 0x544d29
mov esi, 0x80004001
jmp 0x544d32
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x544d1d
push 2
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
jne 0x544d29
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, edi
call fcn.00534cf6
mov esi, eax
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00515ed6
mov eax, esi
call fcn.00648afa
ret
Function at 0x547916
Capabilities:
Create process on windows
Open clipboard

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0x110
push ebx
push esi
push edi
mov edi, ecx
jne 0x547953
push ecx
push ecx
mov ecx, dword [ebp + 0xc]
mov edx, esp
xor ebx, ebx
inc ebx
mov dword [edi + 0x20], ebx
mov dword [edx], ecx
mov ecx, edi
call fcn.00547a3b
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
cmp dword [edi + 0x20], 0
je 0x5479ec
mov eax, ebx
jmp 0x5479ee
cmp dword [ebp + 8], 0x111
jne 0x5479ec
mov eax, 0x412
cmp ax, word [ebp + 0xc]
jne 0x54798e
push 0xa
xor esi, esi
xor ebx, ebx
push esi
push esi
push dword [edi + 0x24]
inc ebx
push esi
push dword [edi + 4]
mov dword [edi + 0x20], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
cmp dword [edi + 0x20], esi
jmp 0x547946
push 5
pop eax
cmp ax, word [ebp + 0xc]
jne 0x5479cf
mov ecx, dword [edi + 0x24]
xor ebx, ebx
inc ebx
sub ecx, 0x10
mov dword [edi + 0x20], ebx
call fcn.00515476
push dword [edi + 4]
lea esi, [eax + 0x10]
mov dword [ebp + 0xc], esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x5479c3
lea ecx, [ebp + 0xc]
call fcn.0058e7e9
lea ecx, [esi - 0x10]
call fcn.00515ed6
xor esi, esi
jmp 0x547984
push 2
pop eax
cmp ax, word [ebp + 0xc]
jne 0x5479ec
xor esi, esi
xor ebx, ebx
push esi
push dword [edi + 4]
inc ebx
mov dword [edi + 0x20], ebx
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x547984
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x5486b0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x81c5a8]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x28], 0x10
push esi
mov word [ebp - 0x24], ax
mov esi, ecx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0xffffffffffffffff
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x27c]
push 0x104
push eax
call fcn.0067cdbf
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop esi
call fcn.00647fba
mov esp, ebp
pop ebp
ret
Function at 0x548bca
Capabilities:
Check os version

Disassembly:
push 0x120
mov eax, 0x6cd77c
call fcn.00648b50
mov esi, ecx
mov dword [ebp - 0x128], esi
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
push 0x58
push eax
lea edi, [esi + 0x20]
push edi
call fcn.0066f220
xor eax, eax
mov dword [ebp - 0x124], 0x114
xor ecx, ecx
lea ebx, [esi + 0x27c]
mov word [ebx], ax
mov eax, dword [ebp + 8]
mov word [esi + 0x7c], cx
push 0x110
mov dword [esi + 0x78], eax
lea eax, [ebp - 0x120]
push ecx
push eax
mov dword [edi], 0x58
call fcn.0066f220
add esp, 0x18
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x548c63
cmp dword [ebp - 0x120], 5
jae 0x548c69
cmp dword [ebp - 0x120], 4
jne 0x548c63
cmp dword [ebp - 0x11c], 0x5a
jae 0x548c69
mov dword [edi], 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
and dword [esi + 0x2c], 0
or ecx, 0x880020
mov dword [esi + 0x5c], eax
lea eax, [esi + 0x7c]
mov dword [esi + 0x44], eax
mov eax, esi
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], 0x104
mov dword [esi + 0x48], 0x100
mov dword [esi + 0x54], ecx
mov ecx, dword [0x833208]
and dword [esi + 0x24], 0
mov dword [esi + 0x28], ecx
mov dword [esi + 0x64], 0x51fc05
call fcn.00648afa
ret 0x18

Function at 0x5516ca
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c9676
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x81c5a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x30]
xor al, al
mov ecx, dword [esi + 0x2c]
mov edi, edx
rep stosb byte es:[edi], al
push edx
call fcn.0067b635
pop ecx
and dword [ebp - 4], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x551714
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x552673
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [ecx + 0xac]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret
Function at 0x5596e1
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x6cf75a
call fcn.00648b50
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x5597e1
cmp byte [ebx + 0x3d], 0
je 0x5597e1
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x55971b
xor al, al
jmp 0x5597e3
xor eax, eax
mov dword [ebp - 0x18], 0xf
push eax
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
call fcn.005276fa
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
lea eax, [ebp - 0x30]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x1c]
lea esi, [ebp - 0x2c]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x559779
sub eax, 1
je 0x55977d
dec eax
sub eax, 1
je 0x5597cf
xor bl, bl
jmp 0x5597d1
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x2c]
cmp ecx, 0x10
mov esi, dword [ebp - 0x30]
cmovae eax, edx
sub esi, eax
je 0x5597b5
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0067e080
add esp, 0x10
cmp esi, eax
jne 0x559775
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
cmp byte [ebx + 0x3d], 0
je 0x5597cf
test esi, esi
jne 0x55973f
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00526dbb
jmp 0x559739
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0051786a
mov al, bl
jmp 0x5597e3
mov al, 1
call fcn.00648afa
ret
Function at 0x55f590
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6cfd48
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x81c5a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi], 0x753fec
mov dword [esi + 0x34], 0xf
mov dword [esi + 0x30], 0
cmp dword [esi + 0x34], 0x10
jb 0x55f5ef
mov eax, dword [esi + 0x20]
jmp 0x55f5f2
lea eax, [esi + 0x20]
mov byte [eax], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 4
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [esi], vtable.TiXmlText.0
cmp byte [edi], 0
jne 0x55f638
xor ecx, ecx
jmp 0x55f649
mov ecx, edi
lea ebx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x55f640
sub ecx, ebx
push ecx
push edi
lea ecx, [esi + 0x20]
call fcn.005173ba
mov byte [esi + 0x40], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4