joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42211b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42215a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42215a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42215a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42215a
cmp dword [ecx + 0x74], 0xe
jbe 0x42215a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4347a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4347cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4347cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x401102
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x410510
push 0x40fc60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x1c], 1
and dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x1c]
pop ebx
pop ecx
pop edx
jmp 0x401162
or dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4011a3
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword fs:[0x30]
add eax, 0x68
mov eax, dword ds:[eax]
cmp eax, 0x70
je 0x4011c1
mov dword [ebp - 4], 0
jmp 0x4011c8
mov dword [ebp - 4], 1
xor eax, eax
cmp dword [ebp - 4], eax
setne al
leave
ret
Function at 0x4087ff
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 8], 0x29c27be8
add dword [ebp - 8], 0x4196
mov byte [ebp - 1], 1
lea edi, [ebp - 0x1c]
lea esi, [0x42e63e]
mov ecx, 0x11
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 8]
mov edx, eax
sub edx, eax
mov dword [ebp - 8], edx
lea edi, [ebp - 0x2b]
lea esi, [0x42e64f]
mov ecx, 0xf
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x32]
lea esi, [0x42e65e]
mov ecx, 7
rep movsb byte es:[edi], byte [esi]
sub dword [ebp - 8], 0x6151
cmp byte [ebx], 0x67
jne 0x40887a
inc ebx
add byte [ebp - 1], 1
mov eax, dword [ebp - 8]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], eax
mul dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov dword [ebp - 8], eax
mov byte [ebp - 9], 0
jmp 0x408896
mov al, byte [ebx]
movzx edx, byte [ebp - 9]
cmp al, byte [ebp + edx - 0x1c]
jne 0x408892
add byte [ebp - 1], 4
jmp 0x40889c
add byte [ebp - 9], 1
cmp byte [ebp - 9], 0x11
jb 0x408880
xor dword [ebp - 8], 0x774b
mov byte [ebp - 0xa], 0
jmp 0x408957
mov al, byte [ebx]
movzx edx, byte [ebp - 0xa]
cmp al, byte [ebp + edx - 0x2b]
jne 0x408953
add byte [ebp - 1], 1
mov eax, 0x67c6
mul dword [ebp - 8]
mov dword [ebp - 0x38], eax
mov dword [ebp - 8], eax
movzx eax, byte [ebx + 1]
cmp eax, 0xc0
jge 0x408938
movzx eax, byte [ebx + 1]
and eax, 0xc0
cmp eax, 0x40
jne 0x4088eb
add byte [ebp - 1], 1
movzx eax, byte [ebx + 1]
mov edx, eax
and edx, 7
cmp edx, 4
je 0x408903
cmp edx, 5
jne 0x408907
cmp eax, 0x40
jge 0x408907
add byte [ebp - 1], 1
sub dword [ebp - 8], 0x251a
movzx eax, byte [ebx + 1]
test byte [ebx + 1], 0xc0
jne 0x408924
and eax, 7
cmp eax, 5
jne 0x408924
add byte [ebp - 1], 3
movzx eax, byte [ebx + 1]
and eax, 0xc0
cmp eax, 0x80
jne 0x408938
add byte [ebp - 1], 4
movzx eax, byte [ebx]
cmp eax, 0xf7
jne 0x40894c
test byte [ebx + 1], 0x38
jne 0x40894c
add byte [ebp - 1], 4
sub dword [ebp - 8], 0x2d1d
add byte [ebp - 0xa], 1
cmp byte [ebp - 0xa], 0xf
jb 0x4088ac
mov byte [ebp - 0xb], 0
jmp 0x40897d
mov al, byte [ebx]
movzx edx, byte [ebp - 0xb]
cmp al, byte [ebp + edx - 0x32]
jne 0x408979
add byte [ebp - 1], 1
jmp 0x408983
add byte [ebp - 0xb], 1
cmp byte [ebp - 0xb], 7
jb 0x408967
mov eax, 0x7d5b
mul dword [ebp - 8]
mov dword [ebp - 0x38], eax
mov dword [ebp - 8], eax
movzx eax, byte [ebx]
cmp eax, 0x83
jne 0x40899f
add byte [ebp - 1], 1
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000bda0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10163cfd
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x101f0014]
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 - 4], 0
lea eax, [edi + 0x10]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0
lea esi, [eax + 8]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 7
lea ecx, [esi + 0x60]
call fcn.10007c90
mov byte [ebp - 4], 6
lea ecx, [esi + 0x48]
call fcn.10007c90
mov byte [ebp - 4], 5
lea ecx, [esi + 0x30]
call fcn.10007c90
mov byte [ebp - 4], 4
lea ecx, [esi + 0x18]
call fcn.10007c90
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.10007c90
mov dword [ebp - 4], 0xffffffff
mov esi, dword [edi + 8]
test esi, esi
je 0x1000be5c
mov eax, dword [esi]
test eax, eax
je 0x1000be4a
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
je 0x1000be4a
mov dword [esi], 0
push 4
push esi
call fcn.10160a53
add esp, 8
mov dword [edi + 8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10018a30
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10165f7e
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x101f0014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
call fcn.10025b10
mov dword [ebp - 4], 0
mov dword [ebx], vtable.RC::RCHomePageLockFixBusiness.0
mov dword [ebx + 0x20], 0
mov byte [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov byte [ebp - 4], 1
lea esi, [ebx + 0x38]
mov dword [ebx + 0x30], 0
mov dword [ebp - 0x14], esi
mov word [esi], 0
mov dword [esi + 8], 0xe10
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0xa8c0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 3
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 2
add esi, 0x28
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1001d5c0
mov dword [esi], eax
mov byte [ebp - 4], 6
lea eax, [ebx + 0x68]
push 2
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
add esp, 8
mov byte [ebp - 4], 8
lea esi, [ebx + 0x98]
xor eax, eax
mov dword [ebp - 0x18], esi
push eax
mov dword [esi + 0x10], 0
mov ecx, esi
mov dword [esi + 0x14], 7
push 0x10197694
mov word [esi], ax
call fcn.10007cf0
mov byte [ebp - 4], 9
xor eax, eax
lea ecx, [esi + 0x18]
mov dword [ecx + 0x10], 0
push eax
mov dword [ecx + 0x14], 7
push 0x10197694
mov word [ecx], ax
call fcn.10007cf0
mov byte [ebp - 4], 0xa
mov word [esi + 0x30], 0
mov byte [ebp - 4], 0xb
lea eax, [ebx + 0xcc]
push 2
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
add esp, 8
mov byte [ebp - 4], 0xd
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebx + 0x30], eax
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1001bb70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x1001bba1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x1001bb90
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x100208a0
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x10020abb
cmp eax, 0x7c
je 0x10020abb
cmp eax, 0x29
jne 0x100208e1
cmp dword [esi + 0x10], 0
jne 0x10020abb
cmp eax, eax
jne 0x100208e1
test dword [esi + 0x50], 0x10000000
je 0x10020ac8
jmp 0x10020a74
cmp eax, 0x2e
jne 0x10020940
push 5
lea ecx, [esi + 0x24]
call fcn.10020b20
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x10020934
cmp word [eax], 0x5c
jne 0x1002092f
lea ecx, [eax + 2]
cmp ecx, edx
je 0x1002092f
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x1002091b
movzx edi, word [ecx]
cmp edi, 0x28
je 0x1002092d
cmp edi, 0x29
je 0x1002092d
test dl, 0x10
jne 0x1002092f
movzx edx, word [ecx]
cmp edx, 0x7b
je 0x1002092d
cmp edx, 0x7d
jne 0x1002092f
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.1001f3f0
jmp 0x10020aa6
cmp eax, 0x5c
jne 0x1002099f
mov ecx, esi
call fcn.10020850
test byte [esi + 0x50], 0x80
je 0x10020993
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x10020971
push 4
lea ecx, [esi + 0x24]
call fcn.10020b20
mov ecx, esi
call fcn.10020850
jmp 0x10020aad
cmp eax, 0x42
jne 0x10020993
push 4
lea ecx, [esi + 0x24]
call fcn.10020b20
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.10020850
jmp 0x10020aad
mov ecx, esi
call fcn.10021d70
jmp 0x10020aa6
cmp eax, 0x5b
jne 0x10020a00
mov ecx, esi
call fcn.10020850
lea ecx, [esi + 0x24]
call fcn.10023a80
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x100209cc
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.10020850
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x100209ea
cmp eax, 0x5d
jne 0x100209ea
push eax
lea ecx, [esi + 0x24]
call fcn.10023b60
mov ecx, esi
call fcn.10020850
mov ecx, esi
call fcn.10023610
cmp dword [esi + 0x4c], 0x5d
jne 0x10020acf
jmp 0x10020a9f
cmp eax, 0x28
jne 0x10020a30
mov ecx, esi
call fcn.10020850
mov ecx, esi
call fcn.10021f80
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x10020ac8
mov ecx, esi
call fcn.10020850
test bl, bl
je 0x10020aad
jmp 0x10020aa6
cmp eax, 0x5e
jne 0x10020a48
push 2
lea ecx, [esi + 0x24]
call fcn.10020b20
mov ecx, esi
call fcn.10020850
jmp 0x10020aad
cmp eax, 0x24
jne 0x10020a60
push 3
lea ecx, [esi + 0x24]
call fcn.10020b20
mov ecx, esi
call fcn.10020850
jmp 0x10020aad
cmp eax, 0x2a
je 0x10020ac1
cmp eax, 0x2b
je 0x10020ac1
cmp eax, 0x3f
je 0x10020ac1
cmp eax, 0x7b
je 0x10020ac1
cmp eax, 0x7d
jne 0x10020a84
test dword [esi + 0x50], 0x10000000
je 0x10020ad6
jmp 0x10020a92
cmp eax, 0x5d
jne 0x10020a92
test dword [esi + 0x50], 0x10000000
je 0x10020acf
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.100221f0
mov ecx, esi
call fcn.10020850
mov ecx, esi
call fcn.10022090
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x100208b3
pop edi
pop esi
mov al, cl
pop ebx
ret
push 0xa
call fcn.1001f3e0
push 5
call fcn.1001f3e0
push 4
call fcn.1001f3e0
push 6
call fcn.1001f3e0
int3
Function at 0x100291d0
Capabilities:
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10168b10
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x101f0014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
push 0x19000
mov dword [ebp - 0x40], 0x19000
call fcn.10160a89
mov edi, eax
add esp, 4
test edi, edi
jne 0x1002921f
xor al, al
jmp 0x100293a5
push dword [ebp - 0x40]
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x40]
add esp, 0xc
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x40]
push eax
push edi
push str.visited:
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
mov esi, eax
mov dword [ebp - 0x44], esi
test esi, esi
je 0x10029393
mov eax, dword [edi + 4]
test eax, eax
je 0x1002937f
push 0x400
push eax
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrW]
test eax, eax
jne 0x1002936d
push str._http:
push dword [edi + 4]
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x10029297
push str._https:
push dword [edi + 4]
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x1002936d
lea esi, [eax + 2]
push 0x12c
push esi
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrW]
test eax, eax
jne 0x1002936a
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
mov dword [ebp - 4], eax
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 4], 1
mov eax, esi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100292e0
sub eax, edx
lea ecx, [ebp - 0x3c]
sar eax, 1
push eax
push esi
call fcn.10007cf0
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x34]
push edi
mov dword [ebp - 0x20], eax
call fcn.100293d0
xor ecx, ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
test eax, eax
je 0x1002935b
mov esi, dword [ebx + 4]
lea eax, [ebp - 0x3c]
push eax
cmp dword [ebx + 8], esi
je 0x10029353
mov ecx, esi
mov dword [ebp - 0x4c], esi
call fcn.100073c0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x24], eax
mov byte [ebp - 4], 1
add dword [ebx + 4], 0x28
jmp 0x1002935b
push esi
mov ecx, ebx
call fcn.10029cd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.10007c90
mov esi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
push eax
push 0
push edi
mov dword [ebp - 0x40], eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
push edi
push esi
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
test eax, eax
jne 0x10029248
push edi
call fcn.10160a84
add esp, 4
push esi
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101606b4
mov esp, ebp
pop ebp
ret 4
Function at 0x1002beb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016958c
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x101f0014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
lea ecx, [esi + 0x30]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0
call fcn.10007c90
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0xffffffff
add esi, 8
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 8
lea ecx, [esi + 0xc]
call fcn.100078e0
mov dword [ebp - 4], 0xffffffff
add esi, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0xa
mov ecx, esi
call fcn.1002edd0
mov dword [ebp - 4], 0xffffffff
push 0x28
push dword [esi]
call fcn.10160a53
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1002cce0
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10169a21
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x101f0014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebx + 8]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
lea esi, [edi + 0x30]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x24], esi
test esi, esi
je 0x1002cd91
mov eax, dword [esi]
test eax, eax
je 0x1002cd91
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 3
lea eax, [edi + 0x24]
lea ecx, [ebp - 0x20]
cmp ecx, eax
je 0x1002cdac
push dword [ebp - 0x4c]
push dword [eax + 4]
push dword [eax]
call fcn.100100c0
mov byte [ebp - 4], 2
test esi, esi
je 0x1002cdc8
mov eax, dword [esi]
test eax, eax
je 0x1002cdc1
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x24], 0
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
cmp esi, edi
jne 0x1002ce30
mov esi, dword [ebp - 0x40]
xor eax, eax
movups xmm0, xmmword [ebp - 0x3c]
mov word [ebp - 0x3c], ax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x2c]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x44], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.10007860
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.10007c90
mov eax, esi
jmp 0x1002ceaf
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1002ce3a
mov eax, dword [esi]
mov edx, dword [ebp - 0x48]
mov ecx, edx
cmp dword [edx + 0x14], 8
jb 0x1002ce47
mov ecx, dword [edx]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x1002ce84
add esi, 0x18
cmp esi, edi
jne 0x1002ce30
mov esi, dword [ebp - 0x40]
movups xmm0, xmmword [ebp - 0x3c]
mov word [ebp - 0x3c], ax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x2c]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 7
jmp 0x1002ce08
mov ecx, dword [ebp - 0x40]
push esi
call fcn.100073c0
mov dword [ebp - 0x44], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.10007860
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.10007c90
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101606b4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
Function at 0x1002ec70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x101f0014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 8], ecx
mov esi, ebx
cmp dword [ebx + 0x14], 8
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], edi
jb 0x1002ec9f
mov esi, dword [ebx]
xor ecx, ecx
mov edx, 0x811c9dc5
add edi, edi
je 0x1002ecc1
nop word [eax + eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x1002ecb0
mov esi, dword [ebp - 8]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0xc]
and eax, edx
mov esi, dword [esi + 4]
mov dword [ebp - 8], esi
mov edx, dword [ecx + eax*8]
add eax, eax
mov edi, dword [ecx + eax*4]
inc eax
mov dword [ebp - 0x1c], edi
lea eax, [ecx + eax*4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], edx
cmp edi, esi
jne 0x1002ecef
mov eax, esi
jmp 0x1002ecf3
mov eax, dword [eax]
mov eax, dword [eax]
cmp edx, eax
je 0x1002edae
add edx, 8
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x1002ed08
mov eax, dword [ebx]
cmp dword [edx + 0x14], 8
mov edi, edx
jb 0x1002ed12
mov edi, dword [edx]
mov esi, dword [edx + 0x10]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], esi
cmp esi, ecx
jne 0x1002ed80
test esi, esi
jbe 0x1002ed39
sub edi, eax
mov cx, word [eax + edi]
cmp cx, word [eax]
jne 0x1002ed80
add eax, 2
sub esi, 1
jne 0x1002ed25
mov ecx, dword [ebp - 0x10]
cmp dword [edx + 0x14], 8
jb 0x1002ed41
mov edx, dword [edx]
cmp dword [ebx + 0x14], 8
jb 0x1002ed49
mov ebx, dword [ebx]
cmp ecx, dword [ebp - 0x14]
jne 0x1002ed93
test ecx, ecx
je 0x1002ed65
sub ebx, edx
mov ax, word [edx + ebx]
cmp ax, word [edx]
jne 0x1002ed93
add edx, 2
sub ecx, 1
jne 0x1002ed54
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101606b4
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov edx, dword [edx]
jmp 0x1002ece4
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101606b4
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [eax], esi
pop esi
pop ebx
call fcn.101606b4
mov esp, ebp
pop ebp
ret 8

Function at 0x1002eeb0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
cmp dword [edx + 0x14], 8
mov ebx, ecx
mov edi, dword [edx + 0x10]
jb 0x1002eec6
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add edi, edi
je 0x1002eee2
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x1002eed1
mov eax, dword [ebx + 0x18]
pop edi
and eax, esi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x100303c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016a1d6
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x101f0014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.10030be0
mov esi, eax
mov dword [ebp - 0x14], esi
mov word [esi + 0xc], 0
mov dword [ebp - 4], 0
lea ecx, [esi + 0x10]
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
mov eax, dword [eax]
mov dword [ecx], eax
lea edi, [ecx + 8]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
xorps xmm0, xmm0
movups xmmword [edi], xmm0
movups xmmword [edi + 0x10], xmm0
movq qword [edi + 0x20], xmm0
mov ecx, edi
call fcn.1002bd60
mov byte [ebp - 4], 1
mov byte [ebp - 4], 2
mov byte [ebp - 4], 3
mov dword [edi + 0x28], 0
mov byte [ebp - 4], 4
lea eax, [edi + 0x30]
mov dword [ebp - 0x20], eax
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
xor ecx, ecx
mov word [eax], cx
mov byte [ebp - 4], 5
mov byte [ebp - 4], 6
mov byte [ebp - 4], 7
mov byte [ebp - 4], 8
mov byte [ebp - 4], cl
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x100309d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016a288
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x101f0014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
cmp dword [edi + 0x1c], 8
lea esi, [edi + 8]
mov ebx, dword [edi + 0x18]
jb 0x10030a13
mov esi, dword [edi + 8]
xor ecx, ecx
mov edx, 0x811c9dc5
add ebx, ebx
je 0x10030a31
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x10030a20
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
lea edx, [eax*8]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x10030a67
cmp dword [ecx], edi
jne 0x10030a5f
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x10030a6f
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x10030a6f
cmp dword [ecx], edi
jne 0x10030a6f
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
lea ecx, [edi + 8]
mov esi, dword [edi]
mov dword [ebp - 0x10], ecx
mov dword [eax], esi
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
dec dword [ebx + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.10007c90
push 0x28
push edi
call fcn.10160a53
mov eax, dword [ebp - 0x14]
add esp, 8
mov dword [eax], esi
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