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

Disassembly:
sub esp, 0x20
mov eax, dword [0x1021e964]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0xc], ebx
push ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 8], ebp
push esi
push edi
mov edi, dword [esp + 0x40]
test ebx, ebx
je 0x100b37e5
mov esi, dword [esp + 0x38]
test esi, esi
je 0x100b37e5
test edi, edi
je 0x100b37e5
mov eax, ebp
lea ecx, [ebx + 0x28]
shr eax, 4
test eax, eax
je 0x100b371d
mov ebp, eax
lea eax, [esp + 0x1c]
push eax
mov eax, dword [ebx + 0x10]
push ecx
push ebx
call eax
mov eax, dword [esi]
lea ecx, [ebx + 0x28]
xor eax, dword [esp + 0x28]
add esp, 0xc
mov dword [edi], eax
mov eax, dword [esi + 4]
xor eax, dword [esp + 0x20]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
xor eax, dword [esp + 0x24]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
add esi, 0x10
xor eax, dword [esp + 0x28]
mov dword [edi + 0xc], eax
movups xmm0, xmmword [edi]
add edi, 0x10
movups xmmword [ecx], xmm0
sub ebp, 1
jne 0x100b36d0
mov ebp, dword [esp + 0x10]
and ebp, 0xf
je 0x100b37cc
lea eax, [esp + 0x1c]
push eax
mov eax, dword [ebx + 0x10]
push ecx
push ebx
call eax
add esp, 0xc
xor edx, edx
test ebp, ebp
je 0x100b3767
lea eax, [esp + 0x1c]
sub esi, eax
lea ecx, [esp + 0x1c]
mov eax, edi
sub eax, ecx
mov dword [esp + 0x14], eax
mov ebx, eax
nop
lea ecx, [esp + 0x1c]
add ecx, edx
inc edx
mov al, byte [esi + ecx]
xor al, byte [ecx]
mov byte [ebx + ecx], al
cmp edx, ebp
jb 0x100b3750
mov ebx, dword [esp + 0x18]
add edi, ebp
lea ecx, [ebx + 0x28]
mov ebp, dword [esp + 0x10]
cmp ebp, 0x10
jae 0x100b37b0
mov esi, 0x10
lea eax, [ebp + 0x28]
sub esi, ebp
add eax, ebx
push esi
push eax
push ecx
call fcn.101a3c10
push ebp
sub edi, ebp
lea eax, [esi + 0x28]
add eax, ebx
push edi
push eax
call fcn.101a3c10
add esp, 0x18
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.1018d760
add esp, 0x20
ret
movups xmm0, xmmword [edi - 0x10]
pop edi
pop esi
mov eax, ebp
pop ebp
movups xmmword [ecx], xmm0
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.1018d760
add esp, 0x20
ret
mov ebp, dword [esp + 0x10]
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.1018d760
add esp, 0x20
ret
mov ecx, dword [esp + 0x2c]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1018d760
add esp, 0x20
ret
Function at 0x100b3af0
Capabilities:
Generate random numbers via winapi

Disassembly:
sub esp, 0xc4
mov eax, dword [0x1021e964]
xor eax, esp
mov dword [esp + 0xc0], eax
push esi
mov esi, dword [esp + 0xcc]
lea eax, [esp + 0x41]
push 0x3f
xorps xmm0, xmm0
mov dword [esp + 0x18], 0
push 0
push eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
movups xmmword [esp + 0x30], xmm0
mov dword [esp + 0x48], 0
movq qword [esp + 0x40], xmm0
mov byte [esp + 0x4c], 0
call fcn.101a4190
add esp, 0xc
mov dword [esp + 0x80], 0
test esi, esi
je 0x100b3caf
lea eax, [esp + 0x14]
push eax
call fcn.100b6460
add esp, 4
mov dword [esp + 4], 0
lea eax, [esp + 4]
push 0xf0000000
push 1
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x100b3bb1
push 2
call fcn.100c3ce8
push eax
push 0x10012958
call fcn.100c5260
add esp, 0xc
jmp 0x100b3bea
lea eax, [esp + 0x84]
push eax
push 0x20
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x100b3bde
push 2
call fcn.100c3ce8
push eax
push 0x10012978
call fcn.100c5260
add esp, 0xc
push 0
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 0x20
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.100b64a0
add esp, 0xc
mov dword [esp + 4], 0
lea eax, [esp + 4]
mov dword [esp + 8], 0
xorps xmm0, xmm0
movlpd qword [esp + 0xc], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x100b3c6f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
call fcn.100c3083
mov eax, dword [esp + 0x10]
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
push 0x20
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.100b64a0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0xb4]
push eax
call fcn.100b6370
push 0x20
lea eax, [esp + 0xbc]
push eax
push esi
call fcn.100b3cd0
add esp, 0x20
mov dword [esi + 0x24], 1
mov ecx, dword [esp + 0xc4]
pop esi
xor ecx, esp
call fcn.1018d760
add esp, 0xc4
ret
Function at 0x100b5150
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x30
mov eax, dword [0x1021e964]
xor eax, esp
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x34]
push ebx
push esi
push edi
mov edi, dword [edx + 0x24]
mov ebx, 0
sub edi, 6
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edi
mov eax, ebx
je 0x100b51db
mov esi, dword [esp + 0x44]
mov ecx, edi
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x10]
xor esi, esi
nop
cmp ebx, dword [edx + 0x24]
ja 0x100b5328
cmp esi, edi
jae 0x100b51c2
nop dword [eax]
cmp eax, 4
jae 0x100b51be
mov edi, dword [esp + 0xc]
lea edx, [eax + ebx*4]
mov ecx, dword [esp + esi*4 + 0x18]
inc eax
inc esi
mov dword [edi + edx*4 + 0x38], ecx
mov edi, dword [esp + 0x10]
cmp esi, edi
jb 0x100b51a0
mov edx, dword [esp + 0xc]
cmp eax, 4
lea ecx, [ebx + 1]
cmovne ecx, ebx
mov ebx, ecx
xor ecx, ecx
cmp eax, 4
cmovne ecx, eax
mov eax, ecx
cmp esi, edi
jb 0x100b5190
cmp ebx, dword [edx + 0x24]
ja 0x100b5328
mov esi, 0x1021b4a8
nop dword [eax]
movzx ecx, byte [esp + edi*4 + 0x15]
mov dl, byte [esp + 0x18]
xor dl, byte [ecx + 0x102182a8]
mov byte [esp + 0x18], dl
movzx ecx, byte [esp + edi*4 + 0x16]
movzx ecx, byte [ecx + 0x102182a8]
xor byte [esp + 0x19], cl
movzx ecx, byte [esp + edi*4 + 0x17]
movzx ecx, byte [ecx + 0x102182a8]
xor byte [esp + 0x1a], cl
movzx ecx, byte [esp + edi*4 + 0x14]
movzx ecx, byte [ecx + 0x102182a8]
xor byte [esp + 0x1b], cl
movzx ecx, byte [esi]
inc esi
xor cl, dl
mov dword [esp + 0x14], esi
mov byte [esp + 0x18], cl
mov edx, 1
cmp edi, 8
je 0x100b5267
cmp edi, edx
jbe 0x100b525d
nop
mov ecx, dword [esp + edx*4 + 0x14]
xor dword [esp + edx*4 + 0x18], ecx
inc edx
cmp edx, edi
jb 0x100b5250
test edi, edi
je 0x100b531b
jmp 0x100b52ce
mov ecx, dword [esp + edx*4 + 0x14]
xor dword [esp + edx*4 + 0x18], ecx
inc edx
cmp edx, 4
jb 0x100b5267
movzx ecx, byte [esp + 0x24]
mov edx, 5
movzx ecx, byte [ecx + 0x102182a8]
xor byte [esp + 0x28], cl
movzx ecx, byte [esp + 0x25]
movzx ecx, byte [ecx + 0x102182a8]
xor byte [esp + 0x29], cl
movzx ecx, byte [esp + 0x26]
movzx ecx, byte [ecx + 0x102182a8]
xor byte [esp + 0x2a], cl
movzx ecx, byte [esp + 0x27]
movzx ecx, byte [ecx + 0x102182a8]
xor byte [esp + 0x2b], cl
nop word [eax + eax]
mov ecx, dword [esp + edx*4 + 0x14]
xor dword [esp + edx*4 + 0x18], ecx
inc edx
cmp edx, 8
jb 0x100b52c0
xor esi, esi
mov ecx, dword [esp + 0xc]
cmp ebx, dword [ecx + 0x24]
ja 0x100b5317
cmp esi, edi
jae 0x100b52fe
nop dword [eax]
cmp eax, 4
jae 0x100b52fe
mov edi, dword [esp + 0xc]
lea edx, [eax + ebx*4]
mov ecx, dword [esp + esi*4 + 0x18]
inc eax
inc esi
mov dword [edi + edx*4 + 0x38], ecx
mov edi, dword [esp + 0x10]
cmp esi, edi
jb 0x100b52e0
cmp eax, 4
lea ecx, [ebx + 1]
cmovne ecx, ebx
mov ebx, ecx
xor ecx, ecx
cmp eax, 4
cmovne ecx, eax
mov eax, ecx
cmp esi, edi
jb 0x100b52d0
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
cmp ebx, dword [ecx + 0x24]
jbe 0x100b51f0
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1018d760
add esp, 0x30
ret
Function at 0x100b5340
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [esp + 4]
movups xmm2, xmmword [eax]
mov eax, dword [esp + 8]
movaps xmm1, xmm2
pslldq xmm1, 4
movaps xmm0, xmm1
movups xmmword [eax], xmm2
pxor xmm0, xmm2
pslldq xmm1, 4
movaps xmm3, xmm1
pslldq xmm1, 4
pxor xmm3, xmm0
pxor xmm3, xmm1
aeskeygenassist xmm0, xmm2, 1
pshufd xmm0, xmm0, 0xff
pxor xmm3, xmm0
movaps xmm1, xmm3
movups xmmword [eax + 0x10], xmm3
pslldq xmm1, 4
movaps xmm0, xmm1
pslldq xmm1, 4
pxor xmm0, xmm3
movaps xmm2, xmm1
pxor xmm2, xmm0
pslldq xmm1, 4
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm3, 2
pshufd xmm0, xmm0, 0xff
pxor xmm2, xmm0
movaps xmm1, xmm2
movups xmmword [eax + 0x20], xmm2
pslldq xmm1, 4
movaps xmm0, xmm1
pslldq xmm1, 4
pxor xmm0, xmm2
movaps xmm3, xmm1
pxor xmm3, xmm0
pslldq xmm1, 4
pxor xmm3, xmm1
aeskeygenassist xmm0, xmm2, 4
pshufd xmm0, xmm0, 0xff
pxor xmm3, xmm0
movaps xmm1, xmm3
movups xmmword [eax + 0x30], xmm3
pslldq xmm1, 4
movaps xmm0, xmm1
pslldq xmm1, 4
pxor xmm0, xmm3
movaps xmm2, xmm1
pxor xmm2, xmm0
pslldq xmm1, 4
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm3, 8
pshufd xmm0, xmm0, 0xff
pxor xmm2, xmm0
movaps xmm1, xmm2
movups xmmword [eax + 0x40], xmm2
pslldq xmm1, 4
movaps xmm0, xmm1
pslldq xmm1, 4
pxor xmm0, xmm2
movaps xmm3, xmm1
pxor xmm3, xmm0
pslldq xmm1, 4
aeskeygenassist xmm0, xmm2, 0x10
pxor xmm3, xmm1
pshufd xmm0, xmm0, 0xff
pxor xmm3, xmm0
movaps xmm1, xmm3
movups xmmword [eax + 0x50], xmm3
pslldq xmm1, 4
movaps xmm0, xmm1
pslldq xmm1, 4
pxor xmm0, xmm3
movaps xmm2, xmm1
pxor xmm2, xmm0
pslldq xmm1, 4
aeskeygenassist xmm0, xmm3, 0x20
pxor xmm2, xmm1
pshufd xmm0, xmm0, 0xff
pxor xmm2, xmm0
movaps xmm1, xmm2
movups xmmword [eax + 0x60], xmm2
pslldq xmm1, 4
movaps xmm0, xmm1
pslldq xmm1, 4
pxor xmm0, xmm2
movaps xmm3, xmm1
pxor xmm3, xmm0
pslldq xmm1, 4
pxor xmm3, xmm1
aeskeygenassist xmm0, xmm2, 0x40
pshufd xmm0, xmm0, 0xff
pxor xmm3, xmm0
movaps xmm1, xmm3
movups xmmword [eax + 0x70], xmm3
pslldq xmm1, 4
movaps xmm0, xmm1
pslldq xmm1, 4
pxor xmm0, xmm3
movaps xmm2, xmm1
pxor xmm2, xmm0
pslldq xmm1, 4
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm3, 0x80
pshufd xmm0, xmm0, 0xff
pxor xmm2, xmm0
movaps xmm1, xmm2
movups xmmword [eax + 0x80], xmm2
pslldq xmm1, 4
movaps xmm0, xmm1
pslldq xmm1, 4
pxor xmm0, xmm2
movaps xmm3, xmm1
pxor xmm3, xmm0
pslldq xmm1, 4
aeskeygenassist xmm0, xmm2, 0x1b
pxor xmm3, xmm1
pshufd xmm0, xmm0, 0xff
pxor xmm3, xmm0
movaps xmm2, xmm3
movups xmmword [eax + 0x90], xmm3
pslldq xmm2, 4
movaps xmm0, xmm2
pslldq xmm2, 4
pxor xmm0, xmm3
movaps xmm1, xmm2
pxor xmm1, xmm0
pslldq xmm2, 4
aeskeygenassist xmm0, xmm3, 0x36
pxor xmm1, xmm2
pshufd xmm0, xmm0, 0xff
pxor xmm1, xmm0
movups xmmword [eax + 0xa0], xmm1
ret
Function at 0x100b61a0
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
sub esp, 0x12c
mov eax, dword [0x1021e964]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
mov ebx, dword [esp + 0x134]
push ebp
push esi
push edi
movups xmm0, xmmword [ebx + 0x2c]
mov eax, dword [ebx + 0xc]
mov ebp, 0x30
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x14]
movups xmmword [esp + 0x38], xmm0
mov dword [esp + 0x10], eax
movups xmm0, xmmword [ebx + 0x3c]
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x1c]
movups xmmword [esp + 0x48], xmm0
mov dword [esp + 0x24], eax
movups xmm0, xmmword [ebx + 0x4c]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x24]
movups xmmword [esp + 0x58], xmm0
mov dword [esp + 0x18], eax
movups xmm0, xmmword [ebx + 0x5c]
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x34], ebx
movups xmmword [esp + 0x68], xmm0
nop dword [eax]
mov edx, dword [eax]
lea eax, [eax + 4]
mov esi, dword [eax - 0x38]
mov edi, edx
mov ecx, edx
rol edi, 0xf
rol ecx, 0xd
xor edi, ecx
shr edx, 0xa
xor edi, edx
mov ecx, esi
mov edx, esi
ror ecx, 7
rol edx, 0xe
xor edx, ecx
shr esi, 3
xor edx, esi
add edi, edx
add edi, dword [eax - 0x3c]
add edi, dword [eax - 0x18]
mov dword [eax + 4], edi
sub ebp, 1
jne 0x100b6230
mov ebp, dword [esp + 0x2c]
xor edi, edi
mov ebx, dword [esp + 0x24]
mov esi, ebx
mov eax, ebx
rol eax, 7
mov ecx, ebx
ror esi, 0xb
not ecx
and ecx, dword [esp + 0x18]
xor esi, eax
mov eax, ebx
mov edx, ebp
ror eax, 6
xor esi, eax
ror edx, 0xd
mov eax, dword [esp + 0x14]
and eax, ebx
or ecx, eax
mov eax, ebp
rol eax, 0xa
add esi, ecx
add esi, dword [edi + 0x100129d0]
xor edx, eax
add esi, dword [esp + edi + 0x38]
mov eax, ebp
add esi, dword [esp + 0x28]
add edi, 4
ror eax, 2
xor edx, eax
mov eax, dword [esp + 0x1c]
mov ecx, eax
and eax, ebp
or ecx, ebp
and ecx, dword [esp + 0x10]
or ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], eax
add edx, ecx
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
lea ebp, [edx + esi]
mov eax, dword [esp + 0x10]
add ebx, esi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ecx
cmp edi, 0x100
jb 0x100b6274
mov eax, dword [esp + 0x30]
add eax, ebp
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
add dword [ebx + 0x10], ecx
mov ecx, dword [esp + 0x12c]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 4]
add dword [ebx + 0x14], eax
mov eax, dword [esp + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [esp + 0x18]
add dword [ebx + 0x1c], eax
mov eax, dword [esp + 8]
add dword [ebx + 0x20], eax
mov eax, dword [esp + 0xc]
add dword [ebx + 0x24], eax
mov eax, dword [esp + 0x1c]
add dword [ebx + 0x28], eax
pop ebx
xor ecx, esp
call fcn.1018d760
add esp, 0x12c
ret
Function at 0x100d6720
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c0435
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1021e964]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov al, byte [ecx]
xorps xmm0, xmm0
mov esi, dword [ebp + 8]
xor edx, edx
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x24], al
xor edi, edi
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
cmp eax, ecx
je 0x100d67a8
mov esi, ecx
lea ecx, [ebp - 0x24]
sub esi, eax
push esi
call fcn.100607f0
mov edi, dword [ebp - 0x20]
push esi
mov esi, dword [ebp - 0x28]
push esi
push edi
call fcn.101a3c10
mov edx, dword [ebp - 0x20]
sub edi, esi
mov esi, dword [ebp - 0x30]
add esp, 0xc
add edi, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 1
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
mov ecx, dword [ecx + 0x10]
mov eax, ecx
not eax
add eax, eax
xor eax, ecx
xor ecx, ecx
mov dword [ebp - 0x14], eax
sub edi, edx
je 0x100d67e5
mov eax, ecx
and eax, 3
mov al, byte [ebp + eax - 0x14]
xor byte [edx + ecx], al
inc ecx
cmp ecx, edi
jb 0x100d67d4
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x100d687f
mov eax, dword [ecx]
lea edx, [ebp - 0x24]
push edx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
sub ecx, eax
je 0x100d6811
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x100d6803
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x100d685d
mov esi, dword [ebp - 0x18]
sub esi, eax
mov edx, esi
je 0x100d6832
mov ecx, eax
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub edx, 1
jne 0x100d6827
mov dword [ebp - 4], 2
cmp esi, 0x1000
jb 0x100d6853
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d687a
mov eax, ecx
push esi
push eax
call fcn.1018d246
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1018d760
mov esp, ebp
pop ebp
ret 4
call fcn.100be3b4
call fcn.1018e80d
int3
Function at 0x100d6de0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c0534
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x1021e964]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0xebc], 0
lea esi, [edi + 0xebc]
jne 0x100d6ed9
mov dword [ebp - 0x14], 0
call fcn.100d82b0
push eax
lea ecx, [ebp - 0x14]
call fcn.100ad400
cmp byte [esi], 0
mov dword [ebp - 4], 0
jne 0x100d6ed1
cmp dword [edi + 0xec0], 0
jne 0x100d6e79
push 4
call fcn.1018d216
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x100d6e71
mov ecx, eax
mov dword [eax], 0
call fcn.100ad3d0
jmp 0x100d6e73
xor eax, eax
mov dword [edi + 0xec0], eax
mov dword [ebp - 0x18], esi
mov ecx, edi
mov byte [ebp - 4], 2
mov byte [0x1021be50], 0xf0
call fcn.100f0800
test al, al
jne 0x100d6ea1
lea ecx, [ebp - 0x14]
mov byte [esi], 1
call fcn.100ad470
xor al, al
jmp 0x100d6edb
mov ecx, edi
mov dword [ebp - 4], 2
call fcn.100d7040
call fcn.100ff1c0
test al, al
jne 0x100d6ec0
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0
call fcn.100fddb0
mov ecx, eax
call fcn.100ff0b0
mov byte [esi], 1
lea ecx, [ebp - 0x14]
call fcn.100ad470
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1018d760
mov esp, ebp
pop ebp
ret

Function at 0x100e93d0
Capabilities:
Read file via mapping

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, ecx
push dword [esp + 0xc]
call fcn.100e9410
mov ecx, dword [esi + 0x18]
cmp ecx, 0xffffffff
je 0x100e9406
push 0
push 0
push 0
push 6
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
jne 0x100e9401
xor al, al
pop esi
ret 8
mov dword [esi + 0x14], eax
mov al, 1
pop esi
ret 8

Function at 0x100e98e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c30c0
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x1021e964]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
mov dword [edi], 0x10021574
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov byte [edi + 0x14], 1
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0xf
mov byte [edi + 0x1c], 0
mov dword [edi + 0x18], 0x10010c40
lea esi, [edi + 0x34]
mov dword [ebp - 4], 0
push 0x48
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1018d216
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, edi
mov dword [edi + 0x3c], fcn.10049c40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100e9d60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c31a0
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x1021e964]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [edi], 0x10021580
mov esi, dword [edi + 0x74]
cmp esi, dword [edi + 0x78]
je 0x100e9dac
mov ecx, dword [esi]
test ecx, ecx
je 0x100e9da1
mov eax, dword [ecx]
push 1
call dword [eax]
add esi, 4
cmp esi, dword [edi + 0x78]
jne 0x100e9d95
mov esi, dword [edi + 0x74]
lea ecx, [edi + 0x74]
mov dword [edi + 0x78], esi
call fcn.10043320
mov dword [edi + 0x58], 0x10010c38
mov ecx, dword [edi + 0x70]
cmp ecx, 0x10
jb 0x100e9e00
mov eax, dword [edi + 0x5c]
inc ecx
mov dword [ebp - 4], 0
cmp ecx, 0x1000
jb 0x100e9def
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e9f2a
mov eax, edx
push ecx
push eax
call fcn.1018d246
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0xf
mov byte [edi + 0x5c], 0
mov dword [edi + 0x3c], 0x10010c38
mov ecx, dword [edi + 0x54]
cmp ecx, 0x10
jb 0x100e9e5b
mov eax, dword [edi + 0x40]
inc ecx
mov dword [ebp - 4], 1
cmp ecx, 0x1000
jb 0x100e9e4a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e9f2a
mov eax, edx
push ecx
push eax
call fcn.1018d246
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0xf
mov byte [edi + 0x40], 0
mov dword [edi + 0x20], 0x10010c38
mov ecx, dword [edi + 0x38]
cmp ecx, 0x10
jb 0x100e9eb6
mov eax, dword [edi + 0x24]
inc ecx
mov dword [ebp - 4], 2
cmp ecx, 0x1000
jb 0x100e9ea5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e9f2a
mov eax, edx
push ecx
push eax
call fcn.1018d246
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0xf
mov byte [edi + 0x24], 0
mov dword [edi + 4], 0x10010c38
mov ecx, dword [edi + 0x1c]
cmp ecx, 0x10
jb 0x100e9f06
mov eax, dword [edi + 8]
inc ecx
mov dword [ebp - 4], 3
cmp ecx, 0x1000
jb 0x100e9efc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e9f2a
mov eax, edx
push ecx
push eax
call fcn.1018d246
add esp, 8
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0xf
mov byte [edi + 8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.100be3b4
int3
Function at 0x100f5bd0
Capabilities:
Get session user name

Disassembly:
push ebp
lea ebp, [esp - 0x134]
sub esp, 0x134
push 0xffffffffffffffff
push 0x101c4206
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x1021e964]
xor eax, ebp
mov dword [ebp + 0x130], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x13c]
mov dword [ebp - 0x10], 0
xorps xmm0, xmm0
mov dword [ebp - 4], 0
lea ecx, [ebp + 4]
movq qword [ebp + 4], xmm0
mov dword [ebp + 0xc], 0
call fcn.100a8f40
push 0x101
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x10], 1
push 0
push eax
call fcn.101a4190
add esp, 0xc
mov dword [ebp], 0x101
lea eax, [ebp]
push eax
lea eax, [ebp + 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x100f5ced
mov eax, dword [ebp]
dec eax
mov dword [ebp + 0x24], 0
mov dword [ebp + 0x28], 0xf
mov byte [ebp + 0x14], 0
push eax
lea eax, [ebp + 0x2c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 0x10010c38
call fcn.100a1fd0
lea eax, [ebp + 4]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp + 0x10]
call fcn.100a32b0
mov edx, dword [ebp + 0x28]
mov byte [ebp - 4], 0
mov dword [ebp + 0x10], 0x10010c38
cmp edx, 0x10
jb 0x100f5ced
mov ecx, dword [ebp + 0x14]
inc edx
mov eax, ecx
mov byte [ebp - 4], 3
cmp edx, 0x1000
jb 0x100f5cdf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f5d9c
push edx
push ecx
call fcn.1018d246
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp + 4]
call fcn.100a9020
mov edx, eax
mov dword [ebp + 0x24], 0
mov ecx, edx
mov dword [ebp + 0x28], 0xf
mov byte [ebp + 0x14], 0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100f5d10
sub ecx, esi
push ecx
push edx
lea ecx, [ebp + 0x14]
call fcn.1004a870
lea eax, [ebp + 0x14]
mov byte [ebp - 4], 4
push eax
lea eax, [edi + 0x1d0]
push eax
call fcn.101340e0
mov edx, dword [ebp + 0x28]
add esp, 8
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x100f5d72
mov ecx, dword [ebp + 0x14]
inc edx
mov eax, ecx
mov byte [ebp - 4], 5
cmp edx, 0x1000
jb 0x100f5d68
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f5da1
push edx
push ecx
call fcn.1018d246
add esp, 8
lea ecx, [ebp + 4]
call fcn.10043210
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x130]
xor ecx, ebp
call fcn.1018d760
lea esp, [ebp + 0x134]
pop ebp
ret
call fcn.100be3b4
call fcn.100be3b4
int3