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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x100c6040]
xor eax, esp
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
cmp dword [eax + 0x18], 0xf
lea esi, [eax + 4]
push edi
mov edi, dword [eax + 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
jbe 0x1004f7b3
mov esi, dword [esi]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x1004f7d1
nop
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x1004f7c0
cmp dword [ebx + 4], 0
mov dword [esp + 0x5c], edx
mov dword [esp + 0xc], 0
jle 0x1004f928
xor ecx, ecx
mov dword [esp + 0x10], ecx
nop dword [eax]
mov ebx, dword [ebx]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x1004f817
cmp dword [ecx + 4], 0
jle 0x1004f817
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp + 0x10]
push eax
push ecx
push dword [esp + 0x1c]
mov ecx, 0x100f1178
call fcn.1004f780
mov edi, dword [ebx]
mov esi, 0x811c9dc5
xor eax, eax
inc eax
cmp byte [edi + eax], 0
jne 0x1004f820
xor edx, edx
test eax, eax
je 0x1004f841
nop dword [eax]
movsx ecx, byte [edi + edx]
inc edx
xor ecx, esi
imul esi, ecx, 0x1000193
cmp edx, eax
jb 0x1004f830
lea eax, [esp + 0x5c]
mov dword [esp + 0x60], esi
push eax
lea eax, [esp + 0x20]
mov ecx, 0x100f11a0
push eax
call fcn.1007ac00
mov ecx, dword [eax]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x28]
add ecx, 0xc
push eax
call fcn.1007a9a0
mov eax, dword [eax]
cmp dword [eax + 0x14], 0
jne 0x1004f907
lea eax, [esp + 0x5c]
mov ecx, 0x100f11a0
push eax
lea eax, [esp + 0x30]
push eax
call fcn.1007ac00
mov ecx, dword [eax]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x38]
add ecx, 0xc
push eax
call fcn.1007a9a0
mov ecx, 0x100f11a0
mov eax, dword [eax]
mov byte [eax + 0xc], 0
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.1007ac00
mov ecx, dword [eax]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x48]
add ecx, 0xc
push eax
call fcn.1007a9a0
mov ecx, 0x100f11a0
mov eax, dword [eax]
mov dword [eax + 0x10], ebx
lea eax, [esp + 0x5c]
mov esi, dword [ebx + 0x2c]
add esi, dword [ebp + 0x10]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.1007ac00
mov ecx, dword [eax]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x58]
add ecx, 0xc
push eax
call fcn.1007a9a0
mov eax, dword [eax]
mov dword [eax + 0x14], esi
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
inc eax
mov ecx, dword [esp + 0x10]
add ecx, 0x3c
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
cmp eax, dword [ebx + 4]
jl 0x1004f7f0
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100a6b20
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1004faf0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100c6040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x1004fc60
push ebx
mov ebx, dword [eax + 2]
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x1004fc5f
lea eax, [ebx - 4]
test eax, eax
je 0x1004fc5f
mov ecx, dword [ebx]
test ecx, ecx
je 0x1004fc5f
cmp ecx, 0xc8
jg 0x1004fc5f
cmp dword [eax], 0
je 0x1004fc5f
push esi
mov esi, dword [eax + 8]
test esi, esi
je 0x1004fc5e
push edi
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x1004fb58
xor edx, edx
test ecx, ecx
je 0x1004fb76
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1004fb65
mov dword [ebp - 8], edi
cmp dword [ebx], 0
mov dword [ebp - 0x18], 0
jle 0x1004fc5d
xor esi, esi
mov eax, ebx
mov dword [ebp - 0x14], esi
mov ebx, dword [eax - 4]
add ebx, esi
mov esi, dword [ebx + 4]
test esi, esi
je 0x1004fc45
mov edi, 0x811c9dc5
xor eax, eax
inc eax
cmp byte [esi + eax], 0
jne 0x1004fba7
xor edx, edx
test eax, eax
je 0x1004fbc5
movsx ecx, byte [esi + edx]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, eax
jb 0x1004fbb4
lea eax, [ebp - 8]
mov dword [ebp - 0xc], edi
push eax
mov ecx, 0x100f11a0
call fcn.10079b20
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.10079b00
cmp dword [eax + 8], 0
jne 0x1004fc42
lea eax, [ebp - 8]
mov ecx, 0x100f11a0
push eax
call fcn.10079b20
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.10079b00
mov ecx, 0x100f11a0
mov byte [eax], 1
lea eax, [ebp - 8]
mov esi, dword [ebx + 8]
push eax
call fcn.10079b20
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.10079b00
mov ecx, 0x100f11a0
mov dword [eax + 8], esi
lea eax, [ebp - 8]
push eax
call fcn.10079b20
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.10079b00
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
inc ebx
add esi, 0x3c
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], esi
cmp ebx, dword [eax]
jl 0x1004fb90
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a6b20
mov esp, ebp
pop ebp
ret 4
Function at 0x1007a460
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100af79d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x100c6040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push 8
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.100a6b50
lea ecx, [ebp - 0x2c]
xor edx, edx
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x2c], eax
mov dword [eax], ecx
mov eax, 0xf
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x28], dl
mov dword [ebp - 4], 1
mov edi, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x40], ecx
cmp edi, ecx
je 0x1007a5dc
nop word [eax + eax]
lea ecx, [ebp - 0x2c]
cmp ecx, edi
je 0x1007a524
cmp dword [edi + 0x18], 0xf
lea eax, [edi + 4]
jbe 0x1007a512
mov eax, dword [eax]
push dword [edi + 0x14]
lea ecx, [ebp - 0x2c]
push eax
call fcn.100295f0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
lea ecx, [edx - 3]
cmp ecx, edx
ja 0x1007a53f
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmova eax, dword [ebp - 0x28]
mov byte [eax + ecx], 0
jmp 0x1007a581
mov edi, ecx
sub eax, edx
sub edi, edx
cmp edi, eax
ja 0x1007a56b
cmp dword [ebp - 0x14], 0xf
lea esi, [ebp - 0x28]
push edi
cmova esi, dword [ebp - 0x28]
add esi, edx
mov dword [ebp - 0x18], ecx
push 0
push esi
call sub.VCRUNTIME140D.dll_memset
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x1007a57e
push 0
push edi
mov byte [ebp - 0x38], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x38]
push edi
call fcn.10032520
mov edi, dword [ebp - 0x30]
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, 0x811c9dc5
cmova eax, dword [ebp - 0x28]
xor ecx, ecx
test edx, edx
je 0x1007a5b4
mov edi, eax
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x1007a5a0
mov edi, dword [ebp - 0x30]
cmp esi, dword [ebp + 8]
jne 0x1007a5c4
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x1007a5d7
dec eax
mov dword [ebp - 0x34], eax
add edi, 0x20
mov dword [ebp - 0x30], edi
cmp edi, dword [ebp - 0x40]
je 0x1007a5dc
mov eax, dword [ebp - 0x14]
jmp 0x1007a500
mov esi, dword [edi + 0x1c]
jmp 0x1007a5de
xor esi, esi
lea ecx, [ebp - 0x2c]
call fcn.10024510
mov ecx, dword [ebp - 0x2c]
push 8
push ecx
mov dword [ebp - 0x2c], 0
call fcn.100a73c0
add esp, 8
mov eax, esi
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.100a6b20
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1007a620
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100af79d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x100c6040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x34], 1
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push 8
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.100a6b50
lea ecx, [ebp - 0x2c]
xor edx, edx
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x2c], eax
mov dword [eax], ecx
mov eax, 0xf
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x28], dl
mov dword [ebp - 4], 1
mov edi, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x40], ecx
cmp edi, ecx
je 0x1007a79c
nop word [eax + eax]
lea ecx, [ebp - 0x2c]
cmp ecx, edi
je 0x1007a6e4
cmp dword [edi + 0x18], 0xf
lea eax, [edi + 4]
jbe 0x1007a6d2
mov eax, dword [eax]
push dword [edi + 0x14]
lea ecx, [ebp - 0x2c]
push eax
call fcn.100295f0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
lea ecx, [edx - 3]
cmp ecx, edx
ja 0x1007a6ff
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmova eax, dword [ebp - 0x28]
mov byte [eax + ecx], 0
jmp 0x1007a741
mov edi, ecx
sub eax, edx
sub edi, edx
cmp edi, eax
ja 0x1007a72b
cmp dword [ebp - 0x14], 0xf
lea esi, [ebp - 0x28]
push edi
cmova esi, dword [ebp - 0x28]
add esi, edx
mov dword [ebp - 0x18], ecx
push 0
push esi
call sub.VCRUNTIME140D.dll_memset
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x1007a73e
push 0
push edi
mov byte [ebp - 0x38], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x38]
push edi
call fcn.10032520
mov edi, dword [ebp - 0x30]
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, 0x811c9dc5
cmova eax, dword [ebp - 0x28]
xor ecx, ecx
test edx, edx
je 0x1007a774
mov edi, eax
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x1007a760
mov edi, dword [ebp - 0x30]
cmp esi, dword [ebp + 8]
jne 0x1007a784
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x1007a797
dec eax
mov dword [ebp - 0x34], eax
add edi, 0x20
mov dword [ebp - 0x30], edi
cmp edi, dword [ebp - 0x40]
je 0x1007a79c
mov eax, dword [ebp - 0x14]
jmp 0x1007a6c0
mov esi, dword [edi + 0x1c]
jmp 0x1007a79e
xor esi, esi
lea ecx, [ebp - 0x2c]
call fcn.10024510
mov ecx, dword [ebp - 0x2c]
push 8
push ecx
mov dword [ebp - 0x2c], 0
call fcn.100a73c0
add esp, 8
mov eax, esi
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.100a6b20
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1007b1c0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 8], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
jbe 0x1007b1f1
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140D.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
mov esi, dword [ebx + 8]
or eax, 1
mov dword [ebp - 0xc], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0x10]
lea eax, [edi + edi]
push eax
call fcn.10031c70
lea eax, [edi - 1]
mov dword [ebx + 0x24], edi
mov dword [ebx + 0x20], eax
mov eax, dword [ebx + 8]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x1007b2fc
nop word [eax + eax]
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x20]
and edi, edx
mov edx, dword [ebx + 0x14]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 0x10], edx
cmp edi, esi
jne 0x1007b281
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x1007b2f2
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x1007b2bb
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x1007b2b3
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], eax
jmp 0x1007b2ef
cmp edi, edx
je 0x1007b2cc
nop
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x1007b305
cmp edi, edx
jne 0x1007b2c0
mov ebx, dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 8]
mov eax, ecx
cmp ecx, esi
jne 0x1007b230
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x1007b2ef
Function at 0x10090d80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x10090f11
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x280]
call eax
test al, al
je 0x10090f11
mov eax, dword [0x100eb1d0]
cmp dword [eax + 0x174], 0xffffffff
je 0x10090f11
mov eax, dword [0x100eb460]
add eax, 0xffffff91
xor eax, 0xb8e34a12
cmp dword [eax + ebx], 0
mov eax, dword [0x100eb428]
setle cl
add eax, 0xffffff9f
xor eax, 0xb8e34a04
xor edi, edi
mov byte [eax + ebx], cl
mov eax, dword [0x100eb41c]
add eax, 0xffffffa2
xor eax, 0xb8e34a01
mov dword [eax + ebx + 0xc], 0
mov eax, dword [0x100eb420]
add eax, 0xffffffa1
xor eax, 0xb8e34a02
mov dword [eax + ebx + 0xc], 0
mov ecx, dword [0x100eb424]
lea eax, [ecx - 0x60]
xor eax, 0xb8e34a03
mov edx, dword [eax + ebx + 0xc]
mov dword [ebp - 4], edx
test edx, edx
je 0x10090e6e
lea eax, [ecx - 0x60]
xor eax, 0xb8e34a03
mov eax, dword [eax + ebx]
mov esi, dword [eax + edi*4]
lea ebx, [eax + edi*4]
test esi, esi
je 0x10090e66
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x10090e5a
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
test al, al
je 0x10090e57
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov edx, dword [ebp - 4]
mov dword [ebx], 0
mov ecx, dword [0x100eb424]
mov ebx, dword [ebp + 8]
inc edi
cmp edi, edx
jb 0x10090e23
lea eax, [ecx - 0x60]
xor eax, 0xb8e34a03
lea ecx, [ebx + 8]
push 0
mov dword [eax + ebx + 0xc], 0
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x1c]
call eax
mov eax, dword [ebx + 8]
lea ecx, [ebx + 8]
push 0
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [0x100eb1e4]
xor ebx, ebx
mov dword [ebp - 4], ecx
mov eax, dword [ecx + 0x28]
mov dword [ebp - 8], eax
test eax, eax
je 0x10090f02
nop dword [eax]
mov eax, dword [ecx + 0x1c]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov esi, eax
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x10090ec6
xor edx, edx
test ecx, ecx
je 0x10090eec
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10090ed3
cmp edi, 0x79705c5e
je 0x10090ef7
inc ebx
cmp ebx, dword [ebp - 8]
jae 0x10090f02
mov ecx, dword [ebp - 4]
jmp 0x10090eb0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + ebx*4]
jmp 0x10090f04
xor ecx, ecx
push 0
push dword [ebp + 8]
push 0
call dword [0x100eb2b4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x401651
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4016a7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4016a7
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 8]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x401699
cmp esi, ecx
jae 0x4016a7
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x401687
cmp esi, ecx
jae 0x4016a7
cmp word [esi], 0
je 0x4016a7
mov eax, esi
jmp 0x4016a9
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x401f08
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push ecx
lea ecx, [ebp - 0xc]
mov dword [ebp - 4], edx
mov edi, 0x80070003
call fcn.00401834
lea ecx, [ebp - 0xc]
call fcn.004023d2
mov esi, dword [ebp - 0xc]
test eax, eax
je 0x402029
and dword [ebp - 0x18], 0
or edx, 0xf003f
push ecx
push ecx
push edx
push ecx
push ecx
push esi
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x429910
mov dword [ebp - 0x14], 0x200
call fcn.00401df0
mov edi, eax
test edi, edi
jne 0x40201a
mov eax, dword [ebp + 8]
sub eax, 1
je 0x401ffc
sub eax, 1
je 0x401ff8
sub eax, 1
je 0x401fe9
sub eax, 1
je 0x401fda
sub eax, 3
je 0x401fc7
sub eax, 4
je 0x401f95
mov edi, 0x8007065d
jmp 0x40200c
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push 8
push eax
push 0xb
push 0
push dword [ebp - 4]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test edi, edi
jle 0x40200c
movzx edi, di
or edi, 0x80070000
jmp 0x40200c
push 7
push dword [ebp + 0x10]
lea ecx, [ebp - 0x1c]
push ebx
push dword [ebp - 4]
call fcn.004023a8
jmp 0x40200a
push dword [ebx]
lea ecx, [ebp - 0x1c]
push dword [ebp - 4]
call fcn.00402343
jmp 0x40200a
mov eax, ebx
neg eax
sbb eax, eax
and eax, dword [ebp + 0x10]
push eax
push ebx
push 3
jmp 0x401fa8
push 2
jmp 0x401ffe
push 1
push ebx
push dword [ebp - 4]
lea ecx, [ebp - 0x1c]
call fcn.0040236c
mov edi, eax
lea ecx, [ebp - 0x1c]
call fcn.00401dc4
test edi, edi
jne 0x40201a
mov edi, eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x429910
call fcn.00401dc4
lea ecx, [esi - 0x10]
call fcn.00401251
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40223b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov edi, ecx
lea eax, [ebp - 4]
push eax
xor ecx, ecx
lea eax, [ebp - 8]
push ecx
push eax
push ecx
push dword [ebp + 8]
mov dword [ebp - 4], ecx
push dword [edi + 4]
mov dword [ebp - 8], ecx
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
mov esi, eax
test esi, esi
jle 0x402273
movzx esi, si
or esi, 0x80070000
test esi, esi
jne 0x4022d5
mov eax, dword [ebp - 4]
xor ecx, ecx
shr eax, 1
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00419c9d
pop ecx
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
test ecx, ecx
je 0x4022d0
cmp dword [ebp - 4], 0
je 0x4022c9
lea eax, [ebp - 4]
push eax
push ecx
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
mov esi, eax
test esi, esi
jle 0x4022d5
movzx esi, si
or esi, 0x80070000
jmp 0x4022d5
xor eax, eax
mov word [ecx], ax
jmp 0x4022d5
mov esi, 0x8007000e
pop edi
mov eax, esi
pop esi
leave
ret 8

Function at 0x402d89
Capabilities:
Compare security identifiers

Disassembly:
push ebx
push esi
lea ebx, [ecx + 4]
push edi
mov edi, edx
test ebx, ebx
je 0x402dbf
lea esi, [edi + 4]
test esi, esi
je 0x402dbf
call fcn.00402ceb
test al, al
je 0x402dbf
mov ecx, edi
call fcn.00402ceb
test al, al
je 0x402dbf
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
setne al
jmp 0x402dc1
xor al, al
pop edi
pop esi
pop ebx
ret

Function at 0x403b7e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x42d008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, edx
mov ebx, ecx
push edi
mov ecx, esi
call fcn.0040188f
push 0x208
xor edi, edi
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.00409f70
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push edi
push edi
push ebx
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test edi, edi
jns 0x403c18
movzx ecx, bl
cmp ecx, 0x26
jne 0x403bdc
mov edx, str.ProgramFiles
jmp 0x403be6
cmp ecx, 0x1c
jne 0x403c07
mov edx, str.LocalAppData
lea ecx, [ebp - 0x210]
call fcn.00403d78
push eax
mov ecx, esi
call fcn.004017e6
mov ecx, dword [ebp - 0x210]
lea ecx, [ecx - 0x10]
call fcn.00401251
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x403c14
xor eax, eax
inc eax
jmp 0x403c36
mov eax, edi
jmp 0x403c36
lea eax, [ebp - 0x20c]
push eax
call fcn.0041b6e1
pop ecx
push eax
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00401a17
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004093f2
leave
ret
Function at 0x4049bd
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
mov dword [ebp - 0x54], 0x44
lea eax, [ebp - 0x50]
mov edi, edx
push ebx
push eax
call fcn.00409f70
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x54]
add esp, 0xc
mov dword [ebp - 0x28], 0x80
push esi
push eax
push ebx
cmp dword [ebp + 8], ebx
jne 0x4049f9
push ebx
push ebx
jmp 0x404a01
push dword [ebp + 8]
push 0x400
push ebx
push ebx
push ebx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x404a17
call fcn.00406c35
jmp 0x404a59
movzx ecx, byte [0x42ec89]
neg ecx
sbb ecx, ecx
and ecx, 0x42ebb0
je 0x404a57
push 7
pop edx
xor eax, eax
mov dword [ebp - 0x10], ecx
inc eax
mov dword [ebp - 0xc], edx
push eax
push edx
mov dword [ebp - 8], eax
call fcn.00405a95
push dword [esi + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push str._Started_process___u_
push eax
call fcn.004038ce
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x404c02
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea esi, [ecx + 4]
push esi
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
jne 0x404c43
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
jne 0x404c43
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
jb 0x404c1e
xor al, al
jmp 0x404c45
mov al, 1
pop esi
leave
ret 4