joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ba88
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
cmp eax, 0
sete bl
cmp ecx, 0
sete bh
and bh, bl
test bh, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x1000bc3d
jmp 0x1000bad3
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff8
mov dword [ebp - 0x18], eax
jmp 0x1000bc3d
mov dword [0x102ee488], 0x244a
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov edx, dword fs:[0x18]
mov dword [0x102ee488], 0x1cf5
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0xc]
add eax, 0x14
mov edx, eax
mov byte [ebp - 0x1d], cl
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov eax, dword [eax]
mov edx, dword [ebp - 0x24]
cmp eax, edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
je 0x1000bc3d
mov eax, dword [ebp - 0x1c]
add eax, 0x24
mov dword [0x102ee488], 0x1121
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x28]
mov esi, dword [ecx + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x1d]
and bh, bl
test bh, 1
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], esi
jne 0x1000bac3
xor eax, eax
mov ecx, 0x1121
mov edx, dword [ebp - 0x2c]
mov si, word [edx]
shr si, 1
movzx edi, si
cmp si, 0
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], ecx
je 0x1000bb0f
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x38]
mov edx, ecx
add edx, 1
add eax, 0xfffff50e
mov esi, dword [ebp - 0x30]
mov di, word [esi + ecx*2]
mov bx, di
add bx, 0xffbf
mov si, di
add si, 0x20
cmp bx, 0x1a
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], eax
mov word [ebp - 0x4e], di
mov word [ebp - 0x50], si
jb 0x1000bbd5
mov ax, word [ebp - 0x4e]
mov word [ebp - 0x50], ax
mov ax, word [ebp - 0x50]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x48]
cmp word [ecx + edx*2], ax
sete bl
cmp ax, 0
setne bh
mov al, bl
and al, bh
mov esi, dword [ebp - 0x44]
mov edi, dword [ebp - 0x3c]
cmp esi, edi
setb bh
and al, bh
test al, 1
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 0x51], bl
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x40], eax
jne 0x1000bb8b
mov eax, dword [ebp - 0x4c]
mov dword [0x102ee488], eax
mov dword [0x102ee48c], 0x180d
mov cl, byte [ebp - 0x51]
test cl, 1
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x18], esi
jne 0x1000bc3d
jmp 0x1000bb0f
mov eax, dword [ebp - 0x18]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000bd65
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x102ee494], 0
mov byte [0x102ee498], 0
mov dword [0x102ee488], 0x143d
mov dword [0x102ee490], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1000bdbd
xor eax, eax
mov dword [0x102ee490], 0
mov dword [ebp - 0x20], eax
jmp 0x1000bdef
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x102ee48c], 0x2604
mov eax, dword [0x102ee490]
add eax, 1
mov dword [0x102ee490], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1000bdbd
jmp 0x1000bdac
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x102ee49c], 0
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x102ee48c], 0x15f3
mov edi, dword [0x102ee494]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x102ee49c], esi
mov dword [0x102ee488], 0x234c
mov eax, esi
cdq
idiv ecx
mov dword [0x102ee494], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x102ee498], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x102ee498]
mov esi, dword [0x102ee494]
mov byte [ebx + esi], cl
mov esi, dword [0x102ee490]
add esi, 1
mov dword [0x102ee490], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1000bdef
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000c152
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
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 [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1000c1da
mov eax, dword [ebp - 0x14]
mov dword [0x102ee488], 0x156c
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
je 0x1000c20c
jmp 0x1000c1b5
mov dword [0x102ee488], 0x151b
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x1000c21d
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x1000c268
mov dword [0x102ee48c], 0xa99
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x1000c19c
jmp 0x1000c1b5
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], edx
je 0x1000c17e
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
jl 0x1000c1da
jmp 0x1000c17e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x1000c1bf
jmp 0x1000c1b5
mov dword [0x102ee488], 0x1fe5
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x1000c1b5
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x1000c1b5
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x1c], eax
jne 0x1000c1b5
mov eax, dword [ebp - 0x1c]
add esp, 0x20
pop ebp
ret
Function at 0x1000c270
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov dword [0x102ee48c], 0x1fb9
mov dword [ebp - 0x10], eax
call fcn.1000c92a
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
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 0x1000c2b6
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x102ee48c], 0x53
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x102ee488], 0x1839
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 0x1000c3c2
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 0x1000c376
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
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x48], eax
jne 0x1000c325
mov al, byte [ebp - 0x4e]
test al, 1
jne 0x1000c3a9
jmp 0x1000c37f
xor eax, eax
mov ecx, dword [ebp - 0x40]
add ecx, 2
mov edx, dword [ebp - 0x3c]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], eax
jb 0x1000c30b
jmp 0x1000c3c2
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 [ebp - 0x30], edi
mov eax, dword [ebp - 0x30]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000cab4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x102ee490], 0
mov dword [0x102ee494], 0
mov dword [0x102ee4a0], 0
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x1000cc1b
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov edi, edx
add edi, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x102ee490], edx
mov dword [0x102ee488], 0x1bee
mov ecx, dword [ebp - 0x20]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x2c]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x102ee494], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x102ee498], cl
mov dword [0x102ee488], 0xfad
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x102ee498]
mov edx, dword [0x102ee494]
mov byte [ebx + edx], cl
mov dword [0x102ee488], 0x2446
mov edx, dword [0x102ee490]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x102ee494]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x102ee4a0], ecx
mov dword [0x102ee488], 0x213
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
mov ch, byte [edx + esi]
mov dword [0x102ee488], 0x1808
xor ch, cl
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov edx, dword [0x102ee48c]
add edx, 0x22f8
mov dword [0x102ee48c], edx
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x38], edi
je 0x1000cc1b
mov eax, dword [0x102ee490]
mov ecx, dword [0x102ee494]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], ecx
jmp 0x1000cb0d
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000cc23
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.1000c41c
lea ecx, [0x1000c3cd]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x64], edx
mov dword [esp + 0x70], 0x146800
mov edx, dword [0x102ee474]
mov dword [esp + 0x38], edx
mov edx, dword [0x102ee478]
mov dword [esp + 0x60], edx
mov edx, dword [0x102ee47c]
mov dword [esp + 0x88], edx
mov edx, dword [0x102ee480]
mov dword [esp + 0x50], edx
mov edx, dword [0x102ee484]
mov dword [esp + 0x78], edx
mov dword [0x102ee488], 0x1c86
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x1000ccce
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1000b954
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 0x10], eax
jmp 0x1000cd35
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0xc], eax
jne 0x1000ccf1
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
je 0x1000cd05
mov eax, dword [esp + 0xc]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x1000ccce
mov eax, dword [esp + 0xc]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 8]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x84], edx
call fcn.1000c152
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x10], ecx
je 0x1000cca2
mov eax, dword [esp + 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x1000fc14
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ecx
push esi
push edi
push dword [0x1009d7b4]
xor edi, edi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x1000fc5a
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000fcb4
test byte [eax + 0x1c], 1
je 0x1000fcb4
cmp byte [eax + 0x19], 2
jb 0x1000fcb4
push dword [eax + 0x14]
mov edx, 0x1000564c
push dword [eax + 0x10]
push 0x10
pop ecx
call fcn.100122b8
jmp 0x1000fcb4
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
test eax, eax
jne 0x1000fca3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57c
je 0x1000fca3
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000fc9f
test byte [eax + 0x1c], 1
je 0x1000fc9f
cmp byte [eax + 0x19], 2
jb 0x1000fc9f
push dword [eax + 0x14]
mov edx, 0x1000564c
push dword [eax + 0x10]
push 0x11
pop ecx
call fcn.100122b8
xor eax, eax
jmp 0x1000fcb6
push ecx
mov ecx, esi
call fcn.1000fcba
push edi
call fcn.1002f3d2
xor edi, edi
inc edi
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x100315ef
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 4
mov eax, 0x10095b71
call fcn.100941a8
push dword [0x1009d7b4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x10031625
cmp dword [esi + 8], 0
je 0x10031621
and dword [esi + 8], 0
push ecx
mov ecx, esi
call fcn.1000fcba
xor esi, esi
test esi, esi
jne 0x10031689
push 0x10004e6c
push 0x38
call fcn.10093f2e
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
test eax, eax
je 0x10031649
mov ecx, eax
call fcn.1001cdc3
mov esi, eax
jmp 0x1003164b
xor esi, esi
test esi, esi
je 0x1003165e
push esi
push dword [0x1009d7b4]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x10031689
mov eax, dword [section..data]
cmp eax, section..data
je 0x10031689
test byte [eax + 0x1c], 1
je 0x10031689
cmp byte [eax + 0x19], 2
jb 0x10031689
push dword [eax + 0x14]
mov edx, 0x1000dbe4
push dword [eax + 0x10]
push 0xa
pop ecx
call fcn.100122b8
mov eax, esi
call fcn.10094176
ret
Function at 0x100322e8
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp + 8]
push esi
mov esi, ecx
push edi
push eax
lea ecx, [esi + 0x7c]
call fcn.100120a3
xor eax, eax
lea edi, [esi + 0x68]
stosd dword es:[edi], eax
push 9
pop ecx
push 0x40
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov edi, esi
push eax
rep stosd dword es:[edi], eax
lea eax, [esi + 0x28]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x10032338
call fcn.10012278
pop edi
mov eax, esi
pop esi
leave
ret 8
Function at 0x1003544f
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ecx + 0xc]
push ebx
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov ebx, eax
mov dword [ebp - 4], edx
mov edx, dword [ecx + 4]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x20], 0x544b2fba
mov dword [ebp - 0x1c], 0xef0bc9df
mov dword [ebp - 0x18], 0x39d589ae
mov dword [ebp - 0x14], 0xe5ea8173
push esi
mov esi, dword [ecx + 8]
push edi
mov edi, dword [ecx]
and ebx, 3
je 0x100354db
mov ecx, dword [ebp - 4]
sub eax, ebx
mov dword [ebp + 8], eax
mov eax, dword [ecx]
add ecx, 4
add dword [ebp - 8], eax
add eax, edi
imul eax, eax, 0x6f6e65f
mov edi, 0xf993291a
sub edi, eax
xor edx, edi
xor esi, edi
mov eax, edx
add edx, edx
shr eax, 0x1f
xor edx, dword [ebp + eax*4 - 0x18]
mov eax, esi
shr eax, 0x1f
add esi, esi
xor esi, dword [ebp + eax*4 - 0x20]
sub ebx, 1
jne 0x1003549c
mov eax, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0xc]
test eax, eax
je 0x100355cf
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 4], ebx
mov eax, dword [ebx - 4]
add eax, edi
mov edi, 0xf993291a
imul eax, eax, 0x6f6e65f
mov ecx, edi
sub ecx, eax
mov eax, dword [ebx]
add eax, ecx
xor esi, ecx
imul eax, eax, 0x6f6e65f
xor edx, ecx
mov ecx, edi
mov edi, dword [ebx + 4]
mov ebx, 0xf993291a
sub ecx, eax
mov eax, edx
shr eax, 0x1f
add edx, edx
xor edx, dword [ebp + eax*4 - 0x18]
mov eax, esi
shr eax, 0x1f
add esi, esi
xor edx, ecx
xor esi, dword [ebp + eax*4 - 0x20]
lea eax, [edi + ecx]
imul eax, eax, 0x6f6e65f
xor esi, ecx
sub ebx, eax
mov eax, edx
shr eax, 0x1f
add edx, edx
xor edx, dword [ebp + eax*4 - 0x18]
mov eax, esi
shr eax, 0x1f
add esi, esi
xor edx, ebx
xor esi, dword [ebp + eax*4 - 0x20]
mov eax, dword [ebp - 4]
xor esi, ebx
mov dword [ebp - 0x10], esi
mov esi, eax
mov ecx, dword [eax + 8]
mov eax, dword [esi - 4]
add eax, ecx
add eax, edi
mov edi, esi
mov esi, dword [ebp - 0x10]
add eax, dword [edi]
mov edi, 0xf993291a
add dword [ebp - 8], eax
lea eax, [ecx + ebx]
imul eax, eax, 0x6f6e65f
lea ecx, [edx + edx]
mov ebx, dword [ebp - 4]
add ebx, 0x10
mov dword [ebp - 4], ebx
sub edi, eax
mov eax, edx
shr eax, 0x1f
xor ecx, dword [ebp + eax*4 - 0x18]
xor ecx, edi
mov eax, ecx
shr eax, 0x1f
lea edx, [ecx + ecx]
lea ecx, [esi + esi]
xor edx, dword [ebp + eax*4 - 0x18]
mov eax, esi
shr eax, 0x1f
xor ecx, dword [ebp + eax*4 - 0x20]
xor ecx, edi
mov eax, ecx
shr eax, 0x1f
lea esi, [ecx + ecx]
xor esi, dword [ebp + eax*4 - 0x20]
sub dword [ebp + 8], 4
jne 0x100354ec
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov dword [ecx], edi
pop edi
mov dword [ecx + 8], esi
pop esi
mov dword [ecx + 0xc], eax
mov dword [ecx + 4], edx
pop ebx
leave
ret 4
Function at 0x10085de8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
xor edx, edx
mov ecx, 0x811c9dc5
cmp dword [ebp + 0xc], edx
jbe 0x10085e10
push esi
mov esi, dword [ebp + 8]
movzx eax, byte [edx + esi]
xor eax, ecx
imul ecx, eax, 0x1000193
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x10085dfd
pop esi
mov eax, ecx
pop ebp
ret

Function at 0x100943a0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x100943de
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x100943d6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x100943e0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x100943c6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x100944b0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x100944e1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x100944e1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x100944e1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x100aa352
Capabilities:
Encode data using xor

Disassembly:
call 0x100aa2cb
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x100aa2fb
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x100aa317
xor edx, 0
jmp 0x100aa322
xor edx, edx
jmp 0x100aa339
jmp 0x100aa345
xor eax, eax
push 0x8427d7c0
call 0x100aa352
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x100aa38e
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x100aa367
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x100aa3a5
add eax, 0
jno 0x100aa3aa
add esi, 0
ret 0x10
Function at 0x100ab113
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x100ab135
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x100ab2d7
cmp edi, dword [ebp + 0x10]
jb 0x100ab2d7
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.100aabff
inc edi
jmp 0x100ab1be
jmp 0x100ab1cb
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.100aabff
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.100aabff
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x100ab21f
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x100ab203
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.100ab24d
add dword [eax], 0x39
jle 0x100ab229
sub al, 0xf5
mov ch, al
call fcn.100ab262
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x100acf3a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x100acf50
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x100acf61
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.100acfa2
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx