joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d7c0
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x23c
mov dword [esp + 0x12c], edx
mov dword [esp + 0x130], eax
mov edi, edx
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x40d7ec
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x40d7e4
mov ecx, eax
xor eax, eax
xor eax, ecx
mov edx, dword [esp + 0x12c]
cmp ecx, 4
jl 0x40d824
imul ebp, dword [edx], 0x5bd1e995
mov ebx, ebp
shr ebx, 0x18
xor ebp, ebx
imul esi, ebp, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, esi
add edx, 4
add ecx, 0xfffffffc
cmp ecx, 4
jge 0x40d7fe
cmp ecx, 3
je 0x40d835
cmp ecx, 2
je 0x40d83e
cmp ecx, 1
je 0x40d847
jmp 0x40d852
movzx ecx, byte [edx + 2]
shl ecx, 0x10
xor eax, ecx
movzx ecx, byte [edx + 1]
shl ecx, 8
xor eax, ecx
movzx edx, byte [edx]
xor eax, edx
imul eax, eax, 0x5bd1e995
mov edx, eax
shr edx, 0xd
xor eax, edx
imul eax, eax, 0x5bd1e995
mov ecx, eax
shr ecx, 0xf
xor eax, ecx
mov edx, dword [0x80ad24]
test edx, edx
jle 0x40da23
xor ebx, ebx
mov ebp, eax
mov ecx, dword [0x80ad28]
cmp ebp, dword [ecx + ebx*4]
jne 0x40d9a8
mov byte [esp + 0xc], 0
movsx edx, byte [0x80aa88]
test edx, edx
jne 0x40d8aa
lea esi, [esp + 0xc]
mov edi, 0x684b80
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x40d8a0
mov ecx, dword [0x80ad2c]
mov edx, dword [ecx + ebx*4]
mov esi, dword [0x80ad1c]
lea edi, [esp + 0xc]
mov edx, dword [esi + edx*4]
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x40d8ca
mov ecx, dword [0x80ad2c]
mov esi, dword [ecx + ebx*4]
mov edi, dword [esp + 0x130]
mov dword [edi + 0x10], esi
lea eax, [esp + 0x114]
lea edx, [esp + 0xc]
call fcn.00460b08
movsx edx, byte [esp + 0x11c]
test edx, edx
je 0x40da27
mov edx, dword [0x80ad30]
mov ecx, dword [edx + ebx*4]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
lea eax, [esp + 0x114]
call fcn.0040da3c
lea eax, [esp + 0x114]
call fcn.0040da60
movzx eax, al
neg eax
movzx esi, byte [eax + 0x6842ff]
lea eax, [esp + 0x114]
lea edx, [esp + 0x134]
mov ecx, esi
call fcn.00460b84
mov byte [esp + esi + 0x134], 0
test esi, esi
jle 0x40d97a
xor edx, edx
movzx eax, byte [esp + edx + 0x134]
neg eax
dec eax
mov byte [esp + edx + 0x134], al
inc edx
cmp edx, esi
jl 0x40d963
lea edx, [esp + 0x134]
push edx
mov ecx, dword [esp + 0x130]
push ecx
call fcn.0046bf20
add esp, 8
test eax, eax
je 0x40d9e0
lea eax, [esp + 0x114]
call fcn.00460b98
mov edx, dword [0x80ad24]
inc ebx
cmp ebx, edx
jl 0x40d878
cmp ebx, edx
jge 0x40d9d3
mov edx, dword [esp + 0x130]
mov dword [edx + 0xc], ebx
mov byte [edx + 8], 2
mov eax, 2
add esp, 0x23c
pop ebx
pop ebp
pop esi
pop edi
ret
xor eax, eax
add esp, 0x23c
pop ebx
pop ebp
pop esi
pop edi
ret
lea eax, [esp + 0x114]
call fcn.0040da60
mov edx, dword [esp + 0x130]
mov byte [edx + 9], al
lea eax, [esp + 0x114]
call fcn.0040da7c
mov ecx, dword [esp + 0x130]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], edx
lea eax, [esp + 0x114]
call fcn.00460b98
mov edx, dword [0x80ad24]
jmp 0x40d9b1
xor ebx, ebx
jmp 0x40d9b1
mov eax, 0xfffffffe
add esp, 0x23c
pop ebx
pop ebp
pop esi
pop edi
ret
Function at 0x40da60
Capabilities:
Read file on windows

Disassembly:
push esi
lea edx, [esp]
push 1
push edx
push dword [eax]
call fcn.0046c6ee
movsx eax, byte [esp + 0xc]
add esp, 0x10
ret
Function at 0x4149ec
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push edi
push esi
push ebp
push ebx
push esi
mov esi, edx
mov ebx, dword [eax]
mov edx, ecx
xor eax, eax
xor eax, ecx
mov edi, esi
cmp ecx, 4
jl 0x414a2e
mov dword [esp], ecx
imul ebp, dword [edi], 0x5bd1e995
mov ecx, ebp
shr ecx, 0x18
xor ebp, ecx
imul ecx, ebp, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, ecx
add edi, 4
add edx, 0xfffffffc
cmp edx, 4
jge 0x414a05
mov ecx, dword [esp]
cmp edx, 3
je 0x414a3f
cmp edx, 2
je 0x414a48
cmp edx, 1
je 0x414a51
jmp 0x414a5c
movzx edx, byte [edi + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [edi + 1]
shl edx, 8
xor eax, edx
movzx edi, byte [edi]
xor eax, edi
imul eax, eax, 0x5bd1e995
mov edi, eax
shr edi, 0xd
xor eax, edi
imul edi, eax, 0x5bd1e995
mov eax, edi
shr eax, 0xf
xor edi, eax
and edi, 0x7fffffff
add edi, 0x80000000
test ebx, ebx
je 0x414aa4
mov ebp, ecx
cmp edi, dword [ebx + 0x1c]
jne 0x414a9d
cmp ebp, dword [ebx + 0x18]
jne 0x414a9d
push ebp
push esi
push dword [ebx + 0x14]
call fcn.0046cd30
add esp, 0xc
test eax, eax
je 0x414aa4
mov ebx, dword [ebx + 0xc]
test ebx, ebx
jne 0x414a82
mov eax, ebx
pop ecx
pop ebx
pop ebp
pop esi
pop edi
ret
Function at 0x421428
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [0x5b7bd8]
cmp eax, 0x270
jl 0x4214f6
xor edx, edx
mov eax, dword [edx*4 + 0x5ea5c0]
and eax, 0x80000000
mov ecx, dword [edx*4 + 0x5ea5c4]
and ecx, 0x7fffffff
or eax, ecx
mov ecx, eax
shr ecx, 1
and eax, 1
xor ecx, dword [edx*4 + 0x5eabf4]
xor ecx, dword [eax*4 + 0x58f6d8]
mov dword [edx*4 + 0x5ea5c0], ecx
inc edx
cmp edx, 0xe3
jl 0x42143a
cmp edx, 0x26f
jge 0x4214c2
mov eax, dword [edx*4 + 0x5ea5c0]
and eax, 0x80000000
mov ecx, dword [edx*4 + 0x5ea5c4]
and ecx, 0x7fffffff
or eax, ecx
mov ecx, eax
shr ecx, 1
and eax, 1
xor ecx, dword [edx*4 + 0x5ea234]
xor ecx, dword [eax*4 + 0x58f6d8]
mov dword [edx*4 + 0x5ea5c0], ecx
inc edx
cmp edx, 0x26f
jl 0x421482
mov edx, dword [0x5eaf7c]
and edx, 0x80000000
mov eax, dword [0x5ea5c0]
and eax, 0x7fffffff
or edx, eax
mov ecx, edx
shr ecx, 1
xor ecx, dword [0x5eabf0]
and edx, 1
xor ecx, dword [edx*4 + 0x58f6d8]
mov dword [0x5eaf7c], ecx
xor eax, eax
lea edx, [eax + 1]
mov dword [0x5b7bd8], edx
mov eax, dword [eax*4 + 0x5ea5c0]
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor eax, edx
mov edx, eax
shl edx, 0xf
and edx, 0xefc60000
xor eax, edx
mov edx, eax
shr edx, 0x12
xor eax, edx
ret
Function at 0x43876d
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x18
mov dword [esp + 0x14], ecx
mov ebx, edx
mov edx, eax
test ebx, ebx
je 0x4388f9
mov eax, ebx
call fcn.00463f94
mov dword [esp + 0x10], eax
mov ecx, eax
test ecx, ecx
je 0x4388d2
movsx ecx, byte [ebx]
test ecx, ecx
je 0x4388f2
xor ebp, ebp
mov ecx, ebx
movsx edx, byte [ecx]
cmp edx, 0x2f
je 0x4387c2
movzx edx, dl
movzx ecx, byte [edx + 0x5b70a0]
inc ecx
movsx esi, cl
add ebp, esi
jmp 0x4387c7
lea ebx, [ecx + 1]
xor ebp, ebp
lea ecx, [ebp + ebx]
movsx edx, byte [ecx]
test edx, edx
jne 0x4387ab
push 0x38
call fcn.00403564
pop ecx
mov esi, eax
test esi, esi
je 0x4388dc
lea ecx, [ebp + 1]
push ecx
call fcn.0046bddc
pop ecx
mov dword [esi + 0x14], eax
test eax, eax
je 0x4388c3
push ebp
push ebx
push eax
call dword [0x5d498c]
add esp, 0xc
mov ecx, dword [esi + 0x14]
xor edx, edx
mov byte [ecx + ebp], dl
mov ecx, ebp
xor edx, ebp
cmp ebp, 4
jl 0x43883c
imul eax, dword [ebx], 0x5bd1e995
mov edi, eax
shr edi, 0x18
xor eax, edi
imul edi, eax, 0x5bd1e995
imul edx, edx, 0x5bd1e995
xor edx, edi
add ebx, 4
add ecx, 0xfffffffc
cmp ecx, 4
jge 0x438816
cmp ecx, 3
je 0x43884d
cmp ecx, 2
je 0x438856
cmp ecx, 1
je 0x43885f
jmp 0x43886a
movzx ecx, byte [ebx + 2]
shl ecx, 0x10
xor edx, ecx
movzx ecx, byte [ebx + 1]
shl ecx, 8
xor edx, ecx
movzx ecx, byte [ebx]
xor edx, ecx
imul edx, edx, 0x5bd1e995
mov ebx, edx
shr ebx, 0xd
xor edx, ebx
imul edx, edx, 0x5bd1e995
mov edi, edx
shr edi, 0xf
xor edx, edi
and edx, 0x7fffffff
mov ecx, dword [esp + 0x14]
mov ebx, ecx
shl ebx, 0x1f
add ebx, edx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ebp
mov byte [esi + 0x30], cl
mov ebp, dword [esp + 0x34]
mov dword [esi + 0x28], ebp
mov edx, dword [esp + 0x38]
mov dword [esi + 0x2c], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x10]
mov edx, esi
call fcn.0046402c
mov eax, esi
add esp, 0x18
pop ebx
pop ebp
pop esi
pop edi
ret
push 1
push 0x186aa
call fcn.00468eb4
add esp, 8
xor eax, eax
add esp, 0x18
pop ebx
pop ebp
pop esi
pop edi
ret
push 1
push 0x186aa
call fcn.00468eb4
xor eax, eax
add esp, 0x20
pop ebx
pop ebp
pop esi
pop edi
ret
xor ebp, ebp
jmp 0x4387d2
push 1
push 0xdbbb4
call fcn.00468eb4
xor eax, eax
add esp, 0x20
pop ebx
pop ebp
pop esi
pop edi
ret
Function at 0x43f2ac
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
push ebx
push esi
mov ecx, edx
mov edx, eax
mov esi, ecx
shr esi, 2
and ecx, 3
test esi, esi
je 0x43f333
je 0x43f362
mov eax, 0xffffffff
xor ebx, ebx
mov dword [esp], edi
movzx edi, byte [edx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5b71a0]
movzx edi, byte [edx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5b71a0]
movzx edi, byte [edx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5b71a0]
movzx edi, byte [edx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5b71a0]
add edx, 4
inc ebx
cmp ebx, esi
jb 0x43f2cf
mov edi, dword [esp]
jmp 0x43f338
mov eax, 0xffffffff
test ecx, ecx
je 0x43f35c
je 0x43f35c
xor ebx, ebx
inc edx
movzx esi, byte [edx - 1]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x5b71a0]
inc ebx
cmp ebx, ecx
jb 0x43f340
not eax
pop ecx
pop ebx
pop esi
ret
mov eax, 0xffffffff
jmp 0x43f338

Function at 0x43f370
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
lea edx, [esp]
push 8
push edx
push dword [eax]
call fcn.0046c6ee
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
add esp, 0x14
ret
Function at 0x453768
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 8
mov dword [esp], eax
xor ecx, ecx
xor ecx, edx
cmp edx, 4
jl 0x4537a1
imul ebp, dword [eax], 0x5bd1e995
mov ebx, ebp
shr ebx, 0x18
xor ebp, ebx
imul esi, ebp, 0x5bd1e995
imul ecx, ecx, 0x5bd1e995
xor ecx, esi
add eax, 4
add edx, 0xfffffffc
cmp edx, 4
jge 0x45377b
cmp edx, 3
je 0x4537b2
cmp edx, 2
je 0x4537bb
cmp edx, 1
je 0x4537c4
jmp 0x4537cf
movzx edx, byte [eax + 2]
shl edx, 0x10
xor ecx, edx
movzx edx, byte [eax + 1]
shl edx, 8
xor ecx, edx
movzx eax, byte [eax]
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
mov edx, ecx
shr edx, 0xd
xor ecx, edx
imul edx, ecx, 0x5bd1e995
mov eax, edx
shr eax, 0xf
xor edx, eax
mov ecx, edx
shr ecx, 0x18
mov eax, dword [ecx*4 + 0x7af6a0]
mov ecx, dword [0x80af1c]
mov dword [esp + 4], ecx
cmp eax, ecx
jge 0x453846
mov ecx, dword [0x80af20]
mov ebx, eax
mov ebp, edx
mov esi, dword [ecx + ebx*4]
cmp ebp, dword [esi + 4]
jne 0x45383d
mov edi, dword [esi]
mov esi, dword [esp]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x453834
or dl, dl
je 0x453830
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x453834
add edi, 2
add esi, 2
or dl, dl
jne 0x453814
xor eax, eax
jmp 0x453839
sbb eax, eax
or eax, 1
test eax, eax
je 0x453853
inc ebx
mov esi, dword [esp + 4]
cmp ebx, esi
jl 0x453807
mov eax, 0xffffffff
add esp, 8
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, ebx
add esp, 8
pop ebx
pop ebp
pop esi
pop edi
ret
Function at 0x460904
Capabilities:
Read file on windows

Disassembly:
push esi
lea edx, [esp]
push 4
push edx
push dword [eax]
call fcn.0046c6ee
mov eax, dword [esp + 0xc]
add esp, 0x10
ret

Function at 0x460920
Capabilities:
Read file on windows

Disassembly:
push edi
push ebx
sub esp, 0x24
mov edi, eax
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x460939
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x460931
mov ebx, eax
inc ebx
push ebx
call fcn.0046bddc
pop ecx
mov ecx, dword [0x80ad20]
mov edx, dword [0x80ad1c]
mov dword [edx + ecx*4], eax
mov edx, dword [0x80ad1c]
mov ecx, dword [0x80ad20]
mov edx, dword [edx + ecx*4]
test edx, edx
je 0x460a95
push ebx
push edi
push edx
call dword [0x5d498c]
add esp, 0xc
mov ebx, dword [0x80ad20]
mov ecx, dword [0x80ad1c]
lea eax, [esp + 8]
mov edx, dword [ecx + ebx*4]
call fcn.00460b08
movsx eax, byte [esp + 0x10]
test eax, eax
je 0x460a70
lea eax, [esp + 0x20]
push 4
push eax
push dword [esp + 0x10]
call fcn.0046c6ee
add esp, 0xc
lea eax, [esp + 8]
call fcn.00460904
mov edi, eax
lea eax, [esp + 8]
call fcn.00460904
mov ebx, eax
lea eax, [esp + 8]
call fcn.00460b98
mov edx, dword [esp + 0x20]
cmp edx, 0x465059
jne 0x460a0e
cmp edi, 0x1e1
je 0x4609e8
cmp edi, 0xea
jl 0x460a4b
mov edx, dword [0x80ad24]
add edx, ebx
mov dword [0x80ad24], edx
cmp edx, 0x186a0
jge 0x460a2f
mov eax, dword [0x80ad20]
inc eax
mov dword [0x80ad20], eax
cmp eax, 0x64
jge 0x460a16
xor eax, eax
add esp, 0x24
pop ebx
pop edi
ret
push 0x64
push 1
push 0x196c2
call fcn.00468e58
mov eax, 0xffffffff
add esp, 0x30
pop ebx
pop edi
ret
push 0x186a0
push 1
push 0x196cc
call fcn.00468e58
mov eax, 0xffffffff
add esp, 0x30
pop ebx
pop edi
ret
mov edx, dword [0x80ad20]
mov eax, dword [0x80ad1c]
push dword [eax + edx*4]
push 1
push 0x196b8
call fcn.00468e58
mov eax, 0xffffffff
add esp, 0x30
pop ebx
pop edi
ret
mov edx, dword [0x80ad20]
mov eax, dword [0x80ad1c]
push dword [eax + edx*4]
push 1
push 0xdbfb0
call fcn.00468e58
mov eax, 0xfffffffe
add esp, 0x30
pop ebx
pop edi
ret
push 1
push 0x186aa
call fcn.00468eb4
mov eax, 0xffffffff
add esp, 0x2c
pop ebx
pop edi
ret

Function at 0x460b84
Capabilities:
Read file on windows

Disassembly:
push ecx
push edx
push dword [eax]
call fcn.0046c6ee
add esp, 0xc
ret

Function at 0x46128c
Capabilities:
Create thread

Disassembly:
push ebx
xor eax, eax
push eax
push eax
push 0x42259c
call fcn.0046d82d
add esp, 0xc
mov ebx, eax
movsx edx, byte [0x5b7bfc]
dec edx
push edx
push ebx
call dword [0x58f0b4]
push 0xffffffffffffffff
push ebx
call dword [0x58f0b8]
pop ebx
ret
Function at 0x4671f8
Capabilities:
Create thread

Disassembly:
movsx eax, byte [0x80aad4]
test eax, eax
je 0x467214
xor eax, eax
push eax
push eax
push 0x426a20
call fcn.0046d82d
add esp, 0xc
ret

Function at 0x467218
Capabilities:
Create thread

Disassembly:
push ebx
sub esp, 8
movsx edx, byte [0x5b7bf8]
test edx, edx
jle 0x467271
xor eax, eax
mov ebx, eax
xor edx, edx
push edx
push edx
push edx
push edx
call dword [0x58f0dc]
mov dword [ebx*4 + 0x7b91c0], eax
xor edx, edx
push edx
push edx
push edx
push edx
call dword [0x58f0dc]
mov dword [ebx*4 + 0x7b92c0], eax
xor edx, edx
push edx
push 1
push edx
push edx
call dword [0x58f0dc]
mov dword [ebx*4 + 0x7b93c0], eax
inc ebx
movsx edx, byte [0x5b7bf8]
cmp ebx, edx
jl 0x46722b
test edx, edx
jle 0x4672c5
xor edx, edx
xor eax, eax
mov dword [esp], esi
mov ebx, eax
mov esi, edx
mov dword [ebx + 0x7b77c0], esi
xor edx, edx
lea eax, [ebx + 0x7b77c0]
lea ecx, [esp + 4]
push ecx
push edx
push eax
push 0x4257d4
push edx
push edx
call fcn.0046f12d
add esp, 0x18
mov dword [esi*4 + 0x7b76c0], eax
push esi
push eax
call dword [0x58f0b4]
add ebx, 0x68
inc esi
movsx ecx, byte [0x5b7bf8]
cmp esi, ecx
jl 0x467280
mov esi, dword [esp]
add esp, 8
pop ebx
ret

Function at 0x468a58
Capabilities:
Inspect section memory permissions

Disassembly:
push esi
call dword [0x58f43c]
test eax, eax
jg 0x468a6c
mov dword [0x80a7a4], eax
xor eax, eax
pop ecx
ret
mov edx, 0x10
cmp eax, 0x10
jl 0x468a78
mov eax, edx
mov dword [0x80a7a4], eax
xor eax, eax
mov dword [esp], ebx
mov ebx, eax
lea edx, [ebx + 0x7aeb00]
push 0x34
push edx
call dword [0x5d4980]
add esp, 8
mov dword [ebx + 0x7aeb00], 0x34
mov dword [ebx + 0x7aeb04], 0x83
add ebx, 0x34
cmp ebx, 0x340
jl 0x468a84
mov ebx, dword [esp]
mov dword [0x7aee40], 1
mov dword [0x7aee44], 2
mov dword [0x7aee48], 4
mov dword [0x7aee4c], 8
mov dword [0x7aee50], 0x10
mov dword [0x7aee54], 0x20
mov dword [0x7aee58], 0x40
mov dword [0x7aee5c], 0x80
mov dword [0x7aee60], 0x100
mov dword [0x7aee64], 0x200
mov dword [0x7aee68], 0x400
mov dword [0x7aee6c], 0x800
mov dword [0x7aee70], 0x1000
mov dword [0x7aee74], 0x2000
mov dword [0x7aee78], 0x4000
mov dword [0x7aee7c], 0x8000
mov dword [0x7aee80], 0x10000
mov dword [0x7aee84], 0x20000
mov dword [0x7aee88], 0x40000
mov dword [0x7aee8c], 0x80000
mov dword [0x7aee90], 0x100000
mov dword [0x7aee94], 0x200000
mov dword [0x7aee98], 0x400000
mov dword [0x7aee9c], 0x800000
mov dword [0x7aeea0], 0x1000000
mov dword [0x7aeea4], 0x2000000
mov dword [0x7aeea8], 0x4000000
mov dword [0x7aeeac], 0x8000000
mov dword [0x7aeeb0], 0x10000000
mov dword [0x7aeeb4], 0x20000000
mov dword [0x7aeeb8], 0x40000000
mov dword [0x7aeebc], 0x80000000
mov eax, 1
pop ecx
ret

Function at 0x469110
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [esp + 4]
mov dword [0x5ea5c0], eax
mov eax, 1
mov ecx, dword [eax*4 + 0x5ea5bc]
mov edx, ecx
shr edx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x5ea5c0], edx
inc eax
cmp eax, 0x270
jl 0x46911e
mov dword [0x5b7bd8], eax
ret
Function at 0x491914
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
mov ebx, dword [esp + 0xc]
mov eax, dword [ebx + 0x14]
cmp eax, 0xca
je 0x4919c2
cmp eax, 0xcb
je 0x491957
cmp eax, 0xcc
je 0x49194d
push ebx
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x14]
mov dword [ecx + 0x18], edx
mov eax, dword [ebx]
call dword [eax]
pop ecx
mov eax, ebx
call fcn.004919f4
pop ecx
pop ebx
ret
mov edx, dword [ebx + 0x190]
movzx ecx, byte [edx + 0x10]
test ecx, ecx
jne 0x491970
mov edx, dword [ebx + 0x7c]
mov dword [ebx + 0x84], edx
jmp 0x49194d
mov edx, dword [ebx + 8]
test edx, edx
je 0x49197b
push ebx
call dword [edx]
pop ecx
push ebx
mov edx, dword [ebx + 0x190]
call dword [edx]
pop ecx
test eax, eax
je 0x4919ec
cmp eax, 2
je 0x491965
mov edx, dword [ebx + 8]
test edx, edx
je 0x49197b
cmp eax, 3
je 0x49199f
cmp eax, 1
jne 0x491977
mov ecx, dword [edx + 4]
add ecx, 1
mov dword [edx + 4], ecx
mov edx, dword [ebx + 8]
mov eax, dword [edx + 8]
cmp ecx, eax
jl 0x491973
mov ecx, dword [ebx + 0x11c]
add eax, ecx
mov dword [edx + 8], eax
mov edx, dword [ebx + 8]
jmp 0x491973
push ebx
call fcn.00494758
pop ecx
movzx edx, byte [ebx + 0x40]
test edx, edx
jne 0x4919dd
mov dword [ebx + 0x14], 0xcb
jmp 0x491957
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ecx
pop ebx
ret
xor eax, eax
pop ecx
pop ebx
ret

Function at 0x4919f4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
sub esp, 8
mov ebx, eax
mov edx, dword [ebx + 0x14]
cmp edx, 0xcc
je 0x491a1d
push ebx
mov edx, dword [ebx + 0x180]
call dword [edx]
pop ecx
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x14], 0xcc
mov edx, dword [ebx + 0x180]
movzx ecx, byte [edx + 8]
test ecx, ecx
je 0x491ab6
mov eax, dword [ebx + 0x78]
mov dword [esp], esi
mov dword [esp + 4], edi
lea ecx, [ebx + 0x78]
mov esi, ecx
jmp 0x491a42
xor eax, eax
cmp eax, dword [ebx + 0x60]
jae 0x491a8a
mov edx, dword [ebx + 8]
test edx, edx
je 0x491a64
push ebx
mov dword [edx + 4], eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 0x60]
mov dword [edx + 8], eax
mov edi, dword [ebx + 8]
call dword [edi]
pop ecx
mov eax, dword [ebx + 0x78]
mov edx, dword [ebx + 0x184]
mov edi, eax
xor eax, eax
push eax
push esi
push eax
push ebx
call dword [edx + 4]
add esp, 0x10
mov eax, dword [ebx + 0x78]
cmp eax, edi
je 0x491ad7
cmp eax, dword [ebx + 0x60]
jb 0x491a47
mov edx, dword [ebx + 0x180]
push ebx
call dword [edx + 4]
push ebx
mov eax, dword [ebx + 0x180]
call dword [eax]
add esp, 8
mov edx, dword [ebx + 0x180]
mov dword [ebx + 0x78], 0
movzx eax, byte [edx + 8]
test eax, eax
jne 0x491a40
mov esi, dword [esp]
mov edi, dword [esp + 4]
movzx edx, byte [ebx + 0x41]
test edx, edx
je 0x491ac5
mov edx, 0xce
jmp 0x491aca
mov edx, 0xcd
mov dword [ebx + 0x14], edx
mov eax, 1
add esp, 8
pop ebx
ret
mov esi, dword [esp]
mov edi, dword [esp + 4]
xor eax, eax
add esp, 8
pop ebx
ret
Function at 0x49653c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push edi
push esi
push ebp
sub esp, 0x20
mov edi, eax
mov esi, dword [edi + 0x1a8]
mov edx, dword [edi + 0x4c]
cmp edx, 1
je 0x496691
mov byte [esi + 0x1c], 0
xor ebp, ebp
push dword [edi + 0x64]
mov ecx, dword [edi + 4]
lea edx, [ebp + 0x100]
push edx
push 1
push edi
call dword [ecx + 8]
add esp, 0x10
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov edx, dword [edi + 0x64]
test edx, edx
jle 0x49668a
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov dword [esp], ebx
xor edx, edx
mov ebx, eax
mov dword [esp + 4], edx
jmp 0x4965a3
mov edx, dword [esp + 0xc]
mov ebx, dword [edx + 0x18]
mov edi, dword [esp + 0xc]
mov ebp, dword [esp + 4]
mov esi, dword [esp + 8]
mov edi, dword [edi + ebp*4 + 0x20]
mov eax, ecx
cdq
idiv edi
lea ebp, [ebp + ebp]
test esi, esi
mov ecx, eax
je 0x4965d0
mov edx, dword [esp + 0xc]
add dword [ebx + ebp*2], 0xff
mov ebx, dword [edx + 0x18]
mov ebp, dword [ebx + ebp*2]
lea ebx, [edi + edi - 2]
mov dword [esp + 0x1c], ebx
lea eax, [edi + 0xfe]
cdq
idiv ebx
xor esi, esi
mov edx, eax
xor eax, eax
mov ebx, eax
mov eax, edi
mov edi, edx
cmp esi, edi
jle 0x49662c
mov dword [esp + 0x18], eax
mov edx, ebx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x1c]
shl edx, 9
sub edx, ebx
sub edx, ebx
lea edi, [eax + edx + 0xfe]
add edi, 0x1fe
add ebx, 1
mov eax, edi
cdq
idiv ecx
cmp esi, eax
jg 0x496610
mov ecx, dword [esp + 0x14]
mov edi, eax
mov eax, dword [esp + 0x18]
mov edx, ecx
imul edx, ebx
mov byte [esi + ebp], dl
add esi, 1
cmp esi, 0xff
jle 0x4965f0
mov edx, dword [esp + 8]
test edx, edx
je 0x49666f
mov ebx, 1
movzx edx, byte [ebp]
mov esi, ebp
sub esi, ebx
mov byte [esi], dl
movzx edx, byte [ebp + 0xff]
mov byte [ebx + ebp + 0xff], dl
add ebx, 1
cmp ebx, 0xff
jle 0x49664c
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x10]
add edx, 1
cmp edx, dword [ebx + 0x64]
mov dword [esp + 4], edx
jl 0x49659c
mov ebx, dword [esp]
add esp, 0x20
pop ebp
pop esi
pop edi
ret
mov byte [esi + 0x1c], 1
mov ebp, 0x1fe
jmp 0x49655c