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

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x305000]
push edi
or ebp, 0xffffffff
jmp 0x848872
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x848879
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x848868
mov eax, 1
add ebx, ebx
jne 0x84888b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x848880
jne 0x84889c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x848880
xor ecx, ecx
sub eax, 3
jb 0x8488b0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x848922
mov ebp, eax
add ebx, ebx
jne 0x8488bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x8488c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x8488ec
inc ecx
add ebx, ebx
jne 0x8488d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x8488cd
jne 0x8488e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x8488cd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x84890c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x8488fd
jmp 0x84886e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x84890c
add edi, ecx
jmp 0x84886e
pop esi
mov edi, esi
mov ecx, 0xce
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x84892a
cmp byte [edi], 6
jne 0x84892a
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 0x84892f
lea edi, [esi + 0x446000]
mov eax, dword [edi]
or eax, eax
je 0x84899e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x449380]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4493bc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x84895c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4493c4]
or eax, eax
je 0x848998
mov dword [ebx], eax
add ebx, 4
jmp 0x848979
call dword [esi + 0x4493c0]
mov ebp, dword [esi + 0x4493c8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x8489d2
sub esp, 0xffffff80
jmp 0x403861
Function at 0xb36058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00b361a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xb3607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb3606a
add dl, dl
jne 0xb36089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb360dc
xor eax, eax
add dl, dl
jne 0xb36096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb3617d
add dl, dl
jne 0xb360a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb360b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb360bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb360c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xb360d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xb36075
mov eax, 1
add dl, dl
jne 0xb360ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb360f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb360e1
sub eax, ebx
mov ebx, 1
jne 0xb36128
mov ecx, 1
add dl, dl
jne 0xb3610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb36119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb36105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb36075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xb3613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb3614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb36136
cmp eax, 0x7d00
jae 0xb3616d
cmp eax, 0x500
jb 0xb36168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb36075
cmp eax, 0x7f
ja 0xb36170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb36075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xb3619e
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 0xb36075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x109bdc94
Capabilities:
Encode data using xor

Disassembly:
jmp 0x109bdc9e
pushal
call 0x109bdca4
pop ebp
sub ebp, 0x10
sub ebp, 0x9bdc94
mov al, byte [esp + 0x28]
xchg esp, eax
fcomp qword [ebx + 0x24848a00]
sub byte [eax], al
add byte [eax], al
cmp al, 1
je 0x109bdcc8
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x109bdcd1
mov eax, 0x9bdc94
add eax, ebp
add eax, 0x63
mov ecx, 0x5c2
mov edx, 0x32d42396
xor byte [eax], dl
inc eax
dec ecx
jne 0x109bdce8
jmp 0x109bdcfb
sbb eax, 0xaa1f1d5b
xchg esi, eax
xchg esi, eax
xchg esi, eax
pop ss
push edi
outsb dx, byte [esi]
xchg esi, eax
xchg esi, eax
xchg esi, eax
xchg ebp, eax
pop ebx
nop
xchg esi, eax
xchg esi, eax
xchg esi, eax
sub al, 0xbe
xchg esi, eax
xchg esi, eax
xchg esi, eax
popal
je 0x109bdcad
pop esi
sbb eax, 0x96969a17
xchg esi, eax
xchg ebp, eax
push ebx
invalid
Function at 0x420492
Capabilities:
Read file on windows

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

Function at 0x42049d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004202c3

Function at 0x420897
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040d920
mov eax, dword [0x4911c0]
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.0041e063
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4208d9
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x420a35
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00429330
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 + 0x493b60]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00421636
mov ecx, dword [esi*4 + 0x493b60]
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 0x420a2e
cmp eax, dword [edi + ecx + 0x24]
jne 0x420a2e
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 0x420a2e
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00421636
add esp, 0x14
test edx, edx
jl 0x420a2e
jg 0x4209a4
test eax, eax
jb 0x420a2e
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x420a2e
jl 0x4209be
cmp dword [ebp - 0x1008], eax
ja 0x420a2e
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4209dc
test ebx, ebx
je 0x420a15
cmp ecx, edi
jae 0x420a15
mov al, byte [ecx]
cmp al, 0xd
jne 0x4209f6
lea eax, [edi - 1]
cmp ecx, eax
jae 0x420a02
cmp byte [ecx + 1], 0xa
jne 0x420a02
inc ecx
jmp 0x420a02
movzx eax, al
movsx eax, byte [eax + 0x491488]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4209dc
cmp edx, ebx
jne 0x4209dc
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x420a33
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040cd03
leave
ret
Function at 0x420ad4
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 + 0x493b60]
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 0x420b14
cmp byte [ebx], 0xa
jne 0x420b14
or byte [eax + edi + 0x28], 4
jmp 0x420b19
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x420c17
mov al, byte [edx]
cmp al, 0x1a
je 0x420bf9
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x420b48
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x420b6d
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x420b77
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 0x420b2a
jmp 0x420c17
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 0x420bf4
cmp dword [ebp - 0xc], 0
je 0x420bf4
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x493b60]
test byte [eax + edi + 0x28], 0x48
je 0x420bce
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x420bb9
mov byte [esi], dl
jmp 0x420bca
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x493b60]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x420c17
cmp byte [ebp - 1], 0xa
jne 0x420bdd
cmp esi, ebx
jne 0x420bdd
mov byte [esi], 0xa
jmp 0x420c16
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00421654
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x420c17
mov byte [esi], 0xd
jmp 0x420c16
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x493b60]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x420c13
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x420c17
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x420c20
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 + 0x493b60]
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 0x420c63
cmp word [esi], dx
jne 0x420c63
or byte [edi + eax + 0x28], 4
jmp 0x420c68
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 0x420dbb
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 0x420d9b
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x420caa
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x420ce0
cmp eax, edx
jae 0x420cec
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 0x420c82
jmp 0x420dbb
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 0x420d97
cmp dword [ebp - 0x14], 0
je 0x420d97
mov eax, dword [ebx*4 + 0x493b60]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x420d6f
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x420d38
mov word [esi], cx
jmp 0x420d6b
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x493b60]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x493b60]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x493b60]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x420dbb
pop ebx
cmp word [ebp - 4], bx
jne 0x420d80
cmp esi, dword [ebp + 0xc]
jne 0x420d80
mov word [esi], bx
jmp 0x420db8
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00421654
add esp, 0x10
cmp word [ebp - 4], bx
je 0x420dbb
push 0xd
jmp 0x420db4
mov ecx, dword [ebx*4 + 0x493b60]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x420db2
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x420dbb
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 0x421ced
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4911c0]
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 0x421d38
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00421e8c
test al, al
jne 0x421d32
sub edx, 2
cmp edx, edi
jne 0x421d18
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x421d5a
lea eax, [edi + 2]
cmp edx, eax
je 0x421d5a
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00421c39
add esp, 0x10
jmp 0x421e54
push esi
lea ecx, [ebp - 0x255]
call fcn.00421e8c
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 0x421d9d
push dword [ebp - 0x25c]
jmp 0x421d4a
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 0x421dda
cmp word [ebp - 0x226], 0
je 0x421dfb
cmp word [ebp - 0x226], ax
jne 0x421dda
cmp word [ebp - 0x224], 0
je 0x421dfb
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00421c39
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x421e47
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x421db4
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x421e2f
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x421e54
push 0x421a69
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00427660
add esp, 0x10
jmp 0x421e24
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.0040cd03
leave
ret

Function at 0x429130
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42915d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42915d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x42a699
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
sar eax, 2
push edi
mov edi, dword [ebp + 0x14]
test eax, eax
je 0x42a719
push esi
xor esi, esi
cmp dword [ebp + 0x18], esi
jbe 0x42a718
push ebx
mov ebx, 0x493010
mov al, byte [edi + esi]
xor al, 0x73
sub al, 0x6c
xor al, 0x74
push str.Own_head
push ebx
mov byte [edi + esi], al
call fcn.0040146b
push eax
call fcn.00402d1f
mov al, byte [edi + esi]
add al, 0x4e
xor al, 0xdc
push str.Earth
push ebx
mov byte [edi + esi], al
call fcn.0040146b
push eax
call fcn.00402d1f
mov al, byte [edi + esi]
xor al, 0xac
sub al, 0x65
xor al, 0x22
sub al, 0x73
push 0x42b5b8
mov byte [edi + esi], al
call fcn.0041229e
xor byte [edi + esi], al
add esp, 0x1c
inc esi
cmp esi, dword [ebp + 0x18]
jb 0x42a6bb
pop ebx
pop esi
lea ecx, [ebp + 8]
call fcn.00406502
pop edi
pop ebp
ret 0x14
Function at 0x10048dc0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x10048f84
pushal
mov esi, section.UPX1
lea edi, [esi - 0x12000]
push edi
jmp 0x10048dea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10048df1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10048de0
mov eax, 1
add ebx, ebx
jne 0x10048e03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10048df8
jne 0x10048e14
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10048df8
xor ecx, ecx
sub eax, 3
jb 0x10048e28
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x10048e9a
mov ebp, eax
add ebx, ebx
jne 0x10048e33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x10048e40
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x10048e64
inc ecx
add ebx, ebx
jne 0x10048e50
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10048e45
jne 0x10048e61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10048e45
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10048e84
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10048e75
jmp 0x10048de6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10048e84
add edi, ecx
jmp 0x10048de6
pop esi
mov edi, esi
mov ecx, 0x125
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x10048ea2
cmp byte [edi], 2
jne 0x10048ea2
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 0x10048ea7
lea edi, [esi + 0x46000]
mov eax, dword [edi]
or eax, eax
je 0x10048f16
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x490f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x49180]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10048ed4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x49184]
or eax, eax
je 0x10048f10
mov dword [ebx], eax
add ebx, 4
jmp 0x10048ef1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10048f47
cmp al, 0xef
ja 0x10048f3a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x10048f1c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x10048f29
mov ebp, dword [esi + 0x49188]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x10048f7b
sub esp, 0xffffff80
jmp 0x100046f7
Function at 0x7002e77
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x701a85c]
jne 0x7002e81
repz ret
jmp fcn.0700f55f

Function at 0x70041b6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x70041c5
pop dword [ebp - 0x24]
mov eax, 0x413ecec9
add eax, 0xc5c172fc
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0xdbaa74e8
sub dword [ebp - 0x34], 0x8d582f9d
mov dword [ebp - 0x30], 0x781b85ee
add dword [ebp - 0x30], 0xba17c657
mov dword [ebp - 0x2c], 0x64268e5f
sub dword [ebp - 0x2c], 0x17da4a31
mov dword [ebp - 0x28], 0xbca0da3e
add dword [ebp - 0x28], 0x435f25c2
lea eax, [ebp - 0x34]
push eax
mov eax, 0x380a50d7
sub eax, 0x310930ab
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x4d192b21
sub dword [ebp - 0x34], 0xd8a6c1cb
mov dword [ebp - 0x30], 0x82e645ad
add dword [ebp - 0x30], 0xbe861bc8
mov dword [ebp - 0x2c], 0x20775fe4
add dword [ebp - 0x2c], 0x42f80c88
mov dword [ebp - 0x28], 0xb470904c
sub dword [ebp - 0x28], 0xb470904c
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0x46b912b7
add eax, 0xc0480d71
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x35125
push 0
call eax
mov ecx, 0x5d585f62
add ecx, 0xa2a7d273
mov edx, eax
mov edi, 0xc90bb9e3
sub edi, 0xc209d9e3
add edi, dword [ebp - 0x24]
mov esi, 0xb5ebf172
add esi, 0x23058039
sub dword [ebp - 0x20], esi
mov ebx, dword [edi]
mov dword [ebp - 0xc], 0x7c5457be
xor ebx, esi
mov dword [ebp - 8], 0x4e136230
mov dword [edx], ebx
mov dword [ebp - 0x18], 0x2dfb6db5
add edx, 0xca67cf4
sub edx, 0xca67cf0
add edi, 4
loop 0x70042e7
add eax, 0x84413b0b
add eax, 0x7bbf7f1c
mov ebx, eax
add eax, 5
mov ecx, 0xa4dd14de
sub ecx, 0x9ddd14de
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x700d408
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x700d476
cmp byte [esi + 0x10], 0
je 0x700d427
push eax
call dword [sym.imp.MSVCR100.dll_fflush]
pop ecx
mov byte [esi + 0x10], 0
push edi
push dword [esi + 0xc]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call dword [sym.imp.MSVCR100.dll_fread]
push dword [esi + 0xc]
mov edi, eax
call dword [sym.imp.MSVCR100.dll_ferror]
add esp, 0x14
test eax, eax
je 0x700d464
push dword [esi + 0xc]
call dword [sym.imp.MSVCR100.dll_feof]
pop ecx
test eax, eax
jne 0x700d464
push str.stream_read_error
push eax
call fcn.070041b6
push dword [esi + 0xc]
call dword [sym.imp.MSVCR100.dll_ftell]
pop ecx
mov dword [esi + 8], eax
mov eax, edi
pop edi
jmp 0x700d478
xor eax, eax
pop esi
pop ebp
ret 8
Function at 0x10008f90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x10008f9f
pop dword [ebp - 0x4c]
mov eax, 0xfac6b570
sub eax, 0xeac625d1
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x911bbfa
sub dword [ebp - 0x5c], 0xbabf76af
mov dword [ebp - 0x58], 0xe6b912d
add dword [ebp - 0x58], 0x23c7bb18
mov dword [ebp - 0x54], 0x4110e31c
add dword [ebp - 0x54], 0xb3b6112
mov dword [ebp - 0x50], 0xd30cee90
sub dword [ebp - 0x50], 0xd30cee90
lea eax, [ebp - 0x5c]
push eax
mov eax, 0x971bea80
add eax, 0x78e5c590
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x13017593
sub dword [ebp - 0x5c], 0x9e8f0c3d
mov dword [ebp - 0x58], 0xe70697d1
sub dword [ebp - 0x58], 0xa59a365c
mov dword [ebp - 0x54], 0x13bbbac5
sub dword [ebp - 0x54], 0xb04c4e59
mov dword [ebp - 0x50], 0x5d9707b1
add dword [ebp - 0x50], 0xa268f84f
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0xa1f2b6ef
sub eax, 0x91f106db
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x3d81a
push 0
call eax
mov ecx, 0x505cbc37
add ecx, 0xafa38850
xor edx, edx
add edx, eax
mov ebx, 0x1002b000
add ebx, dword [ebp - 0x4c]
mov edi, 0x382ed28f
sub edi, 0x3a1b1dbe
xor dword [ebp - 0x20], eax
mov esi, dword [ebx]
sub dword [ebp - 0x34], esi
xor esi, edi
mov dword [edx], esi
xor dword [ebp - 0x24], edx
add edx, 0x85eefdb3
add edx, 0x7a110251
add ebx, 0xc5384ab3
add ebx, 0x3ac7b551
loop 0x100090bd
add eax, 0xc9dc0ec9
sub eax, 0xc9db09da
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x93d165c1
add ecx, 0x7c2e9a3f
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret