joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401c10
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov edi, 0xffffffff
cmp dword [esp + 0x24], 0
je 0x401d14
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x401d14
push ebx
call fcn.004089f0
add esp, 4
test eax, eax
je 0x401c6a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x401c71
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x401c50
jmp 0x401c73
mov esi, 0x1505
jmp 0x401c73
mov esi, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov eax, ebx
sub eax, 1
mov dword [esp + 0xc], eax
jb 0x401d14
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x401ca4
inc ebp
dec ebx
je 0x401d0f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x401d0f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x401ca0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.004089f0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x401ca0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00408a10
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x401ca0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x401d0f
cmp dword [eax + 4], 6
mov edi, 0xffffffff
jne 0x401d14
mov edi, dword [eax + 8]
jmp 0x401d14
mov edi, 0xffffffff
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401d20
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
push 0x2e
push ebp
call fcn.00408a60
add esp, 8
test eax, eax
je 0x401d84
mov esi, eax
jmp 0x401d64
mov ebp, esi
inc ebp
push 0x2e
push ebp
call fcn.00408a60
add esp, 8
mov esi, eax
test eax, eax
je 0x401d84
mov eax, esi
sub eax, ebp
push eax
push ebp
push edi
call fcn.00401790
add esp, 0xc
xor edi, edi
test eax, eax
je 0x401d50
cmp dword [eax + 4], 4
jne 0x401d50
mov edi, dword [eax + 8]
jmp 0x401d50
xor eax, eax
test edi, edi
je 0x401deb
test ebp, ebp
je 0x401deb
push ebp
call fcn.004089f0
add esp, 4
test eax, eax
je 0x401dcb
mov ecx, 0x1505
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebp + ebx]
test edx, edx
je 0x401dd2
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebx
mov ecx, esi
cmp eax, ebx
jne 0x401db0
jmp 0x401dd4
mov esi, 0x1505
jmp 0x401dd4
mov esi, ecx
mov dword [esp + 4], eax
mov ecx, dword [edi + 0x20]
lea ebx, [ecx - 1]
mov eax, ecx
sub eax, 1
mov dword [esp + 0x14], eax
jae 0x401df3
xor eax, eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
and ebx, esi
mov dword [esp], edi
mov eax, dword [edi + 4]
mov dword [esp + 0x10], eax
jmp 0x401e14
inc ebx
dec ecx
je 0x401de9
mov eax, ebx
and eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x401de9
mov eax, dword [esp]
mov eax, dword [eax + 8]
cmp dword [eax + edi*4], esi
jne 0x401e10
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 0xc], eax
push eax
mov dword [esp + 0xc], ecx
call fcn.004089f0
mov ecx, dword [esp + 0xc]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x401e10
push dword [esp + 4]
push dword [esp + 0x10]
push ebp
call fcn.00408a10
mov ecx, dword [esp + 0x14]
add esp, 0xc
test eax, eax
jne 0x401e10
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edi*4]
jmp 0x401deb
Function at 0x401f10
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor eax, eax
cmp dword [esp + 0x24], 0
je 0x401f7d
mov esi, dword [esp + 0x28]
test esi, esi
je 0x401f7d
push esi
call fcn.004089f0
add esp, 4
test eax, eax
je 0x401f5a
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x401f61
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x401f40
jmp 0x401f63
mov ebx, 0x1505
jmp 0x401f63
mov ebx, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx + 0x20]
lea ebp, [edi - 1]
mov eax, edi
sub eax, 1
mov dword [esp + 0xc], eax
jae 0x401f85
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
and ebp, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x401f94
inc ebp
dec edi
je 0x401f7b
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x401f7b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebx
jne 0x401f90
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.004089f0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x401f90
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00408a10
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x401f90
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov eax, 0
je 0x401f7d
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 4], edx
sete al
jmp 0x401f7d
Function at 0x4021a0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, 0xffffffff
cmp dword [esp + 0x24], 0
je 0x4022b2
mov esi, dword [esp + 0x28]
test esi, esi
je 0x4022b2
cmp dword [esp + 0x2c], 0
je 0x4022b2
push esi
call fcn.004089f0
add esp, 4
test eax, eax
je 0x40220a
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x402211
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x4021f0
jmp 0x402213
mov ebx, 0x1505
jmp 0x402213
mov ebx, ecx
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 0x20]
lea edi, [esi - 1]
mov edx, esi
sub edx, 1
mov dword [esp + 8], edx
jae 0x4022ba
mov ebp, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x402277
call fcn.004023b0
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov ecx, dword [esp + 0x28]
jne 0x4022b2
push ecx
call fcn.004089f0
add esp, 4
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 0x20]
lea edi, [esi - 1]
mov eax, esi
sub eax, 1
mov dword [esp + 8], eax
jae 0x40232d
mov ebp, 0xffffffff
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 0x18]
mov esi, dword [esp + 0x28]
mov dword [eax + edx*4], esi
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 0x18]
mov dword [eax + ebp*4], edx
mov eax, dword [ecx + 0x10]
mov esi, dword [esp + 0x2c]
mov dword [eax + edx*4], esi
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x18]
mov dword [eax + edx*4], ebp
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0x18]
mov dword [eax + edx*4], ebx
inc dword [ecx + 0x18]
mov eax, dword [ecx]
mov dword [esi], eax
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp], eax
and edi, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x4022d8
inc edi
dec esi
je 0x40222c
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x402231
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x4022d0
mov ecx, dword [ecx + 0xc]
mov ebp, dword [ecx + eax*4]
push ebp
call fcn.004089f0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x4022d0
push dword [esp]
push ebp
push dword [esp + 0x30]
call fcn.00408a10
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x4022d0
mov eax, 0xffffffff
jmp 0x4022b2
and edi, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x402348
inc edi
dec esi
je 0x402272
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x402277
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x402340
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0xc], eax
push eax
call fcn.004089f0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x402340
push dword [esp]
push dword [esp + 0x10]
push dword [esp + 0x30]
call fcn.00408a10
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x402340
jmp 0x402277
Function at 0x402ae0
Capabilities:
Compute adler32 checksum
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x402c96
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
movzx edi, cx
shr ecx, 0x10
test esi, esi
je 0x402c8f
mov edx, 0x5e6ea9af
mov eax, esi
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov ebx, esi
sub ebx, eax
jmp 0x402b76
mov eax, dword [esp + 4]
sub eax, dword [esp]
add ebp, eax
mov esi, dword [esp + 8]
mov eax, edi
mov edx, 0x80078071
mul edx
mov ebx, edx
shr ebx, 0xf
mov eax, ecx
mov edx, 0x80078071
mul edx
imul eax, ebx, 0xfff1
sub edi, eax
shr edx, 0xf
imul eax, edx, 0xfff1
sub ecx, eax
sub esi, dword [esp + 4]
mov ebx, 0x15b0
je 0x402c8f
xor edx, edx
cmp ebx, 8
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
jb 0x402bf8
and ebx, 0x1ff8
mov dword [esp], ebx
xor eax, eax
mov edx, eax
movzx eax, byte [ebp + eax]
add eax, edi
add ecx, eax
movzx esi, byte [ebp + edx + 1]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + edx + 2]
add eax, esi
add ecx, eax
movzx esi, byte [ebp + edx + 3]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + edx + 4]
add eax, esi
add ecx, eax
movzx esi, byte [ebp + edx + 5]
add esi, eax
mov eax, ecx
and eax, esi
xor ecx, esi
movzx ebx, byte [ebp + edx + 6]
add ebx, esi
movzx edi, byte [ebp + edx + 7]
add edi, ebx
add ebx, ecx
lea ecx, [ebx + eax*2]
mov ebx, dword [esp + 4]
add ecx, edi
lea eax, [edx + 8]
add edx, 0xf
cmp edx, ebx
jb 0x402b90
add ebp, eax
mov esi, dword [esp + 8]
mov edx, dword [esp]
mov eax, edx
sub eax, ebx
jae 0x402b3d
mov dword [esp + 0xc], eax
mov eax, ebx
and eax, 3
mov dword [esp], edx
je 0x402c3f
neg eax
xor ebx, ebx
mov edx, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [edx]
inc edx
add edi, esi
add ecx, edi
dec ebx
cmp eax, ebx
jne 0x402c20
mov eax, dword [esp]
sub eax, ebx
cmp dword [esp + 0xc], 0xfffffffc
ja 0x402b30
jmp 0x402c4e
mov eax, edx
mov edx, ebp
cmp dword [esp + 0xc], 0xfffffffc
ja 0x402b30
mov ebx, dword [esp + 4]
sub ebx, eax
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [edx + eax]
add esi, edi
add ecx, esi
movzx edi, byte [edx + eax + 1]
add edi, esi
add ecx, edi
movzx esi, byte [edx + eax + 2]
add esi, edi
add ecx, esi
movzx edi, byte [edx + eax + 3]
add edi, esi
add ecx, edi
add eax, 4
cmp ebx, eax
jne 0x402c60
jmp 0x402b30
shl ecx, 0x10
or ecx, edi
jmp 0x402c9b
mov ecx, 1
mov eax, ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x402cb0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x402d0c
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
test edx, edx
je 0x402d0e
not eax
xor esi, esi
nop
nop
nop
nop
nop
movzx edi, byte [ecx + esi]
mov ebx, eax
shr ebx, 4
xor eax, edi
and eax, 0xf
xor ebx, dword [eax*4 + 0x44680c]
mov eax, ebx
shr eax, 4
and ebx, 0xf
shr edi, 4
xor edi, ebx
mov edi, dword [edi*4 + 0x44680c]
mov ebx, eax
and ebx, edi
add eax, edi
add ebx, ebx
sub eax, ebx
inc esi
cmp edx, esi
jne 0x402cd0
not eax
jmp 0x402d0e
xor eax, eax
pop esi
pop edi
pop ebx
ret
Function at 0x408740
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [esp + 0x14]
mov ebx, dword [edx + 8]
mov esi, 1
cmp ebx, eax
jae 0x4087ac
mov edi, edx
cmp dword [esp + 0x18], 0
je 0x40878e
cmp ebx, 1
adc ebx, 0
cmp ebx, eax
jae 0x408790
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, ebx
and edx, 0xfffffffd
mov ebp, ebx
and ebp, 2
or ebx, 2
imul ebx, ebp
xor ebp, 2
imul ebp, edx
add ebx, ebp
cmp ebx, eax
jb 0x408770
jmp 0x408790
mov ebx, eax
push ebx
push dword [edi + 0xc]
push dword [edi]
push dword [ecx + 0x34]
call dword [ecx + 0x30]
add esp, 0x10
test eax, eax
je 0x4087aa
mov dword [edi], eax
mov dword [edi + 8], ebx
jmp 0x4087ac
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x408f60
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push edi
push esi
mov edx, dword [esp + 0xc]
mov dword [0x44e9e4], edx
mov eax, 1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, edx
shr ecx, 0x1e
mov esi, ecx
and esi, edx
add ecx, edx
add esi, esi
sub ecx, esi
imul ecx, ecx, 0x6c078965
mov edx, ecx
and edx, eax
xor ecx, eax
lea edx, [ecx + edx*2]
mov dword [eax*4 + 0x44e9e4], edx
lea ecx, [eax + 1]
cmp ecx, 0x270
je 0x408fda
mov esi, edx
shr esi, 0x1e
mov edi, esi
and edi, edx
add esi, edx
add edi, edi
sub esi, edi
imul edx, esi, 0x6c078965
mov esi, edx
and esi, ecx
xor edx, ecx
lea edx, [edx + esi*2]
mov dword [eax*4 + 0x44e9e8], edx
inc ecx
mov eax, ecx
jmp 0x408f80
mov dword [0x44e9e0], 0x270
pop esi
pop edi
ret

Function at 0x408ff0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push edi
push esi
mov eax, dword [0x44e9e0]
cmp eax, 0x270
jne 0x409050
mov eax, 0xfffff640
mov edx, dword [0x44e9e4]
jmp 0x40902f
and edx, 0x80000000
or esi, edx
shr esi, 1
xor esi, dword [eax + 0x44f9d8]
xor esi, edi
mov dword [eax + 0x44fd64], esi
mov edx, ecx
add eax, 4
je 0x409068
mov ecx, dword [eax + 0x44f3a8]
mov esi, ecx
and esi, 0x7fffffff
mov edi, ecx
xor edi, 0x7ffffffe
and edi, esi
je 0x409010
mov edi, 0x9908b0df
jmp 0x409010
cmp eax, 0x4e0
jb 0x40906d
mov ecx, 0x44e9e0
call fcn.00409290
mov eax, dword [0x44e9e0]
jmp 0x40906d
mov eax, 0x270
lea ecx, [eax + 1]
mov dword [0x44e9e0], ecx
mov eax, dword [eax*4 + 0x44e9e4]
mov ecx, eax
shr ecx, 0xb
and ecx, dword [0x44fd64]
xor ecx, eax
mov eax, ecx
shl eax, 7
and eax, 0x9d2c5680
xor eax, ecx
mov ecx, eax
shl ecx, 0xf
and ecx, 0xefc40000
xor ecx, eax
shr ecx, 0x12
and eax, 0x7fff
xor eax, ecx
pop esi
pop edi
ret
Function at 0x4090b0
Capabilities:
Get common file path
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x218
call fcn.0043fba0
test al, al
je 0x40927a
lea eax, [esp + 0x10]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.00439040
test al, al
je 0x409275
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, 0x84d6e8df
mov esi, 0x30a5fdf1
mov ecx, ebx
shrd esi, edx, cl
shr edx, cl
mov dword [esp + 8], eax
xor ebp, ebp
mov ecx, edx
test bl, 0x20
jne 0x409113
mov ecx, esi
mov eax, ecx
not eax
jne 0x40911b
mov ebp, edx
mov edx, ebp
not edx
and eax, 0xcf5a020e
and edx, 0x7b291720
mov esi, ecx
xor esi, 0x30a5fdf1
or esi, eax
mov eax, ebp
xor eax, 0x84d6e8df
or eax, edx
or ecx, 0x30a5fdf1
and ecx, esi
or ebp, 0x84d6e8df
and ebp, eax
mov eax, ecx
and eax, 0x10e61654
mov dword [esp], eax
mov edx, ebp
and edx, 0xb7a2f1a6
mov ebx, ecx
and ebx, 0xef19e9ab
mov dword [esp + 0xc], ebx
xor ebx, 0xef19e9ab
mov eax, ebx
imul ebx, edx
mov esi, ebp
and esi, 0x485d0e59
mov edi, esi
xor edi, 0x485d0e59
mul dword [esp]
mov dword [esp + 4], eax
imul edi, dword [esp]
add edi, edx
add edi, ebx
add ecx, 0xef19e9ab
adc ebp, 0x485d0e59
mov ebx, dword [esp + 0xc]
sub ecx, ebx
sbb ebp, esi
imul esi, ecx
mov eax, ecx
mul ebx
add edx, esi
imul ebp, ebx
add ebp, edx
add eax, dword [esp + 4]
adc ebp, edi
mov edi, ebp
shr edi, 0x15
xor edi, ebp
mov esi, ebp
shld esi, eax, 0xb
xor esi, eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x409251
mov eax, esi
and eax, 0x1f9820b2
mov dword [esp], eax
mov ebp, edi
and ebp, 0x128aeabe
mov ebx, esi
and ebx, 0xe067df4d
mov ecx, edi
and ecx, 0xed751541
mov eax, ebx
xor eax, 0xe067df4d
imul ebp, eax
mul dword [esp]
mov dword [esp + 4], eax
or esi, 0xe067df4d
mov eax, esi
imul esi, ecx
xor ecx, 0xed751541
imul ecx, dword [esp]
add ecx, edx
mul ebx
add ecx, ebp
add esi, edx
or edi, 0xed751541
imul edi, ebx
add edi, esi
add eax, dword [esp + 4]
adc edi, ecx
mov esi, eax
mov ecx, dword [esp + 8]
shrd esi, edi, cl
mov edx, edi
shr edx, cl
test cl, 0x20
je 0x40924d
mov esi, edx
xor edx, edx
xor edi, edx
xor esi, eax
or edi, 0x1010101
or esi, 0x1010101
push edi
push esi
call fcn.0040a400
add esp, 8
test al, al
je 0x409275
call fcn.0040d2e0
call fcn.0040bdb0
call fcn.00441420
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x409290
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push edi
push esi
xor eax, eax
mov edx, SysReAllocString
nop
nop
nop
nop
nop
nop
mov esi, eax
and esi, 0x70
mov edi, eax
xor edi, 0x270
lea edi, [edi + esi*2]
mov ebx, dword [ecx + edi*4 + 4]
mov esi, ebx
xor esi, 0x7fffffff
or ebx, 0x80000000
and ebx, esi
mov esi, dword [ecx + edi*4 + 8]
and esi, edx
or esi, ebx
mov ebx, esi
shr ebx, 1
and esi, 1
neg esi
and esi, 0x9908b0df
xor esi, ebx
mov ebx, edi
and ebx, 0x18d
xor edi, 0x18d
lea edi, [edi + ebx*2]
mov edi, dword [ecx + edi*4 + 4]
mov ebx, esi
and ebx, edi
add esi, edi
add ebx, ebx
sub esi, ebx
mov dword [ecx + eax*4 + 4], esi
inc eax
cmp eax, 0xe3
jne 0x4092a0
mov esi, dword [ecx + 0xd50]
mov eax, 0x355
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
and esi, 0x80000000
mov edi, dword [ecx + eax*4]
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, edx
mov edx, dword [ecx + eax*4 - 0xd50]
mov ebx, edi
and ebx, edx
add edi, edx
add ebx, ebx
sub edi, ebx
mov dword [ecx + eax*4 - 0x9c4], edi
inc eax
cmp eax, 0x4e1
jne 0x409320
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
mov dword [ecx], 0
pop esi
pop edi
pop ebx
ret
Function at 0x40a400
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x230
mov eax, dword [0x44fdbc]
mov dword [esp + 0x1b0], 0xf9faf3fc
mov byte [esp + 0x1b4], 0
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, ecx
and edx, 3
xor edx, 0x5807712b
movzx edi, byte [esp + ecx + 0x1b0]
mov ebx, ecx
xor ebx, 0xa7f88ed4
mov esi, ecx
or esi, 3
and esi, ebx
lea ebx, [ecx + esi]
add ebx, edx
and ebx, edi
add ebx, ebx
add esi, edi
sub esi, ebx
add edx, ecx
add edx, esi
mov esi, edx
and esi, 0x28
xor edx, 0x28
lea edx, [edx + esi*2]
inc dl
mov byte [esp + ecx + 0x1b0], dl
inc ecx
cmp ecx, 5
jne 0x40a430
mov ecx, dword [esp + 0x1b0]
mov dword [esp + 0x20], 0x97199913
mov dword [esp + 0x24], 0x933195da
mov dword [esp + 0x28], 0x8fc091df
mov dword [esp + 0x2c], 0x8b168dde
mov dword [esp + 0x30], 0x8712891c
mov word [esp + 0x34], 0x8584
mov dword [esp + 0x36], 0
mov word [esp + 0x3a], 0
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, edx
add bl, 0x26
xor bl, byte [esp + edx + 0x20]
add bl, 0x42
mov byte [esp + edx + 0x20], bl
inc edx
cmp edx, 0x1c
jne 0x40a4d0
lea edi, [esp + 0x20]
push ecx
push 0
push edi
call eax
mov esi, eax
mov eax, dword [0x449a0c]
mov ecx, 0x443f2a94
xor ecx, dword [0x449a14]
add eax, ecx
inc eax
jmp eax
Function at 0x40cad0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x238
mov dword [esp + 0x38], 0xd9abdb97
mov dword [esp + 0x3c], 0xdda1df56
mov dword [esp + 0x40], 0xd1aed3a0
mov dword [esp + 0x44], 0xd5e7d7b7
mov dword [esp + 0x48], 0xe9d8eb9f
mov dword [esp + 0x4c], 0xedceefd8
mov dword [esp + 0x50], 0xe18be3d4
mov dword [esp + 0x54], 0xe594e79f
mov dword [esp + 0x58], 0xf98bfb80
mov dword [esp + 0x5c], 0xfd8bff71
mov dword [esp + 0x60], 0xf1a0f3dc
mov dword [esp + 0x64], 0xf5d6f7a4
mov dword [esp + 0x68], 0x93a0bc3
mov dword [esp + 0x6c], 0xd3e0f3a
mov dword [esp + 0x70], 0x1220341
mov dword [esp + 0x74], 0x5790769
mov dword [esp + 0x78], 0x19501b76
mov dword [esp + 0x7c], 0x1d531f2c
mov dword [esp + 0x80], 0x119a133c
mov dword [esp + 0x84], 0x1522175a
mov dword [esp + 0x88], 0x290a2b2b
mov dword [esp + 0x8c], 0x2d5e2f6f
mov dword [esp + 0x90], 0x215e235c
mov dword [esp + 0x94], 0x254f275b
mov dword [esp + 0x98], 0x395c3b5f
mov dword [esp + 0x9c], 0x3d413f65
mov dword [esp + 0xa0], 0x31033348
mov dword [esp + 0xa4], 0x3503377b
mov dword [esp + 0xa8], 0x49784b7d
mov dword [esp + 0xac], 0x4d044f7d
mov dword [esp + 0xb0], 0x417a436c
mov dword [esp + 0xb4], 0x451e471d
mov dword [esp + 0xb8], 0x59095b10
mov dword [esp + 0xbc], 0x5d625f04
mov dword [esp + 0xc0], 0x512e537c
mov dword [esp + 0xc4], 0x552b572f
mov dword [esp + 0xc8], 0x694a6b2f
mov dword [esp + 0xcc], 0x6d156f31
mov dword [esp + 0xd0], 0x611f6309
mov dword [esp + 0xd4], 0x65596711
mov dword [esp + 0xd8], 0x793f7b44
mov dword [esp + 0xdc], 0x7d087f00
mov dword [esp + 0xe0], 0x7101730d
mov dword [esp + 0xe4], 0x7547770b
mov dword [esp + 0xe8], 0x89bd8b43
mov dword [esp + 0xec], 0x8dbc8fc7
mov dword [esp + 0xf0], 0x81b083bc
mov dword [esp + 0xf4], 0x85b487b0
mov dword [esp + 0xf8], 0x99ba9bb4
mov dword [esp + 0xfc], 0x9df99fcd
mov dword [esp + 0x100], 0x91f593e6
mov dword [esp + 0x104], 0x95e997e6
mov dword [esp + 0x108], 0xa9e1aba5
mov dword [esp + 0x10c], 0xade7af9d
mov dword [esp + 0x110], 0xa197a39e
mov dword [esp + 0x114], 0xa5a6a7ea
mov eax, dword [0x44fd8c]
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, ecx
xor edx, 0x30
mov esi, ecx
or esi, 0x4f
and esi, edx
mov edx, ecx
xor edx, 0x4f
lea edx, [edx + esi*2]
xor dl, byte [esp + ecx + 0x38]
add dl, 0x75
mov byte [esp + ecx + 0x38], dl
mov edx, ecx
and edx, 1
xor ecx, 1
lea ecx, [ecx + edx*2]
cmp ecx, 0xe0
jb 0x40cd20
lea ebp, [esp + 0x38]
push 0
push 0
push 0
push 0
push ebp
call eax
mov esi, eax
xor eax, eax
test esi, esi
setne al
mov eax, dword [eax*4 + 0x44a014]
mov ecx, 0xddd1db9
xor ecx, dword [0x44a01c]
add eax, ecx
inc eax
xor ebx, ebx
jmp eax
Function at 0x422a10
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [esp + 0x40]
mov ebp, 0xfffffffe
cmp word [eax + ebp + 2], 0
lea ebp, [ebp + 2]
jne 0x422a20
sar ebp, 1
lea ecx, [esp + 4]
push ecx
push 0
push 0
mov dword [esp + 0xc], ebp
push ebp
push eax
push 0
call dword [0x4510e0]
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], 0xbf7e795f
mov dword [esp + 0x14], 0
xor edx, edx
mov esi, edx
nop
nop
nop
nop
movzx ebp, byte [esp + edx + 0x10]
lea eax, [edx - 0x38628016]
mov ebx, 0x38628015
sub ebx, edx
mov edi, ebx
and edi, 0x30420002
mov ecx, eax
and ecx, 0xc189551d
or ecx, edi
xor ecx, ebp
lea edi, [ecx + ecx]
xor edi, 0x6cac55c5
xor ecx, 0xc9a9d51d
add ecx, edi
or ecx, ebx
mov edi, ecx
not edi
mov ebx, edi
and ebx, 0xc79d7ffd
and ecx, 2
imul ecx, ebx
mov ebx, edi
and ebx, 2
or edi, 2
imul edi, ebx
add edi, ecx
xor eax, edi
mov ecx, 0x15
sub ecx, edx
and ecx, edi
add ecx, ecx
sub eax, ecx
mov ecx, ebp
add al, cl
add al, 0x6e
mov byte [esp + edx + 0x10], al
and esi, 1
not edx
or edx, 1
sub esi, edx
mov edx, esi
cmp esi, 8
jb case.default.0x422af5
xor eax, eax
mov ecx, dword [esp + 0x24]
cmp ecx, dword [esp + 0x10]
setne al
xor ebx, ebx
jmp dword [eax*4 + 0x44b120]
mov ebx, dword [esp + 4]
test ebx, ebx
jns 0x422b0b
mov eax, 0xffffffff
jmp 0x422b0e
lea eax, [ebx + ebx]
mov edi, dword [esp]
push eax
call fcn.004088e0
add esp, 4
mov esi, eax
lea eax, [esp + 4]
push eax
push ebx
push esi
push edi
push dword [esp + 0x50]
push 0
call dword [0x4510e0]
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x44b128]
xor ebx, ebx
jmp dword [0x44b130]
push esi
call fcn.004088f0
add esp, 4
xor ebx, ebx
jmp case.0x422af5.1
lea edi, [esp + 0x10]
push edi
push esi
call fcn.00443de0
add esp, 8
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x44b138]
mov eax, dword [esp + 0x10]
mov ecx, eax
xor ecx, 0xffffffef
or eax, 0x10
xor edx, edx
test eax, ecx
sete dl
mov eax, 1
jmp dword [edx*4 + 0x44b140]
xor eax, eax
jmp dword [0x44b148]
xor ebx, ebx
jmp dword [eax*4 + 0x44b150]
mov eax, ebx
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret