joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4061e0
Capabilities:
Terminate thread
Write file on windows

Disassembly:
sub esp, 0x14
push ebx
push edi
xor edi, edi
mov eax, dword [0x445b0c]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, edi
je 0x406260
push esi
push edi
push edi
push 3
push edi
push edi
push 0x40000000
push edi
push 0x445a04
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], 0x1f40
mov dword [esp + 0x3c], edi
call fcn.00406450
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40624d
lea eax, [esp + 0xc]
push edi
push eax
lea ecx, [esp + 0x18]
push 0x10
push ecx
push esi
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call ebx
push 0x3e8
mov edx, dword [0x445b0c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
mov eax, dword [0x445b08]
cmp eax, edi
je 0x406281
mov eax, dword [0x445b08]
cmp eax, 0xffffffff
je 0x406281
mov eax, dword [0x445b08]
push eax
call ebx
mov dword [0x445b08], edi
mov eax, dword [0x445b0c]
cmp eax, edi
je 0x4062a9
mov eax, dword [0x445b0c]
cmp eax, 0xffffffff
je 0x4062a9
push 0xffffffffffffffff
mov ecx, dword [0x445b0c]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [0x445b0c], edi
call fcn.004063b0
mov dword [0x445b14], edi
pop edi
pop ebx
add esp, 0x14
ret

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

Disassembly:
pushal
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
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
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
popal
nop
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
add eax, reloc.user32.dll_SetDlgItemTextA
nop
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x445636
Capabilities:
Read file on windows

Disassembly:
sbb dword [eax], eax
add byte [ebx - 0x307c28], cl
cmp ebx, edi
jne 0x445655
and dword [0x40bff0], 0
mov dword [0x40bfec], 0x18
jmp 0x445693
push 0
push esi
push dword [ebp - 8]
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push dword [ebp + 8]
call dword [0x40908c]
mov esi, eax
cmp esi, edi
je 0x445686
push esi
call dword [0x409088]
test eax, eax
jne 0x44569a
push esi
call dword [0x409070]
call dword [0x40906c]
push eax
call fcn.00446f45
pop ecx
mov eax, edi
jmp 0x445770
cmp eax, 2
jne 0x4456a5
or byte [ebp - 1], 0x40
jmp 0x4456ae
cmp eax, 3
jne 0x4456ae
or byte [ebp - 1], 8
push esi
push ebx
call fcn.00447041
pop ecx
mov al, byte [ebp - 1]
pop ecx
mov esi, ebx
mov ecx, ebx
or al, 1
sar ecx, 5
and esi, 0x1f
mov byte [ebp + 0xb], al
lea edi, [ecx*4 + 0x40d420]
shl esi, 3
mov ecx, dword [edi]
and byte [ebp + 0xb], 0x48
mov byte [ecx + esi + 4], al
jne 0x445757
test al, 0x80
je 0x445757
test byte [ebp + 0xc], 2
je 0x445757
push 2
push 0xffffffffffffffff
push ebx
call fcn.00444d6e
add esp, 0xc
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
jne 0x44570c
cmp dword [0x40bff0], 0x83
je 0x445757
jmp 0x44574b
and byte [ebp + 0x13], 0
lea eax, [ebp + 0x13]
push 1
push eax
push ebx
call fcn.00444b78
add esp, 0xc
test eax, eax
jne 0x445739
cmp byte [ebp + 0x13], 0x1a
jne 0x445739
push dword [ebp - 0x10]
push ebx
call fcn.0044729b
pop ecx
cmp eax, 0xffffffff
pop ecx
je 0x44574b
push 0
push 0
push ebx
call fcn.00444d6e
add esp, 0xc
cmp eax, 0xffffffff
jne 0x445757
push ebx
call fcn.00444918
pop ecx
or eax, 0xffffffff
jmp 0x445770
cmp byte [ebp + 0xb], 0
jne 0x44576e
test byte [ebp + 0xc], 8
je 0x44576e
mov eax, dword [edi]
or byte [eax + esi + 4], 0x20
lea eax, [eax + esi + 4]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x422240
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x418015
lea edi, [esi - 0x17015]
push edi
or ebp, 0xffffffff
jmp 0x422262
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x422269
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x422258
mov eax, 1
add ebx, ebx
jne 0x42227b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x422270
jne 0x42228c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x422270
xor ecx, ecx
sub eax, 3
jb 0x4222a0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x422312
mov ebp, eax
add ebx, ebx
jne 0x4222ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4222b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4222dc
inc ecx
add ebx, ebx
jne 0x4222c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4222bd
jne 0x4222d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4222bd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4222fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4222ed
jmp 0x42225e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4222fc
add edi, ecx
jmp 0x42225e
pop esi
mov edi, esi
mov ecx, 0x392
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42231a
cmp byte [edi], 6
jne 0x42231a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x42231f
lea edi, [esi + 0x20000]
mov eax, dword [edi]
or eax, eax
je 0x42238e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x22cc8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x22d68]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42234c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x22d6c]
or eax, eax
je 0x422388
mov dword [ebx], eax
add ebx, 4
jmp 0x422369
call dword [esi + 0x22d74]
mov ebp, dword [esi + 0x22d70]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4223c2
sub esp, 0xffffff80
jmp 0x409f50
Function at 0x4018d0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor edi, edi
cmp dword [esp + 0x24], 0
je 0x4019d1
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x4019d1
push ebx
call fcn.00408910
add esp, 4
test eax, eax
je 0x40192a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x401931
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x401910
jmp 0x401933
mov esi, 0x1505
jmp 0x401933
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 0x4019d1
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x401964
inc ebp
dec ebx
je 0x4019cf
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x4019cf
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x401960
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.00408910
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x401960
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00408940
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x401960
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x4019cf
cmp dword [eax + 4], 2
mov edi, 0
jne 0x4019d1
mov edi, dword [eax + 8]
jmp 0x4019d1
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x401a00
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
fldz
fstp qword [esp + 0x10]
cmp dword [esp + 0x2c], 0
je 0x401a6b
mov esi, dword [esp + 0x30]
test esi, esi
je 0x401a6b
push esi
call fcn.00408910
add esp, 4
test eax, eax
je 0x401a4a
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0x401a51
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
inc edi
mov ecx, ebp
cmp eax, edi
jne 0x401a30
jmp 0x401a53
mov ebp, 0x1505
jmp 0x401a53
mov ebp, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov edi, dword [ecx + 0x20]
lea ebx, [edi - 1]
mov eax, edi
sub eax, 1
mov dword [esp + 0xc], eax
jae 0x401a77
fld qword [esp + 0x10]
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
and ebx, ebp
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x401a94
inc ebx
dec edi
je 0x401a6b
mov eax, ebx
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x401a6b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebp
jne 0x401a90
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.00408910
mov ecx, dword [esp + 0x30]
add esp, 4
cmp eax, dword [esp]
jne 0x401a90
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x38]
call fcn.00408940
mov ecx, dword [esp + 0x38]
add esp, 0xc
test eax, eax
jne 0x401a90
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x401a6b
cmp dword [eax + 4], 3
jne 0x401a6b
fld qword [eax + 8]
fstp qword [esp + 0x10]
jmp 0x401a6b
Function at 0x401b30
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor edi, edi
cmp dword [esp + 0x24], 0
je 0x401c31
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x401c31
push ebx
call fcn.00408910
add esp, 4
test eax, eax
je 0x401b8a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x401b91
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x401b70
jmp 0x401b93
mov esi, 0x1505
jmp 0x401b93
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 0x401c31
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x401bc4
inc ebp
dec ebx
je 0x401c2f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x401c2f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x401bc0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.00408910
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x401bc0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00408940
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x401bc0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x401c2f
cmp dword [eax + 4], 5
mov edi, 0
jne 0x401c31
mov edi, dword [eax + 8]
jmp 0x401c31
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401c60
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 0x401d64
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x401d64
push ebx
call fcn.00408910
add esp, 4
test eax, eax
je 0x401cba
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x401cc1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x401ca0
jmp 0x401cc3
mov esi, 0x1505
jmp 0x401cc3
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 0x401d64
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x401cf4
inc ebp
dec ebx
je 0x401d5f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x401d5f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x401cf0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.00408910
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x401cf0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00408940
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x401cf0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x401d5f
cmp dword [eax + 4], 6
mov edi, 0xffffffff
jne 0x401d64
mov edi, dword [eax + 8]
jmp 0x401d64
mov edi, 0xffffffff
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x401f60
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 0x401fcd
mov esi, dword [esp + 0x28]
test esi, esi
je 0x401fcd
push esi
call fcn.00408910
add esp, 4
test eax, eax
je 0x401faa
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x401fb1
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x401f90
jmp 0x401fb3
mov ebx, 0x1505
jmp 0x401fb3
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 0x401fd5
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 0x401fe4
inc ebp
dec edi
je 0x401fcb
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x401fcb
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebx
jne 0x401fe0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.00408910
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x401fe0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00408940
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x401fe0
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov eax, 0
je 0x401fcd
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 4], edx
sete al
jmp 0x401fcd
Function at 0x4090e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
push ebx
push edi
push esi
mov edx, dword [ecx]
cmp edx, 0x270
jne 0x409156
mov edx, 0x4e0
mov edi, 0x270
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, edi
xor eax, 0x270
mov ebx, edx
and ebx, 0xb1e
sub ebx, eax
mov esi, dword [ecx + ebx*4 + 4]
mov eax, 0x80000000
and esi, eax
mov ebp, dword [ecx + ebx*4 + 8]
mov eax, ebp
and eax, 0x7ffffffe
or eax, esi
and ebp, 1
neg ebp
and ebp, 0x9908b0df
xor ebp, dword [ecx + ebx*4 + 0x638]
shr eax, 1
xor ebp, eax
mov dword [ecx + edx*2 + 4], ebp
inc edi
add edx, 2
cmp edx, 0x9c0
jne 0x409100
mov edx, 0x270
jmp 0x409169
cmp edx, 0x4e0
jb 0x409169
mov esi, ecx
call fcn.004091b0
mov ecx, esi
mov edx, dword [esi]
lea eax, [edx + 1]
mov dword [ecx], eax
mov eax, dword [ecx + edx*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
pop ebp
ret

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

Disassembly:
push ebx
push edi
push esi
mov esi, dword [ecx + 0x9c4]
mov eax, 0x3fe
nop
nop
and esi, 0x80000000
mov edi, dword [ecx + eax*4 - 0x630]
mov edx, edi
and edx, 0x7ffffffe
or edx, esi
shr edx, 1
mov esi, edi
and edi, 1
neg edi
and edi, 0x9908b0df
xor edx, dword [ecx + eax*4]
xor edx, edi
mov dword [ecx + eax*4 - 0xff4], edx
inc eax
cmp eax, 0x4e1
jne 0x4091c0
mov esi, dword [ecx + 0xd50]
mov eax, 0x355
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 0x409210
mov edx, 0x80000000
and edx, dword [ecx + 0x1380]
mov eax, dword [ecx + 4]
mov esi, eax
and esi, 0x7ffffffe
or esi, edx
shr esi, 1
and eax, 1
neg eax
and eax, 0x9908b0df
xor eax, esi
mov edx, dword [ecx + 0x634]
mov esi, eax
and esi, edx
add eax, edx
add esi, esi
sub eax, esi
mov dword [ecx + 0x9c0], eax
mov dword [ecx], 0
pop esi
pop edi
pop ebx
ret
Function at 0x40a300
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c4
push eax
sub esp, 0x7c
mov dword [ebp - 0x34], esp
sub esp, 0x100
mov eax, esp
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x14], eax
push eax
mov dword [ebp - 0x24], esp
push eax
mov dword [ebp - 0x28], esp
sub esp, 0x70
mov edi, esp
sub esp, 0x28
mov dword [ebp - 0x2c], esp
sub esp, 0xc
mov dword [ebp - 0x40], esp
sub esp, 0x40
mov dword [ebp - 0x20], esp
sub esp, 0x80
mov dword [ebp - 0x3c], esp
mov eax, dword [0x34baac]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], 0x63627960
mov word [ebp - 0x18], 0
xor eax, eax
mov edx, 0x17
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [ebp + eax - 0x1c]
mov ecx, eax
or ecx, esi
or ecx, 0xe8
mov ebx, ecx
sub ebx, esi
add ebx, edx
and ebx, ecx
add bl, 0x78
mov byte [ebp + eax - 0x1c], bl
inc eax
dec edx
cmp eax, 6
jne 0x40a370
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x1d0], 0xf361f17f
mov dword [ebp - 0x1cc], 0xef09ed3e
mov dword [ebp - 0x1c8], 0xeb38e93b
mov dword [ebp - 0x1c4], 0xe77ae532
mov dword [ebp - 0x1c0], 0xe376e174
mov word [ebp - 0x1bc], 0x9d9c
mov dword [ebp - 0x1ba], 0
xor edx, edx
nop
mov eax, edx
add al, 0x2c
xor al, byte [ebp + edx - 0x1d0]
add al, 0x24
mov byte [ebp + edx - 0x1d0], al
inc edx
cmp edx, 0x1a
jne 0x40a3e0
lea esi, [ebp - 0x1d0]
push ecx
push 0
push esi
call dword [ebp - 0x10]
mov ecx, 0x34bab0
push eax
call fcn.0043d1e0
movzx eax, al
mov eax, dword [eax*4 + 0x3459a4]
mov ecx, 0x73fd701c
xor ecx, dword [0x3459ac]
add eax, ecx
inc eax
jmp eax
Function at 0x40c8c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x238
mov dword [esp + 0x38], 0x9fb0bdf
mov dword [esp + 0x3c], 0x5f1078e
mov dword [esp + 0x40], 0x1f603f0
mov dword [esp + 0x44], 0x1d2f1fff
mov dword [esp + 0x48], 0x19281bd7
mov dword [esp + 0x4c], 0x15361728
mov dword [esp + 0x50], 0x11fb132c
mov dword [esp + 0x54], 0x2ddc2fe7
mov dword [esp + 0x58], 0x29db2bd0
mov dword [esp + 0x5c], 0x25ab27a1
mov dword [esp + 0x60], 0x21f02304
mov dword [esp + 0x64], 0x3d1e3fcc
mov dword [esp + 0x68], 0x390a3bf3
mov dword [esp + 0x6c], 0x3506370a
mov dword [esp + 0x70], 0x311233f1
mov dword [esp + 0x74], 0xcd39cfd9
mov dword [esp + 0x78], 0xc900cb3e
mov dword [esp + 0x7c], 0xc503c704
mov dword [esp + 0x80], 0xc14ac3e4
mov dword [esp + 0x84], 0xdd12df0a
mov dword [esp + 0x88], 0xd9fadbeb
mov dword [esp + 0x8c], 0xd526d707
mov dword [esp + 0x90], 0xd126d324
mov dword [esp + 0x94], 0xed07ef2b
mov dword [esp + 0x98], 0xe914eb17
mov dword [esp + 0x9c], 0xe511e73d
mov dword [esp + 0xa0], 0xe1d3e368
mov dword [esp + 0xa4], 0xfd33ff2b
mov dword [esp + 0xa8], 0xf9c8fb35
mov dword [esp + 0xac], 0xf53cf735
mov dword [esp + 0xb0], 0xf1caf3d4
mov dword [esp + 0xb4], 0x8d568f25
mov dword [esp + 0xb8], 0x89598b60
mov dword [esp + 0xbc], 0x85b2875c
mov dword [esp + 0xc0], 0x817683a4
mov dword [esp + 0xc4], 0x9d6b9f77
mov dword [esp + 0xc8], 0x99ba9b67
mov dword [esp + 0xcc], 0x956d9741
mov dword [esp + 0xd0], 0x91679369
mov dword [esp + 0xd4], 0xad99af61
mov dword [esp + 0xd8], 0xa977ab8c
mov dword [esp + 0xdc], 0xa528a750
mov dword [esp + 0xe0], 0xa151a355
mov dword [esp + 0xe4], 0xbd8fbf5b
mov dword [esp + 0xe8], 0xb975bb73
mov dword [esp + 0xec], 0xb584b77f
mov dword [esp + 0xf0], 0xb180b384
mov dword [esp + 0xf4], 0x4d7c4f80
mov dword [esp + 0xf8], 0x496a4b7c
mov dword [esp + 0xfc], 0x45b947a5
mov dword [esp + 0x100], 0x41bd43be
mov dword [esp + 0x104], 0x5da95fce
mov dword [esp + 0x108], 0x59915b6d
mov dword [esp + 0x10c], 0x559f5795
mov dword [esp + 0x110], 0x519f5366
mov dword [esp + 0x114], 0x6d6e6f9a
mov word [esp + 0x118], 0
mov eax, dword [0x34ba7c]
xor ecx, ecx
nop
nop
nop
mov edx, ecx
add dl, 0xc3
xor dl, byte [esp + ecx + 0x38]
add dl, 0x31
mov byte [esp + ecx + 0x38], dl
inc ecx
cmp ecx, 0xe2
jne 0x40cb10
lea ecx, [esp + 0x38]
push 0
push 0
push 0
push 0
push ecx
call eax
mov esi, eax
xor eax, eax
test esi, esi
setne al
mov eax, dword [eax*4 + 0x345f24]
mov ecx, dword [0x345f2c]
mov edx, ecx
or edx, 0x8cb9e1dd
not ecx
or ecx, 0x73461e22
and ecx, edx
add eax, ecx
inc eax
jmp eax
Function at 0x421b70
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [esp + 0x38]
mov ebp, 0xfffffffe
cmp word [eax + ebp + 2], 0
lea ebp, [ebp + 2]
jne 0x421b80
sar ebp, 1
mov ecx, esp
push ecx
push 0
push 0
push ebp
push eax
push 0
call dword [0x34cdd0]
mov dword [esp + 0xc], 0x511e1f39
mov dword [esp + 0x10], 0
xor edx, edx
mov edi, 0xffffffff
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, edx
and esi, 2
movzx ebx, byte [esp + edx + 0xc]
mov ecx, edi
or ecx, 0xfb76f245
add ecx, edx
add ecx, esi
add ecx, 0xfb76f246
xor ecx, ebx
mov ebx, ecx
or ebx, 0xa6
add ebx, ecx
not ecx
or ecx, 0xa6
add ebx, ecx
add bl, 2
mov byte [esp + edx + 0xc], bl
lea ecx, [edx + 1]
dec edi
mov edx, ecx
cmp ecx, 8
jne 0x421bc0
xor ecx, ecx
cmp eax, dword [esp + 0xc]
setne cl
xor ebx, ebx
jmp dword [ecx*4 + 0x346e60]