joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a7c23
Capabilities:
Get hostname

Disassembly:
push ebp
lea ebp, [esp - 0xa90]
sub esp, 0xb10
mov eax, dword [0x514d34]
xor eax, ebp
mov dword [ebp + 0xa8c], eax
and dword [ebp - 0x74], 0
lea ecx, [ebp - 0x68]
push ebx
mov ebx, dword [ebp + 0xa9c]
push esi
mov esi, dword [ebp + 0xaa0]
push edi
mov edi, dword [ebp + 0xa98]
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], 0x30
call fcn.004a7ec5
lea eax, [ebp - 0x78]
mov byte [esi], 0
push eax
lea eax, [ebp + 0xa5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x4a7e0e
lea eax, [ebp + 0xa5c]
push eax
push edi
call fcn.004a7e30
pop ecx
pop ecx
test ax, ax
je 0x4a7d2c
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x64]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x6c]
push eax
push 2
push 0
lea ecx, [ebp - 0x68]
call fcn.004a7f01
xor edi, edi
cmp dword [ebp - 0x64], edi
jbe 0x4a7d24
xor ebx, ebx
push 0
push 0
push 0x81
lea eax, [ebp + 0x9d8]
push eax
mov eax, dword [ebp - 0x6c]
push 0xffffffffffffffff
push dword [ebx + eax]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp + 0x9d8]
push eax
push dword [ebp - 0x7c]
call fcn.00447146
pop ecx
pop ecx
test eax, eax
je 0x4a7d06
inc edi
add ebx, 0x20
cmp edi, dword [ebp - 0x64]
jb 0x4a7cc4
jmp 0x4a7d24
mov eax, dword [ebp - 0x6c]
xor ecx, ecx
push ecx
push ecx
push 0x105
push esi
shl edi, 5
push 0xffffffffffffffff
push dword [edi + eax + 0x18]
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push dword [ebp - 0x6c]
jmp 0x4a7de9
lea eax, [ebp + 0x4bc]
push 0x4c34d0
push eax
call fcn.00446f90
lea eax, [ebp + 0x4bc]
push edi
push eax
call fcn.00446fa0
lea eax, [ebp + 0x4bc]
push 0x4c1278
push eax
call fcn.00446fa0
lea eax, [ebp + 0x4bc]
push ebx
push eax
call fcn.00446fa0
add esp, 0x20
lea eax, [ebp - 0x74]
lea ecx, [ebp - 0x68]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x64]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x70]
push eax
push 0
push 0
call fcn.004a7f3e
xor edi, edi
cmp dword [ebp - 0x64], edi
jbe 0x4a7de6
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
push 0x519
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x70]
push 0xffffffffffffffff
push dword [eax + edi*8 + 4]
push 0
push 0
call ebx
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp + 0x4bc]
push eax
call fcn.00447146
pop ecx
pop ecx
test eax, eax
je 0x4a7dd0
inc edi
cmp edi, dword [ebp - 0x64]
jb 0x4a7d96
jmp 0x4a7de6
mov eax, dword [ebp - 0x70]
xor ecx, ecx
push ecx
push ecx
push 0x105
push esi
push 0xffffffffffffffff
push dword [eax + edi*8]
push ecx
push ecx
call ebx
push dword [ebp - 0x70]
lea ecx, [ebp - 0x68]
call fcn.004a7ed9
cmp byte [esi], 0
je 0x4a7e0e
push esi
call fcn.00447230
pop ecx
cmp byte [eax + esi - 1], 0x5c
je 0x4a7e0e
push 0x5c
push esi
call fcn.0040970e
pop ecx
pop ecx
lea ecx, [ebp - 0x68]
call fcn.004a15d4
mov ecx, dword [ebp + 0xa8c]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00441a5e
lea esp, [ebp + 0xa90]
pop ebp
ret
Function at 0x4a7e30
Capabilities:
Resolve dns

Disassembly:
sub esp, 0xc
push esi
push edi
push dword [esp + 0x18]
xor esi, esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
test edi, edi
je 0x4a7ebc
movzx eax, word [edi + 8]
mov dword [esp + 0x10], eax
movzx eax, word [edi + 0xa]
mov dword [esp + 0xc], eax
cwde
push ebp
push eax
mov dword [esp + 0x10], eax
call fcn.00441cd2
push dword [esp + 0x10]
mov ebp, eax
mov eax, dword [edi + 0xc]
push dword [eax]
push ebp
call fcn.00442cc0
add esp, 0x10
push dword [esp + 0x20]
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x4a7eb4
mov ecx, dword [esp + 0x10]
cmp word [eax + 0xa], cx
jne 0x4a7eb4
mov ecx, dword [esp + 0x14]
cmp word [eax + 8], cx
jne 0x4a7eb4
push dword [esp + 0xc]
mov eax, dword [eax + 0xc]
push ebp
push dword [eax]
call fcn.0045b836
xor ecx, ecx
add esp, 0xc
inc ecx
test ax, ax
cmove esi, ecx
push ebp
call fcn.00441cdb
pop ecx
pop ebp
pop edi
mov ax, si
pop esi
add esp, 0xc
ret

Function at 0x4a815a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [0x5570ac], 0
and dword [ebp - 4], 0
cmp word [0x5570d0], 0
push esi
push edi
jne 0x4a81da
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push 0
lea eax, [ebp - 4]
push eax
movzx eax, di
push eax
push esi
push dword [0x5570cc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4a81da
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp word [0x5570dc], 0
mov dword [0x5570ac], eax
je 0x4a81b4
push 0x64
call fcn.0040b9be
jmp 0x4a81c9
call fcn.004a82cd
cmp word [ebp + 0x10], 0
je 0x4a81dc
movzx eax, ax
push eax
call fcn.004a81f5
add esi, dword [ebp - 4]
sub edi, dword [ebp - 4]
cmp word [0x5570d0], 0
pop ecx
je 0x4a817b
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4a81f5
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x514d34]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x517624]
push ebx
push esi
movzx esi, word [ebp + 8]
push edi
mov edi, dword [eax]
push 0
call fcn.004b9f00
lea eax, [ebp - 0x58]
mov dword [esp], str.Printer_Needs_Attention__
push eax
call fcn.00446f90
push esi
call fcn.004a7f99
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00446fa0
lea eax, [ebp - 0x58]
push str.____Press_I_to_Cancel_Print
push eax
call fcn.00446fa0
lea eax, [ebp - 0x58]
push eax
call fcn.00413fa8
add esp, 0x20
call fcn.00420913
call fcn.0040e319
mov esi, eax
call fcn.0040e319
mov ebx, 0x12c
jmp 0x4a828f
call fcn.0045d906
test ax, ax
je 0x4a8285
call fcn.0045d895
mov ecx, 0x1769
cmp ax, cx
je 0x4a82b8
call fcn.0040fcb6
call fcn.0040e319
sub eax, esi
cmp eax, ebx
jbe 0x4a826c
push 0x4c060e
call fcn.00413fa8
push edi
call fcn.004b9f00
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00441a5e
mov esp, ebp
pop ebp
ret
push str.Printer_Output_Cancelled
call fcn.00413fa8
xor eax, eax
inc eax
mov word [0x5570d0], ax
jmp 0x4a829f
Function at 0x4a89ec
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.0045db70
test ax, ax
jne 0x4a89fe
xor eax, eax
jmp 0x4a8a2e
push 2
lea eax, [ebp - 4]
push eax
push str.SUPPINIT
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea ecx, [ebp - 4]
add eax, ecx
push eax
call fcn.0040972a
push dword [ebp - 4]
call fcn.0040813e
pop ecx
pop ecx
xor ecx, ecx
cmp al, 0x59
sete cl
mov ax, cx
mov esp, ebp
pop ebp
ret
Function at 0x4aee6b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x7c
mov eax, dword [0x514d34]
xor eax, esp
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x88]
push ebx
push ebp
mov dword [esp + 0xc], eax
xor ebx, ebx
mov eax, dword [esp + 0x94]
push esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x8c]
push edi
mov edi, dword [esp + 0xa0]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x94]
push 0x524314
mov dword [esp + 0x3c], edi
mov byte [esp + 0x40], 1
mov dword [esp + 0x41], ebx
mov dword [esp + 0x34], 0x4aefb5
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edi
mov byte [esp + 0x2c], bl
mov dword [esp + 0x2d], ebx
mov dword [esp + 0x20], 0x4aefe4
call fcn.004039b0
mov ebp, eax
lea eax, [esp + 0x54]
push eax
call fcn.00401000
lea eax, [esp + 0x58]
push eax
push ebp
call fcn.00401170
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4aef90
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 5
push eax
lea eax, [esp + 0x84]
push eax
push ebp
call fcn.00404a00
add esp, 0xc
lea eax, [esp + 0x80]
lea ecx, [esp + 0x1c]
push dword [esp + 0x10]
push eax
call fcn.004af03e
mov ecx, dword [esp + 0x14]
mov eax, 0x4aefc7
mov dword [esp + 0x44], eax
neg eax
mov dword [esp + 0x4c], edi
mov edi, 0x524314
push edi
sbb eax, eax
mov dword [esp + 0x4c], ecx
push edi
lea ecx, [esp + 0x4c]
and eax, ecx
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x2c]
push eax
push ebp
call fcn.004049b0
push edi
push edi
push ebp
mov esi, eax
call fcn.00403a50
add esp, 0x24
test esi, esi
jne 0x4aef90
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x3d]
mov dword [ecx], eax
jmp 0x4aef9c
push esi
call fcn.004aee61
add esp, 4
movzx ebx, ax
mov ecx, dword [esp + 0x88]
mov ax, bx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00441a5e
add esp, 0x7c
ret
Function at 0x4b15bc
Capabilities:
Check for time delay via gettickcount
Receive data
Receive data on socket
Set socket configuration

Disassembly:
sub esp, 0x20
mov eax, dword [0x514d34]
xor eax, esp
mov dword [esp + 0x1c], eax
and dword [esp], 0
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
push esi
mov esi, dword [esp + 0x30]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov edx, dword [esp + 0x10]
mov ebp, eax
test edx, edx
jne 0x4b1656
call edi
sub eax, ebp
cmp eax, 0x7530
jae 0x4b161c
lea eax, [esp + 0x10]
push eax
push 0x4004667f
push dword [esi + 2]
call dword [sym.imp.WS2_32.dll_ioctlsocket]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esp + 0x10]
test edx, edx
je 0x4b15ec
jmp 0x4b1620
mov edx, dword [esp + 0x10]
test edx, edx
jne 0x4b1656
push str.Rcvd:_Timeout
lea ecx, [esp + 0x18]
call fcn.004082c1
lea eax, [esp + 0x14]
push eax
push esi
call fcn.004b1d2a
pop ecx
pop ecx
push 0
push 1
lea ecx, [esp + 0x1c]
call fcn.0040758b
mov eax, 0x5ac
jmp 0x4b17a6
test ebx, ebx
je 0x4b1695
cmp edx, 3
jae 0x4b1695
push edx
push str.Rcvd:_Return_code_requested_and_only__dword__5_characters_returned
lea ecx, [esp + 0x1c]
call fcn.00408368
push eax
call fcn.00408abf
push eax
push esi
call fcn.004b1d2a
add esp, 0x14
lea ecx, [esp + 0x14]
push 0
push 1
call fcn.0040758b
mov eax, 0x5ad
jmp 0x4b17a6
movzx eax, word [esi + 0x10a]
movzx ecx, dx
inc ecx
cmp eax, ecx
jge 0x4b16de
push dword [esi + 0x106]
call fcn.00441cdb
mov eax, dword [esp + 0x14]
inc eax
push eax
call fcn.00441cd2
mov dword [esi + 0x106], eax
pop ecx
pop ecx
test eax, eax
jne 0x4b16d0
mov eax, 0x5ab
jmp 0x4b17a6
mov edx, dword [esp + 0x10]
lea eax, [edx + 1]
mov word [esi + 0x10a], ax
mov ecx, dword [esi + 0x106]
test ecx, ecx
je 0x4b16ff
movzx eax, word [esi + 0x10a]
push eax
push 0
push ecx
call fcn.00443240
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov edi, dword [esi + 0x106]
jmp 0x4b1729
push 0
push edx
push edi
push dword [esi + 2]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x4b17b9
mov edx, dword [esp + 0x10]
sub edx, eax
add edi, eax
mov dword [esp + 0x10], edx
test edx, edx
jne 0x4b1707
mov edi, dword [esi + 0x106]
push edi
call fcn.00447230
pop ecx
cmp byte [eax + edi - 1], 0x1a
jne 0x4b1753
push edi
call fcn.00447230
pop ecx
mov ecx, dword [esi + 0x106]
mov byte [eax + ecx - 1], 0
push dword [esi + 0x106]
lea ecx, [esp + 0x18]
push str.Rcvd:__str_
call fcn.00408368
push eax
call fcn.00408abf
push eax
push esi
call fcn.004b1d2a
add esp, 0x14
lea ecx, [esp + 0x14]
push 0
push 1
call fcn.0040758b
test ebx, ebx
je 0x4b17a4
push ebx
push 5
push 3
push dword [esi + 0x106]
call fcn.0040a476
add esp, 0x10
test ax, ax
jne 0x4b168b
xor eax, eax
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00441a5e
add esp, 0x20
ret
mov eax, 0x5a9
jmp 0x4b17a6
Function at 0x4b17c0
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x1c
mov eax, dword [0x514d34]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
mov ebx, dword [esp + 0x24]
lea ecx, [esp + 4]
push ebp
mov ebp, dword [esp + 0x30]
push esi
push edi
mov edi, dword [esp + 0x34]
push ebx
push str.Sent:__str_
call fcn.00408368
push eax
call fcn.00408abf
push eax
push ebp
call fcn.004b1d2a
add esp, 0x14
lea ecx, [esp + 0x10]
push 0
push 1
call fcn.0040758b
test edi, edi
je 0x4b1811
and dword [edi], 0
push ebx
call fcn.00447230
pop ecx
mov esi, eax
jmp 0x4b185c
mov eax, 0x400
cmp esi, eax
push 0
cmovb eax, esi
push eax
push ebx
push dword [ebp + 2]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x4b1852
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xffffd8cd
cmp eax, 1
ja 0x4b1875
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4b185c
test edi, edi
je 0x4b1858
add dword [edi], eax
add ebx, eax
sub esi, eax
test esi, esi
jne 0x4b181c
xor eax, eax
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00441a5e
add esp, 0x1c
ret
mov eax, 0x5a8
jmp 0x4b1862

Function at 0x4b19ba
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x514d34]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
push edi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x4c], 1
call fcn.00447230
pop ecx
test eax, eax
js 0x4b19f5
cmp byte [edi + eax], 0x2e
je 0x4b19f5
sub eax, 1
jns 0x4b19ea
add eax, edi
cmp byte [eax], 0x2e
jne 0x4b1a9a
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00446f90
pop ecx
pop ecx
lea eax, [ebp - 0x44]
push eax
push 0x20019
push esi
lea eax, [ebp - 0x18]
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4b1a5a
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0x28
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x4c]
push eax
push esi
push str.Content_Type
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x44]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4b1aaa
lea eax, [ebp - 0x18]
push 0x4c8c74
push eax
call fcn.00447146
pop ecx
pop ecx
test eax, eax
jne 0x4b1a75
push str.application_pdf
jmp 0x4b1a9f
lea eax, [ebp - 0x18]
push 0x4e7640
push eax
call fcn.00447146
pop ecx
test eax, eax
lea eax, [ebp - 0x40]
pop ecx
jne 0x4b1a93
push str.application_vnd.ms_excel
jmp 0x4b1aa2
push str.application_octet_stream
jmp 0x4b1aa2
push str.application_octet_stream
lea eax, [ebp - 0x40]
push eax
call fcn.00446f90
pop ecx
pop ecx
push edi
lea eax, [ebp - 0x40]
push eax
push str.Content_Type:__s__name_s_r_n
push ebx
call fcn.0046e15a
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00441a5e
mov esp, ebp
pop ebp
ret
Function at 0x4b1ace
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0x50
mov eax, dword [0x514d34]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push ebp
push esi
push edi
push 0x10
pop ecx
mov esi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov ebp, dword [esp + 0x64]
lea edi, [esp + 0x18]
mov ebx, dword [esp + 0x6c]
rep movsd dword es:[edi], dword [esi]
push 0x36
pop ecx
movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x68]
mov esi, ebp
sub edi, ebp
cmp edi, 2
jle 0x4b1ba6
or eax, 0xffffffff
xor edx, edx
sub eax, ebp
mov dword [esp + 0x14], eax
lea eax, [edi - 3]
push 3
pop ecx
div ecx
inc eax
imul ecx, eax, 0xfffffffd
mov ebp, eax
add edi, ecx
mov dword [esp + 0x68], edi
mov edi, dword [esp + 0x14]
lea eax, [edi + 1]
add eax, esi
push 0x36
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x4b1b45
mov word [ebx], 0xa0d
add ebx, 2
movzx eax, byte [esi]
shr eax, 2
mov al, byte [esp + eax + 0x18]
mov byte [ebx], al
mov al, byte [esi]
movzx ecx, byte [esi + 1]
shl al, 4
shr ecx, 4
or ecx, eax
and ecx, 0x3f
mov al, byte [esp + ecx + 0x18]
mov byte [ebx + 1], al
mov al, byte [esi + 1]
movzx ecx, byte [esi + 2]
shl al, 2
shr ecx, 6
or ecx, eax
and ecx, 0x3f
mov al, byte [esp + ecx + 0x18]
mov byte [ebx + 2], al
movsx eax, byte [esi + 2]
add esi, 3
and eax, 0x3f
mov al, byte [esp + eax + 0x18]
mov byte [ebx + 3], al
add ebx, 4
sub ebp, 1
jne 0x4b1b2e
mov edi, dword [esp + 0x68]
mov ebp, dword [esp + 0x64]
push 0x36
pop ecx
cmp edi, 1
jne 0x4b1be3
mov eax, esi
sub eax, ebp
cdq
idiv ecx
test edx, edx
jne 0x4b1bbe
mov word [ebx], 0xa0d
add ebx, 2
movzx eax, byte [esi]
shr eax, 2
mov al, byte [esp + eax + 0x18]
mov byte [ebx], al
mov al, byte [esi]
and al, 3
shl al, 4
movsx eax, al
mov al, byte [esp + eax + 0x18]
mov byte [ebx + 1], al
mov word [ebx + 2], 0x3d3d
jmp 0x4b1c34
cmp edi, 2
jne 0x4b1c37
mov eax, esi
sub eax, ebp
cdq
idiv ecx
test edx, edx
jne 0x4b1bfa
mov word [ebx], 0xa0d
add ebx, edi
movzx eax, byte [esi]
shr eax, 2
mov al, byte [esp + eax + 0x18]
mov byte [ebx], al
mov al, byte [esi]
movzx ecx, byte [esi + 1]
shl al, 4
shr ecx, 4
or ecx, eax
and ecx, 0x3f
mov al, byte [esp + ecx + 0x18]
mov byte [ebx + 1], al
mov al, byte [esi + 1]
and al, 0xf
shl al, 2
movsx eax, al
mov al, byte [esp + eax + 0x18]
mov byte [ebx + 2], al
mov byte [ebx + 3], 0x3d
add ebx, 4
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
mov byte [ebx], 0
pop ebx
xor ecx, esp
call fcn.00441a5e
add esp, 0x50
ret
Function at 0x4b63b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4b63bc
pop ebp
ret
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.004b6110
Function at 0x4b8bcc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push ebx
push eax
push 1
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4b8bf6
mov eax, 0x618
jmp 0x4b8c90
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
push ebx
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4b8c21
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x61b
jmp 0x4b8c90
cmp dword [ebp - 8], 1
je 0x4b8c43
cmp dword [ebp - 8], 7
je 0x4b8c43
cmp dword [ebp - 8], 2
je 0x4b8c43
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x619
jmp 0x4b8c90
mov eax, dword [ebp - 0xc]
push esi
mov esi, dword [ebp + 0x14]
cmp eax, dword [esi]
jbe 0x4b8c63
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
mov dword [esi], eax
mov eax, 0x61a
jmp 0x4b8c8f
push esi
push dword [ebp + 0x10]
push ebx
push ebx
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
test eax, eax
je 0x4b8c87
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x61b
jmp 0x4b8c8f
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x401c66
pop dword [ebp - 0x34]
mov eax, 0xe9da6ab5
sub eax, 0xe99a4e4f
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x61ffa982
add dword [ebp - 0x44], 0xec529bc9
mov dword [ebp - 0x40], 0x1836cf90
sub dword [ebp - 0x40], 0xe603834b
mov dword [ebp - 0x3c], 0x4aff5cfb
add dword [ebp - 0x3c], 0x14ce733
mov dword [ebp - 0x38], 0x6cce5b5e
sub dword [ebp - 0x38], 0x6cce5b5e
lea eax, [ebp - 0x44]
push eax
mov eax, 0x49dd6e0
add eax, 0xfba25974
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x307dd5b2
sub dword [ebp - 0x44], 0xbc0b6c5c
mov dword [ebp - 0x40], 0xe3eb6af0
add dword [ebp - 0x40], 0x5d80f685
mov dword [ebp - 0x3c], 0x42aa6454
add dword [ebp - 0x3c], 0x20c50818
mov dword [ebp - 0x38], 0x7909936b
sub dword [ebp - 0x38], 0x7909936b
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x36546
push 0
call eax
mov ecx, 0xd62bd320
add ecx, 0x29d47445
xor ebx, ebx
add ebx, eax
mov esi, 0x407000
add esi, dword [ebp - 0x34]
mov edx, 0x4c3f55ab
sub edx, 0x9ccbc5b1
add dword [ebp - 4], edx
mov edi, dword [esi]
add dword [ebp - 0x2c], edx
add edi, edx
xor dword [ebp - 0x18], 0x3f29e947
mov dword [ebx], edi
add ebx, 4
add esi, 4
loop 0x401d7f
add eax, 0x11067
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x3bd5812e
sub ecx, 0x3b95812e
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x482950
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4d000]
mov dword [edi + 0x6ed18], 0x575f73d3
push edi
jmp 0x48297a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x482981
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x482970
mov eax, 1
add ebx, ebx
jne 0x482993
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4829a4
jne 0x4829c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4829c3
dec eax
add ebx, ebx
jne 0x4829b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x482988
add ebx, ebx
jne 0x4829bf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x482a15
xor ecx, ecx
sub eax, 3
jb 0x4829db
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x482a4a
sar eax, 1
mov ebp, eax
jmp 0x4829e6
add ebx, ebx
jne 0x4829e6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4829b4
inc ecx
add ebx, ebx
jne 0x4829f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4829b4
add ebx, ebx
jne 0x482a01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4829f6
jne 0x482a12
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4829f6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x482a34
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x482a26
jmp 0x482976
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x482a34
add edi, ecx
jmp 0x482976
pop esi
mov edi, esi
mov ecx, 0x308e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x482a52
cmp byte [edi], 0x12
jne 0x482a52
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x482a57
lea edi, [esi + 0x7f000]
mov eax, dword [edi]
or eax, eax
je 0x482acf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x86620]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8673c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x482a84
mov ecx, edi
jns 0x482ab3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x86744]
or eax, eax
je 0x482ac9
mov dword [ebx], eax
add ebx, 4
jmp 0x482aa1
call dword [esi + 0x86740]
mov ebp, dword [esi + 0x86748]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x482b03
sub esp, 0xffffff80
jmp 0x432e53