joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1022ff83
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x102465b0], 0
mov byte [0x102465b4], 0
mov dword [0x102465a4], 0x1f87
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [0x102465ac], 0
mov dword [ebp - 0x1c], eax
jmp 0x1022ffe5
mov dword [0x102465a4], 0xd51
mov dword [0x102465ac], 0
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x1023000d
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x102465ac]
add eax, 1
mov dword [0x102465ac], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1022ffe5
jmp 0x1022ffca
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x102465b8], 0
mov dword [0x102465a4], 0x17de
mov edi, dword [0x102465b0]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x102465b8], esi
mov dword [0x102465a8], 0x51e
mov dword [0x102465a4], 0xffffe312
mov eax, esi
cdq
idiv ecx
mov dword [0x102465b0], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x102465b4], cl
mov dword [0x102465a4], 0x1980
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov esi, dword [0x102465a4]
add esi, 0x1ff7
mov dword [0x102465a8], esi
mov cl, byte [0x102465b4]
mov esi, dword [0x102465b0]
mov byte [ebx + esi], cl
mov dword [0x102465a4], 0x5e6
mov esi, dword [0x102465a8]
add esi, 0xfffffd1a
mov dword [0x102465a8], esi
mov esi, dword [0x102465ac]
add esi, 1
mov dword [0x102465ac], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1023000d
mov dword [0x102465a4], 0x1e31
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1023010d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x168
mov eax, dword [ebp + 8]
mov dword [0x102465a4], 0xeb4
mov dword [ebp - 0x130], eax
xor eax, eax
mov ecx, eax
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jmp 0x1023013e
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
xor edx, edx
lea esi, section..data
imul edi, eax, 0xb4
mov ebx, esi
add ebx, edi
add ebx, 0x48
imul edi, eax, 0xb4
add esi, edi
add esi, 0x44
add eax, 1
mov edi, dword [ebx]
movzx esi, word [esi]
xor esi, edi
add esi, ecx
cmp eax, 0x174
mov ecx, esi
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x140], edx
jne 0x1023013e
mov eax, dword [ebp - 0x140]
mov cl, byte [eax + 0x102335a3]
mov dl, byte [eax + 0x10233574]
sub dl, cl
mov byte [ebp + eax - 0x2c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x140], eax
je 0x1023028c
jmp 0x1023019f
lea eax, [0x10233582]
mov ecx, 0x20
lea edx, [ebp - 0x12c]
mov dword [0x102465a8], 0xe6d
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x148], ecx
call fcn.1022ff83
mov eax, dword [ebp - 0x144]
mov dword [esp], eax
mov ecx, dword [ebp - 0x14c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x13c]
mov dword [esp + 0xc], edx
call fcn.10230a52
xor eax, eax
mov dword [0x102465a4], 0x1e27
mov ecx, dword [ebp - 0x14c]
add ecx, 0x8d577
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x132400
mov ecx, dword [ebp - 0x14c]
add ecx, 0x28215
mov dword [edx + 8], ecx
mov ecx, dword [0x102465a4]
add ecx, 0xffffe53e
mov dword [0x102465a4], ecx
mov dword [edx + 0xc], 0x2010
add esp, 0x168
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [ebp - 0x2c]
mov dword [0x102465a4], 0xf0b
mov dword [ebp - 0x150], eax
call fcn.10230f49
mov dword [esp], eax
mov eax, dword [ebp - 0x150]
mov dword [esp + 4], eax
call fcn.1022fce1
mov ecx, eax
mov dword [0x102465c4], eax
mov eax, esp
mov edx, dword [ebp - 0x13c]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, dword [0x102465a8]
add edx, 0xffffd942
mov dword [0x102465a4], edx
mov edx, ecx
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x158], ecx
mov eax, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x154]
lea edx, section..data
imul esi, eax, 0xb4
mov edi, edx
add edi, esi
add edi, 0x48
mov esi, dword [edi]
imul edi, eax, 0xb4
mov ebx, edx
add ebx, edi
mov edi, dword [ebx]
imul ebx, eax, 0xb4
add edx, ebx
add edx, 0x44
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x14c]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], edx
call fcn.10230488
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x160]
add eax, ecx
mov edx, dword [ebp - 0x15c]
add edx, 1
cmp edx, 0x174
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x158], edx
je 0x102301d1
jmp 0x10230309
Function at 0x10230514
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov dword [0x102465a8], 0x26de
mov dword [ebp - 0x10], eax
call fcn.1022fb79
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov dword [0x102465a8], 0xe73
mov eax, dword [eax + esi]
cmp eax, 0x4550
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edi
je 0x10230560
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x78]
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [0x102465a4], 0x16bd
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x20]
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + edx + 0x18]
cmp edi, 0
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
je 0x1023067c
jmp 0x102305d3
mov al, byte [ebp - 0x2d]
test al, 1
jne 0x10230659
jmp 0x102305aa
xor eax, eax
mov ecx, dword [ebp - 0x34]
add ecx, 2
mov edx, dword [ebp - 0x38]
add edx, 1
mov esi, dword [ebp - 0x24]
cmp edx, esi
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x2c], eax
jb 0x102305e5
jmp 0x1023067c
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x44]
add ecx, edx
mov esi, dword [ebp - 0x14]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x4d], bh
mov byte [ebp - 0x2d], cl
je 0x1023059d
mov eax, dword [ebp - 0x4c]
add eax, 1
mov cl, byte [ebp - 0x4d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x2d]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x48], eax
jne 0x102305ff
jmp 0x1023059d
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x14]
add edi, dword [edx + ecx*4]
mov dword [0x102465a4], 0x22a3
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp - 0x2c]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x102306ce
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x102465a4], 0x1927
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x10230722
mov dword [0x102465a4], 0x21a9
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x10230770
jmp 0x102307f7
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
je 0x10230759
mov dword [0x102465a4], 0x9f6
mov eax, dword [ebp - 0x18]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], eax
jl 0x10230722
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
je 0x10230704
jmp 0x102307f7
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff5
shl eax, 1
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
cmp word [eax], 0x61
jne 0x102307f7
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff6
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2], 0x64
jne 0x102307f7
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff7
shl eax, 1
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
cmp word [eax], 0x64
jne 0x102307f7
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff8
shl eax, 1
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp word [eax], 0x6c
jne 0x102307f7
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x30], eax
je 0x102307fe
xor eax, eax
mov dword [ebp - 0x30], eax
jmp 0x102307fe
mov eax, dword [ebp - 0x30]
add esp, 0x30
pop ebp
ret
Function at 0x10230806
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
xor eax, eax
mov dword [ebp - 0x30], eax
jmp 0x10230820
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x102335a3]
mov dl, byte [eax + 0x10233574]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
jne 0x10230820
lea eax, [ebp - 0x24]
mov dword [0x102465a4], 0x1372
mov dword [ebp - 0x34], eax
call fcn.10230f49
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1022fce1
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x10230930
mov eax, dword [ebp - 0x38]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x102465a4]
add ecx, 0xffffdbc9
mov dword [0x102465a4], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.1022fe74
xor eax, eax
mov ecx, dword [0x102465a4]
add ecx, 0xffffe005
mov dword [0x102465a8], ecx
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x48], ecx
mov dword [0x102465a4], 0x19c4
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x2c], ecx
add ecx, 0x1d83
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x10230927
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x10230a52
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x102465ac], 0
mov dword [0x102465b0], 0
mov dword [0x102465bc], 0
mov ebx, dword [0x102465a8]
add ebx, 0xfffff338
mov dword [0x102465a4], ebx
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x10230bd0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x102465a4], 0x20d1
mov dword [0x102465a8], 0x7e7
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x102465ac], edx
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x102465b0], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x102465b4], cl
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x102465b4]
mov edx, dword [0x102465b0]
mov byte [edi + edx], cl
mov dword [0x102465a8], 0x2664
mov edx, dword [0x102465ac]
movzx edx, byte [edi + edx]
mov ebx, dword [0x102465b0]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x102465bc], ebx
mov dword [0x102465a4], 0x1fb1
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x2c]
mov ch, byte [edx + ebx]
mov byte [0x102465c1], ch
mov byte [0x102465c2], cl
xor ch, cl
mov byte [0x102465c0], ch
mov dword [0x102465a4], 0x251f
mov edx, dword [ebp - 0x1c]
mov byte [edx + ebx], ch
mov dword [0x102465a8], 0x13d3
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x10230bd0
mov eax, dword [0x102465ac]
mov ecx, dword [0x102465b0]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
jmp 0x10230abd
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10230d0c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
call fcn.10001066
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x10230d48
jmp 0x10230e7b
mov eax, dword [esp + 0x20]
cmp word [eax], 0x5a4d
mov dword [esp + 0x1c], eax
je 0x10230dc8
jmp 0x10230de4
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [0x102465a4], 0x1f19
mov dword [esp], eax
mov dword [esp + 0x18], ecx
call fcn.1023010d
lea ecx, [0x10230687]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x58], edx
mov dword [esp + 0x38], 0x132400
mov edx, dword [0x10246590]
mov dword [esp + 0x8c], edx
mov edx, dword [0x10246594]
mov dword [esp + 0x68], edx
mov edx, dword [0x10246598]
mov dword [esp + 0x40], edx
mov edx, dword [0x1024659c]
mov dword [esp + 0x70], edx
mov edx, dword [0x102465a0]
mov dword [esp + 0x50], edx
mov dword [0x102465a8], 0x4bf
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ecx
jmp 0x10230d30
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
cmp dword [eax + ecx], 0x4550
je 0x10230dfb
mov eax, dword [esp + 0x1c]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x20], eax
jmp 0x10230d30
lea eax, [esp + 0x38]
add eax, 0x50
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
mov dword [0x102465a8], 0xe73
mov edx, dword [esp + 0x10]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x84], esi
call fcn.102306ce
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
jne 0x10230e73
lea eax, [esp + 0x38]
mov dword [0x102465a8], 0x341
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10230806
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 8], eax
jmp 0x10230e73
mov eax, dword [esp + 8]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret

Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x5e903538
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section._RDATA
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x57634651
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x405b24
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 0x405ba4
push esi
xor esi, esi
cmp dword [ebp + 0x18], esi
jbe 0x405ba3
push ebx
mov ebx, 0x452888
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.004013cb
push eax
call fcn.00402409
mov al, byte [edi + esi]
add al, 0x4e
xor al, 0xdc
push str.Earth
push ebx
mov byte [edi + esi], al
call fcn.004013cb
push eax
call fcn.00402409
mov al, byte [edi + esi]
xor al, 0xac
sub al, 0x65
xor al, 0x22
sub al, 0x73
push 0x428558
mov byte [edi + esi], al
call fcn.0040f68e
xor byte [edi + esi], al
add esp, 0x1c
inc esi
cmp esi, dword [ebp + 0x18]
jb 0x405b46
pop ebx
pop esi
lea ecx, [ebp + 8]
call fcn.0040563b
pop edi
pop ebp
ret 0x14

Function at 0x40951b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x40953c
jl 0x409533
test edi, edi
jne 0x40953c
xor eax, eax
xor edx, edx
jmp 0x4095fd
cmp dword [ebx + 0x38], 0
je 0x409551
push eax
push edi
push dword [ebp + 8]
call fcn.00409603
jmp 0x4095fd
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x409598
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x409598
cmp eax, edi
jb 0x409572
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.0040ad60
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x40959e
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x4095f2
mov ecx, ebx
call fcn.00408db5
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x4095dd
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.00413408
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x4095f2
jmp 0x4095b0
test edx, edx
je 0x4095f2
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.00413408
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x40a8bf
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40a8fe
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40a8fe
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40a8fe
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40a8fe
cmp dword [ecx + 0x74], 0xe
jbe 0x40a8fe
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x41ccb8
Capabilities:
Read file on windows

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

Function at 0x41d0b2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040ad10
mov eax, dword [0x450c00]
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.0041ac75
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41d0f4
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41d250
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00426840
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 + 0x453230]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041de51
mov ecx, dword [esi*4 + 0x453230]
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 0x41d249
cmp eax, dword [edi + ecx + 0x24]
jne 0x41d249
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 0x41d249
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041de51
add esp, 0x14
test edx, edx
jl 0x41d249
jg 0x41d1bf
test eax, eax
jb 0x41d249
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41d249
jl 0x41d1d9
cmp dword [ebp - 0x1008], eax
ja 0x41d249
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41d1f7
test ebx, ebx
je 0x41d230
cmp ecx, edi
jae 0x41d230
mov al, byte [ecx]
cmp al, 0xd
jne 0x41d211
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41d21d
cmp byte [ecx + 1], 0xa
jne 0x41d21d
inc ecx
jmp 0x41d21d
movzx eax, al
movsx eax, byte [eax + 0x450ec8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41d1f7
cmp edx, ebx
jne 0x41d1f7
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41d24e
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040a123
leave
ret
Function at 0x41d2ef
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 + 0x453230]
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 0x41d32f
cmp byte [ebx], 0xa
jne 0x41d32f
or byte [eax + edi + 0x28], 4
jmp 0x41d334
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41d432
mov al, byte [edx]
cmp al, 0x1a
je 0x41d414
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41d363
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41d388
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41d392
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 0x41d345
jmp 0x41d432
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 0x41d40f
cmp dword [ebp - 0xc], 0
je 0x41d40f
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x453230]
test byte [eax + edi + 0x28], 0x48
je 0x41d3e9
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41d3d4
mov byte [esi], dl
jmp 0x41d3e5
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x453230]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41d432
cmp byte [ebp - 1], 0xa
jne 0x41d3f8
cmp esi, ebx
jne 0x41d3f8
mov byte [esi], 0xa
jmp 0x41d431
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041de6f
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41d432
mov byte [esi], 0xd
jmp 0x41d431
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x453230]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41d42e
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41d432
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret