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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c675
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x43a680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.0040a440
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x40a6f3
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 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 8
cmp dword [edi + 8], 0xccccccc
je 0x40a869
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
push 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.00411893
mov ecx, dword [ebx]
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 8], ecx
mov eax, dword [ebx + 4]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esi + 0x10], eax
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov eax, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
inc eax
movss xmm3, dword [edi]
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x42d400]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x42d400]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x40a80b
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x1c], xmm0
fld qword [ebp - 0x1c]
fstp qword [esp]
call fcn.00417230
fstp qword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x1c]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.004118e0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x40a7ed
cmp ebx, 0x200
jae 0x40a7eb
shl ebx, 3
cmp ebx, ecx
jae 0x40a7ed
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.0040c540
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040a440
mov edx, dword [eax]
jmp 0x40a80e
mov edx, dword [ebp - 0x1c]
mov ebx, dword [edx + 4]
inc dword [edi + 8]
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x14]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x10]
jne 0x40a839
mov dword [ecx + eax*8], esi
jmp 0x40a848
cmp edi, edx
jne 0x40a842
mov dword [ecx + eax*8], esi
jmp 0x40a84c
cmp dword [ecx + eax*8 + 4], ebx
jne 0x40a84c
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
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.00410671
int3
Function at 0x40af40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c77d
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x43a680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
push 8
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.00411893
mov edi, eax
add esp, 4
test edi, edi
je 0x40afed
push 1
mov dword [ebp - 4], 0
call fcn.00410f74
add esp, 4
mov dword [edi + 4], eax
jmp 0x40afef
xor edi, edi
mov ecx, esi
mov dword [esi + 0x34], edi
call fcn.0040c8e0
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
not ecx
mov dword [esi], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
and ecx, 1
mov dword [ebp - 4], 1
shl ecx, 2
mov edx, ecx
or edx, 2
test bl, 2
cmovne edx, ecx
mov ecx, edx
or ecx, 8
test bl, 8
cmove ecx, edx
mov edx, ecx
or edx, 0x10
test bl, 4
mov ebx, dword [ebp + 8]
cmove edx, ecx
mov dword [ebp + 0xc], ebx
mov dword [ebp - 0x10], edx
cmp dword [ebx + 0x14], 0xf
jbe 0x40b048
mov eax, dword [ebx]
mov dword [ebp + 0xc], eax
mov ebx, dword [ebx + 0x10]
cmp ebx, 0x7fffffff
ja 0x40b110
test ebx, ebx
je 0x40b0f0
mov eax, edx
and eax, 6
cmp al, 6
je 0x40b0f0
lea eax, [ebp + 8]
mov dword [ebp + 8], ebx
push eax
lea eax, [esi + 0x40]
push eax
call fcn.00403240
push ebx
push dword [ebp + 0xc]
mov edi, eax
push edi
call fcn.004129d0
mov edx, dword [ebp - 0x10]
lea ecx, [edi + ebx]
mov eax, edx
mov dword [esi + 0x38], ecx
add esp, 0x14
and eax, 4
mov dword [ebp + 0xc], eax
jne 0x40b0ad
mov eax, dword [esi + 0xc]
mov dword [eax], edi
mov eax, dword [esi + 0x1c]
mov dword [eax], edi
mov eax, dword [esi + 0x2c]
mov dword [eax], ebx
test dl, 2
jne 0x40b0eb
test dl, 0x18
je 0x40b0bc
mov ebx, dword [esi + 0x38]
jmp 0x40b0be
mov ebx, edi
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x38]
sub ecx, ebx
cmp dword [ebp + 0xc], 0
mov dword [eax], edi
mov eax, dword [esi + 0x20]
mov dword [eax], ebx
mov eax, dword [esi + 0x30]
mov dword [eax], ecx
je 0x40b0eb
mov eax, dword [esi + 0xc]
mov dword [eax], edi
mov eax, dword [esi + 0x1c]
mov dword [eax], edi
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
or edx, 1
jmp 0x40b0f7
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], edx
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 8
call fcn.00410637
int3
Function at 0x40c540
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 4], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x40c69a
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.0040c320
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x40c66d
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 + 0x18]
and edi, edx
mov edx, dword [ebx + 0xc]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 8], edx
cmp edi, esi
jne 0x40c5f3
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x40c663
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x40c62d
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
cmp edx, eax
je 0x40c625
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 0xc]
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 + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
jmp 0x40c660
cmp edi, edx
je 0x40c63d
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x40c676
cmp edi, edx
jne 0x40c631
mov ebx, dword [eax + 4]
mov dword [ebp - 0xc], 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 - 0xc]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 8]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 4]
mov eax, ecx
cmp ecx, esi
jne 0x40c5a2
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 - 0xc], 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 + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x40c660
push str.invalid_hash_bucket_count
call fcn.00410671
int3
Function at 0x40fa80
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x10
cmp dword [ebp + 8], 0
push esi
push edi
je 0x40fb4f
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x40fb4f
test eax, eax
je 0x40fb4f
push 0
push 0
lea ecx, [eax + 1]
cmovle ecx, eax
push ecx
push esi
push 8
push 0xfde9
mov dword [ebp - 8], ecx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 4], eax
test eax, eax
je 0x40fb4f
add eax, eax
push eax
push 2
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x40fb4f
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x40fb48
push dword [ebp - 4]
push eax
push dword [ebp - 8]
push esi
push 8
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [ebp - 0x10]
mov esi, eax
mov eax, dword [ebp - 0xc]
xor edx, edx
push edi
mov word [ecx + eax - 2], dx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test esi, esi
je 0x40fb48
push dword [ebp + 8]
call fcn.0040fc60
add esp, 4
test al, al
je 0x40fb48
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x40fb57
call dword [sym.imp.USER32.dll_CloseClipboard]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40fb70
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
test edi, edi
je 0x40fc3a
push edi
call fcn.0040fc60
add esp, 4
test al, al
je 0x40fc3a
push ebx
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
test ebx, ebx
je 0x40fc2b
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
test eax, eax
je 0x40fc2b
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push eax
push esi
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp + 8], eax
test eax, eax
je 0x40fc15
push 1
push eax
mov eax, dword [edi + 0x10]
call eax
mov esi, eax
add esp, 8
test esi, esi
je 0x40fc15
push 0
push 0
push dword [ebp + 8]
push esi
push 0xffffffffffffffff
push dword [ebp - 4]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x40fc0b
mov eax, dword [edi + 0x18]
push esi
call eax
add esp, 4
xor esi, esi
jmp 0x40fc15
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x40fc15
dec eax
mov dword [ecx], eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop ebx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.USER32.dll_CloseClipboard]
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40fc60
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.USER32.dll_OpenClipboard]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi + 4]
push dword [edi]
call ebx
test eax, eax
jne 0x40fca4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40fc9d
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, esi
dec esi
test eax, eax
jg 0x40fc72
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret

Function at 0x41276d
Capabilities:
Parse pe header

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

Function at 0x4200d2
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43257c
push 0x432574
push str.FlsAlloc
push 0x1e
call fcn.0041ff5c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x420106
push dword [ebp + 8]
mov ecx, esi
call dword [0x42d2b4]
call esi
jmp 0x42010c
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x420150
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43258c
push 0x432584
push str.FlsGetValue
push 0x20
call fcn.0041ff5c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x420187
push dword [ebp + 8]
mov ecx, esi
call dword [0x42d2b4]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x425120
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 0x4251bd
push ebx
push esi
call fcn.004250e9
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.0042406d
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x42516a
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4251bc
push edi
push eax
call fcn.00420506
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x42518a
call fcn.0041fc81
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4251bb
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0042406d
add esp, 0x20
test eax, eax
jne 0x4251a9
push edi
call fcn.0041fc81
jmp 0x4251b1
push ebx
call fcn.0041fc81
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 0x42b850
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42b87d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42b87d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10003a10
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x204]
sub esp, 0x204
push 0xffffffffffffffff
push 0x1006e03d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100c0040]
xor eax, ebp
mov dword [ebp + 0x200], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0x20c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
mov edi, dword [ebx + 4]
push ecx
or edi, 0x2001f
mov dword [ebp - 0x20], 0
push edi
push 0
push eax
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
mov eax, dword [ebp - 0x18]
test esi, esi
jne 0x10003b4f
test eax, eax
je 0x10003ab1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x20]
and edi, 0x300
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
test esi, esi
jne 0x10003b4f
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0x100
push ecx
push esi
push esi
push esi
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp]
push ecx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x10003b27
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x18]
call fcn.10003a10
mov esi, eax
test esi, esi
jne 0x10003b4f
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0x100
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp]
push eax
push esi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x10003af1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10003b3c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], 0
push dword [ebp - 0x24]
mov ecx, ebx
mov dword [ebp - 0x14], 0
call fcn.10003c00
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10003b6b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], 0
mov eax, esi
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x200]
xor ecx, ebp
call fcn.10053e7d
lea esp, [ebp + 0x204]
pop ebp
ret 4
Function at 0x10004ae0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x1006e105
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100c0040]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x410]
mov ebx, dword [ebp + 0x414]
mov eax, dword [ebp + 0x418]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], 0
mov dword [ebp], 0
mov byte [ebp - 4], 1
push 0x60
push 0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
jne 0x10004b87
push 2
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x18], eax
test esi, esi
jne 0x10004b87
call fcn.10002e80
mov edi, eax
jmp 0x10004c8d
push dword [ebp - 0x14]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x10004ba2
call fcn.10002e80
jmp 0x10004c80
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
jne 0x10004bbd
call fcn.10002e80
jmp 0x10004c80
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x1c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x10004bdb
mov edi, 0x8007000e
jmp 0x10004c82
mov byte [ebp - 4], 2
mov ecx, 2
mul ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
test edx, edx
ja 0x10004ccf
jb 0x10004bff
cmp eax, 0xffffffff
ja 0x10004ccf
cmp eax, 0x400
jbe 0x10004c18
push eax
lea ecx, [ebp]
call fcn.10002e50
mov dword [ebp - 4], 1
jmp 0x10004c3d
lea eax, [ebp + 4]
mov dword [ebp], eax
mov dword [ebp - 4], 1
jmp 0x10004c3d
mov eax, dword [ebp]
test eax, eax
jne 0x10004c4b
mov edi, 0x8007000e
jmp 0x10004c82
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x10004c66
call fcn.10002e80
jmp 0x10004c80
xor edx, edx
mov eax, dword [ebp]
mov word [eax + ecx*2], dx
push dword [ebp + 0x41c]
push dword [ebp]
lea ecx, [ebp - 0x24]
call fcn.10004980
mov edi, eax
test esi, esi
je 0x10004c8d
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x10004ca1
lea ecx, [ebp]
call fcn.10002e00
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.10053e7d
lea esp, [ebp + 0x408]
pop ebp
ret 0x10
push 0x80070216
call fcn.10005390
int3
Function at 0x10007df0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006e89f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100c0040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0
call fcn.10053187
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov byte [ebp - 4], 1
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
mov byte [ebp - 4], 2
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov byte [ebp - 4], 3
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov byte [ebp - 4], 4
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov byte [ebp - 4], 5
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
test eax, eax
je 0x10007ea1
push eax
push esi
call fcn.10053042
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
call fcn.10052dfa
int3

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006f201
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x100c0040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword fs:[0x2c]
mov edx, dword [0x100c17cc]
mov edx, dword [eax + edx*4]
mov eax, dword [0x100c20b0]
cmp eax, dword [edx + 4]
jle 0x1000bd02
push 0x100c20b0
call fcn.10054367
add esp, 4
cmp dword [0x100c20b0], 0xffffffff
jne 0x1000bd02
mov dword [ebp - 4], 0
push 0x1007c810
call fcn.100542d6
mov dword [ebp - 4], 0xffffffff
push 0x100c20b0
call fcn.10054316
add esp, 8
mov edx, dword [ebp + 8]
mov edi, edx
cmp dword [edx + 0x14], 7
mov ebx, dword [edx + 0x10]
jbe 0x1000bd12
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add ebx, ebx
je 0x1000bd31
nop dword [eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x1000bd20
push esi
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push edx
push eax
mov ecx, esi
call fcn.10012af0
mov edx, dword [eax + 4]
mov eax, 0x100c0b1c
test edx, edx
je 0x1000bd56
cmp edx, dword [esi + 4]
lea ecx, [edx + 0x20]
cmovne eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000c050
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006f392
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x100c0040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [edi + 4], xmm0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 7
mov word [edi + 4], ax
mov dword [ebp - 4], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov byte [ebp - 4], 1
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], eax
mov byte [ebp - 4], 2
lea eax, [edi + 0x34]
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov byte [ebp - 4], 3
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov byte [ebp - 4], 5
mov dword [edi + 0x50], 0
mov byte [ebp - 4], 6
lea esi, [edi + 0x58]
push 0x40
mov dword [ebp - 0x18], esi
push 0x40
mov dword [esi], 0
mov dword [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 8
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov dword [edi + 0x4c], 0
mov dword [edi + 0x54], 1
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8