joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10018e70
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor edx, eax
movzx eax, byte [esi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [esi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
push esi
lea eax, [ebp - 8]
push eax
call fcn.10010330
mov eax, dword [ebp - 4]
pop edi
pop esi
test eax, eax
je 0x10018ece
add eax, 0x10
mov esp, ebp
pop ebp
ret 4
push str.invalid_unordered_map_K__T__key
call fcn.1001c6b5
int3

Function at 0x1001a6c0
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
lea edx, [ebp + 0x14]
sub esp, 0x40
push ebx
push esi
push edi
test ecx, ecx
jle 0x1001a6e8
mov eax, dword [ebp + 0x14]
lea edx, [ebp + 0x1c]
dec ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x10], ecx
mov dword [ebp - 0xc], eax
jmp 0x1001a6f0
xorps xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
test ecx, ecx
jle 0x1001a709
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x14], eax
jmp 0x1001a711
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
test ecx, ecx
jle 0x1001a72a
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x1c], eax
jmp 0x1001a732
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
test ecx, ecx
jle 0x1001a74b
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x24], eax
jmp 0x1001a753
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov eax, edx
mov dword [ebp - 4], 0
cdq
xorps xmm0, xmm0
mov dword [ebp - 0x40], eax
mov eax, ecx
mov dword [ebp - 0x3c], edx
cdq
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 8], 0
mov word [ebp - 8], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 4], esp
and esp, 0xfffffff0
push 0x33
call 0x1001a794
add dword [esp], 5
retf
Function at 0x1001aa80
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003a6b5
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x10049100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp + 8]
cmp edi, dword [ebp + 0xc]
je 0x1001ac5a
nop dword [eax]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.1001aa10
cmp dword [ebp - 0x1c], 0
jne 0x1001ac4b
cmp dword [ebx + 8], 0x15555555
je 0x1001ac6e
lea eax, [ebx + 4]
mov dword [ebp - 0x28], eax
push 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
call fcn.1001dd3b
mov cx, word [edi]
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov word [esi + 8], cx
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0x1c]
inc ecx
mov dword [ebp - 0x14], eax
movss xmm3, dword [ebx]
mov dword [ebp - 4], 1
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x1003c310]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x1003c310]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x1001abf2
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x30], xmm0
fld qword [ebp - 0x30]
fstp qword [esp]
call fcn.10027c50
fstp qword [ebp - 0x30]
movsd xmm0, qword [ebp - 0x30]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.1001e550
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebp - 0x14]
cmp eax, ecx
jae 0x1001abcb
cmp eax, 0x200
jae 0x1001abc9
shl eax, 3
cmp eax, ecx
jae 0x1001abcb
mov eax, ecx
push eax
mov ecx, ebx
call fcn.1001c050
push dword [ebp - 0x10]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.1001aa10
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
jmp 0x1001abf5
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov edi, dword [ebp - 0x28]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], 0
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0x18]
jne 0x1001ac2d
mov dword [ecx + eax*8], esi
jmp 0x1001ac40
cmp dword [ecx + eax*8], edx
jne 0x1001ac37
mov dword [ecx + eax*8], esi
jmp 0x1001ac44
mov edx, dword [ebp - 0x14]
cmp dword [ecx + eax*8 + 4], edx
jne 0x1001ac44
mov dword [ecx + eax*8 + 4], esi
mov dword [ebp - 4], 0xffffffff
add edi, 2
mov dword [ebp + 8], edi
cmp edi, dword [ebp + 0xc]
jne 0x1001aac0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.1001c695
int3
Function at 0x1001c050
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
push esi
push edi
mov edi, ecx
mov esi, 1
bsr ecx, eax
mov eax, esi
mov dword [ebp - 4], edi
shl eax, cl
cmp edx, eax
ja 0x1001c184
mov ebx, dword [edi + 4]
lea eax, [edx - 1]
or eax, esi
mov dword [ebp - 8], ebx
bsr ecx, eax
push ebx
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [edi + 0xc]
lea eax, [esi + esi]
push eax
call fcn.10017a00
lea eax, [esi - 1]
mov dword [edi + 0x1c], esi
mov dword [edi + 0x18], eax
mov ecx, dword [edi + 4]
mov ecx, dword [ecx]
cmp ecx, ebx
je 0x1001c15f
mov eax, ecx
movzx edx, byte [eax + 8]
mov ecx, dword [ecx]
xor edx, 0x811c9dc5
imul esi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor esi, edx
mov edx, dword [edi + 0xc]
imul esi, esi, 0x1000193
and esi, dword [edi + 0x18]
lea ebx, [edx + esi*8]
mov esi, dword [ebx]
mov dword [ebp + 8], ebx
cmp esi, dword [ebp - 8]
jne 0x1001c0ea
mov dword [ebx], eax
mov dword [ebx + 4], eax
jmp 0x1001c154
mov edx, dword [ebx + 4]
movzx edi, word [eax + 8]
cmp di, word [edx + 8]
jne 0x1001c123
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
cmp edx, eax
je 0x1001c11e
mov edi, dword [eax + 4]
mov ebx, dword [ebp - 0xc]
mov dword [edi], ecx
mov esi, dword [ecx + 4]
mov dword [esi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [ebx + 4], esi
mov ebx, dword [ebp + 8]
mov dword [ecx + 4], edi
mov dword [eax + 4], edx
mov dword [ebx + 4], eax
jmp 0x1001c151
cmp esi, edx
je 0x1001c134
mov edx, dword [edx + 4]
cmp di, word [edx + 8]
je 0x1001c168
cmp esi, edx
jne 0x1001c127
mov ebx, dword [eax + 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov esi, dword [edx + 4]
mov dword [esi], eax
mov dword [edx + 4], edi
mov edx, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], esi
mov dword [edx], eax
mov edi, dword [ebp - 4]
mov eax, ecx
cmp ecx, dword [ebp - 8]
jne 0x1001c0b2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [eax + 4]
mov ebx, dword [edx]
mov dword [edi], ecx
mov esi, dword [ecx + 4]
mov dword [esi], ebx
mov edx, dword [ebx + 4]
mov dword [edx], eax
mov dword [ebx + 4], esi
mov dword [ecx + 4], edi
mov dword [eax + 4], edx
jmp 0x1001c151
push str.invalid_hash_bucket_count
call fcn.1001c695
int3
Function at 0x1001c190
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x1001c238
mov eax, dword [ebx + 0x1c]
shr eax, 3
push esi
cmp eax, ecx
jbe 0x1001c2e0
mov eax, dword [ebx + 4]
mov dword [ebp - 4], eax
mov edx, dword [eax]
mov dword [ebp - 0x14], edx
cmp edx, eax
je 0x1001c237
mov eax, dword [edx + 4]
mov esi, edx
mov dword [ebp - 8], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
push edi
mov edi, dword [ebx + 0xc]
mov dword [ebp - 0x1c], edi
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [edi + eax*8]
mov dword [ebp - 0x10], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0xc
push eax
call fcn.1001dd6b
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [ebp - 0x18]
je 0x1001c23d
cmp esi, dword [ebp - 4]
jne 0x1001c203
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jne 0x1001c22e
mov ecx, dword [ebp - 0xc]
mov dword [ecx], esi
mov eax, dword [ebp - 8]
pop edi
mov dword [eax], esi
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
jne 0x1001c251
mov dword [ecx], edx
mov eax, edx
jmp 0x1001c254
mov eax, dword [ebp - 8]
mov dword [ecx + 4], eax
cmp esi, edx
je 0x1001c22e
nop dword [eax + eax]
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax*8]
mov dword [ebp - 0x14], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
nop
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0xc
push eax
call fcn.1001dd6b
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [ebp - 0x18]
je 0x1001c2c2
cmp esi, dword [ebp - 4]
jne 0x1001c290
mov eax, dword [ebp - 0x14]
pop edi
mov dword [eax], esi
mov eax, dword [ebp - 8]
mov dword [eax], esi
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov dword [eax], edx
mov dword [eax + 4], edx
cmp esi, edx
jne 0x1001c260
mov eax, dword [ebp - 8]
pop edi
mov dword [eax], esi
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 4]
mov dword [eax], 0
mov eax, dword [ecx]
test eax, eax
je 0x1001c305
mov esi, dword [eax]
push 0xc
push eax
call fcn.1001dd6b
add esp, 8
mov eax, esi
test esi, esi
jne 0x1001c2f2
mov eax, dword [ebx + 4]
mov dword [eax], eax
mov eax, dword [ebx + 4]
mov dword [eax + 4], eax
mov dword [ebx + 8], 0
mov eax, dword [ebx + 4]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebx + 0x10]
push dword [ebx + 0xc]
call fcn.10010c90
add esp, 0xc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002dd45
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10040724
push 0x1004071c
push str.FlsAlloc
push 0x1e
call fcn.1002dbcf
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002dd79
push dword [ebp + 8]
mov ecx, esi
call dword [0x1003b1cc]
call esi
jmp 0x1002dd7f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1002ddc3
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10040734
push 0x1004072c
push str.FlsGetValue
push 0x20
call fcn.1002dbcf
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002ddfa
push dword [ebp + 8]
mov ecx, esi
call dword [0x1003b1cc]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x10030d00
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10030d9d
push ebx
push esi
call fcn.10030cc9
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1002fc0e
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10030d4a
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10030d9c
push edi
push eax
call fcn.1002c7b2
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10030d6a
call fcn.1002c778
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10030d9b
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1002fc0e
add esp, 0x20
test eax, eax
jne 0x10030d89
push edi
call fcn.1002c778
jmp 0x10030d91
push ebx
call fcn.1002c778
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x10038770
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1003879d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1003879d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x3132c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x24
mov eax, dword [ecx + 4]
push ebx
push esi
mov dword [esp + 0x14], edx
lea esi, [ecx + 4]
mov edx, dword [ecx]
add esi, 4
xor eax, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
push edi
movd xmm0, edx
mov edi, eax
pshufd xmm0, xmm0, 0
movdqa xmmword [esp + 0x20], xmm0
test al, 3
je 0x313300
and edi, 0xfffffffc
add edi, 4
mov eax, dword [0x31dbf8]
test eax, eax
jne 0x313324
mov ecx, 0xa028f2a0
call fcn.00313ed0
mov edx, 0x704a030e
mov ecx, eax
call fcn.00313e30
mov dword [0x31dbf8], eax
call eax
mov ebx, eax
mov eax, dword [0x31dd60]
test eax, eax
jne 0x31334c
mov ecx, 0xa028f2a0
call fcn.00313ed0
mov edx, 0x9016bda2
mov ecx, eax
call fcn.00313e30
mov dword [0x31dd60], eax
push edi
push 8
push ebx
call eax
mov dword [esp + 0xc], eax
test eax, eax
je 0x313402
shr edi, 2
xor edx, edx
lea ecx, [esi + edi*4]
mov edi, eax
mov ebx, ecx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, ecx
mov ecx, eax
cmova ebx, edx
test ebx, ebx
je 0x3133f2
cmp ebx, 8
jb 0x3133d7
lea eax, [esi - 4]
lea eax, [eax + ebx*4]
cmp ecx, eax
ja 0x313396
lea eax, [ecx - 4]
lea eax, [eax + ebx*4]
cmp eax, esi
jae 0x3133d7
movdqa xmm1, xmmword [esp + 0x20]
mov eax, ebx
and eax, 7
mov dword [esp + 0xc], ebx
sub dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
lea ecx, [ecx]
movdqu xmm0, xmmword [esi]
add edx, 8
pxor xmm0, xmm1
movdqu xmmword [edi], xmm0
movdqu xmm0, xmmword [esi + 0x10]
add esi, 0x20
pxor xmm0, xmm1
movdqu xmmword [edi + 0x10], xmm0
add edi, 0x20
cmp edx, eax
jb 0x3133b0
cmp edx, ebx
jae 0x3133f2
sub edi, esi
lea ecx, [ecx]
mov eax, dword [esi]
lea esi, [esi + 4]
xor eax, dword [esp + 0x14]
inc edx
mov dword [edi + esi - 4], eax
cmp edx, ebx
jb 0x3133e0
mov edx, dword [esp + 0x18]
test edx, edx
je 0x313400
mov eax, dword [esp + 0x1c]
mov dword [edx], eax
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x313470
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
xor eax, edx
push ebx
push esi
lea esi, [ecx + 4]
mov dword [esp + 8], edx
lea ebx, [eax + 1]
mov dword [esp + 0x10], eax
add esi, 4
push edi
test bl, 3
je 0x313499
and ebx, 0xfffffffc
add ebx, 4
mov eax, dword [0x31dbf8]
test eax, eax
jne 0x3134bd
mov ecx, 0xa028f2a0
call fcn.00313ed0
mov edx, 0x704a030e
mov ecx, eax
call fcn.00313e30
mov dword [0x31dbf8], eax
call eax
mov edi, eax
mov eax, dword [0x31dd60]
test eax, eax
jne 0x3134e5
mov ecx, 0xa028f2a0
call fcn.00313ed0
mov edx, 0x9016bda2
mov ecx, eax
call fcn.00313e30
mov dword [0x31dd60], eax
lea ecx, [ebx + ebx]
push ecx
push 8
push edi
call eax
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
je 0x313565
shr ebx, 2
xor eax, eax
push ebp
xor ebp, ebp
mov edx, edi
lea ecx, [esi + ebx*4]
mov ebx, ecx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, ecx
cmova ebx, eax
test ebx, ebx
je 0x31355a
mov edi, dword [esp + 0x10]
lea esp, [esp]
mov ecx, dword [esi]
lea edx, [edx + 8]
xor ecx, edi
lea esi, [esi + 4]
movzx eax, cl
inc ebp
mov word [edx - 8], ax
mov eax, ecx
shr eax, 8
movzx eax, al
mov word [edx - 6], ax
shr ecx, 0x10
movzx eax, cl
mov word [edx - 4], ax
shr ecx, 8
movzx eax, cl
mov word [edx - 2], ax
cmp ebp, ebx
jb 0x313520
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
xor ecx, ecx
pop ebp
mov word [edi + eax*2], cx
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0xc
ret

Function at 0x313570
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
xor eax, edx
push ebx
push ebp
push esi
lea esi, [ecx + 4]
mov dword [esp + 0xc], edx
lea ebx, [eax + 1]
mov dword [esp + 0x14], eax
add esi, 4
push edi
test bl, 3
je 0x31359a
and ebx, 0xfffffffc
add ebx, 4
mov eax, dword [0x31dbf8]
test eax, eax
jne 0x3135be
mov ecx, 0xa028f2a0
call fcn.00313ed0
mov edx, 0x704a030e
mov ecx, eax
call fcn.00313e30
mov dword [0x31dbf8], eax
call eax
mov edi, eax
mov eax, dword [0x31dd60]
test eax, eax
jne 0x3135e6
mov ecx, 0xa028f2a0
call fcn.00313ed0
mov edx, 0x9016bda2
mov ecx, eax
call fcn.00313e30
mov dword [0x31dd60], eax
push ebx
push 8
push edi
call eax
mov ebp, eax
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x313652
shr ebx, 2
xor eax, eax
xor edi, edi
mov ecx, ebp
lea edx, [esi + ebx*4]
mov ebx, edx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, edx
cmova ebx, eax
test ebx, ebx
je 0x31364a
mov ebp, dword [esp + 0x10]
lea esp, [esp]
mov edx, dword [esi]
lea ecx, [ecx + 4]
xor edx, ebp
lea esi, [esi + 4]
mov byte [ecx - 4], dl
mov eax, edx
shr eax, 8
inc edi
shr edx, 0x10
mov byte [ecx - 3], al
mov byte [ecx - 2], dl
shr edx, 8
mov byte [ecx - 1], dl
cmp edi, ebx
jb 0x313620
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov byte [eax + ebp], 0
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x313b50
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov dword [esp + 4], 0x18e
add dword [esp + 4], 0x8fd9
shl dword [esp + 4], 0xf
add dword [esp + 4], 0xa98
xor dword [esp + 4], 0x48b38a98
mov dword [esp], 0x9208
imul eax, dword [esp], 0x75
push ebx
mov ebx, ecx
mov dword [esp + 4], eax
shr dword [esp + 4], 0xb
or dword [esp + 4], 0x128383aa
imul eax, dword [esp + 4], 0x35
mov dword [esp + 4], eax
add dword [esp + 4], 0xffff3c94
imul eax, dword [esp + 4], 0x6f
mov dword [esp + 4], eax
xor dword [esp + 4], 0x74ad7137
mov dword [esp + 4], 0xeadf
shl dword [esp + 4], 9
shl dword [esp + 4], 0xd
imul eax, dword [esp + 4], 0x5d
mov dword [esp + 4], eax
add dword [esp + 4], 0xd479
imul eax, dword [esp + 4], 0x13
mov dword [esp + 4], eax
xor dword [esp + 4], 0x4e4fc4eb
cmp byte [ebx], 0
je 0x313cb0
push esi
push edi
jmp 0x313c00
mov edi, dword [esp + 0x10]
lea ebx, [ebx + 1]
mov dword [esp + 0xc], 0x9208
imul eax, dword [esp + 0xc], 0x75
mov dword [esp + 0xc], eax
shr dword [esp + 0xc], 0xb
or dword [esp + 0xc], 0x128383aa
imul eax, dword [esp + 0xc], 0x35
mov dword [esp + 0xc], eax
add dword [esp + 0xc], 0xffff3c94
imul eax, dword [esp + 0xc], 0x6f
mov dword [esp + 0xc], eax
xor dword [esp + 0xc], 0x74ad7137
movzx ecx, byte [esp + 0xc]
mov esi, dword [esp + 0x10]
mov dword [esp + 0xc], 0xeadf
shl dword [esp + 0xc], 9
shl dword [esp + 0xc], 0xd
imul eax, dword [esp + 0xc], 0x5d
shl esi, cl
mov dword [esp + 0xc], eax
add dword [esp + 0xc], 0xd479
imul eax, dword [esp + 0xc], 0x13
mov dword [esp + 0xc], eax
xor dword [esp + 0xc], 0x4e4fc4eb
movzx ecx, byte [esp + 0xc]
mov edx, dword [esp + 0x10]
movsx eax, byte [ebx - 1]
mov dword [esp + 0x10], eax
add dword [esp + 0x10], esi
shl edx, cl
add dword [esp + 0x10], edx
sub dword [esp + 0x10], edi
cmp byte [ebx], 0
jne 0x313c00
pop edi
pop esi
mov eax, dword [esp + 8]
pop ebx
add esp, 8
ret
Function at 0x313e30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
mov ebx, ecx
mov dword [esp + 4], edx
push ebp
push esi
push edi
mov eax, dword [ebx + 0x3c]
xor esi, esi
add eax, 0x78
add eax, ebx
mov dword [esp + 0x1c], eax
mov edi, dword [eax]
mov eax, dword [edi + ebx + 0x1c]
add edi, ebx
add eax, ebx
mov dword [esp + 0x18], eax
mov ebp, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
add ebp, ebx
add eax, ebx
mov dword [esp + 0x14], eax
cmp dword [edi + 0x18], esi
jbe 0x313e8c
lea esp, [esp]
mov ecx, dword [ebp + esi*4]
add ecx, ebx
call fcn.00313b50
xor eax, 0x347fecab
cmp eax, dword [esp + 0x10]
je 0x313e96
inc esi
cmp esi, dword [edi + 0x18]
jb 0x313e70
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
movzx eax, word [eax + esi*2]
mov ecx, dword [ecx + eax*4]
add ecx, ebx
cmp ecx, edi
jb 0x313ec4
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
add eax, edi
cmp ecx, eax
jae 0x313ec4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
jmp 0x314090
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x10
ret
sub esp, 0x104
lea edx, [esp]
push esi
mov esi, ecx
push edi
mov al, byte [esi]
test al, al
je 0x3140b6
cmp al, 0x2e
je 0x3140b3
inc esi
mov byte [edx], al
inc edx
mov al, byte [esi]
test al, al
jne 0x3140a3
jmp 0x3140b6
mov byte [edx], 0
mov eax, dword [0x31db14]
test eax, eax
jne 0x3140da
mov ecx, 0xa028f2a0
call fcn.00313ed0
mov edx, 0xc347539c
mov ecx, eax
call fcn.00313e30
mov dword [0x31db14], eax
lea ecx, [esp + 8]
push ecx
call eax
mov edi, eax
test edi, edi
jne 0x314121
mov eax, dword [0x31dcb4]
test eax, eax
jne 0x31410b
mov ecx, 0xa028f2a0
call fcn.00313ed0
mov edx, 0xeb545747
mov ecx, eax
call fcn.00313e30
mov dword [0x31dcb4], eax
lea ecx, [esp + 8]
push ecx
call eax
mov edi, eax
test edi, edi
jne 0x314121
pop edi
pop esi
add esp, 0x104
ret
lea ecx, [esi + 1]
call fcn.00313b50
xor eax, 0x347fecab
mov ecx, edi
mov edx, eax
call fcn.00313e30
pop edi
pop esi
add esp, 0x104
ret
Function at 0x313ed0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
sub esp, 0x10
mov eax, dword fs:[0x30]
mov dword [esp + 0xc], ecx
push ebx
push ebp
mov ecx, dword [eax + 0xc]
add ecx, 0xc
push esi
push edi
mov dword [esp + 0x18], ecx
mov ebp, dword [ecx]
cmp ebp, ecx
je 0x314079
mov edx, dword [ebp + 0x30]
mov dword [esp + 0x14], 0x18e
add dword [esp + 0x14], 0x8fd9
shl dword [esp + 0x14], 0xf
add dword [esp + 0x14], 0xa98
xor dword [esp + 0x14], 0x48b38a98
mov dword [esp + 0x10], 0x9208
imul eax, dword [esp + 0x10], 0x75
mov dword [esp + 0x10], eax
shr dword [esp + 0x10], 0xb
or dword [esp + 0x10], 0x128383aa
imul eax, dword [esp + 0x10], 0x35
mov dword [esp + 0x10], eax
add dword [esp + 0x10], 0xffff3c94
imul eax, dword [esp + 0x10], 0x6f
mov dword [esp + 0x10], eax
xor dword [esp + 0x10], 0x74ad7137
mov dword [esp + 0x10], 0xeadf
shl dword [esp + 0x10], 9
shl dword [esp + 0x10], 0xd
imul eax, dword [esp + 0x10], 0x5d
mov dword [esp + 0x10], eax
add dword [esp + 0x10], 0xd479
imul eax, dword [esp + 0x10], 0x13
mov dword [esp + 0x10], eax
xor dword [esp + 0x10], 0x4e4fc4eb
cmp word [edx], 0
je 0x31405f
jmp 0x313fa0
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x10], 0x9208
imul eax, dword [esp + 0x10], 0x75
mov dword [esp + 0x10], eax
shr dword [esp + 0x10], 0xb
or dword [esp + 0x10], 0x128383aa
imul eax, dword [esp + 0x10], 0x35
mov dword [esp + 0x10], eax
add dword [esp + 0x10], 0xffff3c94
imul eax, dword [esp + 0x10], 0x6f
mov dword [esp + 0x10], eax
xor dword [esp + 0x10], 0x74ad7137
movzx ecx, byte [esp + 0x10]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], 0xeadf
shl dword [esp + 0x10], 9
shl dword [esp + 0x10], 0xd
imul eax, dword [esp + 0x10], 0x5d
shl esi, cl
mov dword [esp + 0x10], eax
add dword [esp + 0x10], 0xd479
imul eax, dword [esp + 0x10], 0x13
mov dword [esp + 0x10], eax
xor dword [esp + 0x10], 0x4e4fc4eb
movzx ecx, byte [esp + 0x10]
mov edi, dword [esp + 0x14]
movzx eax, word [edx]
shl edi, cl
cmp eax, 0x41
jb 0x31403e
cmp eax, 0x5a
ja 0x31403e
add eax, 0x20
mov dword [esp + 0x14], eax
add edx, 2
add dword [esp + 0x14], esi
add dword [esp + 0x14], edi
sub dword [esp + 0x14], ebx
cmp word [edx], 0
jne 0x313fa0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
xor eax, 0x2f5614d2
cmp eax, dword [esp + 0x1c]
je 0x314083
mov ebp, dword [ebp]
cmp ebp, ecx
jne 0x313ef5
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret