joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1008d6b0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
push edi
push esi
mov edi, ecx
call fcn.10086a50
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
mov byte [esp + 0x3c], al
lea eax, [esp + 0x14]
push eax
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push esi
call ebx
mov eax, dword [esp + 0x14]
test eax, eax
jg 0x1008d712
push 0x112
push 0x101b4370
push str.No_font_name
push str.ERROR____s_n_s:__d_n_n
call fcn.10080f00
mov eax, dword [esp + 0x24]
add esp, 0x10
test eax, eax
jle 0x1008d78c
push 0x20
push eax
lea ecx, [edi + 0x134]
call fcn.100838a0
cmp dword [edi + 0x14c], 0x10
lea eax, [edi + 0x138]
jb 0x1008d731
mov eax, dword [eax]
push 0
lea ecx, [esp + 0x14]
push ecx
push dword [esp + 0x1c]
push eax
push esi
call ebx
push 0
lea eax, [esp + 0x14]
push eax
push 4
lea eax, [edi + 0x150]
push eax
push esi
call ebx
push 0
lea eax, [esp + 0x14]
push eax
push 4
lea eax, [edi + 0x15c]
push eax
push esi
call ebx
push 0
lea eax, [esp + 0x14]
push eax
push 4
lea eax, [edi + 0x154]
push eax
push esi
call ebx
push 0
lea eax, [esp + 0x14]
push eax
push 4
lea eax, [edi + 0x158]
push eax
push esi
call ebx
mov eax, dword [edi + 0xdc]
lea ebp, [edi + 0xd8]
push ebp
lea ecx, [esp + 0x20]
mov eax, dword [eax]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], eax
call fcn.10049150
mov eax, dword [ebp + 4]
lea ecx, [esp + 0x28]
push ebp
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], eax
call fcn.10049150
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x1008d7e5
mov esi, dword [esi]
jmp 0x1008d7e7
xor esi, esi
lea ecx, [esp + 0x28]
call fcn.100491b0
cmp eax, esi
je 0x1008d838
push str.list_iterators_incompatible
push 0x101aeae8
push 0
push 0xc3
push 0x101b31b0
push 2
call fcn.1011d740
add esp, 0x18
cmp eax, 1
jne 0x1008d81a
int3
push 0
push 0xc3
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30133includelist
push 0x101aec28
push str._list_iterators_incompatible_
call fcn.1012c080
add esp, 0x14
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x18]
cmp eax, dword [esp + 0x24]
push 3
sete bl
call fcn.10112de0
lea ecx, [esp + 0x28]
call fcn.100491c0
lea ecx, [esp + 0x18]
call fcn.10112e90
test bl, bl
jne 0x1008d88c
lea ecx, [esp + 0x1c]
call fcn.1007fb90
mov eax, dword [eax]
cmp dword [eax + 0xe4], 5
jne 0x1008d87e
mov dword [edi + 0x130], eax
lea ecx, [esp + 0x1c]
call fcn.1007fad0
jmp 0x1008d7b8
push 3
lea ecx, [esp + 0x1c]
call fcn.10112de0
lea ecx, [esp + 0x1c]
call fcn.100491c0
lea ecx, [esp + 0x18]
call fcn.10112e90
mov al, byte [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4
Function at 0x1008f230
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x120]
mov dword [esi], vtable.CN3UIString.0
test ecx, ecx
je 0x1008f24b
mov eax, dword [ecx]
push 1
call dword [eax + 4]
lea edi, [esi + 0x1a8]
mov dword [esi + 0x120], 0
mov ecx, edi
call fcn.100432e0
mov eax, dword [edi + 0x18]
cmp eax, 0x10
jb 0x1008f277
inc eax
push eax
push dword [edi + 4]
call fcn.100479d0
add esp, 8
mov eax, dword [edi]
push 8
push eax
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0xf
mov byte [edi + 4], 0
mov dword [edi], 0
call fcn.100479d0
add esp, 8
lea ecx, [esi + 0x19c]
call fcn.1007abb0
lea edi, [esi + 0x188]
mov ecx, edi
call fcn.100432e0
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x1008f2e2
mov eax, dword [edi + 0xc]
sub eax, ecx
and eax, 0xfffffffc
push eax
push ecx
call fcn.100479d0
mov dword [edi + 4], 0
add esp, 8
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov eax, dword [edi]
push 8
push eax
mov dword [edi], 0
call fcn.100479d0
add esp, 8
lea edi, [esi + 0x164]
mov ecx, edi
call fcn.100432e0
mov eax, dword [edi + 0x18]
cmp eax, 0x10
jb 0x1008f317
inc eax
push eax
push dword [edi + 4]
call fcn.100479d0
add esp, 8
mov eax, dword [edi]
push 8
push eax
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0xf
mov byte [edi + 4], 0
mov dword [edi], 0
call fcn.100479d0
add esp, 8
lea edi, [esi + 0x148]
mov ecx, edi
call fcn.100432e0
mov eax, dword [edi + 0x18]
cmp eax, 0x10
jb 0x1008f35e
inc eax
push eax
push dword [edi + 4]
call fcn.100479d0
add esp, 8
mov eax, dword [edi]
push 8
push eax
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0xf
mov byte [edi + 4], 0
mov dword [edi], 0
call fcn.100479d0
add esp, 8
lea edi, [esi + 0x12c]
mov ecx, edi
call fcn.100432e0
mov eax, dword [edi + 0x18]
cmp eax, 0x10
jb 0x1008f3a5
inc eax
push eax
push dword [edi + 4]
call fcn.100479d0
add esp, 8
mov eax, dword [edi]
push 8
push eax
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0xf
mov byte [edi + 4], 0
mov dword [edi], 0
call fcn.100479d0
add esp, 8
mov ecx, esi
pop edi
pop esi
jmp fcn.10086370
Function at 0x10091200
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101741c5
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x101cfdb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
push esi
call fcn.10086a50
test al, al
je 0x100913fb
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x34]
push 0
push eax
push 4
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
push esi
call edi
mov eax, dword [ebp - 0x30]
test eax, eax
jle 0x10091327
push 0x3f
push eax
lea ecx, [ebp - 0x2c]
call fcn.10083800
push 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push ecx
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x28]
push eax
push esi
call edi
push 0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x38], 0
push eax
push 4
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
push eax
push esi
call edi
push 0
lea eax, [ebp - 0x34]
push eax
push 4
lea eax, [ebp - 0x38]
push eax
push esi
call edi
mov ecx, dword [ebp - 0x38]
mov eax, ecx
mov edx, dword [ebx]
and eax, 2
push eax
and ecx, 1
lea eax, [ebp - 0x2c]
push ecx
push dword [ebp - 0x3c]
mov ecx, ebx
push eax
call dword [edx + 0x78]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.100432e0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x100912fa
inc eax
push eax
push dword [ebp - 0x28]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
call fcn.100479d0
add esp, 8
cmp dword [ebp - 0x30], 0
jg 0x10091343
push 0x16c
push 0x101b46e8
push str.No_font_name
push str.ERROR____s_n_s:__d_n_n
call fcn.10080f00
add esp, 0x10
push 0
lea eax, [ebp - 0x34]
push eax
push 4
lea eax, [ebx + 0x180]
push eax
push esi
call edi
push 0
lea eax, [ebp - 0x34]
push eax
push 4
lea eax, [ebp - 0x30]
push eax
push esi
call edi
mov eax, dword [ebp - 0x30]
test eax, eax
jle 0x100913e4
push 0x3f
push eax
lea ecx, [ebp - 0x2c]
call fcn.10083800
push 0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x34]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push ecx
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x28]
push eax
push esi
call edi
mov eax, dword [ebx]
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, ebx
call dword [eax + 0x70]
lea ecx, [ebp - 0x2c]
call fcn.100432e0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x100913bd
inc eax
push eax
push dword [ebp - 0x28]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
call fcn.100479d0
add esp, 8
cmp dword [ebx + 0x40], 2
jb 0x100913f9
push 0
lea eax, [ebp - 0x34]
push eax
push 4
lea eax, [ebp - 0x40]
push eax
push esi
call edi
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101163c0
mov esp, ebp
pop ebp
ret 4
Function at 0x10092b60
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp byte [0x102a7dea], 0
jne 0x10092bb0
call fcn.10135890
mov dword [0x10218634], eax
mov ecx, 1
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, ecx
mov dword [ecx*4 + 0x10218634], eax
inc ecx
cmp ecx, 0x270
jb 0x10092b78
mov dword [0x10218630], 0x270
mov byte [0x102a7dea], 1
nop dword [eax + eax]
mov ecx, 0x10218630
call fcn.100d80f0
mov ecx, eax
mov eax, 0x575a2ad3
mul ecx
shr edx, 0xa
cmp edx, 0x15d68a
jae 0x10092bb0
mov eax, ecx
xor edx, edx
mov ecx, 0xbb9
div ecx
add edx, 0x800001f4
cmp edx, 0x80000000
lea ecx, [edx - 0x80000000]
lea eax, [edx - 0x80000000]
cmovae eax, ecx
ret
Function at 0x100a2be0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x440
mov eax, dword [0x101cfdb0]
xor eax, esp
mov dword [esp + 0x438], eax
push esi
mov esi, dword [esp + 0x448]
lea eax, [esp + 8]
push eax
call fcn.10133cd0
add esp, 4
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.101365b0
push 0x101b4894
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push str.BYRACS_Log.txt
push eax
call fcn.10137890
add esp, 0x14
cmp dword [esp + 4], 0
je 0x100a2cb1
push 0x400
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.101193b0
mov eax, dword [esp + 0x30]
add esp, 0xc
inc eax
push esi
push dword [esp + 0x18]
push dword [esp + 0x20]
push dword [esp + 0x28]
push dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x40]
add eax, 0x76c
push eax
lea eax, [esp + 0x54]
push str.____04d__02d__02d__02d:_02d:_02d__BYRACS_info___s__n
push eax
call fcn.100d55d0
add esp, 0x24
lea eax, [esp + 0x38]
push eax
push 0x101aeae8
push dword [esp + 0xc]
call fcn.100926e0
add esp, 0xc
push dword [esp + 4]
call fcn.1012cbc0
add esp, 4
cmp byte [esp + 0x44c], 0
jne 0x100a2ccb
mov ecx, dword [esp + 0x43c]
xor eax, eax
pop esi
xor ecx, esp
call fcn.101163c0
add esp, 0x440
ret 8
push 0
call fcn.10135f80
int3

Function at 0x100a2ce0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
test edi, edi
je 0x100a2d7e
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x100a2d7e
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x100a2d7e
cmp dword [eax + edi], 0x4550
jne 0x100a2d7e
mov ecx, 0x14c
cmp word [eax + edi + 4], cx
jne 0x100a2d7e
mov eax, dword [eax + edi + 0x78]
xor esi, esi
add eax, edi
mov ecx, dword [eax + 0x1c]
mov ebp, dword [eax + 0x20]
add ecx, edi
mov ebx, dword [eax + 0x18]
add ebp, edi
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 0x24]
add ecx, edi
mov dword [esp + 0x18], ecx
test ebx, ebx
je 0x100a2d7e
mov eax, dword [ebp + esi*4]
mov ecx, dword [esp + 0x1c]
add eax, edi
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100a2d70
test dl, dl
je 0x100a2d6c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100a2d70
add eax, 2
add ecx, 2
test dl, dl
jne 0x100a2d50
xor eax, eax
jmp 0x100a2d75
sbb eax, eax
or eax, 1
test eax, eax
je 0x100a2d88
inc esi
cmp esi, ebx
jb 0x100a2d45
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret 8
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
movzx eax, word [eax + esi*2]
mov eax, dword [ecx + eax*4]
add eax, edi
je 0x100a2d7e
push 0
push 0x102
push 0x1a
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
pop ecx
ret 8
Function at 0x100b97b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017527d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x101cfdb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x102710b4]
lea esi, [ebp - 0x38]
mov cl, 0x4d
mov dword [ebp - 0x1c], 0x29686d4d
mov dword [ebp - 0x18], 0x686d626d
mov word [ebp - 0x14], 0x29
push dword [eax + 0xac]
inc dword [eax + 0xa8]
push dword [eax + 0xa8]
xor eax, eax
nop dword [eax + eax]
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 8
jae 0x100b981f
mov cl, byte [ebp - 0x1c]
jmp 0x100b9810
sub esp, 0x1c
mov byte [ebp - 0x13], 0
lea eax, [ebp - 0x1b]
mov ecx, esp
push eax
call fcn.100461a0
push esi
call fcn.100492e0
mov eax, dword [0x102710b4]
add esp, 0x28
mov eax, dword [eax + 0x514]
mov esi, dword [eax + 0x30]
mov dword [ebp - 4], 0
test esi, esi
je 0x100b986c
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100b986c
lea eax, [ebp - 0x38]
mov ecx, esi
push eax
call dword [0x101b07cc]
lea ecx, [ebp - 0x38]
call fcn.100432e0
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x100b9889
inc eax
push eax
push dword [ebp - 0x34]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp - 0x38]
push 8
push eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
call fcn.100479d0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101163c0
mov esp, ebp
pop ebp
ret
Function at 0x100bb520
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push esi
mov esi, ecx
call fcn.1004dcd0
mov edx, dword [0x102710b4]
cmp byte [edx + 0x432], 0
je 0x100bb68d
cmp dword [edx + 0x474], 0
je 0x100bb68d
movzx eax, al
push edi
cmp eax, 0x17
ja case.0x100bb55c.4
movzx eax, byte [eax + 0x100bb73c]
jmp dword [eax*4 + 0x100bb724]
pop edi
mov ecx, esi
pop esi
jmp fcn.100ba7c0
pop edi
mov ecx, esi
pop esi
jmp fcn.100baa10
mov esi, dword [edx + 0x478]
test esi, esi
je 0x100bb68c
mov ecx, dword [esi + 0xf8]
test ecx, ecx
je 0x100bb59b
push 0
call dword [0x101b07e0]
mov edx, dword [0x102710b4]
mov ecx, dword [esi + 0x1bc]
test ecx, ecx
je 0x100bb5b3
push 0
call dword [0x101b07e0]
mov edx, dword [0x102710b4]
mov edi, dword [edx + 0x4e0]
test edi, edi
je 0x100bb68c
mov esi, dword [edi + 0x6c]
test esi, esi
je 0x100bb68c
push 0
mov ecx, esi
call dword [0x101b07e0]
mov esi, dword [edi + 0x6c]
test esi, esi
je 0x100bb68c
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100bb68c
pop edi
mov dword [0x10271054], esi
mov dword [0x10270fec], 7
pop esi
jmp fcn.100ce410
push ebp
mov ecx, esi
call fcn.1007fce0
mov ecx, dword [0x102710b4]
mov ebp, eax
mov edi, dword [ecx + 0x51c]
test edi, edi
je 0x100bb68b
mov esi, dword [edi + 0x50]
test esi, esi
je 0x100bb64c
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100bb64c
mov dword [0x10271054], esi
mov dword [0x10270fec], 2
call fcn.100ce410
mov esi, dword [edi + 0x4c]
test esi, esi
je 0x100bb675
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100bb675
mov dword [0x10271054], esi
mov dword [0x10270fec], 7
call fcn.100ce410
mov ecx, dword [0x102710b4]
mov byte [edi + 0x58], 0
push ebp
mov ecx, dword [ecx + 0x51c]
call fcn.1007a1b0
pop ebp
pop edi
pop esi
ret
mov ecx, esi
call fcn.1007fce0
test eax, eax
mov eax, dword [0x102710b4]
jne 0x100bb6d6
mov ecx, dword [eax + 0x478]
test ecx, ecx
je 0x100bb68c
call fcn.10061e60
mov eax, dword [0x102710b4]
mov edi, dword [eax + 0x4d8]
test edi, edi
je 0x100bb68c
mov esi, dword [edi + 0x38]
test esi, esi
je 0x100bb68c
push 0
mov ecx, esi
call dword [0x101b07e0]
mov esi, dword [edi + 0x38]
jmp 0x100bb5d9
mov edi, dword [eax + 0x4d8]
test edi, edi
je 0x100bb68c
mov esi, dword [edi + 0x38]
test esi, esi
je 0x100bb68c
push 1
mov ecx, esi
call dword [0x101b07e0]
mov esi, dword [edi + 0x38]
test esi, esi
je 0x100bb68c
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100bb68c
pop edi
mov dword [0x10271054], esi
mov dword [0x10270fec], 2
pop esi
jmp fcn.100ce410
pop edi
pop esi
jmp fcn.100bac60
Function at 0x100c4140
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10175e6c
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x101cfdb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ecx, edi
mov esi, dword [0x102710b4]
call fcn.1004dcd0
movzx eax, al
sub eax, 1
je 0x100c42df
sub eax, 1
jne 0x100c4334
mov ecx, edi
call fcn.1004dcd0
cmp dword [esi + 0x474], 0
je 0x100c4334
mov ecx, dword [0x102710b4]
mov ecx, dword [ecx + 0x4dc]
test ecx, ecx
je 0x100c4334
cmp al, 1
je 0x100c42d4
call fcn.10063ca0
movaps xmm0, xmmword [0x101b7020]
xor ecx, ecx
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x26400516
mov dword [ebp - 0x18], 0x50c0901
mov word [ebp - 0x14], 4
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x18
jb 0x100c41e6
sub esp, 0x1c
mov byte [ebp - 0x13], 0
lea eax, [ebp - 0x2b]
mov ecx, esp
push eax
call fcn.100461a0
lea eax, [ebp - 0x48]
push eax
call fcn.100492e0
add esp, 0x20
mov dword [ebp - 4], 1
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
mov dword [ebp - 0x50], ecx
jb 0x100c4229
mov ecx, dword [ecx]
mov dword [ebp - 0x50], ecx
mov ebx, ecx
lea ecx, [ebx + 1]
nop
mov al, byte [ebx]
inc ebx
test al, al
jne 0x100c4230
sub ebx, ecx
lea esi, [ebx + 0x21]
push esi
call fcn.10117010
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0x4c], edi
call fcn.101193b0
push ebx
push dword [ebp - 0x50]
lea esi, [edi + 0x20]
push esi
call fcn.10118c50
add esp, 0x1c
mov dword [edi + 0x14], ebx
mov dword [edi + 4], esi
mov dword [edi + 0x18], 0x1f
mov ecx, dword ds:[0xf3690c]
push 0
push 0xa30000
push dword [ebp - 0x4c]
mov eax, dword [0x101b06ec]
call eax
push edi
call fcn.101163d0
add esp, 4
lea ecx, [ebp - 0x48]
call fcn.100432e0
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x100c42ab
inc eax
push eax
push dword [ebp - 0x44]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp - 0x48]
push 8
push eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
call fcn.100479d0
add esp, 8
jmp 0x100c4334
mov ecx, dword [ecx + 0x28]
test ecx, ecx
je 0x100c4334
push 0
jmp 0x100c432e
cmp dword [esi + 0x474], 0
je 0x100c4334
mov eax, dword [0x102710b4]
mov eax, dword [eax + 0x4dc]
test eax, eax
jne 0x100c4325
push 0x2c
call fcn.101166d0
add esp, 4
mov dword [ebp - 0x4c], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.10062a50
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x102710b4]
mov dword [ecx + 0x4dc], eax
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x100c4334
push 1
call dword [0x101b07e0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101163c0
mov esp, ebp
pop ebp
ret 4
Function at 0x100ca930
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10176455
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x101cfdb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x28]
mov eax, dword [ebp + 8]
mov ecx, 0x102a2b84
mov dword [ebp - 4], 0
cmp dword [ebp + 0x24], 0x10
push dword [ebp + 0x20]
mov dword [0x10271054], eax
mov eax, dword [esi]
mov dword [0x10271070], eax
lea eax, [ebp + 0x10]
cmovae eax, dword [ebp + 0x10]
push eax
call fcn.10046d30
call fcn.100ca7e0
mov eax, dword [0x10271070]
test eax, eax
jne 0x100caa66
cmp dword [ebp + 0x24], 0x10
lea eax, [ebp + 0x10]
movaps xmm0, xmmword [0x101b7640]
cmovae eax, dword [ebp + 0x10]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x555c1a4e
mov dword [ebp - 0x18], 0x5e544f
mov dword [ebp - 0x14], 0x491f1a
nop dword [eax + eax]
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x1a
jb 0x100ca9d0
sub esp, 0x1c
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x2b]
mov ecx, esp
push eax
call fcn.100461a0
lea eax, [ebp - 0x48]
push eax
call fcn.100492e0
add esp, 8
mov byte [ebp - 4], 1
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.10046370
push 3
push dword [0x102710b4]
call fcn.100ce060
add esp, 0x24
mov dword [esi], 0
lea ecx, [ebp - 0x48]
call fcn.100432e0
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x100caa3d
inc eax
push eax
push dword [ebp - 0x44]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp - 0x48]
push 8
push eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
call fcn.100479d0
add esp, 8
jmp 0x100caa68
mov dword [esi], eax
lea ecx, [ebp + 0xc]
call fcn.100432e0
mov eax, dword [ebp + 0x24]
cmp eax, 0x10
jb 0x100caa85
inc eax
push eax
push dword [ebp + 0x10]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp + 0xc]
push 8
push eax
mov dword [ebp + 0x20], 0
mov dword [ebp + 0x24], 0xf
mov byte [ebp + 0x10], 0
mov dword [ebp + 0xc], 0
call fcn.100479d0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101163c0
mov esp, ebp
pop ebp
ret 0x24
Function at 0x100d80f0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
cmp eax, 0x270
jne 0x100d8140
lea edx, [edi + 8]
mov esi, eax
mov ecx, dword [edx - 4]
lea edx, [edx + 4]
xor ecx, dword [edx - 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x100d8102
mov eax, dword [edi]
jmp 0x100d8227
cmp eax, 0x4e0
jb 0x100d8227
mov eax, dword [edi + 0x9c4]
push ebx
lea ebx, [edi + 0x9c4]
push ebp
mov ebp, 0xe3
nop
mov ecx, dword [ebx + 4]
lea edx, [ebx + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub ebp, 1
jne 0x100d8160
mov eax, dword [edi + 0xd50]
lea ebx, [edi + 0xd50]
mov ebp, 0x18c
nop word [eax + eax]
mov ecx, eax
lea edx, [ebx + 4]
xor ecx, dword [edx]
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx - 0xd4c]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub ebp, 1
jne 0x100d81b0
mov ecx, dword [edi + 0x1380]
xor ecx, dword [edi + 4]
and ecx, 0x7fffffff
xor ecx, dword [edi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop ebp
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi + 0x9c0], eax
xor eax, eax
mov dword [edi], 0
pop ebx
mov edx, dword [edi + eax*4 + 4]
inc eax
mov dword [edi], eax
mov ecx, edx
mov eax, dword [edi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
ret