joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4131b7
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x66c
push ebx
push esi
mov ebx, ecx
lea esi, [ebp - 0x418]
push edi
mov dword [ebp - 8], ebx
mov edx, ebx
sub esi, ebx
movzx eax, word [edx]
mov word [esi + edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x4131d2
lea ecx, [ebp - 0x418]
sub ecx, 2
xor edx, edx
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
cmp ax, dx
jne 0x4131ec
mov eax, dword [0x45e284]
lea edx, [ebp - 0x210]
mov dword [ecx], eax
sub edx, ebx
mov ax, word [0x45e288]
mov word [ecx + 4], ax
mov ecx, ebx
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x413213
lea edi, [ebp - 0x210]
sub edi, 2
xor esi, esi
mov ax, word [edi + 2]
lea edi, [edi + 2]
cmp ax, si
jne 0x41322d
mov eax, dword [0x458674]
mov dword [edi], eax
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4133a1
mov ecx, esi
movzx eax, word [ebp + ecx - 0x210]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x41a], ax
test ax, ax
jne 0x413261
mov byte [ebp - 1], 1
lea eax, [ebp - 0x668]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x413388
lea ecx, [ebp - 0x63c]
call fcn.00413141
test eax, eax
jne 0x413321
lea edx, [ebp - 0x63c]
xor ecx, ecx
mov esi, edx
mov ax, word [edx]
add edx, 2
cmp ax, cx
jne 0x4132ac
lea edi, [ebp - 0x210]
sub edx, esi
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, cx
jne 0x4132c2
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
test byte [ebp - 0x668], 0x10
rep movsb byte es:[edi], byte [esi]
je 0x41333e
lea ecx, [ebp - 0x210]
call fcn.004131b7
test eax, eax
je 0x41339a
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor esi, esi
mov ecx, esi
movzx eax, word [ebp + ecx - 0x418]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x212], ax
test ax, ax
jne 0x413309
mov al, byte [ebp - 1]
test al, al
jne 0x41327d
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x4133a3
test byte [ebp - 0x668], 1
je 0x413359
push 0x80
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x41339a
xor esi, esi
mov ecx, esi
movzx eax, word [ebp + ecx - 0x418]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x212], ax
test ax, ax
jne 0x41336e
jmp 0x413321
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x41339a
xor eax, eax
mov byte [ebp - 1], al
jmp 0x413324
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4133aa
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ecx
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 8]
mov edi, edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4133dc
xor al, al
jmp 0x4133fb
push ebx
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4133f2
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x413402
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
xor ebx, ebx
mov dword [ebp - 4], edx
push ebx
push 0x80
push 3
push ebx
push 3
push connect
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x413430
xor al, al
jmp 0x41346e
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 4]
mov esi, eax
push ebx
push esi
call fcn.00406048
mov ecx, dword [ebp - 4]
lea eax, [ebp - 8]
push ebx
push eax
push esi
mov dword [ebp - 8], ebx
call fcn.00402018
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop esi
test eax, eax
je 0x413465
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4137a1
Capabilities:
Change the wallpaper

Disassembly:
push ebx
push esi
push edi
mov edi, edx
sub ecx, 0
je 0x41384d
sub ecx, 1
je 0x41383f
sub ecx, 1
je 0x413831
sub ecx, 1
je 0x4137fe
sub ecx, 1
jne 0x41388f
push 1
sub esp, 0x18
mov ecx, esp
push 0x45858c
call fcn.00402168
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
mov edx, esi
call fcn.0040c683
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push 0x458588
jmp 0x41387b
push 1
sub esp, 0x18
mov ecx, esp
push 0x45deb0
call fcn.00402168
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
mov edx, esi
call fcn.0040c683
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push 0x45858c
jmp 0x41387b
push 1
sub esp, 0x18
mov ecx, esp
push 0x45e208
jmp 0x41380a
push 1
sub esp, 0x18
mov ecx, esp
push 0x458574
jmp 0x41380a
push 1
sub esp, 0x18
mov ebx, 0x45858c
mov ecx, esp
push ebx
call fcn.00402168
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
mov edx, esi
call fcn.0040c683
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push ebx
call fcn.00402168
push str.TileWallpaper
mov edx, esi
call fcn.0040c683
add esp, 0x20
push 3
push edi
push 0
push 0x14
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
pop edi
pop esi
pop ebx
ret

Function at 0x413a99
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
push ebx
mov bl, cl
call dword [sym.imp.KERNEL32.dll_AllocConsole]
call dword [0x466a0c]
test bl, bl
mov dword [0x466a20], eax
pop ebx
jne 0x413ac4
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push edi
push 1
call fcn.00432772
push eax
push 0x45e52c
push str.CONOUT_
call fcn.004360c9
push 0xc8
lea eax, [ebp - 0xc8]
push 0
push eax
call fcn.0042d620
lea edi, [ebp - 0xc8]
add esp, 0x1c
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x413afa
push 7
pop ecx
mov esi, str.___________________________n
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0xc8]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x413b13
mov esi, str.__Remcos_v
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0xc8]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x413b2a
mov esi, str.3.8.0_Light
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0xc8]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x413b41
push 6
pop ecx
mov esi, str._n__BreakingSecurity.net_n
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [ebp - 0xc8]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x413b5c
push 7
pop ecx
mov esi, str.___________________________n_n
lea eax, [ebp - 0xc8]
rep movsd dword es:[edi], dword [esi]
push eax
movsb byte es:[edi], byte [esi]
call fcn.0041261b
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x418d82
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [ecx + 4]
xor eax, eax
xor edx, edx
movzx ecx, word [esi]
cmp ax, cx
jae 0x418dad
movzx eax, dx
mov al, byte [eax + esi + 4]
cmp al, 0x13
je 0x418dad
cmp al, 0xc0
je 0x418dad
cmp al, 0xcc
je 0x418dad
add edx, 2
cmp dx, cx
jb 0x418d92
pop esi
ret

Function at 0x41b7e2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, edx
mov edx, dword [ebp + 0xc]
lea esi, [edi + 4]
push esi
call fcn.0041b77c
mov edx, dword [ebp + 8]
pop ecx
push 4
sub edx, edi
pop ecx
mov al, byte [edx + edi]
mov byte [edi], al
inc edi
sub ecx, 1
jne 0x41b7fe
push 8
pop ecx
mov al, byte [esi + edx]
xor byte [esi], al
inc esi
sub ecx, 1
jne 0x41b80c
pop edi
pop esi
pop ebp
ret

Function at 0x41d8e9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x41d903
sub edx, ecx
mov eax, dword [edx + ecx]
xor dword [ecx], eax
lea ecx, [ecx + 4]
sub esi, 1
jne 0x41d8f6
pop esi
pop ebp
ret

Function at 0x41d906
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, ecx
or eax, edx
push esi
mov esi, dword [ebp + 8]
or eax, esi
test al, 3
jne 0x41d923
shr esi, 2
push esi
call fcn.0041d8e9
pop ecx
jmp 0x41d934
test esi, esi
je 0x41d934
sub edx, ecx
mov al, byte [edx + ecx]
xor byte [ecx], al
inc ecx
sub esi, 1
jne 0x41d929
pop esi
pop ebp
ret

Function at 0x41d937
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov esi, edx
mov ebx, ecx
test edi, edi
jle 0x41d95d
sub ebx, esi
movzx edx, byte [ebx + esi]
movzx ecx, byte [esi]
xor edx, ecx
or eax, edx
inc esi
sub edi, 1
jne 0x41d94c
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x41d962
Capabilities:
Encrypt data using aes

Disassembly:
xor eax, eax
mov ecx, 0x45a038
push 0x20
pop edx
and eax, dword [ecx]
add ecx, 0x20
sub edx, 1
jne 0x41d96c
cmp ecx, str.SHA256wECDSA
jl 0x41d969
ret
Function at 0x4256f2
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
test edi, edi
je 0x4257eb
cmp dword [ebp + 8], 0
mov esi, dword [ebp + 0xc]
jne 0x425714
test esi, esi
jne 0x4257eb
cmp edx, 3
je 0x42574a
cmp edx, 4
je 0x42574a
cmp edx, 5
je 0x42574a
cmp edx, 6
je 0x42574a
cmp edx, 7
je 0x42574a
cmp edx, 8
je 0x42574a
cmp edx, 0xa
je 0x42574a
cmp edx, 0xb
je 0x42574a
cmp edx, 0xc
je 0x42574a
cmp edx, 0xd
jne 0x4257eb
xor ebx, ebx
mov byte [edi + 0x114], dl
push ecx
mov byte [edi + 0x115], bl
call fcn.004256d5
mov dword [ebp - 4], eax
pop ecx
test eax, eax
jne 0x4257f0
cmp byte [edi + 0x114], 6
lea ecx, [edi + 0x70]
jne 0x4257eb
cmp esi, 0x40
ja 0x42578f
cmp dword [ebp + 8], ebx
je 0x4257b6
push esi
push dword [ebp + 8]
push ecx
call fcn.0042db90
add esp, 0xc
jmp 0x4257b3
mov edx, dword [ebp + 8]
mov ecx, edi
push esi
call fcn.0042a333
pop ecx
test eax, eax
jne 0x4257f0
lea edx, [edi + 0x70]
mov ecx, edi
call fcn.0042a404
mov dword [ebp - 4], eax
test eax, eax
jne 0x4257f0
push 0x20
pop esi
lea ecx, [edi + 0x70]
cmp esi, 0x40
jae 0x4257ce
push 0x40
pop eax
sub eax, esi
push eax
lea eax, [ecx + esi]
push ebx
push eax
call fcn.0042d620
add esp, 0xc
mov al, byte [ebx + edi + 0x70]
xor al, 0x5c
mov byte [edi + ebx + 0xb0], al
xor byte [ebx + edi + 0x70], 0x36
inc ebx
cmp ebx, 0x40
jb 0x4257ce
mov eax, dword [ebp - 4]
jmp 0x4257f0
mov eax, 0xffffff53
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x429c82
Capabilities:
Hash data using sha256

Disassembly:
mov edx, ecx
test edx, edx
jne 0x429c36
mov eax, 0xffffff53
ret
push edi
push 8
xor eax, eax
mov edi, edx
pop ecx
rep stosd dword es:[edi], eax
mov dword [edx], 0x6a09e667
mov dword [edx + 4], 0xbb67ae85
mov dword [edx + 8], 0x3c6ef372
mov dword [edx + 0xc], 0xa54ff53a
mov dword [edx + 0x10], 0x510e527f
mov dword [edx + 0x14], 0x9b05688c
mov dword [edx + 0x18], 0x1f83d9ab
mov dword [edx + 0x1c], 0x5be0cd19
mov dword [edx + 0x60], eax
mov dword [edx + 0x64], eax
mov dword [edx + 0x68], eax
pop edi
ret
test ecx, ecx
jne 0x429c8c
mov eax, 0xffffff53
ret
mov dword [ecx + 0x6c], edx
jmp 0x429c2a
Function at 0x42a357
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
test esi, esi
jne 0x42a365
mov eax, 0xffffff53
pop esi
ret
mov eax, dword [esi + 0x60]
push ebx
push edi
lea edi, [esi + 0x20]
mov byte [edi + eax], 0x80
inc dword [esi + 0x60]
mov ecx, dword [esi + 0x60]
push 0x38
pop ebx
cmp ecx, ebx
jbe 0x42a3b2
push 0x40
pop eax
sub eax, ecx
push eax
lea eax, [ecx + edi]
push 0
push eax
call fcn.0042d620
push 0x40
pop eax
push eax
mov edx, edi
mov dword [esi + 0x60], eax
mov ecx, edi
call fcn.00429bfd
add esp, 0x10
mov edx, edi
mov ecx, esi
call fcn.00429c94
test eax, eax
jne 0x42a400
and dword [esi + 0x60], eax
mov eax, dword [esi + 0x60]
sub ebx, eax
push ebx
add eax, edi
push 0
push eax
call fcn.0042d620
mov ecx, dword [esi + 0x64]
mov edx, edi
mov eax, dword [esi + 0x68]
shr ecx, 0x1d
push 0x40
lea eax, [ecx + eax*8]
mov ecx, edi
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x64]
shl eax, 3
mov dword [esi + 0x64], eax
call fcn.00429bfd
mov eax, dword [esi + 0x68]
add esp, 0x10
mov dword [edi + 0x38], eax
mov edx, edi
mov eax, dword [esi + 0x64]
mov ecx, esi
mov dword [edi + 0x3c], eax
pop edi
pop ebx
pop esi
jmp fcn.00429c94
pop edi
pop ebx
pop esi
ret

Function at 0x42a404
Capabilities:
Hash data using sha256

Disassembly:
push ebx
mov ebx, ecx
push edi
mov edi, edx
test ebx, ebx
je 0x42a439
test edi, edi
je 0x42a439
call fcn.0042a357
test eax, eax
jne 0x42a43e
push esi
push 0x20
mov edx, ebx
mov ecx, ebx
call fcn.00429bfd
pop ecx
push 8
pop ecx
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
pop esi
pop edi
mov ecx, ebx
pop ebx
jmp 0x429c2a
mov eax, 0xffffff53
pop edi
pop ebx
ret

Function at 0x42a4f3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov eax, edx
mov esi, ecx
neg eax
mov dword [ebp - 8], esi
mov dword [ebp - 4], eax
test esi, esi
je 0x42a590
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x42a590
mov edx, dword [esi]
mov ecx, ebx
inc edx
call fcn.00425e40
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x42a595
xor edx, edx
push edi
cmp dword [esi], edx
jle 0x42a555
mov edi, dword [ebx + 0xc]
mov ecx, esi
call fcn.0042a4dd
mov ecx, ebx
mov esi, eax
call fcn.0042a4dd
mov ecx, dword [ebp - 4]
xor esi, eax
and esi, ecx
xor dword [edi + edx*4], esi
inc edx
mov esi, dword [ebp - 8]
cmp edx, dword [esi]
jl 0x42a52e
jmp 0x42a57b
mov ecx, dword [ebp - 4]
jmp 0x42a57b
mov edi, dword [ebx + 0xc]
mov ecx, esi
call fcn.0042a4dd
mov ecx, ebx
mov esi, eax
call fcn.0042a4dd
mov ecx, dword [ebp - 4]
xor esi, eax
and esi, ecx
xor dword [edi + edx*4], esi
inc edx
mov esi, dword [ebp - 8]
cmp edx, dword [ebx]
jl 0x42a55a
mov eax, dword [ebp - 8]
pop edi
mov eax, dword [eax]
xor eax, dword [ebx]
and eax, ecx
xor dword [ebx], eax
mov eax, dword [ebp - 0xc]
jmp 0x42a595
mov eax, 0xffffff53
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43cab2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043c931

Function at 0x44063f
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043ffad
Function at 0x44064a
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004401e8

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x5219d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x114000]
push edi
or ebp, 0xffffffff
jmp 0x5219f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5219f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5219e8
mov eax, 1
add ebx, ebx
jne 0x521a0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x521a00
jne 0x521a1c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x521a00
xor ecx, ecx
sub eax, 3
jb 0x521a30
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x521aa2
mov ebp, eax
add ebx, ebx
jne 0x521a3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x521a48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x521a6c
inc ecx
add ebx, ebx
jne 0x521a58
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x521a4d
jne 0x521a69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x521a4d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x521a8c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x521a7d
jmp 0x5219ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x521a8c
add edi, ecx
jmp 0x5219ee
pop esi
mov edi, esi
mov ecx, 0x924
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x521aaa
cmp byte [edi], 6
jne 0x521aaa
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 0x521aaf
lea edi, [esi + 0x11f000]
mov eax, dword [edi]
or eax, eax
je 0x521b27
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x20937c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x209430]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x521adc
mov ecx, edi
jns 0x521b0b
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 + 0x209434]
or eax, eax
je 0x521b21
mov dword [ebx], eax
add ebx, 4
jmp 0x521af9
call dword [esi + 0x209444]
mov ebp, dword [esi + 0x209438]
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 0x521b5b
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x429008]
jne 0x40100a
repz ret
jmp fcn.00401dd8

Function at 0x405eea
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00403abe
and dword [ebp - 4], 0
cmp dword [0x42b25c], 0
mov ebx, eax
jne 0x405f9b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40604c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40604c
push eax
call fcn.00403a4c
mov dword [esp], 0x4269a4
push edi
mov dword [0x42b25c], eax
call esi
push eax
call fcn.00403a4c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42b260], eax
call esi
push eax
call fcn.00403a4c
mov dword [esp], 0x426974
push edi
mov dword [0x42b264], eax
call esi
push eax
call fcn.00403a4c
pop ecx
mov dword [0x42b26c], eax
test eax, eax
je 0x405f9b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403a4c
pop ecx
mov dword [0x42b268], eax
mov eax, dword [0x42b268]
cmp eax, ebx
je 0x405ff3
cmp dword [0x42b26c], ebx
je 0x405ff3
push eax
call fcn.00403ac7
push dword [0x42b26c]
mov esi, eax
call fcn.00403ac7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x405ff3
test edi, edi
je 0x405ff3
call esi
test eax, eax
je 0x405fea
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405fea
test byte [ebp - 0xc], 1
jne 0x405ff3
or dword [ebp + 0x10], 0x200000
jmp 0x40602c
mov eax, dword [0x42b260]
cmp eax, ebx
je 0x40602c
push eax
call fcn.00403ac7
pop ecx
test eax, eax
je 0x40602c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40602c
mov eax, dword [0x42b264]
cmp eax, ebx
je 0x40602c
push eax
call fcn.00403ac7
pop ecx
test eax, eax
je 0x40602c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42b25c]
call fcn.00403ac7
pop ecx
test eax, eax
je 0x40604c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40604e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x425350
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x102c
call fcn.00408f60
mov eax, dword [0x429008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x100c], eax
cmp ebx, 0x182
jne 0x425389
lea ecx, [ebp - 0x102c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
jmp 0x425399
cmp ebx, 0x19f
jne 0x425399
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push edi
xor edi, edi
test ebx, ebx
jle 0x42541f
push esi
jmp 0x4253b0
lea esi, [ebp - 0x1008]
mov dword [ebp - 0x1008], 0
call fcn.00425340
mov dl, byte [ebp - 0x1008]
mov eax, dword [ebp - 0x100c]
xor byte [eax + edi], dl
cmp ebx, 0xf
jne 0x425419
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x1004]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push str.jenosumasotubo
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push 0
lea edx, [ebp - 0x804]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SleepEx]
inc edi
cmp edi, ebx
jl 0x4253b0
pop esi
pop edi
cmp ebx, 0x2d
jne 0x425439
mov dword [0x520f40], 0xa62e7790
mov dword [0x520f44], 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret

Function at 0x425450
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x429008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x520e0c]
push ebx
push esi
mov esi, dword [0x520c54]
mov ebx, eax
cmp eax, 0x5dd
jne 0x42548d
push 0
lea eax, [ebp - 0x404]
push eax
push str.Zimufekacegig_cataviwopip
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov eax, dword [0x42a000]
call fcn.00425310
cmp dword [0x520e0c], 0x2f
jne 0x4254a8
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push esi
call fcn.00425350
add esp, 4
cmp dword [0x520e0c], 0x568
pop esi
pop ebx
jne 0x4254da
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov ecx, dword [ebp - 0x408]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret