joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6000ffc0
Capabilities:
Enumerate pe sections

Disassembly:
push edi
push esi
push ebx
sub esp, 0x10
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
xor ecx, ecx
mov dword [esp + 8], ecx
mov dword [esp + 4], esi
mov dword [esp + 0xc], ebx
nop
lea esi, [esi]
mov cl, byte [edx]
mov esi, dword [esp + 4]
mov edi, dword [esp + 0xc]
mov byte [esi], cl
mov bl, byte [eax]
mov byte [esi + 1], bl
mov cl, byte [edi]
mov byte [esi + 2], cl
mov cl, byte [edx + 2]
mov byte [esi + 3], cl
mov cl, byte [eax]
mov byte [esi + 4], cl
mov ecx, edi
mov cl, byte [ecx]
mov byte [esi + 5], cl
mov cl, byte [edx + 4]
mov byte [esi + 6], cl
mov cl, byte [eax + 2]
mov byte [esi + 7], cl
mov ecx, edi
mov cl, byte [ecx + 2]
mov byte [esi + 8], cl
mov cl, byte [edx + 6]
mov byte [esi + 9], cl
mov cl, byte [eax + 2]
mov byte [esi + 0xa], cl
mov ecx, edi
mov cl, byte [ecx + 2]
mov byte [esi + 0xb], cl
mov cl, byte [edx + 8]
mov byte [esi + 0xc], cl
mov cl, byte [eax + 4]
mov byte [esi + 0xd], cl
mov ecx, edi
mov cl, byte [ecx + 4]
mov byte [esi + 0xe], cl
mov cl, byte [edx + 0xa]
mov byte [esi + 0xf], cl
mov cl, byte [eax + 4]
mov byte [esi + 0x10], cl
mov ecx, edi
mov cl, byte [ecx + 4]
mov byte [esi + 0x11], cl
mov cl, byte [edx + 0xc]
mov byte [esi + 0x12], cl
mov cl, byte [eax + 6]
mov byte [esi + 0x13], cl
mov ecx, edi
mov cl, byte [ecx + 6]
mov byte [esi + 0x14], cl
mov cl, byte [edx + 0xe]
mov byte [esi + 0x15], cl
mov cl, byte [eax + 6]
mov byte [esi + 0x16], cl
mov ecx, edi
mov cl, byte [ecx + 6]
mov byte [esi + 0x17], cl
mov cl, byte [edx + 0x10]
add esi, dword [esp + 0x30]
mov byte [esi], cl
mov cl, byte [eax]
mov byte [esi + 1], cl
mov ecx, edi
mov cl, byte [ecx]
mov byte [esi + 2], cl
mov cl, byte [edx + 0x12]
mov byte [esi + 3], cl
mov cl, byte [eax]
mov byte [esi + 4], cl
mov ecx, edi
mov cl, byte [ecx]
mov byte [esi + 5], cl
mov cl, byte [edx + 0x14]
mov byte [esi + 6], cl
mov cl, byte [eax + 2]
mov byte [esi + 7], cl
mov ecx, edi
mov cl, byte [ecx + 2]
mov byte [esi + 8], cl
mov cl, byte [edx + 0x16]
mov byte [esi + 9], cl
mov cl, byte [eax + 2]
mov byte [esi + 0xa], cl
mov ecx, edi
mov cl, byte [ecx + 2]
mov byte [esi + 0xb], cl
mov cl, byte [edx + 0x18]
mov byte [esi + 0xc], cl
mov cl, byte [eax + 4]
mov byte [esi + 0xd], cl
mov ecx, edi
mov cl, byte [ecx + 4]
mov byte [esi + 0xe], cl
mov cl, byte [edx + 0x1a]
mov byte [esi + 0xf], cl
mov cl, byte [eax + 4]
mov byte [esi + 0x10], cl
mov ecx, edi
mov cl, byte [ecx + 4]
mov byte [esi + 0x11], cl
mov cl, byte [edx + 0x1c]
mov byte [esi + 0x12], cl
mov cl, byte [eax + 6]
mov byte [esi + 0x13], cl
mov ecx, edi
mov cl, byte [ecx + 6]
mov byte [esi + 0x14], cl
mov cl, byte [edx + 0x1e]
add edx, 0x20
mov byte [esi + 0x15], cl
mov cl, byte [eax + 6]
add eax, 0x10
mov byte [esi + 0x16], cl
mov ecx, edi
mov cl, byte [ecx + 6]
mov byte [esi + 0x17], cl
mov ecx, dword [esp + 8]
inc ecx
add dword [esp + 0xc], 0x10
add esi, dword [esp + 0x30]
mov dword [esp + 4], esi
cmp ecx, 4
mov dword [esp + 8], ecx
jl 0x6000fff0
add esp, 0x10
pop ebx
pop esi
pop edi
ret
Function at 0x60027bf0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push 0
push eax
push edx
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop ebp
ret

Function at 0x60027c10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push 0
push eax
push edx
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
ret
Function at 0x600485bd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6004f020
cmp edx, dword [eax]
je 0x600485df
add eax, 8
inc ecx
cmp eax, 0x6004f0b0
jl 0x600485d0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6004f020]
jne 0x6004870d
mov eax, dword [0x6004ff58]
cmp eax, 1
je 0x600486e7
test eax, eax
jne 0x60048610
cmp dword [0x6004ff5c], 1
je 0x600486e7
cmp edx, 0xfc
je 0x6004870d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x60048647
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.60048fa0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.60049430
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x6004868a
lea eax, [ebp - 0x1a4]
push eax
call fcn.60049430
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x6004d498
push edi
call fcn.6004aba0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.60048fa0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.60048fb0
lea eax, [ebp - 0xa0]
push 0x6004d478
push eax
call fcn.60048fb0
push dword [esi + 0x6004f024]
lea eax, [ebp - 0xa0]
push eax
call fcn.60048fb0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.6004ab15
add esp, 0x2c
pop edi
jmp 0x6004870d
lea eax, [ebp + 8]
lea esi, [esi + 0x6004f024]
push 0
push eax
push dword [esi]
call fcn.60049430
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 0x2980fcc1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x2980fcd0
pop dword [ebp - 4]
mov eax, 0xc66065b6
add eax, 0x6320971a
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0xfd2be069
sub dword [ebp - 0x14], 0xaed99b1e
mov dword [ebp - 0x10], 0x9675f572
sub dword [ebp - 0x10], 0x6442a92d
mov dword [ebp - 0xc], 0x214d6da5
sub dword [ebp - 0xc], 0xd5012977
mov dword [ebp - 8], 0x26ee2a12
add dword [ebp - 8], 0xd911d5ee
lea eax, [ebp - 0x14]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0x7cc604f9
sub dword [ebp - 0x14], 0x8539ba3
mov dword [ebp - 0x10], 0x53e154d7
add dword [ebp - 0x10], 0xed8b0c9e
mov dword [ebp - 0xc], 0xd8e553b9
add dword [ebp - 0xc], 0x8a8a18b3
mov dword [ebp - 8], 0xbe37fb0d
sub dword [ebp - 8], 0xbe37fb0d
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x48637
push 0
call eax
mov ecx, 0xdc438fc1
sub ecx, 0xdc434621
xor esi, esi
add esi, eax
mov edx, 0x29896400
add edx, dword [ebp - 4]
mov ebx, 0xdbd4dabb
add ebx, 0x78fe4c14
mov edi, dword [edx]
xor edi, ebx
mov dword [esi], edi
add esi, 4
add edx, 4
loop 0x2980fde4
add eax, 0x531de2d5
sub eax, 0x531cc982
mov ebx, eax
add eax, 5
mov ecx, 0x8151153a
sub ecx, 0x57d1153a
add ecx, dword [ebp - 4]
call ebx
leave
ret
Function at 0x8ea0b0
Capabilities:
Decompress data using aplib

Disassembly:
call 0x8ea200
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 0x8ea0d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8ea0c2
add dl, dl
jne 0x8ea0e1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8ea134
xor eax, eax
add dl, dl
jne 0x8ea0ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8ea1d5
add dl, dl
jne 0x8ea0fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8ea108
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8ea113
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8ea11e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8ea12a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x8ea0cd
mov eax, 1
add dl, dl
jne 0x8ea142
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8ea14d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8ea139
sub eax, ebx
mov ebx, 1
jne 0x8ea180
mov ecx, 1
add dl, dl
jne 0x8ea166
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8ea171
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8ea15d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8ea0cd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x8ea197
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8ea1a2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8ea18e
cmp eax, 0x7d00
jae 0x8ea1c5
cmp eax, 0x500
jb 0x8ea1c0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8ea0cd
cmp eax, 0x7f
ja 0x8ea1c8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8ea0cd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x8ea1f6
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 0x8ea0cd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x10002c7b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmp al, 3
clc
movzx eax, word [edi + 0x14]
lea esi, [eax + edi + 0x18]
mov dword [ebp - 0x44], esi
call fcn.1000299a
jle 0x10002c15
cmpsd dword [esi], dword es:[edi]
sbb al, 0xf
mov bh, 0x47
push es
lea eax, [eax + eax*4]
shl eax, 3
sub eax, dword [ebp + 0x10]
add eax, esi
mov dword [ebp - 0xb4], eax
mov dword [ebp - 8], eax
call fcn.1000299a
push ecx
mov bl, 0xb8
loope 0x10002c37
mov eax, dword [edi + 6]
cmp ax, bx
jbe 0x10002bf4
lea ecx, [esi + 0xc]
movzx edx, ax
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x10002bee
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x10002bdf
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], pe_nt_image_headers32
mov byte [ebp - 0x47], 0xa7
call fcn.1000299a
cmp eax, 0x8dd9ed60
inc ebp
test al, 0x50
call fcn.100029aa
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.1000295f
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
clc
mov ecx, 0xfd5ce8a7
invalid
div ecx
test edx, edx
je 0x10002c88
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.1000299a
sbb esi, dword [esi]
cmp dword [0x50c0458d], esp
call fcn.100029aa
push eax
push esi
push dword [ebp + 8]
call fcn.1000295f
add esp, 0x10
les edx, [eax]
Function at 0x10002cf0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
les edx, [eax]
mov dword [ebp - 0x88], eax
call fcn.1000299a
jge 0x10002d72
retf
inc ebp
wait
xor eax, 0x349c45c6
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.100029aa
push eax
push esi
push dword [ebp + 8]
call fcn.1000295f
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.100029aa
push eax
push esi
push dword [ebp + 8]
call fcn.1000295f
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.1000299a
sub ah, dl
mov cl, 0xb3
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
invalid
inc ebp

Function at 0x10002d5d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
xchg ebp, eax
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
invalid
invalid
Function at 0x10003026
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x1000304e
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x10003049
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x10003033
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x1000303b
cmp edx, ebx
jne 0x10003189
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x1000300a
add eax, dword [eax + 4]
jmp 0x10002ff7
mov dword [ebp + 0xc], ebx
jmp 0x10003059
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10003071
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
pushal
jmp 0x1000308f
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x100030ed
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x100030d4
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x100030dd
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x100030e7
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x100030c9
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
invalid
invalid
Function at 0x1000306e
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x1000304e
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x10003049
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x10003033
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x1000303b
cmp edx, ebx
jne 0x10003189
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x1000300a
add eax, dword [eax + 4]
jmp 0x10002ff7
mov dword [ebp + 0xc], ebx
jmp 0x10003059
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10003071
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
pushal
jmp 0x1000308f
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x100030ed
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x100030d4
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x100030dd
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x100030e7
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x100030c9
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
invalid
invalid

Function at 0x1000387b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
invalid
push ebx
stosd dword es:[edi], eax
Function at 0x403af0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ecx, dword [esp + 0x1c]
cmp ecx, 0
je 0x403cd5
call fcn.00403b06

Function at 0x452780
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xc
call fcn.005708c0
mov eax, dword [esp + 0x10]
push ebx
push esi
test byte [eax + 0x10], 4
mov esi, dword [eax + 4]
lea ebx, [esi - 1]
je 0x452827
mov ecx, dword [eax + 8]
xor edx, edx
push ebp
xor ebp, ebp
mov dword [esp + 0xc], 0
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], ecx
test ecx, ecx
jle 0x452810
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
push edi
push dword [ecx]
mov eax, ebp
xor eax, ebx
lea edi, [eax - 1]
not eax
shr edi, 0x1f
shr eax, 0x1f
and edi, eax
neg edi
mov esi, edi
or esi, dword [esp + 0x14]
call fcn.00452850
mov ecx, dword [esp + 0x18]
mov edx, esi
not edx
mov dword [esp + 0x14], esi
and edx, 0x20
and eax, edi
add edx, dword [esp + 0x24]
inc ebp
add edx, eax
add ecx, 4
add esp, 4
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], ecx
cmp ebp, dword [esp + 0x18]
jl 0x4527c3
pop edi
mov eax, ebx
shr ebx, 0x1f
not eax
dec eax
shr eax, 0x1f
and eax, ebx
pop ebp
dec eax
pop esi
and eax, edx
pop ebx
add esp, 0xc
ret
test esi, esi
jne 0x452833
pop esi
xor eax, eax
pop ebx
add esp, 0xc
ret
mov eax, dword [eax]
push dword [eax + esi*4 - 4]
call fcn.00452850
add esp, 4
shl esi, 5
add esi, 0xffffffe0
add eax, esi
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x499e60
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov cl, byte [esp + 0x10]
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
movzx eax, cl
and eax, 1
push edi
mov edi, dword [esp + 0x10]
test esi, esi
je 0x499ea2
push ebx
add edi, esi
lea ebx, [edx + esi]
movzx edx, byte [edi - 1]
lea edi, [edi - 1]
movzx ecx, cl
lea ebx, [ebx - 1]
xor edx, ecx
mov cl, byte [esp + 0x1c]
add eax, edx
mov byte [ebx], al
shr eax, 8
sub esi, 1
jne 0x499e82
pop ebx
pop edi
pop esi
ret
Function at 0x587ed6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00587d47

Function at 0x10073770
Capabilities:
Packed with generic packer

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax + 0x108247c], al
jne 0x10073917
pushal
mov esi, section.UPX1
lea edi, [esi - 0x63000]
push edi
or ebp, 0xffffffac
push ebx
sub byte [eax + 0x68a9090], dl
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x100737ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1007379b
mov eax, 1
add ebx, ebx
jne 0x100737be
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x100737cf
jne 0x100737df
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100737df
dec eax
add ebx, ebx
jne 0x100737db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x100737b3
xor ecx, ecx
sub eax, 3
jb 0x100737f7
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0x2a
je 0x10073869
sar eax, 1
mov ebp, eax
jmp 0x10073802
add ebx, ebx
jne 0x10073802
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1007380f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x10073833
inc ecx
add ebx, ebx
jne 0x1007381f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10073814
jne 0x10073830
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10073814
add ecx, 2
cmp ebp, 0x372a6f00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10073853
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10073844
jmp 0x3a3e62a1
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10073853
add edi, ecx
jmp 0x3a3e62a1
pop esi
mov edi, esi
mov ecx, 0x81f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x10073871
cmp byte [edi], 0xa
jne 0x10073871
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 eax, ebx
loop 0x10073876
lea edi, [esi + 0x70000]
mov eax, dword [edi]
or eax, eax
je 0x100738e5
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x732a0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x732f0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x100738a3
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x732f4]
or eax, eax
je 0x100738df
mov dword [ebx], eax
add ebx, 4
jmp 0x100738c0
popal
xor eax, eax
ret 0x500c
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10073916
cmp al, 0xef
ja 0x10073909
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x100738eb
and al, 0xf
sti
mov edi, 0x78b0445
add edi, 2
jmp 0x100738f8
popal
jmp 0x1000f098