joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101aae18
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x102c0f18]
jne 0x101aae22
repz ret
jmp fcn.101b46d6

Function at 0x101b94ef
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.101aa6fe
and dword [ebp - 4], 0
cmp dword [0x102c317c], 0
mov ebx, eax
jne 0x101b95a0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x101b9651
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x101b9651
push eax
call fcn.101aa68c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x102c317c], eax
call esi
push eax
call fcn.101aa68c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x102c3180], eax
call esi
push eax
call fcn.101aa68c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x102c3184], eax
call esi
push eax
call fcn.101aa68c
pop ecx
mov dword [0x102c318c], eax
test eax, eax
je 0x101b95a0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.101aa68c
pop ecx
mov dword [0x102c3188], eax
mov eax, dword [0x102c3188]
cmp eax, ebx
je 0x101b95f8
cmp dword [0x102c318c], ebx
je 0x101b95f8
push eax
call fcn.101aa707
push dword [0x102c318c]
mov esi, eax
call fcn.101aa707
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x101b95f8
test edi, edi
je 0x101b95f8
call esi
test eax, eax
je 0x101b95ef
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x101b95ef
test byte [ebp - 0xc], 1
jne 0x101b95f8
or dword [ebp + 0x10], 0x200000
jmp 0x101b9631
mov eax, dword [0x102c3180]
cmp eax, ebx
je 0x101b9631
push eax
call fcn.101aa707
pop ecx
test eax, eax
je 0x101b9631
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x101b9631
mov eax, dword [0x102c3184]
cmp eax, ebx
je 0x101b9631
push eax
call fcn.101aa707
pop ecx
test eax, eax
je 0x101b9631
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x102c317c]
call fcn.101aa707
pop ecx
test eax, eax
je 0x101b9651
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x101b9653
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x101bd2f0
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]
xor esi, esi
mov dword [0x102c04a4], 0
mov byte [0x102c04a8], 0
mov dword [0x102c0498], 0xde7
mov dword [0x102c049c], 0x22fd
mov dword [0x102c04a0], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x102c04a0]
add eax, 1
mov dword [0x102c04a0], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101bd33f
mov dword [0x102c0498], 0xbd0
mov dword [0x102c04a0], 0
mov dword [0x102c04ac], 0
mov dword [0x102c049c], 0x1bb5
mov eax, dword [0x102c04a4]
mov ecx, dword [0x102c04a0]
mov edx, dword [ebp - 0x18]
movzx esi, byte [edx + ecx]
add esi, eax
mov eax, ecx
xor edx, edx
mov ecx, dword [ebp - 0x10]
div ecx
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x102c04ac], esi
mov dword [ebp - 0x20], esi
mov eax, 0x100
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, ecx
cdq
mov esi, dword [ebp - 0x24]
idiv esi
mov dword [0x102c049c], 0x938
mov dword [0x102c04a4], edx
mov edi, dword [0x102c04a0]
mov ebx, dword [ebp - 0x18]
mov cl, byte [ebx + edi]
mov byte [0x102c04a8], cl
mov cl, byte [ebx + edx]
mov byte [ebx + edi], cl
mov cl, byte [0x102c04a8]
mov edx, dword [0x102c04a4]
mov byte [ebx + edx], cl
mov dword [0x102c049c], 0x42e
mov dword [0x102c0498], 0x178b
mov edx, dword [0x102c04a0]
add edx, 1
mov dword [0x102c04a0], edx
cmp edx, 0x100
jl 0x101bd379
mov dword [0x102c0498], 0xa6
mov dword [0x102c049c], 0x1ca3
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101bd470
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x60
mov eax, dword [ebp + 8]
mov dword [0x102c049c], 0x8f6
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [0x102c0498], 0xfffff6fa
mov ecx, eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
lea edx, section..data
imul esi, eax, 0x6c
mov edi, edx
add edi, esi
add edi, 0x68
mov esi, dword [edi]
imul edi, eax, 0x6c
add edx, edi
add edx, 0x50
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x373
mov ecx, edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
jne 0x101bd49d
lea eax, [0x102a5484]
mov ecx, 0xe
lea edx, [ebp - 0x2c]
mov dword [0x102c049c], 0xb99
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], ecx
call fcn.101bd880
mov eax, dword [0x102c049c]
add eax, 0xfffff64c
mov dword [0x102c0498], eax
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.101bd040
mov ecx, eax
mov dword [0x102c04b8], eax
mov eax, esp
mov edx, dword [ebp - 0x3c]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
mov dword [ebp - 0x48], eax
xor eax, eax
mov ecx, dword [0x102c049c]
add ecx, 0xffffef93
mov dword [0x102c0498], ecx
mov ecx, eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
lea edx, section..data
imul esi, eax, 0x6c
mov edi, edx
add edi, esi
add edi, 0x68
mov esi, dword [edi]
imul edi, eax, 0x6c
mov ebx, edx
add ebx, edi
add ebx, 0x4c
mov edi, dword [ebx]
imul ebx, eax, 0x6c
add edx, ebx
add edx, 0x50
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x48]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x5c], edx
call fcn.101bd660
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x58]
add eax, ecx
mov edx, dword [ebp - 0x54]
add edx, 1
cmp edx, 0x373
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], edx
jne 0x101bd57a
mov dword [0x102c0498], 0x23de
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x3c]
mov dword [esp + 8], ecx
call fcn.101bdbc0
xor eax, eax
mov ecx, dword [ebp - 0x48]
add ecx, 0x64051
mov edx, dword [ebp - 0x30]
mov dword [edx], ecx
mov dword [0x102c0498], 0x26a1
mov dword [edx + 4], 0x11bc00
mov ecx, dword [ebp - 0x48]
add ecx, 0x1d528
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x1f50
mov dword [0x102c049c], 0x1a84
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101bda00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [fcn.101bda00]
mov dword [0x102c0498], 0x2505
mov dword [ebp - 4], eax
jmp 0x101bda23
mov eax, dword [ebp - 8]
add esp, 0xc
pop ebp
ret
mov eax, dword [ebp - 4]
cmp word [eax], 0x5a4d
mov dword [ebp - 8], eax
jne 0x101bda48
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
cmp dword [eax + ecx], 0x4550
je 0x101bda1b
mov eax, dword [ebp - 8]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [0x102c049c], 0x1296
mov dword [ebp - 4], eax
jmp 0x101bda23

Function at 0x101bdf70
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov dword [0x102c0498], 0x2ca5
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 [0x102c0498], 0x261f
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x101be033
mov dword [0x102c0498], 0x23a3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov dx, word [eax + ecx*2 - 0xe]
mov word [ebp - 0x16], dx
mov eax, 0x5b7
mov ecx, 1
mov dx, word [ebp - 0x16]
cmp dx, 0x6c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
je 0x101be0f8
jmp 0x101be0e9
mov dword [0x102c0498], 0x17cf
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x101be0d6
jmp 0x101be0e9
mov eax, dword [ebp - 0x24]
mov dword [0x102c049c], 0x6af
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
je 0x101be06c
jmp 0x101be0e9
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
je 0x101be012
mov dword [0x102c0498], 0x6eb
mov eax, dword [ebp - 0x28]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x10], eax
jl 0x101be033
jmp 0x101be012
mov dword [0x102c0498], 0x1f57
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x101be0e9
mov eax, dword [0x102c049c]
add eax, 0xffffec0d
mov dword [0x102c0498], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov dx, word [eax + ecx*2 - 0x16]
mov word [ebp - 0x2a], dx
mov ax, word [ebp - 0x2a]
cmp ax, 0x61
jne 0x101be0e9
mov dword [0x102c049c], 0x681
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff6
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x30]
cmp word [eax + ecx*2], 0x64
je 0x101bdff0
jmp 0x101be0e9
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x101bdfb3
mov eax, 0x1567
xor ecx, ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
jmp 0x101be0f8
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [0x102c0498], ecx
add esp, 0x30
pop ebp
ret
Function at 0x405d9a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c574], 0
push esi
jne 0x405dd1
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405dab
mov dword [ecx*4 + 0x42c570], eax
inc ecx
cmp ecx, 0x100
jl 0x405da6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405e02
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c570]
xor eax, esi
inc ecx
dec edx
jne 0x405de4
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..retplne
nop
nop
mov ebx, 0x40de38
mov ecx, 0x79fe65a9
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x4304d8
nop
mov ecx, 0xb5b6b28
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..00cfg
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x53a122e5
nop
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0xfbf50b8
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x41c3a7
Capabilities:
Read file on windows

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

Function at 0x41c3b2
Capabilities:
Read file on windows

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

Function at 0x41c7ac
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040b950
mov eax, dword [0x435100]
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.0041a30f
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41c7ee
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41c94a
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00427050
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 + 0x482a58]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041d97c
mov ecx, dword [esi*4 + 0x482a58]
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 0x41c943
cmp eax, dword [edi + ecx + 0x24]
jne 0x41c943
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 0x41c943
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041d97c
add esp, 0x14
test edx, edx
jl 0x41c943
jg 0x41c8b9
test eax, eax
jb 0x41c943
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41c943
jl 0x41c8d3
cmp dword [ebp - 0x1008], eax
ja 0x41c943
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41c8f1
test ebx, ebx
je 0x41c92a
cmp ecx, edi
jae 0x41c92a
mov al, byte [ecx]
cmp al, 0xd
jne 0x41c90b
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41c917
cmp byte [ecx + 1], 0xa
jne 0x41c917
inc ecx
jmp 0x41c917
movzx eax, al
movsx eax, byte [eax + 0x4353d0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41c8f1
cmp edx, ebx
jne 0x41c8f1
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41c948
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040aa09
leave
ret
Function at 0x41ce1a
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 + 0x482a58]
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 0x41ce5a
cmp byte [ebx], 0xa
jne 0x41ce5a
or byte [eax + edi + 0x28], 4
jmp 0x41ce5f
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41cf5d
mov al, byte [edx]
cmp al, 0x1a
je 0x41cf3f
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41ce8e
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41ceb3
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41cebd
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 0x41ce70
jmp 0x41cf5d
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 0x41cf3a
cmp dword [ebp - 0xc], 0
je 0x41cf3a
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x482a58]
test byte [eax + edi + 0x28], 0x48
je 0x41cf14
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41ceff
mov byte [esi], dl
jmp 0x41cf10
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x482a58]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41cf5d
cmp byte [ebp - 1], 0xa
jne 0x41cf23
cmp esi, ebx
jne 0x41cf23
mov byte [esi], 0xa
jmp 0x41cf5c
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041d99a
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41cf5d
mov byte [esi], 0xd
jmp 0x41cf5c
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x482a58]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41cf59
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41cf5d
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41cf66
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 + 0x482a58]
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 0x41cfa9
cmp word [esi], dx
jne 0x41cfa9
or byte [edi + eax + 0x28], 4
jmp 0x41cfae
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 0x41d101
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 0x41d0e1
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41cff0
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41d026
cmp eax, edx
jae 0x41d032
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 0x41cfc8
jmp 0x41d101
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 0x41d0dd
cmp dword [ebp - 0x14], 0
je 0x41d0dd
mov eax, dword [ebx*4 + 0x482a58]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41d0b5
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41d07e
mov word [esi], cx
jmp 0x41d0b1
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x482a58]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x482a58]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x482a58]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41d101
pop ebx
cmp word [ebp - 4], bx
jne 0x41d0c6
cmp esi, dword [ebp + 0xc]
jne 0x41d0c6
mov word [esi], bx
jmp 0x41d0fe
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041d99a
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41d101
push 0xd
jmp 0x41d0fa
mov ecx, dword [ebx*4 + 0x482a58]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41d0f8
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41d101
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 0x41fa82
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 0x41fb1f
push ebx
push esi
call fcn.0041fa4b
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.0041e82c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41facc
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41fb1e
push edi
push eax
call fcn.004193ad
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x41faec
call fcn.0041858f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41fb1d
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041e82c
add esp, 0x20
test eax, eax
jne 0x41fb0b
push edi
call fcn.0041858f
jmp 0x41fb13
push ebx
call fcn.0041858f
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 0x426e50
Capabilities:
Parse pe header

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

Function at 0x428000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x14
mov ecx, dword [ebp + 8]
sub eax, ecx
sar eax, 2
push esi
push edi
test eax, eax
je 0x4280d1
xor edi, edi
mov esi, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
mov al, byte [esi + 0x4807b0]
mov edx, str.Own_head
xor al, 0x73
sub al, 0x6c
xor al, 0x74
mov byte [esi + 0x4807b0], al
call fcn.00404768
push eax
call fcn.00404928
mov al, byte [esi + 0x4807b0]
mov edx, str.Earth
add al, 0x4e
xor al, 0xdc
pop ecx
mov byte [esi + 0x4807b0], al
call fcn.00404768
push eax
call fcn.00404928
mov al, byte [esi + 0x4807b0]
xor al, 0xac
mov dword [esp], 0x430db8
sub al, 0x65
xor al, 0x22
sub al, 0x73
mov byte [esi + 0x4807b0], al
call fcn.00411bcd
pop ecx
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x10]
lea eax, [ebp - 4]
push eax
push edi
call fcn.00405922
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx]
xor byte [esi + 0x4807b0], al
mov eax, dword [ebp - 8]
sub eax, ecx
and eax, 0xfffffffc
push eax
push ecx
call fcn.004051ef
inc esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
pop ecx
pop ecx
cmp esi, 0x4ac
jb 0x428028
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4280e6
mov eax, dword [ebp + 0x10]
sub eax, ecx
and eax, 0xfffffffc
push eax
push ecx
call fcn.004051ef
pop ecx
pop ecx
pop edi
pop esi
leave
ret 0x14

Function at 0x428706
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push eax
push 0x428614
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
ret