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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x168
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x10204330], 0xeb4
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x101f029c
lea eax, [ebp - 0x12c]
mov dword [0x10204330], 0xf0b
mov dword [ebp - 0x13c], eax
call fcn.101f0f77
mov dword [esp], eax
mov eax, dword [ebp - 0x13c]
mov dword [esp + 4], eax
call fcn.101efd22
mov ecx, eax
mov dword [0x10204350], eax
mov eax, esp
mov edx, dword [ebp - 0x140]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, dword [0x10204334]
add edx, 0xffffd942
mov dword [0x10204330], edx
mov edx, ecx
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x14c], ecx
mov eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x148]
lea edx, section..data
imul esi, ecx, 0xb4
mov edi, edx
add edi, esi
mov esi, dword [ebp - 0x144]
add esi, eax
imul ebx, ecx, 0xb4
mov dword [ebp - 0x150], eax
mov eax, edx
add eax, ebx
add eax, 0x48
imul ebx, ecx, 0xb4
add edx, ebx
add edx, 0x44
add ecx, 1
mov eax, dword [eax]
mov edi, dword [edi]
movzx edx, word [edx]
xor edx, eax
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x158], ecx
call fcn.101f04c8
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x150]
add eax, ecx
mov edx, dword [ebp - 0x158]
cmp edx, 0x143
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x14c], eax
je 0x101f0332
jmp 0x101f01f9
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
xor edx, edx
lea esi, section..data
imul edi, eax, 0xb4
mov ebx, esi
add ebx, edi
add ebx, 0x48
mov edi, dword [ebx]
imul ebx, eax, 0xb4
add esi, ebx
add esi, 0x44
movzx esi, word [esi]
xor esi, edi
add esi, ecx
add eax, 1
cmp eax, 0x143
mov ecx, esi
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x140], esi
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x15c], edx
jne 0x101f029c
mov eax, dword [ebp - 0x15c]
mov cl, byte [eax + 0x101f35a3]
mov dl, byte [eax + str.hI_r]
sub dl, cl
mov byte [ebp + eax - 0x12c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x15c], eax
je 0x101f0179
jmp 0x101f02fd
lea eax, [0x101f3582]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [0x10204334], 0xe6d
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x164], ecx
call fcn.101effc1
mov eax, dword [ebp - 0x160]
mov dword [esp], eax
mov ecx, dword [ebp - 0x144]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x140]
mov dword [esp + 0xc], edx
call fcn.101f0a7f
xor eax, eax
mov dword [0x10204330], 0x1e27
mov ecx, dword [ebp - 0x144]
add ecx, 0x7e8ce
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x132400
mov ecx, dword [ebp - 0x144]
add ecx, 0x77347
mov dword [edx + 8], ecx
mov ecx, dword [0x10204330]
add ecx, 0xffffe53e
mov dword [0x10204330], ecx
mov dword [edx + 0xc], 0x2040
add esp, 0x168
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101f0554
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 8]
mov dword [0x10204334], 0x26de
mov dword [ebp - 0x10], eax
call fcn.101efbc9
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov dword [0x10204334], 0xe73
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x101f05a4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x10204330], 0x16bd
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x101f06c1
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x44]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x4d], bh
mov byte [ebp - 0x4e], cl
je 0x101f0666
mov eax, dword [ebp - 0x4c]
add eax, 1
mov cl, byte [ebp - 0x4d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x4e]
and ch, dl
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x55], ch
mov eax, dword [ebp - 0x54]
cmp eax, 0x20
setb cl
mov dl, byte [ebp - 0x55]
and dl, cl
test dl, 1
mov dword [ebp - 0x48], eax
jne 0x101f0609
mov al, byte [ebp - 0x4e]
test al, 1
jne 0x101f069e
jmp 0x101f066f
mov eax, dword [ebp - 0x40]
add eax, 2
mov dword [ebp - 0x5c], eax
xor eax, eax
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov edx, dword [ebp - 0x2c]
cmp ecx, edx
mov esi, dword [ebp - 0x5c]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], eax
jb 0x101f05ef
jmp 0x101f06c1
mov eax, dword [ebp - 0x40]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x10204330], 0x22a3
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x30]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101f0713
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x10204330], 0x1927
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x101f077f
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x101f07fa
jmp 0x101f0820
mov dword [0x10204330], 0x21a9
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x101f07cc
jmp 0x101f0820
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
jne 0x101f07a9
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
je 0x101f0761
jmp 0x101f0820
mov dword [0x10204330], 0x9f6
mov eax, dword [ebp - 0x18]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], eax
jl 0x101f077f
jmp 0x101f0795
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff5
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2], 0x61
jne 0x101f0820
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x101f0749
jmp 0x101f0820
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x101f0820
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x24], eax
je 0x101f0827
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x101f0827
mov eax, dword [ebp - 0x24]
add esp, 0x24
pop ebp
ret
Function at 0x101f082f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x101f087d
lea eax, [ebp - 0x24]
mov dword [0x10204330], 0x1372
mov dword [ebp - 0x34], eax
call fcn.101f0f77
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.101efd22
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x101f095d
jmp 0x101f08a5
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x101f35a3]
mov dl, byte [eax + str.hI_r]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
je 0x101f0849
jmp 0x101f087d
mov eax, dword [ebp - 0x38]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x10204330]
add ecx, 0xffffdbc9
mov dword [0x10204330], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.101efeb9
xor eax, eax
mov ecx, dword [0x10204330]
add ecx, 0xffffe005
mov dword [0x10204334], ecx
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x3c], ecx
mov dword [0x10204330], 0x19c4
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x14], ecx
add ecx, 0x12f6
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x101f0954
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x101f0a7f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x10204338], 0
mov dword [0x1020433c], 0
mov dword [0x10204348], 0
mov edi, dword [0x10204334]
add edi, 0xfffff338
mov dword [0x10204330], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
mov edx, eax
mov esi, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
je 0x101f0bfd
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov edi, edx
add edi, 1
add eax, 1
mov dword [0x10204330], 0x20d1
mov dword [0x10204334], 0x7e7
mov dword [ebp - 0x2c], edx
cdq
idiv esi
mov dword [0x10204338], edx
mov ebx, dword [ebp - 0x1c]
movzx ebx, byte [ebx + edx]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x1020433c], edx
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x30]
mov cl, byte [ecx + esi]
mov byte [0x10204340], cl
mov ebx, dword [ebp - 0x1c]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x10204340]
mov edx, dword [0x1020433c]
mov byte [ebx + edx], cl
mov dword [0x10204334], 0x2664
mov edx, dword [0x10204338]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x1020433c]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x10204348], ecx
mov dword [0x10204330], 0x1fb1
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x2c]
mov ch, byte [edx + esi]
mov byte [0x1020434d], ch
mov byte [0x1020434e], cl
xor ch, cl
mov byte [0x1020434c], ch
mov dword [0x10204330], 0x251f
mov edx, dword [ebp - 0x18]
mov byte [edx + esi], ch
mov dword [0x10204334], 0x13d3
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x34], edi
je 0x101f0bfd
mov eax, dword [0x10204338]
mov ecx, dword [0x1020433c]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
jmp 0x101f0aee
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101f0d39
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x88
mov esi, esp
xor eax, eax
mov dword [esi + 0x2c], eax
call fcn.10001066
mov ecx, 0x10
mov dword [esi + 0x28], eax
mov eax, ecx
call fcn.101e9920
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
mov ecx, dword [esi + 0x28]
cmp ecx, 0
mov edx, dword [esi + 0x2c]
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], edx
je 0x101f0dbd
mov eax, dword [esi + 0x20]
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
lea eax, [esi + 0x30]
mov dword [0x10204334], 0x341
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx + 8]
push edx
push eax
call fcn.101f082f
add esp, 8
sub esp, 4
mov ecx, esp
lea edx, [esi + 0x30]
mov dword [ecx], edx
call eax
mov eax, 1
mov dword [esi + 0x1c], eax
jmp 0x101f0ea8
lea eax, [esi + 0x30]
mov dword [0x10204330], 0x1f19
sub esp, 4
mov ecx, dword [esi + 0x24]
mov dword [esp], ecx
mov dword [esi + 0x18], eax
call fcn.101f0145
add esp, 4
lea ecx, [0x101f06cc]
mov edx, dword [esi + 0x24]
mov edi, dword [edx]
mov dword [esi + 0x64], edi
mov dword [esi + 0x58], 0x132400
mov edi, dword [0x1020431c]
mov dword [esi + 0x30], edi
mov edi, dword [0x10204320]
mov dword [esi + 0x50], edi
mov edi, dword [0x10204324]
mov dword [esi + 0x68], edi
mov edi, dword [0x10204328]
mov dword [esi + 0x70], edi
mov edi, dword [0x1020432c]
mov dword [esi + 0x74], edi
mov dword [0x10204334], 0x4bf
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], ecx
mov eax, dword [esi + 0x10]
cmp word [eax], 0x5a4d
mov dword [esi + 0xc], eax
jne 0x101f0e4f
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esi + 8], ecx
je 0x101f0e67
mov eax, dword [esi + 0xc]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x10], eax
jmp 0x101f0e30
mov eax, dword [esi + 0xc]
mov dword [esi + 0x80], eax
mov dword [0x10204334], 0xe73
mov ecx, dword [esi + 8]
add ecx, 0x50
mov dword [esi], ecx
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
mov edx, dword [eax + ecx]
mov dword [esi + 0x84], edx
call fcn.101f0713
xor ecx, ecx
cmp eax, 0
mov dword [esi + 0x1c], ecx
je 0x101f0d87
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
jmp 0x101f0d7d
Function at 0x1000b197
Capabilities:
Parse pe header

Disassembly:
push esi
mov esi, ecx
test si, si
jne 0x1000b24c
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x1000b24c
mov edx, dword [esi + 0x3c]
test dl, 3
jne 0x1000b24c
cmp dword [edx + esi], 0x4550
jne 0x1000b24c
cmp dword [edx + esi + 0x74], 6
jb 0x1000b24c
push ebx
mov ebx, dword [edx + esi + 0x50]
push edi
mov edi, dword [edx + esi + 0xa8]
lea eax, [ebx - 1]
lea ecx, [edi - 1]
cmp ecx, eax
jae 0x1000b24a
mov eax, dword [edx + esi + 0xac]
mov ecx, ebx
sub ecx, edi
cmp eax, ecx
ja 0x1000b24a
xor edx, edx
add edi, esi
push 0x1c
pop ecx
div ecx
mov edx, eax
test edx, edx
je 0x1000b24a
imul ecx, edx, 0x1c
add ecx, 0x14
add ecx, edi
lea ecx, [ecx - 0x1c]
dec edx
cmp dword [ecx - 8], 2
lea edi, [ecx - 0x14]
jne 0x1000b228
cmp dword [ecx], ebx
jae 0x1000b228
mov eax, ebx
sub eax, dword [ecx]
cmp dword [ecx - 4], eax
jbe 0x1000b22e
test edx, edx
jne 0x1000b20e
jmp 0x1000b24a
push 0x1c
push edi
call dword [sym.imp.kernel32.dll_VirtualLock]
test eax, eax
je 0x1000b24a
mov eax, dword [edi + 0x14]
push dword [edi + 0x10]
add eax, esi
push eax
call dword [sym.imp.kernel32.dll_VirtualLock]
pop edi
pop ebx
pop esi
ret

Function at 0x1000c446
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x1000c455
pop dword [ebp - 0x10]
mov eax, 0x12644098
sub eax, 0x2637c43
sub dword [ebp - 0x10], eax
push 0x40
push 0x1000
push 0x37461
push 0
mov eax, 0xbd5ce5da
add eax, 0x52a45a8a
add eax, dword [ebp - 0x10]
call dword [eax]
mov ecx, 0x4131
mov edx, eax
mov ebx, 0x6b3b754f
add ebx, 0xa4c610b1
add ebx, dword [ebp - 0x10]
mov esi, 0x8b43f921
add esi, 0x1df69c91
add dword [ebp - 4], 0x1b3f87c3
mov edi, dword [ebx]
add dword [ebp - 4], edx
xor edi, esi
mov dword [edx], edi
xor dword [ebp - 4], edi
add edx, 0x6a7e726f
sub edx, 0x6a7e726b
add ebx, 4
loop 0x1000c4ae
add eax, 0x53f49169
add eax, 0xac0c662e
mov ebx, eax
add eax, 0xc79455b9
sub eax, 0xc79455b4
mov ecx, 0x10000000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x1000a530
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x270
jne 0x1000a54e
mov ecx, dword [ebp - 8]
call fcn.1000a5d0
jmp 0x1000a561
mov ecx, dword [ebp - 8]
cmp dword [ecx], 0x4e0
jb 0x1000a561
mov ecx, dword [ebp - 8]
call fcn.1000a660
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4 + 4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp - 8]
mov dword [edx], ecx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shr ecx, 0xb
mov edx, dword [ebp - 8]
and ecx, dword [edx + 0x1384]
xor ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
shl eax, 7
and eax, 0x9d2c5680
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
shr edx, 0x12
xor edx, dword [ebp - 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0x270
jmp 0x1000a5eb
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x4e0
jae 0x1000a657
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 - 0x9bc]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + ecx*4 - 0x9b8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
and edx, 1
je 0x1000a62f
mov dword [ebp - 0x10], 0x9908b0df
jmp 0x1000a636
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
shr eax, 1
xor eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor eax, dword [edx + ecx*4 - 0x388]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4 + 4], eax
jmp 0x1000a5e2
mov esp, ebp
pop ebp
ret
Function at 0x1000a660
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], ecx
mov dword [ebp - 0x28], 0x26f
mov dword [ebp - 0x2c], 0xe3
mov dword [ebp - 8], 0
jmp 0x1000a689
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xe3
jae 0x1000a6f5
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 0x9c8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
and edx, 1
je 0x1000a6cd
mov dword [ebp - 0x14], 0x9908b0df
jmp 0x1000a6d4
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x10]
shr eax, 1
xor eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
xor eax, dword [edx + ecx*4 + 0xff8]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [edx + ecx*4 + 4], eax
jmp 0x1000a680
mov dword [ebp - 0xc], 0xe3
jmp 0x1000a707
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x26f
jae 0x1000a773
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 0x9c8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
and edx, 1
je 0x1000a74b
mov dword [ebp - 0x1c], 0x9908b0df
jmp 0x1000a752
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x18]
shr eax, 1
xor eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
xor eax, dword [edx + ecx*4 - 0x388]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov dword [edx + ecx*4 + 4], eax
jmp 0x1000a6fe
mov dword [ebp - 0x30], 0x26f
mov eax, 4
imul ecx, eax, 0x4df
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx + 4]
and eax, 0x80000000
mov ecx, 4
imul edx, ecx, 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + edx + 4]
and edx, 0x7fffffff
or eax, edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
and eax, 1
je 0x1000a7bc
mov dword [ebp - 0x24], 0x9908b0df
jmp 0x1000a7c3
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x20]
shr ecx, 1
xor ecx, dword [ebp - 0x24]
mov edx, 4
imul eax, edx, 0x18c
mov edx, dword [ebp - 4]
xor ecx, dword [edx + eax + 4]
mov eax, 4
imul edx, eax, 0x26f
mov eax, dword [ebp - 4]
mov dword [eax + edx + 4], ecx
mov ecx, dword [ebp - 4]
mov dword [ecx], 0
mov esp, ebp
pop ebp
ret
Function at 0x100187d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x1019e06c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
je 0x100187f7
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x100187fe
mov al, 1
jmp 0x100188e9
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x40], edx
call fcn.100055a0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x2c]
call dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
call fcn.100055a0
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x48]
push edx
call fcn.10015750
add esp, 8
movzx eax, al
test eax, eax
je 0x10018844
xor al, al
jmp 0x100188e9
mov dword [ebp - 0x54], 0x20
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0x4c], edx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x2c]
add eax, 0x40
push eax
mov ecx, dword [ebp - 0x4c]
call fcn.10018ea0
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x10018886
cmp dword [ebp - 0x30], 1
je 0x1001888d
cmp dword [ebp - 0x30], 3
je 0x100188dc
jmp 0x100188e7
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + 0x3d], 0
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x28]
sub edx, eax
mov dword [ebp - 0x34], edx
je 0x100188bc
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x4c]
push edx
mov eax, dword [ebp - 0x34]
push eax
push 1
lea ecx, [ebp - 0x28]
push ecx
call fcn.100bb739
add esp, 0x10
cmp dword [ebp - 0x34], eax
je 0x100188bc
xor al, al
jmp 0x100188e9
mov edx, dword [ebp - 0x2c]
movzx eax, byte [edx + 0x3d]
test eax, eax
jne 0x100188d0
mov dword [ebp - 0x38], 1
jmp 0x100188d7
mov dword [ebp - 0x38], 0
mov al, byte [ebp - 0x38]
jmp 0x100188e9
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + 0x3d], 0
mov al, 1
jmp 0x100188e9
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b526a
mov esp, ebp
pop ebp
ret

Function at 0x1008be60
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movsx eax, byte [edx + ecx]
test eax, eax
jne 0x1008be7f
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
jmp 0x1008beaf
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + eax]
xor edx, dword [ebp + 0xc]
imul eax, edx, 0x1000193
push eax
mov ecx, 1
shl ecx, 0
add ecx, dword [ebp + 8]
push ecx
call fcn.1008be60
add esp, 8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret