joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4191da
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 + 0x47f790]
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 0x41921d
cmp word [esi], dx
jne 0x41921d
or byte [edi + eax + 0x28], 4
jmp 0x419222
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 0x419375
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 0x419355
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x419264
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41929a
cmp eax, edx
jae 0x4192a6
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 0x41923c
jmp 0x419375
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 0x419351
cmp dword [ebp - 0x14], 0
je 0x419351
mov eax, dword [ebx*4 + 0x47f790]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x419329
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4192f2
mov word [esi], cx
jmp 0x419325
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x47f790]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x47f790]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x47f790]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x419375
pop ebx
cmp word [ebp - 4], bx
jne 0x41933a
cmp esi, dword [ebp + 0xc]
jne 0x41933a
mov word [esi], bx
jmp 0x419372
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00419c0e
add esp, 0x10
cmp word [ebp - 4], bx
je 0x419375
push 0xd
jmp 0x41936e
mov ecx, dword [ebx*4 + 0x47f790]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41936c
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x419375
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 0x425238
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x250
mov eax, dword [0x47d200]
xor eax, esp
mov dword [esp + 0x24c], eax
and dword [esp + 4], 0
lea eax, [esp + 4]
and dword [esp + 8], 0
push ebx
push ebp
mov ebp, dword [esp + 0x25c]
push esi
push edi
push eax
call fcn.0040163c
mov esi, dword [esp + 0x270]
xor ebx, ebx
pop ecx
mov dword [esp + 0x14], eax
push str.JAHNsiu
push 0x47ede0
call fcn.004013cb
push eax
call fcn.00401eb7
mov eax, ebx
mov byte [esp + ebx + 0x68], bl
cdq
add esp, 0xc
idiv dword [esp + 0x270]
mov al, byte [edx + esi]
mov byte [esp + ebx + 0x15c], al
inc ebx
cmp ebx, 0x100
jl 0x425279
xor esi, esi
xor edi, edi
mov dl, byte [esp + esi + 0x5c]
movzx eax, byte [esp + esi + 0x15c]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x4252d9
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [esp + edi + 0x5c]
mov byte [esp + esi + 0x5c], al
inc esi
mov byte [esp + edi + 0x5c], dl
cmp esi, 0x100
jl 0x4252b6
xor ebx, ebx
xor esi, esi
xor edi, edi
mov dword [esp + 0x10], esi
cmp dword [esp + 0x268], ebx
jle 0x42542f
inc ebx
and ebx, 0x800000ff
jns 0x425316
dec ebx
or ebx, 0xffffff00
inc ebx
mov cl, byte [esp + ebx + 0x5c]
movzx edx, cl
add edi, edx
and edi, 0x800000ff
jns 0x42532f
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [esp + edi + 0x5c]
mov byte [esp + ebx + 0x5c], al
mov byte [esp + edi + 0x5c], cl
lea ecx, [esp + 0x5c]
movzx eax, byte [esp + ebx + 0x5c]
add eax, edx
mov dword [esp + 0x1c], edi
movzx eax, al
xor edi, edi
add eax, ecx
mov dword [esp + 0x38], edi
push eax
push edi
lea ecx, [esp + 0x40]
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
call fcn.00401858
lea eax, [esp + 0x10]
mov dword [esp + 0x2c], edi
push eax
push edi
lea ecx, [esp + 0x34]
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
call fcn.00401920
push 0x426554
lea ecx, [esp + 0x48]
call fcn.0040217e
cmp dword [esp + 0x58], 0xf
lea eax, [esp + 0x44]
cmova eax, dword [esp + 0x44]
push eax
call fcn.0040d44e
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp], str.Asucjhudaujsa
call fcn.00404d14
pop ecx
push 0xa
pop edi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
call fcn.0040182c
sub edi, 1
jne 0x4253c5
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + ecx*4]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + ecx*8 + 4]
mov eax, dword [esp + 0x38]
mov al, byte [ecx + eax]
lea ecx, [esp + 0x20]
xor byte [edx + ebp], al
call fcn.0040433b
lea ecx, [esp + 0x44]
call fcn.00404387
lea ecx, [esp + 0x2c]
call fcn.0040433b
lea ecx, [esp + 0x38]
call fcn.00404318
mov edi, dword [esp + 0x1c]
inc esi
mov dword [esp + 0x10], esi
cmp esi, dword [esp + 0x268]
jl 0x425305
lea eax, [esp + 0x14]
push eax
mov ecx, eax
call fcn.00401aa6
mov ecx, dword [esp + 0x25c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00408107
add esp, 0x250
ret
Function at 0x42554f
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0xc
sub eax, dword [esp + 0x10]
sar eax, 2
push edi
mov edi, dword [esp + 0x20]
test eax, eax
je 0x425627
push ebx
xor ebx, ebx
push esi
mov esi, ebx
cmp dword [esp + 0x2c], ebx
jbe 0x425625
push ebp
mov dword [esp + 0x10], ebx
mov ebp, 0x47ede0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov al, byte [edi + esi]
xor al, 0x73
sub al, 0x6c
xor al, 0x74
push str.Own_head
push ebp
mov byte [edi + esi], al
call fcn.004013cb
push eax
call fcn.00401eb7
mov al, byte [edi + esi]
add al, 0x4e
xor al, 0xdc
push str.Earth
push ebp
mov byte [edi + esi], al
call fcn.004013cb
push eax
call fcn.00401eb7
mov al, byte [edi + esi]
xor al, 0xac
sub al, 0x65
xor al, 0x22
sub al, 0x73
push 0x426548
mov byte [edi + esi], al
call fcn.0040d44e
add esp, 0x1c
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
push ebx
call fcn.00401920
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
xor byte [edi + esi], al
mov eax, dword [esp + 0x18]
sub eax, ecx
and eax, 0xfffffffc
push eax
push ecx
call fcn.00401800
inc esi
mov dword [esp + 0x18], ebx
pop ecx
pop ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
cmp esi, dword [esp + 0x30]
jb 0x42558c
pop ebp
pop esi
pop ebx
lea ecx, [esp + 0x14]
call fcn.0040433b
pop edi
add esp, 0xc
ret 0x14

Function at 0x425637
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push eax
push 0x425653
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
ret
Function at 0x430001
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x6561528d
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x37835d67
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x41daef
Capabilities:
Read file on windows

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

Function at 0x41dafa
Capabilities:
Read file on windows

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

Function at 0x41def4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040c000
mov eax, dword [0x481200]
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.0041ac9c
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41df36
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41e092
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00427680
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 + 0x483978]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041ec93
mov ecx, dword [esi*4 + 0x483978]
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 0x41e08b
cmp eax, dword [edi + ecx + 0x24]
jne 0x41e08b
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 0x41e08b
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041ec93
add esp, 0x14
test edx, edx
jl 0x41e08b
jg 0x41e001
test eax, eax
jb 0x41e08b
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41e08b
jl 0x41e01b
cmp dword [ebp - 0x1008], eax
ja 0x41e08b
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41e039
test ebx, ebx
je 0x41e072
cmp ecx, edi
jae 0x41e072
mov al, byte [ecx]
cmp al, 0xd
jne 0x41e053
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41e05f
cmp byte [ecx + 1], 0xa
jne 0x41e05f
inc ecx
jmp 0x41e05f
movzx eax, al
movsx eax, byte [eax + 0x4814d8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41e039
cmp edx, ebx
jne 0x41e039
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41e090
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040b417
leave
ret
Function at 0x41e131
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 + 0x483978]
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 0x41e171
cmp byte [ebx], 0xa
jne 0x41e171
or byte [eax + edi + 0x28], 4
jmp 0x41e176
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41e274
mov al, byte [edx]
cmp al, 0x1a
je 0x41e256
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41e1a5
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41e1ca
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41e1d4
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 0x41e187
jmp 0x41e274
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 0x41e251
cmp dword [ebp - 0xc], 0
je 0x41e251
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x483978]
test byte [eax + edi + 0x28], 0x48
je 0x41e22b
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41e216
mov byte [esi], dl
jmp 0x41e227
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x483978]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41e274
cmp byte [ebp - 1], 0xa
jne 0x41e23a
cmp esi, ebx
jne 0x41e23a
mov byte [esi], 0xa
jmp 0x41e273
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041ecb1
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41e274
mov byte [esi], 0xd
jmp 0x41e273
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x483978]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41e270
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41e274
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41e27d
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 + 0x483978]
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 0x41e2c0
cmp word [esi], dx
jne 0x41e2c0
or byte [edi + eax + 0x28], 4
jmp 0x41e2c5
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 0x41e418
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 0x41e3f8
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41e307
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41e33d
cmp eax, edx
jae 0x41e349
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 0x41e2df
jmp 0x41e418
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 0x41e3f4
cmp dword [ebp - 0x14], 0
je 0x41e3f4
mov eax, dword [ebx*4 + 0x483978]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41e3cc
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41e395
mov word [esi], cx
jmp 0x41e3c8
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x483978]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x483978]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x483978]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41e418
pop ebx
cmp word [ebp - 4], bx
jne 0x41e3dd
cmp esi, dword [ebp + 0xc]
jne 0x41e3dd
mov word [esi], bx
jmp 0x41e415
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041ecb1
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41e418
push 0xd
jmp 0x41e411
mov ecx, dword [ebx*4 + 0x483978]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41e40f
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41e418
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 0x4200b3
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x420150
push ebx
push esi
call fcn.0042007c
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0041ee5d
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4200fd
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x42014f
push edi
push eax
call fcn.00419df6
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x42011d
call fcn.004198c6
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x42014e
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041ee5d
add esp, 0x20
test eax, eax
jne 0x42013c
push edi
call fcn.004198c6
jmp 0x420144
push ebx
call fcn.004198c6
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x427480
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4274ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4274ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x429562
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0xc
sub eax, dword [esp + 0x10]
sar eax, 2
push edi
mov edi, dword [esp + 0x20]
test eax, eax
je 0x42963a
push ebx
xor ebx, ebx
push esi
mov esi, ebx
cmp dword [esp + 0x2c], ebx
jbe 0x429638
push ebp
mov dword [esp + 0x10], ebx
mov ebp, 0x482fd8
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov al, byte [edi + esi]
xor al, 0x73
sub al, 0x6c
xor al, 0x74
push str.Own_head
push ebp
mov byte [edi + esi], al
call fcn.0040146b
push eax
call fcn.00402624
mov al, byte [edi + esi]
add al, 0x4e
xor al, 0xdc
push str.Earth
push ebp
mov byte [edi + esi], al
call fcn.0040146b
push eax
call fcn.00402624
mov al, byte [edi + esi]
xor al, 0xac
sub al, 0x65
xor al, 0x22
sub al, 0x73
push 0x42a594
mov byte [edi + esi], al
call fcn.004108fe
add esp, 0x1c
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
push ebx
call fcn.00401ab6
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
xor byte [edi + esi], al
mov eax, dword [esp + 0x18]
sub eax, ecx
and eax, 0xfffffffc
push eax
push ecx
call fcn.00401996
inc esi
mov dword [esp + 0x18], ebx
pop ecx
pop ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
cmp esi, dword [esp + 0x30]
jb 0x42959f
pop ebp
pop esi
pop ebx
lea ecx, [esp + 0x14]
call fcn.00405685
pop edi
add esp, 0xc
ret 0x14

Function at 0x42964a
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push eax
push 0x429666
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
ret
Function at 0x5540b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xfd000]
push edi
jmp 0x5540ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5540d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5540c0
mov eax, 1
add ebx, ebx
jne 0x5540e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5540f4
jne 0x554113
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x554113
dec eax
add ebx, ebx
jne 0x554100
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5540d8
add ebx, ebx
jne 0x55410f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x554165
xor ecx, ecx
sub eax, 3
jb 0x55412b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x55419a
sar eax, 1
mov ebp, eax
jmp 0x554136
add ebx, ebx
jne 0x554136
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x554104
inc ecx
add ebx, ebx
jne 0x554144
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x554104
add ebx, ebx
jne 0x554151
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x554146
jne 0x554162
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x554146
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x554184
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x554176
jmp 0x5540c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x554184
add edi, ecx
jmp 0x5540c6
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5541a2
cmp byte [edi], 0x11
jne 0x5541a2
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 0x5541a7
lea edi, [esi + 0x14d000]
mov eax, dword [edi]
or eax, eax
je 0x55421f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1cef90]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1cf10c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5541d4
mov ecx, edi
jns 0x554203
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 + 0x1cf110]
or eax, eax
je 0x554219
mov dword [ebx], eax
add ebx, 4
jmp 0x5541f1
call dword [esi + 0x1cf120]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x554250
cmp al, 0xef
ja 0x554243
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x554225
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x554232
mov ebp, dword [esi + 0x1cf114]
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 0x554284
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x1b8c160
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1b8c2b0
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 0x1b8c186
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1b8c172
add dl, dl
jne 0x1b8c191
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1b8c1e4
xor eax, eax
add dl, dl
jne 0x1b8c19e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1b8c285
add dl, dl
jne 0x1b8c1ad
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1b8c1b8
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1b8c1c3
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1b8c1ce
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1b8c1da
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1b8c17d
mov eax, 1
add dl, dl
jne 0x1b8c1f2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1b8c1fd
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1b8c1e9
sub eax, ebx
mov ebx, 1
jne 0x1b8c230
mov ecx, 1
add dl, dl
jne 0x1b8c216
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1b8c221
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1b8c20d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1b8c17d
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1b8c247
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1b8c252
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1b8c23e
cmp eax, 0x7d00
jae 0x1b8c275
cmp eax, 0x500
jb 0x1b8c270
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1b8c17d
cmp eax, 0x7f
ja 0x1b8c278
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1b8c17d
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1b8c2a6
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 0x1b8c17d
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10