joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e76c
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 + 0x482980]
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 0x41e7af
cmp word [esi], dx
jne 0x41e7af
or byte [edi + eax + 0x28], 4
jmp 0x41e7b4
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 0x41e907
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 0x41e8e7
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41e7f6
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41e82c
cmp eax, edx
jae 0x41e838
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 0x41e7ce
jmp 0x41e907
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 0x41e8e3
cmp dword [ebp - 0x14], 0
je 0x41e8e3
mov eax, dword [ebx*4 + 0x482980]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41e8bb
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41e884
mov word [esi], cx
jmp 0x41e8b7
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x482980]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x482980]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x482980]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41e907
pop ebx
cmp word [ebp - 4], bx
jne 0x41e8cc
cmp esi, dword [ebp + 0xc]
jne 0x41e8cc
mov word [esi], bx
jmp 0x41e904
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041f1a0
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41e907
push 0xd
jmp 0x41e900
mov ecx, dword [ebx*4 + 0x482980]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41e8fe
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41e907
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 0x429238
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x254
mov eax, dword [0x480200]
xor eax, esp
mov dword [esp + 0x250], eax
and dword [esp + 4], 0
lea eax, [esp + 4]
and dword [esp + 8], 0
push ebx
push ebp
mov ebp, dword [esp + 0x260]
push esi
push edi
push eax
call fcn.00401789
mov esi, dword [esp + 0x274]
xor ebx, ebx
pop ecx
mov dword [esp + 0x14], eax
push str.JAHNsiu
push 0x481fe0
call fcn.0040146b
push eax
call fcn.004027a6
mov eax, ebx
mov byte [esp + ebx + 0x6c], bl
cdq
add esp, 0xc
idiv dword [esp + 0x274]
mov al, byte [edx + esi]
mov byte [esp + ebx + 0x160], al
inc ebx
cmp ebx, 0x100
jl 0x429279
xor esi, esi
xor edi, edi
mov dl, byte [esp + esi + 0x60]
movzx eax, byte [esp + esi + 0x160]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x4292d9
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [esp + edi + 0x60]
mov byte [esp + esi + 0x60], al
inc esi
mov byte [esp + edi + 0x60], dl
cmp esi, 0x100
jl 0x4292b6
xor ebx, ebx
xor esi, esi
xor edi, edi
mov dword [esp + 0x10], esi
cmp dword [esp + 0x26c], ebx
jle 0x429444
inc ebx
and ebx, 0x800000ff
jns 0x429316
dec ebx
or ebx, 0xffffff00
inc ebx
mov cl, byte [esp + ebx + 0x60]
movzx edx, cl
add edi, edx
mov dword [esp + 0x1c], ebx
and edi, 0x800000ff
jns 0x429333
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [esp + edi + 0x60]
mov byte [esp + ebx + 0x60], al
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov byte [esp + edi + 0x60], cl
lea ecx, [esp + 0x60]
movzx eax, byte [esp + ebx + 0x60]
xor ebx, ebx
add eax, edx
mov dword [esp + 0x20], edi
movzx eax, al
add eax, ecx
lea ecx, [esp + 0x3c]
push eax
push ebx
call fcn.00401a9b
lea eax, [esp + 0x10]
mov dword [esp + 0x30], ebx
push eax
push ebx
lea ecx, [esp + 0x38]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.00401b63
push 0x42a5a0
lea ecx, [esp + 0x4c]
call fcn.00402c81
cmp dword [esp + 0x5c], 0xf
lea eax, [esp + 0x48]
cmova eax, dword [esp + 0x48]
push eax
call fcn.00410dee
pop ecx
push ebx
push ebx
mov edi, eax
mov dword [esp + 0x2c], ebx
push ebx
mov ecx, 0x4820a0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.004037b5
mov ecx, eax
call fcn.004037b5
mov ecx, eax
call fcn.004037b5
push 0xa
pop ebx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x28]
call fcn.00401a6f
sub ebx, 1
jne 0x4293dc
mov eax, dword [esp + 0x30]
mov edx, dword [eax]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + edi*4]
mov eax, dword [esp + 0x3c]
mov al, byte [ecx + eax]
lea ecx, [esp + 0x24]
xor byte [edx + ebp], al
call fcn.004058b0
lea ecx, [esp + 0x48]
call fcn.004058fc
lea ecx, [esp + 0x30]
call fcn.004058b0
lea ecx, [esp + 0x3c]
call fcn.0040588d
mov ebx, dword [esp + 0x1c]
inc esi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x10], esi
cmp esi, dword [esp + 0x26c]
jl 0x429305
lea eax, [esp + 0x14]
push eax
mov ecx, eax
call fcn.00401ce9
mov ecx, dword [esp + 0x260]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040b778
add esp, 0x254
ret
Function at 0x429564
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 0x42963c
push ebx
xor ebx, ebx
push esi
mov esi, ebx
cmp dword [esp + 0x2c], ebx
jbe 0x42963a
push ebp
mov dword [esp + 0x10], ebx
mov ebp, 0x481fe0
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.004027a6
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.004027a6
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.00410dee
add esp, 0x1c
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
push ebx
call fcn.00401b63
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.00401a43
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 0x4295a1
pop ebp
pop esi
pop ebx
lea ecx, [esp + 0x14]
call fcn.004058b0
pop edi
add esp, 0xc
ret 0x14

Function at 0x42964c
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push eax
push 0x429668
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 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
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
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x17b45099
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x754f456e
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x10040fb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push 0x10013b0
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1004153
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x10013ec
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1004146
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x1004155
xor eax, eax
pop esi
leave
ret 4

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
mov ecx, 0x40d62710
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
mov ebx, 0x42e3d0
nop
mov ecx, 0xac73d24
nop
nop
nop
nop
nop
test eax, eax
je 0x430084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x41dfde
Capabilities:
Read file on windows

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

Function at 0x41dfe9
Capabilities:
Read file on windows

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

Function at 0x41e3e3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040c4f0
mov eax, dword [0x451bc0]
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.0041b18c
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41e425
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41e581
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0040b850
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 + 0x454340]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041f182
mov ecx, dword [esi*4 + 0x454340]
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 0x41e57a
cmp eax, dword [edi + ecx + 0x24]
jne 0x41e57a
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 0x41e57a
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041f182
add esp, 0x14
test edx, edx
jl 0x41e57a
jg 0x41e4f0
test eax, eax
jb 0x41e57a
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41e57a
jl 0x41e50a
cmp dword [ebp - 0x1008], eax
ja 0x41e57a
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41e528
test ebx, ebx
je 0x41e561
cmp ecx, edi
jae 0x41e561
mov al, byte [ecx]
cmp al, 0xd
jne 0x41e542
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41e54e
cmp byte [ecx + 1], 0xa
jne 0x41e54e
inc ecx
jmp 0x41e54e
movzx eax, al
movsx eax, byte [eax + 0x451e98]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41e528
cmp edx, ebx
jne 0x41e528
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41e57f
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040b778
leave
ret
Function at 0x41e620
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 + 0x454340]
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 0x41e660
cmp byte [ebx], 0xa
jne 0x41e660
or byte [eax + edi + 0x28], 4
jmp 0x41e665
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41e763
mov al, byte [edx]
cmp al, 0x1a
je 0x41e745
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41e694
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41e6b9
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41e6c3
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 0x41e676
jmp 0x41e763
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 0x41e740
cmp dword [ebp - 0xc], 0
je 0x41e740
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x454340]
test byte [eax + edi + 0x28], 0x48
je 0x41e71a
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41e705
mov byte [esi], dl
jmp 0x41e716
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x454340]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41e763
cmp byte [ebp - 1], 0xa
jne 0x41e729
cmp esi, ebx
jne 0x41e729
mov byte [esi], 0xa
jmp 0x41e762
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041f1a0
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41e763
mov byte [esi], 0xd
jmp 0x41e762
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x454340]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41e75f
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41e763
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41e76c
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 + 0x454340]
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 0x41e7af
cmp word [esi], dx
jne 0x41e7af
or byte [edi + eax + 0x28], 4
jmp 0x41e7b4
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 0x41e907
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 0x41e8e7
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41e7f6
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41e82c
cmp eax, edx
jae 0x41e838
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 0x41e7ce
jmp 0x41e907
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 0x41e8e3
cmp dword [ebp - 0x14], 0
je 0x41e8e3
mov eax, dword [ebx*4 + 0x454340]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41e8bb
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41e884
mov word [esi], cx
jmp 0x41e8b7
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x454340]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x454340]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x454340]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41e907
pop ebx
cmp word [ebp - 4], bx
jne 0x41e8cc
cmp esi, dword [ebp + 0xc]
jne 0x41e8cc
mov word [esi], bx
jmp 0x41e904
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041f1a0
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41e907
push 0xd
jmp 0x41e900
mov ecx, dword [ebx*4 + 0x454340]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41e8fe
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41e907
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 0x429238
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x254
mov eax, dword [0x451bc0]
xor eax, esp
mov dword [esp + 0x250], eax
and dword [esp + 4], 0
lea eax, [esp + 4]
and dword [esp + 8], 0
push ebx
push ebp
mov ebp, dword [esp + 0x260]
push esi
push edi
push eax
call fcn.00401789
mov esi, dword [esp + 0x274]
xor ebx, ebx
pop ecx
mov dword [esp + 0x14], eax
push str.JAHNsiu
push 0x4539a0
call fcn.0040146b
push eax
call fcn.004027a6
mov eax, ebx
mov byte [esp + ebx + 0x6c], bl
cdq
add esp, 0xc
idiv dword [esp + 0x274]
mov al, byte [edx + esi]
mov byte [esp + ebx + 0x160], al
inc ebx
cmp ebx, 0x100
jl 0x429279
xor esi, esi
xor edi, edi
mov dl, byte [esp + esi + 0x60]
movzx eax, byte [esp + esi + 0x160]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x4292d9
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [esp + edi + 0x60]
mov byte [esp + esi + 0x60], al
inc esi
mov byte [esp + edi + 0x60], dl
cmp esi, 0x100
jl 0x4292b6
xor ebx, ebx
xor esi, esi
xor edi, edi
mov dword [esp + 0x10], esi
cmp dword [esp + 0x26c], ebx
jle 0x429444
inc ebx
and ebx, 0x800000ff
jns 0x429316
dec ebx
or ebx, 0xffffff00
inc ebx
mov cl, byte [esp + ebx + 0x60]
movzx edx, cl
add edi, edx
mov dword [esp + 0x1c], ebx
and edi, 0x800000ff
jns 0x429333
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [esp + edi + 0x60]
mov byte [esp + ebx + 0x60], al
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov byte [esp + edi + 0x60], cl
lea ecx, [esp + 0x60]
movzx eax, byte [esp + ebx + 0x60]
xor ebx, ebx
add eax, edx
mov dword [esp + 0x20], edi
movzx eax, al
add eax, ecx
lea ecx, [esp + 0x3c]
push eax
push ebx
call fcn.00401a9b
lea eax, [esp + 0x10]
mov dword [esp + 0x30], ebx
push eax
push ebx
lea ecx, [esp + 0x38]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.00401b63
push 0x42a5a0
lea ecx, [esp + 0x4c]
call fcn.00402c81
cmp dword [esp + 0x5c], 0xf
lea eax, [esp + 0x48]
cmova eax, dword [esp + 0x48]
push eax
call fcn.00410dee
pop ecx
push ebx
push ebx
mov edi, eax
mov dword [esp + 0x2c], ebx
push ebx
mov ecx, 0x453a60
mov dword [esp + 0x1c], edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.004037b5
mov ecx, eax
call fcn.004037b5
mov ecx, eax
call fcn.004037b5
push 0xa
pop ebx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x28]
call fcn.00401a6f
sub ebx, 1
jne 0x4293dc
mov eax, dword [esp + 0x30]
mov edx, dword [eax]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + edi*4]
mov eax, dword [esp + 0x3c]
mov al, byte [ecx + eax]
lea ecx, [esp + 0x24]
xor byte [edx + ebp], al
call fcn.004058b0
lea ecx, [esp + 0x48]
call fcn.004058fc
lea ecx, [esp + 0x30]
call fcn.004058b0
lea ecx, [esp + 0x3c]
call fcn.0040588d
mov ebx, dword [esp + 0x1c]
inc esi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x10], esi
cmp esi, dword [esp + 0x26c]
jl 0x429305
lea eax, [esp + 0x14]
push eax
mov ecx, eax
call fcn.00401ce9
mov ecx, dword [esp + 0x260]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040b778
add esp, 0x254
ret
Function at 0x429564
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 0x42963c
push ebx
xor ebx, ebx
push esi
mov esi, ebx
cmp dword [esp + 0x2c], ebx
jbe 0x42963a
push ebp
mov dword [esp + 0x10], ebx
mov ebp, 0x4539a0
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.004027a6
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.004027a6
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.00410dee
add esp, 0x1c
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
push ebx
call fcn.00401b63
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.00401a43
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 0x4295a1
pop ebp
pop esi
pop ebx
lea ecx, [esp + 0x14]
call fcn.004058b0
pop edi
add esp, 0xc
ret 0x14

Function at 0x42964c
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push eax
push 0x429668
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 0x40105d
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
push 4
push 0x1000
push 0x1ac
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov dword [ebp - 0xc], 0
cmp dword [ebp - 4], 0
je 0x4010d2
mov dword [ebp - 0x10], 0xb484dfb6
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x40], eax
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 4], 0
jne 0x4010e0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [ebp - 0xc]
push edx
call fcn.004032cb
add esp, 4
cmp dword [ebp - 4], 0
je 0x40110d
mov eax, dword [ebp - 4]
cmp dword [eax + 0x188], 0
je 0x40110d
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x188]
mov dword [0x465e60], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret