joyce8/EMBER2024-capa huggingface dataset:
Function at 0x697ae2
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x18]
push ebp
mov ebp, dword [edx + 0x1050]
push edi
mov edi, dword [edx + 0x105c]
imul edi, ebp
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0x18]
add edi, eax
cmp eax, edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], edi
jae 0x697c26
push ebx
push esi
mov esi, 0xff00
mov ebx, dword [esp + 0x14]
mov edx, dword [edx + 0x1058]
lea edx, [eax + edx*2]
mov dword [esp + 0x10], ebx
add ebp, eax
cmp eax, edx
mov ebx, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], edx
jae 0x697c00
movzx edx, word [ebx]
movzx edi, word [ebx + 2]
movzx eax, word [ebp + 2]
movzx ebp, word [ebp]
mov dword [esp + 0x18], edx
mov ebx, eax
mov ecx, 0xff
and bx, cx
and dx, cx
add ebx, edx
mov edx, ebp
and dx, cx
add ebx, edx
mov edx, edi
and dx, cx
mov ecx, eax
and cx, si
and eax, esi
lea edx, [ebx + edx + 2]
mov ebx, dword [esp + 0x18]
and bx, si
shr edx, 2
add ecx, ebx
mov ebx, ebp
and bx, si
and ebp, esi
add ecx, ebx
mov ebx, edi
and bx, si
and edi, esi
lea ecx, [ecx + ebx + 0x200]
mov ebx, dword [esp + 0x1c]
shr ecx, 2
xor dl, cl
mov ecx, dword [esp + 0x18]
and ecx, esi
add eax, ecx
add eax, ebp
mov ebp, dword [esp + 0x20]
lea eax, [eax + edi + 0x200]
shr eax, 2
and edx, 0xffff00ff
xor edx, eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 2
add ebx, 4
add ebp, 4
cmp ebx, dword [esp + 0x28]
mov word [eax], dx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
jb 0x697b4b
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
mov edx, dword [ecx + 4]
mov edx, dword [edx + 0x1050]
add dword [esp + 0x14], edx
mov edx, dword [ecx]
mov ebp, dword [edx + 0x1050]
lea eax, [eax + ebp*2]
cmp eax, edi
mov dword [esp + 0x24], eax
jb 0x697b22
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x697c2e
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
push ebp
mov ebp, dword [eax + 0x18]
mov eax, dword [edx + 0x18]
push esi
mov esi, dword [edx + 0x105c]
push edi
mov edi, dword [edx + 0x1050]
imul esi, edi
add esi, eax
cmp eax, esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], esi
jae 0x697d64
push ebx
mov edx, dword [edx + 0x1058]
add edx, eax
add edi, eax
cmp eax, edx
mov ebx, eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], edx
jae 0x697d3f
movzx ebp, byte [ebx]
movzx esi, byte [ebx + 1]
movzx eax, byte [edi + 1]
movzx edi, byte [edi]
mov edx, eax
push 0xf
pop ecx
and edx, ecx
mov ebx, ebp
and ebx, ecx
add edx, ebx
mov ebx, edi
and ebx, ecx
add edx, ebx
mov ebx, esi
and ebx, ecx
lea edx, [edx + ebx + 2]
mov ecx, eax
and ecx, 0xffff00f0
mov ebx, ebp
and ebx, 0xffff00f0
add ecx, ebx
mov ebx, edi
and ebx, 0xffff00f0
add ecx, ebx
mov ebx, esi
and ebx, 0xffff00f0
shr edx, 2
lea ecx, [ecx + ebx + 0x20]
mov ebx, dword [esp + 0x14]
shr ecx, 2
xor dl, cl
mov ecx, 0xf0
and ax, cx
and bp, cx
and di, cx
and si, cx
and dl, 0xf
add eax, ebp
add eax, edi
mov edi, dword [esp + 0x18]
lea eax, [eax + esi + 0x20]
shr eax, 2
xor dl, al
mov eax, dword [esp + 0x10]
inc dword [esp + 0x10]
inc ebx
inc ebx
inc edi
inc edi
cmp ebx, dword [esp + 0x24]
mov byte [eax], dl
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
jb 0x697c8d
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
mov edx, dword [ecx + 4]
add ebp, dword [edx + 0x1050]
mov edx, dword [ecx]
mov edi, dword [edx + 0x1050]
lea eax, [eax + edi*2]
cmp eax, esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
jb 0x697c69
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x20
ret

Function at 0x6a03bc
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x6a03e9
push esi
call fcn.006afeb9
cmp byte [esi + 0x40], 0
pop ecx
je 0x6a03e2
mov dword [esi + 0x10], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x6a0458
mov eax, dword [esi + 0x18c]
cmp byte [eax + 0x10], 0
je 0x6a044d
mov eax, dword [esi + 8]
test eax, eax
je 0x6a040a
push esi
call dword [eax]
pop ecx
mov eax, dword [esi + 0x18c]
push esi
call dword [eax]
test eax, eax
pop ecx
je 0x6a0449
cmp eax, 2
je 0x6a044d
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x6a03ff
cmp eax, 3
je 0x6a042e
cmp eax, 1
jne 0x6a03ff
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
cmp dword [eax + 4], ecx
jl 0x6a03ff
mov edx, dword [esi + 0x118]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x6a03ff
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
jmp 0x6a0476
cmp eax, 0xcc
je 0x6a0476
mov eax, dword [esi]
mov dword [eax + 0x14], 0x12
mov eax, dword [esi]
mov ecx, dword [esi + 0x10]
mov dword [eax + 0x18], ecx
mov eax, dword [esi]
push esi
call dword [eax]
pop ecx
call fcn.006a028f
pop esi
ret
Function at 0x6b17c3
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x6b17d1
xor eax, eax
pop ebp
ret
cmp dword [ebp + 0x10], 8
push esi
mov esi, dword [ebp + 8]
not esi
mov ecx, 0xff
jb 0x6b18a5
mov eax, dword [ebp + 0x10]
push ebx
shr eax, 3
push edi
xor ebx, ebx
mov bl, byte [edx]
mov edi, esi
shr edi, 8
sub dword [ebp + 0x10], 8
xor ebx, esi
and ebx, ecx
mov esi, dword [ebx*4 + 0x701aa8]
xor ebx, ebx
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x701aa8]
xor ebx, ebx
shr esi, 8
xor edi, esi
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x701aa8]
xor ebx, ebx
shr edi, 8
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x701aa8]
xor ebx, ebx
shr esi, 8
xor edi, esi
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x701aa8]
xor ebx, ebx
shr edi, 8
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x701aa8]
shr esi, 8
xor edi, esi
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x701aa8]
shr edi, 8
xor esi, edi
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x701aa8]
shr esi, 8
xor esi, edi
inc edx
dec eax
jne 0x6b17ee
pop edi
pop ebx
cmp dword [ebp + 0x10], 0
je 0x6b18c5
xor eax, eax
mov al, byte [edx]
xor eax, esi
and eax, ecx
mov eax, dword [eax*4 + 0x701aa8]
shr esi, 8
xor esi, eax
inc edx
dec dword [ebp + 0x10]
jne 0x6b18ab
mov eax, esi
not eax
pop esi
pop ebp
ret
Function at 0x6beda0
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, ecx
movzx esi, word [edi + 0x28]
movzx ebp, word [edi + 0x2a]
add esi, 0xff
add ebp, 0xff
shr esi, 8
xor ebx, ebx
shr ebp, 8
cmp esi, ebx
jle 0x6beefb
cmp ebp, ebx
jle 0x6beefb
cmp dword [esp + 0x14], esi
jae 0x6beefb
cmp dword [esp + 0x18], ebp
jae 0x6beefb
cmp dword [edi + 0xc], ebx
jne 0x6bedf8
call fcn.006bec20
test al, al
je 0x6beefb
mov al, byte [edi + 0x1c]
cmp al, 5
jne 0x6bee4c
mov cl, byte [edi + 0x1d]
cmp cl, 1
je 0x6beefb
cmp cl, 2
jne 0x6bee4c
mov eax, dword [esp + 0x1c]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov cx, word [edi + 0x20]
cmp cx, 0x100
movzx ecx, cx
jb 0x6bee2c
mov ecx, 0x100
mov dword [eax + 8], ecx
mov di, word [edi + 0x22]
cmp di, 0x100
movzx ecx, di
jb 0x6bee42
mov ecx, 0x100
pop edi
pop esi
pop ebp
mov dword [eax + 0xc], ecx
pop ebx
ret 0xc
cmp al, 4
je 0x6beeb5
cmp al, 5
je 0x6beeb5
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
dec esi
cmp eax, esi
mov dword [ebx], 0
mov dword [ebx + 4], 0
jne 0x6bee80
movzx eax, word [edi + 0x28]
push eax
call fcn.005c68d0
add esp, 4
mov dword [ebx + 8], eax
jmp 0x6bee87
mov dword [ebx + 8], 0x100
mov eax, dword [esp + 0x18]
dec ebp
cmp eax, ebp
jne 0x6beea7
movzx ecx, word [edi + 0x2a]
push ecx
call fcn.005c68d0
add esp, 4
pop edi
pop esi
pop ebp
mov dword [ebx + 0xc], eax
pop ebx
ret 0xc
pop edi
pop esi
pop ebp
mov dword [ebx + 0xc], 0x100
pop ebx
ret 0xc
imul esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x1c]
add esi, ebx
lea edx, [esi + esi*2]
lea eax, [eax + edx*4]
movzx edx, word [eax + 4]
mov dword [ecx], edx
movzx edx, word [eax + 6]
mov dword [ecx + 4], edx
movzx esi, word [eax + 4]
movzx edx, word [eax + 8]
add edx, esi
mov dword [ecx + 8], edx
movzx edx, word [eax + 0xa]
movzx eax, word [eax + 6]
pop edi
pop esi
add edx, eax
pop ebp
mov dword [ecx + 0xc], edx
pop ebx
ret 0xc
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
pop ebx
ret 0xc
Function at 0x41cbaa
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041c84c

Function at 0x41cbb5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041c9db

Function at 0x41cfaf
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040bb30
mov eax, dword [0x435040]
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.0041aae9
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41cff1
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41d14d
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00427e50
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 + 0x482618]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041e17f
mov ecx, dword [esi*4 + 0x482618]
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 0x41d146
cmp eax, dword [edi + ecx + 0x24]
jne 0x41d146
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 0x41d146
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041e17f
add esp, 0x14
test edx, edx
jl 0x41d146
jg 0x41d0bc
test eax, eax
jb 0x41d146
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41d146
jl 0x41d0d6
cmp dword [ebp - 0x1008], eax
ja 0x41d146
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41d0f4
test ebx, ebx
je 0x41d12d
cmp ecx, edi
jae 0x41d12d
mov al, byte [ecx]
cmp al, 0xd
jne 0x41d10e
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41d11a
cmp byte [ecx + 1], 0xa
jne 0x41d11a
inc ecx
jmp 0x41d11a
movzx eax, al
movsx eax, byte [eax + 0x435310]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41d0f4
cmp edx, ebx
jne 0x41d0f4
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41d14b
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040afc3
leave
ret
Function at 0x41d61d
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 + 0x482618]
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 0x41d65d
cmp byte [ebx], 0xa
jne 0x41d65d
or byte [eax + edi + 0x28], 4
jmp 0x41d662
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41d760
mov al, byte [edx]
cmp al, 0x1a
je 0x41d742
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41d691
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41d6b6
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41d6c0
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 0x41d673
jmp 0x41d760
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 0x41d73d
cmp dword [ebp - 0xc], 0
je 0x41d73d
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x482618]
test byte [eax + edi + 0x28], 0x48
je 0x41d717
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41d702
mov byte [esi], dl
jmp 0x41d713
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x482618]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41d760
cmp byte [ebp - 1], 0xa
jne 0x41d726
cmp esi, ebx
jne 0x41d726
mov byte [esi], 0xa
jmp 0x41d75f
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041e19d
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41d760
mov byte [esi], 0xd
jmp 0x41d75f
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x482618]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41d75c
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41d760
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41d769
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 + 0x482618]
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 0x41d7ac
cmp word [esi], dx
jne 0x41d7ac
or byte [edi + eax + 0x28], 4
jmp 0x41d7b1
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 0x41d904
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 0x41d8e4
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41d7f3
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41d829
cmp eax, edx
jae 0x41d835
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 0x41d7cb
jmp 0x41d904
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 0x41d8e0
cmp dword [ebp - 0x14], 0
je 0x41d8e0
mov eax, dword [ebx*4 + 0x482618]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41d8b8
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41d881
mov word [esi], cx
jmp 0x41d8b4
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x482618]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x482618]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x482618]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41d904
pop ebx
cmp word [ebp - 4], bx
jne 0x41d8c9
cmp esi, dword [ebp + 0xc]
jne 0x41d8c9
mov word [esi], bx
jmp 0x41d901
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041e19d
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41d904
push 0xd
jmp 0x41d8fd
mov ecx, dword [ebx*4 + 0x482618]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41d8fb
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41d904
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 0x1af7510
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x98c000]
push edi
or ebp, 0xffffffff
jmp 0x1af7532
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1af7539
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1af7528
mov eax, 1
add ebx, ebx
jne 0x1af754b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1af755c
jne 0x1af757b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1af757b
dec eax
add ebx, ebx
jne 0x1af7568
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1af7540
add ebx, ebx
jne 0x1af7577
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1af75cd
xor ecx, ecx
sub eax, 3
jb 0x1af7593
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1af7602
sar eax, 1
mov ebp, eax
jmp 0x1af759e
add ebx, ebx
jne 0x1af759e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1af756c
inc ecx
add ebx, ebx
jne 0x1af75ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1af756c
add ebx, ebx
jne 0x1af75b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1af75ae
jne 0x1af75ca
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1af75ae
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1af75ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1af75de
jmp 0x1af752e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1af75ec
add edi, ecx
jmp 0x1af752e
pop esi
mov edi, esi
mov ecx, 0x76d2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1af760a
cmp byte [edi], 0x22
jne 0x1af760a
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 0x1af760f
lea edi, [esi + 0x16f4000]
mov eax, dword [edi]
or eax, eax
je 0x1af7687
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x173dc64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x173dd88]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1af763c
mov ecx, edi
jns 0x1af766b
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 + 0x173dd90]
or eax, eax
je 0x1af7681
mov dword [ebx], eax
add ebx, 4
jmp 0x1af7659
call dword [esi + 0x173dd8c]
mov ebp, dword [esi + 0x173dd94]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
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 0x1af76bb
sub esp, 0xffffff80
jmp 0x4fcfbe
Function at 0x401190
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x406004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov ebx, ecx
mov dword [ebp - 0x134], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4011d6
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402ff6
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x130]
mov dword [ebp - 0x130], 0x128
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x40124d
mov edi, dword [sym.imp.KERNEL32.dll_Process32Next]
nop dword [eax + eax]
lea eax, [ebp - 0x10c]
mov ecx, ebx
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x401228
test dl, dl
je 0x401224
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x401228
add ecx, 2
add eax, 2
test dl, dl
jne 0x401208
xor eax, eax
jmp 0x40122d
sbb eax, eax
or eax, 1
test eax, eax
je 0x401241
lea eax, [ebp - 0x130]
push eax
push esi
call edi
test eax, eax
jne 0x401200
jmp 0x40124d
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x134], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x134]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00402ff6
mov esp, ebp
pop ebp
ret

Function at 0x401270
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x406004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push ecx
push 0x18
mov dword [ebp - 0x22c], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x401303
lea eax, [ebp - 0x228]
mov dword [ebp - 0x228], 0x224
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x401303
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Module32Next]
push edi
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
nop dword [eax + eax]
lea eax, [ebp - 0x208]
push 0x40429c
push eax
call edi
add esp, 8
test eax, eax
je 0x4012f5
lea eax, [ebp - 0x228]
push eax
push esi
call ebx
test eax, eax
jne 0x4012d0
jmp 0x401301
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x22c], eax
pop edi
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x22c]
xor ecx, ebp
pop esi
call fcn.00402ff6
mov esp, ebp
pop ebp
ret