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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100529e0]
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.10031751
mov dword [ebp - 0x14], eax
cmp dword [0x10072648], edi
jne 0x10039640
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x100395cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10039720
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x10039720
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10039720
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x10072648], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x1007264c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x10072650], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10072658], eax
test eax, eax
je 0x1003963d
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10072654], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10039665
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10039658
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x1003967a
push 4
pop eax
jmp 0x10039722
cmp dword [ebp - 0x14], edi
je 0x1003967a
push dword [0x10072648]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1003965f
mov eax, dword [0x10072654]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x100396d8
cmp dword [0x10072658], esi
je 0x100396d8
push eax
call ebx
push dword [0x10072658]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x100396d8
test eax, eax
je 0x100396d8
call ecx
test eax, eax
je 0x100396cd
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 0x100396cd
test byte [ebp - 8], 1
jne 0x100396d8
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x10039708
mov eax, dword [0x1007264c]
cmp eax, esi
je 0x10039705
push eax
call ebx
test eax, eax
je 0x10039705
call eax
mov edi, eax
test edi, edi
je 0x10039705
mov eax, dword [0x10072650]
cmp eax, esi
je 0x10039705
push eax
call ebx
test eax, eax
je 0x10039705
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x10072648]
call ebx
test eax, eax
je 0x10039720
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x10039722
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10027a6c
leave
ret
Function at 0x1003e47c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.100277c0
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1003e4b4
xor eax, eax
jmp 0x1003e4e0
cmp esi, dword [ebp - 4]
je 0x1003e4dd
cmp dword [ebp + 0xc], 0
je 0x1003e4dd
push dword [edi + 0x9c]
call fcn.1003e08a
push dword [edi + 0x9c]
mov esi, eax
call fcn.1002433d
pop ecx
pop ecx
cmp esi, eax
je 0x1003e4b0
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x42e003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x4068db
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4068ff
xor eax, eax
test eax, eax
je 0x406912
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406912
xor ecx, ecx
jmp 0x406915
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406a38
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43110c], 0
push esi
jne 0x406a6f
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 0x406a49
mov dword [ecx*4 + 0x431108], eax
inc ecx
cmp ecx, 0x100
jl 0x406a44
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406aa0
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 + 0x431108]
xor eax, esi
inc ecx
dec edx
jne 0x406a82
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x431072
nop
nop
mov ebx, 0x40915c
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x277b18c5
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x431060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4310d2
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x2f26539a
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4310c0
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x994cdc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x994d03
call fcn.00937288
mov dword [eax], esi
call fcn.00937275
push 0x16
pop esi
mov dword [eax], esi
call fcn.00937eca
mov eax, esi
jmp 0x994d58
test dword [ebp + 0xc], 0xfffffff9
jne 0x994ce9
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x994d30
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0093729b
pop ecx
call fcn.00937275
mov eax, dword [eax]
jmp 0x994d58
test al, 0x10
jne 0x994d56
test al, 1
je 0x994d56
test byte [ebp + 0xc], 2
je 0x994d56
call fcn.00937288
mov dword [eax], 5
call fcn.00937275
mov dword [eax], 0xd
jmp 0x994d27
xor eax, eax
pop esi
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
jmp 0x431219

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

Disassembly:
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x402290
Capabilities:
Hash data using djb2

Disassembly:
push ebx
push edi
push esi
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4022ca
mov edx, dword [esp + 0x10]
mov edi, 0x1505
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [edx + esi]
test ebx, ebx
je 0x4022d1
mov eax, edi
shl eax, 5
add eax, edi
add eax, ebx
inc esi
mov edi, eax
cmp ecx, esi
jne 0x4022b0
jmp 0x4022d3
mov eax, 0x1505
jmp 0x4022d3
mov eax, edi
pop esi
pop edi
pop ebx
ret

Function at 0x402a00
Capabilities:
Compute adler32 checksum
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x402bb6
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
movzx edi, si
shr esi, 0x10
test ebx, ebx
je 0x402baf
mov ecx, 0x5e6ea9af
mov eax, ebx
mul ecx
shr edx, 0xb
imul eax, edx, 0x15b0
mov ecx, ebx
sub ecx, eax
jmp 0x402a96
mov ecx, dword [esp + 4]
mov eax, ecx
sub eax, dword [esp]
add ebp, eax
mov eax, edi
mov edx, 0x80078071
mul edx
mov ebx, edx
shr ebx, 0xf
mov eax, esi
mov edx, 0x80078071
mul edx
imul eax, ebx, 0xfff1
sub edi, eax
shr edx, 0xf
imul eax, edx, 0xfff1
sub esi, eax
mov ebx, dword [esp + 0xc]
sub ebx, ecx
mov ecx, 0x15b0
je 0x402baf
xor edx, edx
cmp ecx, 8
mov dword [esp + 4], ecx
mov dword [esp + 0xc], ebx
jb 0x402b1b
and ecx, 0x1ff8
mov dword [esp], ecx
xor eax, eax
mov edx, eax
movzx eax, byte [ebp + eax]
add eax, edi
add esi, eax
movzx ecx, byte [ebp + edx + 1]
add ecx, eax
mov eax, esi
and eax, ecx
xor esi, ecx
movzx edi, byte [ebp + edx + 2]
add edi, ecx
movzx ecx, byte [ebp + edx + 3]
add ecx, edi
add edi, esi
lea eax, [edi + eax*2]
add eax, ecx
movzx edi, byte [ebp + edx + 4]
add edi, ecx
mov esi, eax
and esi, edi
xor eax, edi
movzx ecx, byte [ebp + edx + 5]
add ecx, edi
movzx ebx, byte [ebp + edx + 6]
add ebx, ecx
movzx edi, byte [ebp + edx + 7]
add edi, ebx
add ebx, ecx
mov ecx, dword [esp + 4]
add ebx, eax
add ebx, edi
lea esi, [ebx + esi*2]
lea eax, [edx + 8]
add edx, 0xf
cmp edx, ecx
jb 0x402ab0
add ebp, eax
mov edx, dword [esp]
mov ebx, edx
sub ebx, ecx
jae 0x402a5b
mov eax, ecx
and eax, 3
mov dword [esp], edx
je 0x402b61
mov dword [esp + 8], ebx
neg eax
xor ebx, ebx
mov edx, ebp
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [edx]
inc edx
add edi, ecx
add esi, edi
dec ebx
cmp eax, ebx
jne 0x402b40
mov eax, dword [esp]
sub eax, ebx
mov ebx, dword [esp + 8]
cmp ebx, 0xfffffffc
ja 0x402a50
jmp 0x402b6e
mov eax, edx
mov edx, ebp
cmp ebx, 0xfffffffc
ja 0x402a50
mov ebx, dword [esp + 4]
sub ebx, eax
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [edx + eax]
add ecx, edi
add esi, ecx
movzx edi, byte [edx + eax + 1]
add edi, ecx
add esi, edi
movzx ecx, byte [edx + eax + 2]
add ecx, edi
add esi, ecx
movzx edi, byte [edx + eax + 3]
add edi, ecx
add esi, edi
add eax, 4
cmp ebx, eax
jne 0x402b80
jmp 0x402a50
shl esi, 0x10
or esi, edi
jmp 0x402bbb
mov esi, 1
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402bd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x402c33
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
test edx, edx
je 0x402c35
not eax
xor esi, esi
nop
nop
nop
nop
movzx edx, byte [ecx + esi]
mov edi, eax
mov ebx, edx
and ebx, 0xf
mov ebp, ebx
and ebp, eax
and eax, 0xf
add eax, ebx
add ebp, ebp
sub eax, ebp
shr edi, 4
xor edi, dword [eax*4 + 0x43c80c]
mov eax, edi
shr edx, 4
and edi, 0xf
xor edi, edx
mov edx, dword [esp + 0x1c]
shr eax, 4
xor eax, dword [edi*4 + 0x43c80c]
inc esi
cmp edx, esi
jne 0x402bf0
not eax
jmp 0x402c35
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x407ef0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x407f0b
mov ebx, dword [esp + 0x18]
cmp eax, 1
jne 0x407f13
mov word [ebx], 1
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
movzx ecx, word [ebx + 4]
add word [ebx], cx
cmp eax, 3
jl 0x407fab
mov edx, 2
mov ecx, 2
sub ecx, eax
mov dword [esp], ecx
xor edi, edi
mov ebx, 1
jmp 0x407f59
movzx ebp, word [esi + edi*4]
add word [esi + ebx*4], bp
mov word [esi + edi*4], bx
inc edi
mov ecx, dword [esp]
add ecx, ebx
inc ecx
inc ebx
cmp ecx, 1
je 0x407fba
mov esi, dword [esp + 0x18]
movzx ecx, word [esi + edi*4]
cmp edx, eax
jge 0x407f6e
movzx ebp, word [esi + edx*4]
cmp cx, bp
jae 0x407f80
mov word [esi + ebx*4], cx
mov word [esi + edi*4], bx
inc edi
cmp edx, eax
jge 0x407f40
jmp 0x407f89
inc edx
mov word [esi + ebx*4], bp
cmp edx, eax
jge 0x407f40
cmp edi, ebx
jge 0x407fa0
movzx ebp, word [esi + edi*4]
movzx ecx, word [esi + edx*4]
cmp bp, cx
jb 0x407f44
jmp 0x407fa4
movzx ecx, word [esi + edx*4]
inc edx
add word [esi + ebx*4], cx
jmp 0x407f4d
lea edx, [eax - 2]
mov word [ebx + eax*4 - 8], 0
jmp 0x408042
lea edx, [eax - 2]
mov ebx, dword [esp + 0x18]
mov word [ebx + eax*4 - 8], 0
cmp eax, 3
jl 0x408042
lea edi, [eax - 3]
mov ebp, ebx
mov ebx, eax
and ebx, 3
xor ebx, 2
mov esi, edi
je 0x407ff4
mov esi, edi
movzx ecx, word [ebp + esi*4]
movzx ecx, word [ebp + ecx*4]
inc ecx
mov word [ebp + esi*4], cx
dec esi
dec ebx
jne 0x407fe0
mov ebx, dword [esp + 0x18]
cmp edi, 3
jb 0x408042
nop
nop
nop
movzx ecx, word [ebx + esi*4]
movzx ecx, word [ebx + ecx*4]
inc ecx
mov word [ebx + esi*4], cx
movzx ecx, word [ebx + esi*4 - 4]
movzx ecx, word [ebx + ecx*4]
inc ecx
mov word [ebx + esi*4 - 4], cx
movzx ecx, word [ebx + esi*4 - 8]
movzx ecx, word [ebx + ecx*4]
inc ecx
mov word [ebx + esi*4 - 8], cx
movzx ecx, word [ebx + esi*4 - 0xc]
movzx ecx, word [ebx + ecx*4]
inc ecx
mov word [ebx + esi*4 - 0xc], cx
add esi, 0xfffffffc
cmp esi, 0xffffffff
jne 0x408000
dec eax
mov ecx, 1
xor esi, esi
jmp 0x40805c
lea ecx, [edi + edi]
inc esi
test edi, edi
je 0x407f0b
test edx, edx
mov dword [esp], ecx
js 0x408090
lea edi, [edx + 1]
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, word [ebx + edx*4]
cmp esi, ecx
jne 0x4080a0
inc ebp
dec edx
cmp edi, ebp
jne 0x408070
mov edx, 0xffffffff
jmp 0x4080a2
xor edi, edi
jmp 0x4080a5
mov edi, ebp
mov ecx, dword [esp]
mov ebp, ecx
sub ebp, edi
jle 0x408050
and ebp, 3
je 0x4080d8
lea ecx, [ebx + eax*4]
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ecx], si
inc ebx
add ecx, 0xfffffffc
cmp ebp, ebx
jne 0x4080c0
mov ebp, dword [esp]
sub ebp, ebx
sub eax, ebx
mov ebx, dword [esp + 0x18]
jmp 0x4080da
mov ebp, ecx
mov ecx, edi
sub ecx, dword [esp]
cmp ecx, 0xfffffffc
ja 0x408050
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ebx + eax*4], si
mov word [ebx + eax*4 - 4], si
mov word [ebx + eax*4 - 8], si
mov word [ebx + eax*4 - 0xc], si
add eax, 0xfffffffc
add ebp, 0xfffffffc
cmp ebp, edi
jg 0x4080f0
jmp 0x408050
Function at 0x408a80
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov edx, dword [esp + 8]
mov dword [0x44442c], edx
mov eax, 0xfffffd92
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
mov edx, ecx
and edx, 0x6c078965
mov esi, ecx
or ecx, 0x6c078965
imul ecx, edx
xor edx, 0x6c078965
and esi, 0x93f8769a
imul esi, edx
add ecx, esi
lea edx, [eax + ecx]
add edx, 0x26f
mov dword [eax*4 + 0x444de8], edx
test eax, eax
je 0x408b0f
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
mov edx, ecx
and edx, 0x6c078965
mov esi, ecx
or ecx, 0x6c078965
imul ecx, edx
xor edx, 0x6c078965
and esi, 0x93f8769a
imul esi, edx
add ecx, esi
lea edx, [eax + ecx]
add edx, 0x270
mov dword [eax*4 + 0x444dec], edx
add eax, 2
jmp 0x408a90
mov dword [0x444428], 0x270
pop esi
ret

Function at 0x408b50
Capabilities:
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
call fcn.00437ce0
test al, al
je 0x408d15
call fcn.004321c0
test al, al
je 0x408d10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
mov ebp, 0xb478b3f9
mov eax, 0xc8fc4df4
shrd eax, ebp, cl
shr ebp, cl
test cl, 0x20
je 0x408b9b
mov eax, ebp
xor ebp, ebp
mov ebx, eax
xor ebx, 0xc8fc4df4
mov ecx, ebp
xor ecx, 0xb478b3f9
and eax, 0xd36aefe7
xor eax, 0x1302a203
mov esi, ebx
and esi, 0x2c951018
mov edi, ecx
and edi, 0x979f2c8a
imul edi, eax
mul esi
mov dword [esp], eax
and ebp, 0x6860d375
xor ebp, 0x48004004
add edi, edx
imul esi, ebp
add esi, edi
mov ebp, ebx
and ebp, 0xd36aefe7
mov edi, ecx
and edi, 0x6860d375
or ebx, 0xd36aefe7
mov eax, ebx
mul ebp
imul ebx, edi
add ebx, edx
or ecx, 0x6860d375
imul ecx, ebp
add ecx, ebx
add eax, dword [esp]
adc ecx, esi
mov edi, ecx
shr edi, 0x15
mov edx, edi
and edx, ecx
or edi, ecx
shld ecx, eax, 0xb
mov ebp, ecx
and ebp, eax
or ecx, eax
mov ebx, edx
shld ebx, ebp, 1
lea esi, [ebp*2]
not esi
add esi, ebp
not ebx
adc ebx, edx
and ebx, edi
and esi, ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x408cc4
mov edi, esi
and edi, 0xe22d0092
mov ecx, esi
and ecx, 0x1dd2ff6d
mov ebp, ecx
xor ebp, 0x1dd2ff6d
mov eax, ebp
mul edi
mov dword [esp], eax
mov eax, ebx
and eax, 0xa7cd521
imul eax, ebp
add edx, eax
mov dword [esp + 4], edx
mov ebp, ebx
and ebp, 0xf5832ade
or esi, 0x1dd2ff6d
mov eax, esi
imul esi, ebp
xor ebp, 0xf5832ade
imul ebp, edi
mul ecx
add ebp, dword [esp + 4]
add esi, edx
or ebx, 0xf5832ade
imul ebx, ecx
add ebx, esi
add eax, dword [esp]
adc ebx, ebp
mov esi, eax
mov ecx, dword [esp + 8]
shrd esi, ebx, cl
mov edx, ebx
shr edx, cl
test cl, 0x20
je 0x408cc0
mov esi, edx
xor edx, edx
xor ebx, edx
xor esi, eax
mov eax, ebx
not eax
mov ecx, esi
not ecx
and eax, 0xfefefefe
or esi, 0x1010101
or ebx, 0x1010101
mov edx, eax
shld edx, ecx, 1
and ecx, 0xfefefefe
lea edi, [ecx + ecx]
not edx
not edi
add edi, ecx
adc edx, eax
and edx, ebx
and edi, esi
push edx
push edi
call fcn.00409dd0
add esp, 8
test al, al
je 0x408d10
call fcn.0040ca30
call fcn.0040ba90
call fcn.00438340
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x408d20
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push edi
push esi
mov eax, dword [ecx]
cmp eax, 0x270
jne 0x408d91
mov edx, dword [ecx + 4]
mov eax, 0xfffff640
jmp 0x408d5b
shr esi, 1
xor esi, dword [ecx + eax + 0xff8]
xor esi, edi
mov dword [ecx + eax + 0x1384], esi
add eax, 4
je 0x408df3
mov edi, edx
and edi, 0x80000000
mov edx, dword [ecx + eax + 0x9c8]
lea ebx, [edx - 0x80000000]
mov esi, edx
or esi, 0x7fffffff
and esi, ebx
or esi, edi
mov ebx, esi
xor ebx, 0xfffffffe
mov edi, esi
or edi, 1
and edi, ebx
je 0x408d40
mov edi, 0x9908b0df
jmp 0x408d40
cmp eax, 0x4e0
jb 0x408e7f
mov edx, dword [ecx + 0x9c4]
xor eax, eax
jmp 0x408dd1
and edx, 0x80000000
or edi, edx
shr edi, 1
xor edi, dword [ecx + eax*4 + 0xff8]
xor edi, ebx
mov dword [ecx + eax*4 + 4], edi
inc eax
mov edx, esi
cmp eax, 0xe3
je 0x408dfd
mov esi, dword [ecx + eax*4 + 0x9c8]
mov edi, esi
and edi, 0x7fffffff
mov ebx, esi
xor ebx, 0x7ffffffe
and ebx, edi
je 0x408db0
mov ebx, 0x9908b0df
jmp 0x408db0
mov eax, 0x270
jmp 0x408e7f
mov esi, dword [ecx + 0xd50]
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
and esi, 0x80000000
mov edi, dword [ecx + eax*4 + 0xd54]
mov edx, edi
and edx, 0x7ffffffe
or edx, esi
shr edx, 1
mov esi, edi
and edi, 1
neg edi
and edi, 0x9908b0df
xor edi, dword [ecx + eax*4 + 4]
xor edi, edx
mov dword [ecx + eax*4 + 0x390], edi
inc eax
cmp eax, 0x18c
jne 0x408e10
mov esi, SysReAllocString
and esi, dword [ecx + 0x1380]
mov eax, dword [ecx + 4]
mov edx, eax
and edx, 0x7ffffffe
or edx, esi
and eax, 1
neg eax
and eax, 0x9908b0df
xor eax, dword [ecx + 0x634]
shr edx, 1
xor eax, edx
mov dword [ecx + 0x9c0], eax
xor eax, eax
mov edx, eax
and edx, 1
mov esi, eax
xor esi, 1
lea edx, [esi + edx*2]
mov dword [ecx], edx
mov eax, dword [ecx + eax*4 + 4]
mov edx, eax
shr edx, 0xb
and edx, dword [ecx + 0x1384]
xor edx, eax
mov ecx, edx
shl ecx, 7
and ecx, 0x9d2c5680
xor ecx, edx
mov edx, ecx
shl edx, 0xf
and edx, 0xefc60000
xor edx, ecx
mov eax, edx
shr eax, 0x12
and ecx, eax
or eax, edx
xor eax, ecx
pop esi
pop edi
pop ebx
ret
Function at 0x409dd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x228
mov eax, dword [0x445808]
mov dword [esp + 0x18], 0xf96bf761
mov dword [esp + 0x1c], 0xfd43fba8
mov dword [esp + 0x20], 0xe1b2ffad
mov dword [esp + 0x24], 0xe540e38c
mov dword [esp + 0x28], 0xe944e74a
mov word [esp + 0x2c], 0xebea
xor ecx, ecx
movzx edx, byte [esp + ecx + 0x18]
mov esi, ecx
and esi, 4
mov edi, ecx
and edi, 2
mov ebx, edi
xor ebx, 2
imul ebx, esi
or esi, 2
imul esi, edi
add esi, ebx
mov edi, ecx
xor edi, 0xecf663c6
mov ebx, esi
and ebx, edi
xor edi, esi
lea esi, [edi + ebx*2]
xor esi, edx
mov edx, esi
xor edx, 0xce
and esi, 0x4e
lea edx, [edx + esi*2]
add dl, 2
mov byte [esp + ecx + 0x18], dl
inc ecx
cmp ecx, 0x16
jne 0x409e10
lea edi, [esp + 0x18]
push 0x800
push 0
push edi
call eax
mov ecx, 0x44580c
push eax
call fcn.00437ca0
movzx eax, al
mov eax, dword [eax*4 + 0x43f6e8]
mov ecx, dword [0x43f6f0]
mov edx, ecx
or edx, 0xd275631c
not ecx
or ecx, 0x2d8a9ce3
and ecx, edx
add ecx, eax
inc ecx
xor eax, eax
jmp ecx