joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47edc8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4ae008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.004786d4
mov dword [ebp - 0x14], eax
cmp dword [0x4b3800], edi
jne 0x47eeb9
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x47ee46
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x47ef99
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x47ef99
push 0x491480
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47ef99
push eax
call ebx
push 0x49148c
push esi
mov dword [0x4b3800], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x4b3804], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x4b3808], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4b3810], eax
test eax, eax
je 0x47eeb6
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4b380c], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x47eede
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x47eed1
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x47eef3
push 4
pop eax
jmp 0x47ef9b
cmp dword [ebp - 0x14], edi
je 0x47eef3
push dword [0x4b3800]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x47eed8
mov eax, dword [0x4b380c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x47ef51
cmp dword [0x4b3810], esi
je 0x47ef51
push eax
call ebx
push dword [0x4b3810]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x47ef51
test eax, eax
je 0x47ef51
call ecx
test eax, eax
je 0x47ef46
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x47ef46
test byte [ebp - 8], 1
jne 0x47ef51
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x47ef81
mov eax, dword [0x4b3804]
cmp eax, esi
je 0x47ef7e
push eax
call ebx
test eax, eax
je 0x47ef7e
call eax
mov edi, eax
test edi, edi
je 0x47ef7e
mov eax, dword [0x4b3808]
cmp eax, esi
je 0x47ef7e
push eax
call ebx
test eax, eax
je 0x47ef7e
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x4b3800]
call ebx
test eax, eax
je 0x47ef99
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x47ef9b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046d3f6
leave
ret
Function at 0x42f6ea
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x473dc0
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x4a443c], 1
jge 0x473e2f
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x473e05
mov edx, dword [ebx + 8]
movzx eax, word [edx]
movzx ecx, word [ebx + 0xc]
cmp eax, ecx
je 0x473e05
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x473de2
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x473e1b
mov eax, dword [ebx + 8]
mov dword [ebp - 4], eax
jmp 0x473e22
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
jmp 0x473f2d
movzx ecx, word [ebx + 0xc]
movd xmm0, ecx
movdqa xmmword [ebp - 0x30], xmm0
pshuflw xmm0, xmmword [ebp - 0x30], 0
movdqa xmmword [ebp - 0x30], xmm0
pshufd xmm0, xmmword [ebp - 0x30], 0
movdqa xmmword [ebp - 0x30], xmm0
mov edx, dword [ebx + 8]
and edx, 0xfff
cmp edx, 0xff0
ja 0x473efe
mov eax, dword [ebx + 8]
movdqu xmm0, xmmword [eax]
movdqa xmmword [ebp - 0x40], xmm0
movdqa xmm0, xmmword [ebp - 0x20]
pxor xmm0, xmmword [ebp - 0x20]
movdqa xmmword [ebp - 0x20], xmm0
movdqa xmm0, xmmword [ebp - 0x20]
pcmpeqw xmm0, xmmword [ebp - 0x40]
movdqa xmmword [ebp - 0x20], xmm0
movdqa xmm0, xmmword [ebp - 0x40]
pcmpeqw xmm0, xmmword [ebp - 0x30]
movdqa xmmword [ebp - 0x40], xmm0
movdqa xmm0, xmmword [ebp - 0x20]
por xmm0, xmmword [ebp - 0x40]
movdqa xmmword [ebp - 0x20], xmm0
movdqa xmm0, xmmword [ebp - 0x20]
pmovmskb ecx, xmm0
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x473ef3
bsf edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add eax, dword [ebx + 8]
mov dword [ebx + 8], eax
mov ecx, dword [ebx + 8]
movzx edx, word [ecx]
movzx eax, word [ebx + 0xc]
cmp edx, eax
jne 0x473ee7
mov ecx, dword [ebx + 8]
mov dword [ebp - 0xc], ecx
jmp 0x473eee
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
jmp 0x473f2d
mov edx, dword [ebx + 8]
add edx, 0x10
mov dword [ebx + 8], edx
jmp 0x473f28
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x473f11
mov eax, dword [ebx + 8]
jmp 0x473f2d
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x473f1f
xor eax, eax
jmp 0x473f2d
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x473e52
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x438760
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
push esi
push edi
lea edi, [ebp - 0x218]
mov ecx, 0x86
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x4a108c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 0xf
call fcn.0042f2c1
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x13c], 0x128
lea eax, [ebp - 0x13c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0042f41a
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
je 0x43884a
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x118]
push ecx
call fcn.0042f6e0
add esp, 8
test eax, eax
jne 0x43882f
mov esi, esp
mov eax, dword [ebp - 0x134]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp esi, esp
call fcn.0042fd57
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x154], 0
je 0x43882f
mov esi, esp
push 9
mov eax, dword [ebp - 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp esi, esp
call fcn.0042fd57
mov esi, esp
mov eax, dword [ebp - 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.0042fd57
lea eax, [ebp - 0x13c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0042ff0a
mov dword [ebp - 0x148], eax
jmp 0x4387b4
mov esi, esp
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.0042fd57
push edx
mov ecx, ebp
push eax
lea edx, [0x43888c]
call fcn.0042f5af
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042f1b3
add esp, 0x218
cmp ebp, esp
call fcn.0042fd57
mov esp, ebp
pop ebp
ret
Function at 0x418a57
Capabilities:
Read file on windows

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

Function at 0x418e51
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00408d10
mov eax, dword [0x508600]
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.00416a14
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x418e93
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x418fef
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00423550
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 + 0x50ab90]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00419bf0
mov ecx, dword [esi*4 + 0x50ab90]
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 0x418fe8
cmp eax, dword [edi + ecx + 0x24]
jne 0x418fe8
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 0x418fe8
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00419bf0
add esp, 0x14
test edx, edx
jl 0x418fe8
jg 0x418f5e
test eax, eax
jb 0x418fe8
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x418fe8
jl 0x418f78
cmp dword [ebp - 0x1008], eax
ja 0x418fe8
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x418f96
test ebx, ebx
je 0x418fcf
cmp ecx, edi
jae 0x418fcf
mov al, byte [ecx]
cmp al, 0xd
jne 0x418fb0
lea eax, [edi - 1]
cmp ecx, eax
jae 0x418fbc
cmp byte [ecx + 1], 0xa
jne 0x418fbc
inc ecx
jmp 0x418fbc
movzx eax, al
movsx eax, byte [eax + 0x5088c0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x418f96
cmp edx, ebx
jne 0x418f96
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x418fed
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00408107
leave
ret
Function at 0x41908e
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 + 0x50ab90]
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 0x4190ce
cmp byte [ebx], 0xa
jne 0x4190ce
or byte [eax + edi + 0x28], 4
jmp 0x4190d3
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4191d1
mov al, byte [edx]
cmp al, 0x1a
je 0x4191b3
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x419102
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x419127
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x419131
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 0x4190e4
jmp 0x4191d1
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 0x4191ae
cmp dword [ebp - 0xc], 0
je 0x4191ae
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x50ab90]
test byte [eax + edi + 0x28], 0x48
je 0x419188
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x419173
mov byte [esi], dl
jmp 0x419184
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x50ab90]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4191d1
cmp byte [ebp - 1], 0xa
jne 0x419197
cmp esi, ebx
jne 0x419197
mov byte [esi], 0xa
jmp 0x4191d0
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00419c0e
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4191d1
mov byte [esi], 0xd
jmp 0x4191d0
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x50ab90]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4191cd
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4191d1
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
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 + 0x50ab90]
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 + 0x50ab90]
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 + 0x50ab90]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x50ab90]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x50ab90]
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 + 0x50ab90]
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 [0x508600]
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 0x50a1e0
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, 0x50a1e0
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 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43200c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43201e
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x10557058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x105571a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1055707e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1055706a
add dl, dl
jne 0x10557089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105570dc
xor eax, eax
add dl, dl
jne 0x10557096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1055717d
add dl, dl
jne 0x105570a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105570b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105570bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105570c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x105570d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10557075
mov eax, 1
add dl, dl
jne 0x105570ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105570f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105570e1
sub eax, ebx
mov ebx, 1
jne 0x10557128
mov ecx, 1
add dl, dl
jne 0x1055710e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10557119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10557105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10557075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1055713f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1055714a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10557136
cmp eax, 0x7d00
jae 0x1055716d
cmp eax, 0x500
jb 0x10557168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10557075
cmp eax, 0x7f
ja 0x10557170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10557075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1055719e
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 0x10557075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46d004]
jne 0x40100a
repz ret
jmp fcn.00401561

Function at 0x407095
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.00404781
and dword [ebp - 4], 0
cmp dword [0x46f17c], 0
mov ebx, eax
jne 0x407146
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4071f7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4071f7
push eax
call fcn.0040470f
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x46f17c], eax
call esi
push eax
call fcn.0040470f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x46f180], eax
call esi
push eax
call fcn.0040470f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x46f184], eax
call esi
push eax
call fcn.0040470f
pop ecx
mov dword [0x46f18c], eax
test eax, eax
je 0x407146
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040470f
pop ecx
mov dword [0x46f188], eax
mov eax, dword [0x46f188]
cmp eax, ebx
je 0x40719e
cmp dword [0x46f18c], ebx
je 0x40719e
push eax
call fcn.0040478a
push dword [0x46f18c]
mov esi, eax
call fcn.0040478a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40719e
test edi, edi
je 0x40719e
call esi
test eax, eax
je 0x407195
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x407195
test byte [ebp - 0xc], 1
jne 0x40719e
or dword [ebp + 0x10], 0x200000
jmp 0x4071d7
mov eax, dword [0x46f180]
cmp eax, ebx
je 0x4071d7
push eax
call fcn.0040478a
pop ecx
test eax, eax
je 0x4071d7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4071d7
mov eax, dword [0x46f184]
cmp eax, ebx
je 0x4071d7
push eax
call fcn.0040478a
pop ecx
test eax, eax
je 0x4071d7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46f17c]
call fcn.0040478a
pop ecx
test eax, eax
je 0x4071f7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4071f9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret