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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1009468]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
test ebx, ebx
jbe 0x100606c
dec ebx
shr ebx, 4
push esi
inc ebx
push edi
mov esi, dword [ebp - 0x18]
push dword [ebp - 0x1c]
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x18]
call fcn.01005f32
mov ecx, dword [ebp - 0x1c]
add ecx, 0xb0
push 0x10
mov eax, esi
mov esi, ecx
pop edi
mov cl, byte [esi]
xor byte [eax], cl
inc esi
inc eax
dec edi
jne 0x100604b
mov edi, dword [ebp - 0x1c]
add edi, 0xb0
dec ebx
lea esi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x18], eax
jne 0x1006026
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0100733a
leave
ret 0xc

Function at 0x1006940
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call esi
and eax, 0x3ff
cmp eax, 0x24
ja case.0x1006959.0
jmp dword [eax*4 + 0x10069f8]
mov al, 1
pop esi
ret
mov al, 2
pop esi
ret
mov al, 3
pop esi
ret
mov al, 4
pop esi
ret
mov al, 5
pop esi
ret
call esi
mov ecx, 0xfc00
and ax, cx
mov ecx, 0x400
cmp ax, cx
setne al
add al, 6
pop esi
ret
mov al, 8
pop esi
ret
mov al, 9
pop esi
ret
mov al, 0xa
pop esi
ret
mov al, 0xb
pop esi
ret
mov al, 0xc
pop esi
ret
mov al, 0xd
pop esi
ret
mov al, 0xe
pop esi
ret
mov al, 0xf
pop esi
ret
mov al, 0x10
pop esi
ret
mov al, 0x11
pop esi
ret
mov al, 0x12
pop esi
ret
mov al, 0x13
pop esi
ret
mov al, 0x14
pop esi
ret
mov al, 0x15
pop esi
ret
mov al, 0x16
pop esi
ret
mov al, 0x17
pop esi
ret
mov al, 0x18
pop esi
ret
mov al, 0x19
pop esi
ret
mov al, 0x1a
pop esi
ret
mov al, 0x1b
pop esi
ret
mov al, 0x1c
pop esi
ret
mov al, 0x1d
pop esi
ret
mov al, 0x1e
pop esi
ret
mov al, 0x1f
pop esi
ret
mov al, 0x20
pop esi
ret
xor al, al
pop esi
ret
Function at 0x1006cd7
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
push edi
push 1
xor edi, edi
push edi
push edi
push dword [ebp + 8]
mov dword [ebp - 0x14], edi
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
push eax
push 8
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 8]
call esi
cmp dword [ebp - 0x28], 0x474e5089
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edi
jne 0x1006e52
cmp dword [ebp - 0x24], 0xa1a0a0d
jne 0x1006e52
jmp 0x1006da5
push dword [ebp - 0x20]
call fcn.01006ca3
cmp dword [ebp - 0x1c], 0x52444849
mov dword [ebp - 0x20], eax
jne 0x1006d6d
push edi
lea eax, [ebp - 8]
push eax
push 0x11
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 8]
call esi
push dword [ebp - 0x3c]
call fcn.01006ca3
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
call fcn.01006ca3
mov dword [ebp - 0x38], eax
jmp 0x1006da5
cmp dword [ebp - 0x1c], 0x444e4549
je 0x1006dc7
add eax, 4
mov dword [ebp - 0xc], edi
je 0x1006d9c
push edi
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp + 8]
call esi
mov eax, dword [ebp - 0x20]
inc dword [ebp - 0xc]
add eax, 4
cmp dword [ebp - 0xc], eax
jb 0x1006d7e
cmp dword [ebp - 8], edi
je 0x1006e52
push edi
lea eax, [ebp - 8]
push eax
push 8
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x1c], edi
call esi
cmp dword [ebp - 8], 8
je 0x1006d31
jmp 0x1006e52
push edi
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x18], edi
call esi
cmp dword [ebp - 0x20], edi
jne 0x1006e52
cmp dword [ebp - 0x18], 0x826042ae
jne 0x1006e52
cmp dword [ebp - 0x3c], edi
je 0x1006e52
cmp dword [ebp - 0x38], edi
je 0x1006e52
push 1
push edi
push edi
push dword [ebp + 8]
call ebx
sub eax, dword [ebp - 0x10]
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.msvcrt.dll_malloc]
pop ecx
push edi
push edi
push dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
push dword [ebp + 8]
call ebx
push edi
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0xc]
push dword [ebp + 8]
call esi
push edi
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push 0x30000
push 1
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_CreateIconFromResourceEx]
push dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
call dword [sym.imp.msvcrt.dll_free]
pop ecx
cmp dword [ebp - 0x14], edi
jne 0x1006e5c
push edi
push edi
push dword [ebp - 0x10]
push dword [ebp + 8]
call ebx
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1006e6b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, word [ebp + 0xc]
push esi
push edi
push 0x1001a8c
push eax
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, edi
je 0x1006fa7
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
cmp eax, edi
je 0x1006fa7
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push dword [ebp + 8]
mov ebx, eax
mov dword [ebp + 0xc], ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebx + 4]
mov esi, eax
mov eax, dword [ebx]
add esi, ebx
add ebx, 8
mov dword [ebp + 8], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
cmp eax, 0x474e5089
jne 0x1006f9d
cmp ecx, 0xa1a0a0d
jne 0x1006f9d
jmp 0x1006f3a
push eax
call fcn.01006ca3
cmp edi, 0x52444849
jne 0x1006f27
mov esi, ebx
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push dword [ebp - 0x1c]
add ebx, 0x11
call fcn.01006ca3
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
call fcn.01006ca3
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], eax
jmp 0x1006f3a
cmp edi, 0x444e4549
je 0x1006f48
add eax, 4
je 0x1006f36
add ebx, eax
cmp ebx, esi
je 0x1006f9d
mov eax, dword [ebx]
mov edi, dword [ebx + 4]
add ebx, 8
cmp ebx, esi
jb 0x1006ef1
jmp 0x1006f9d
xor edi, edi
cmp eax, edi
jne 0x1006f9d
cmp dword [ebx], 0x826042ae
jne 0x1006f9d
cmp dword [ebp - 0x1c], edi
je 0x1006f9d
cmp dword [ebp - 0x18], edi
je 0x1006f9d
add ebx, 4
sub ebx, dword [ebp + 0xc]
push ebx
call dword [sym.imp.msvcrt.dll_malloc]
push ebx
push dword [ebp + 0xc]
mov esi, eax
push esi
call sub.msvcrt.dll_memcpy
add esp, 0x10
push edi
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push 0x30000
push 1
push ebx
push esi
call dword [sym.imp.USER32.dll_CreateIconFromResourceEx]
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.msvcrt.dll_free]
pop ecx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 8
Function at 0x100732b
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x1007838
call fcn.01007564
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x1145eac
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x10070e2
cmp eax, esi
jne 0x10070d5
xor esi, esi
inc esi
mov ebx, esi
jmp 0x10070e5
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10070bc
xor esi, esi
inc esi
mov eax, dword [0x1145ea8]
cmp eax, esi
jne 0x10070f8
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1007127
mov eax, dword [0x1145ea8]
test eax, eax
jne 0x1007121
mov dword [0x1145ea8], esi
push 0x1001208
push 0x10011fc
call fcn.01007021
pop ecx
pop ecx
test eax, eax
je 0x1007127
jmp 0x100724f
mov dword [0x100950c], esi
mov eax, dword [0x1145ea8]
cmp eax, esi
jne 0x100714b
push 0x10011f8
push 0x10011f0
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x1145ea8], 2
test ebx, ebx
jne 0x1007157
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1145eb0], 0
je 0x100717b
push 0x1145eb0
call fcn.010074d9
pop ecx
test eax, eax
je 0x100717b
push 0
push 2
push 0
call dword [0x1145eb0]
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x10071d7
test al, al
je 0x1007195
cmp dword [ebp - 0x1c], 0
jne 0x10071d7
mov al, byte [esi]
test al, al
je 0x10071a5
cmp al, 0x20
ja 0x10071a5
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1007195
test byte [ebp - 0x3c], 1
je 0x10071b1
movzx eax, word [ebp - 0x38]
jmp 0x10071b4
push 0xa
pop eax
push eax
push esi
push 0
push 0x1000000
call main
mov dword [0x1009508], eax
cmp dword [0x10094fc], 0
jne 0x100722b
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp al, 0x22
jne 0x10071e6
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x10071f9
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x1007182
cmp dword [0x100950c], 0
jne 0x100723a
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1009508]
jmp 0x100725b
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.010075a9
ret
call fcn.010076b1
jmp 0x1007082
Function at 0x40caf4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ed69
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x44d0b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
and dword [ebp - 4], 0
xor eax, eax
mov esi, dword [ebp + 8]
inc eax
and dword [ebx + 0x14], 0
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx], 0x442b84
mov dword [ebx + 0x10], 0x442bac
mov dword [ebx + 0x18], esi
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
mov dword [ebx], 0x442b4c
mov dword [ebx + 0x10], 0x442b2c
mov dword [ebx + 0x20], 0x442b3c
mov eax, dword [esi + 0x20]
mov esi, dword [esi + 0x14]
add esi, 0x10
mov edi, dword [eax + 0x428]
xor eax, eax
push eax
push eax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
lea eax, [ebx + 0x30]
push eax
call dword [0x441170]
mov eax, dword [ebp + 0xc]
lea ecx, [ebx + 0x50]
and dword [ebx + 0x48], 0
push eax
push 0x442a74
push edi
mov dword [ebx + 0x4c], esi
mov dword [ebx + 0x454], eax
call fcn.0040c238
mov dword [ebx + 0x450], eax
xor eax, eax
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x458], eax
mov byte [ebx + 0x45c], al
mov eax, ebx
mov dword [ebx + 0x460], 0x32
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x40cf4f
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f09f
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x44d0b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [ebp + 8]
xor edi, edi
mov dword [esi + 0x14], edi
xor eax, eax
inc eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x18], edi
mov dword [esi], 0x442af4
mov dword [esi + 0x10], 0x442b1c
mov dword [esi + 0x28], eax
mov dword [esi + 0x1c], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], ecx
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
push 0x32
pop eax
push 0xff
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
lea eax, [esi + 0x48]
push edi
push eax
call fcn.0043df14
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
leave
ret 8
Function at 0x41225e
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x20
test byte [0x44e780], 0x20
push esi
push edi
mov esi, ecx
je 0x412293
push dword [ebx + 0xc]
mov edx, 0x4425a8
push dword [ebx + 8]
call fcn.00414495
mov ecx, 0x1c135e
call fcn.00419dd2
lea eax, [esi + 8]
mov edi, dword [eax]
mov esi, edi
mov ecx, dword [eax + 4]
mov edx, ecx
mov dword [ebp - 4], eax
mov eax, edi
shr eax, 0xc
dec eax
mov dword [ebp - 0x10], esi
shl eax, 0xc
xor eax, edi
mov dword [ebp - 0x14], ecx
and eax, 0x7f000
xor edi, eax
mov eax, esi
mov esi, dword [ebp - 4]
push ebx
mov ebx, edi
lock cmpxchg8b qword [esi]
mov edi, ebx
pop ebx
mov ecx, edx
cmp eax, dword [ebp - 0x10]
jne 0x4122df
cmp ecx, dword [ebp - 0x14]
je 0x412313
mov edi, dword [ebp - 4]
mov esi, eax
shr esi, 0xc
mov edx, ecx
dec esi
mov dword [ebp - 0x14], eax
shl esi, 0xc
xor esi, eax
mov dword [ebp - 0x10], ecx
and esi, 0x7f000
xor esi, eax
push ebx
mov ebx, esi
lock cmpxchg8b qword [edi]
mov esi, ebx
pop ebx
mov ecx, edx
cmp eax, dword [ebp - 0x14]
jne 0x4122df
cmp ecx, dword [ebp - 0x10]
jne 0x4122df
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
Function at 0x41bdf4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
mov ecx, 0x811c9dc5
cmp dword [ebp + 8], esi
jbe 0x41be17
movzx eax, byte [esi + edx]
xor eax, ecx
imul ecx, eax, 0x1000193
inc esi
cmp esi, dword [ebp + 8]
jb 0x41be05
mov eax, ecx
pop esi
leave
ret 4

Function at 0x421979
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43eae7
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x44d0b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor eax, eax
mov dword [ebx], 0x443fa8
lea esi, [ebx + 0xbc]
mov dword [ebx + 4], 0x443f78
lea edi, [ebx + 0xc]
mov dword [ebx + 8], 0x443f8c
push esi
lea ecx, [ebx + 0x50]
mov dword [edi], 0x443f50
mov dword [ebx + 0x10], 0x443f64
mov word [ebx + 0x14], ax
mov byte [ebx + 0x16], 1
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x40], eax
mov byte [ebx + 0x44], 1
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x4c], eax
call fcn.0041d783
push esi
lea ecx, [ebx + 0x74]
call fcn.0041d783
push esi
lea ecx, [ebx + 0x98]
call fcn.0041d783
push 0x102
push esi
call dword [0x4413e4]
pop ecx
lea eax, [ebx + 0xec]
pop ecx
xor ecx, ecx
mov dword [eax], edi
mov word [eax + 8], cx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [ebx + 0x104], ecx
lea ecx, [ebx + 0x108]
push 0x443efc
mov dword [eax + 4], esi
call fcn.0041d69b
and dword [ebx + 0x120], 0
test byte [0x44ea40], 0x10
je 0x421a7b
push ebx
lea eax, [ebx + 0xec]
mov edx, 0x443b80
push eax
push ebx
call fcn.0041e1c2
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x422cdb
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f64d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x44d0b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
push 0x44e144
lea ecx, [ebp - 0x14]
call fcn.0041ca6b
mov eax, dword [0x44e174]
test eax, eax
jne 0x422d24
and dword [esi], eax
jmp 0x422dec
lea ebx, [eax + 4]
mov dword [ebp - 0x10], edi
mov edx, 0x811c9dc5
xor ecx, ecx
movzx eax, byte [ebp + ecx - 0x10]
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
cmp ecx, 4
jb 0x422d31
push edx
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00423758
mov eax, dword [eax + 4]
test eax, eax
je 0x422d60
mov ecx, dword [ebx + 4]
jmp 0x422d65
mov eax, dword [ebx + 4]
mov ecx, eax
push 0
cmp eax, ecx
jne 0x422e08
push 0
push edi
call fcn.004211eb
xor ecx, ecx
mov dword [ebp - 0x28], edi
add esp, 0xc
test edi, edi
cmovne ecx, eax
mov dword [ebp - 0x24], ecx
test ecx, ecx
je 0x422d8f
lock inc dword [ecx + 8]
and dword [ebp - 0x20], 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00422ffe
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x422db6
and dword [ebp - 0x20], 0
call fcn.00408a82
lea ecx, [ebp - 0x28]
call fcn.00420efa
mov eax, dword [0x44e174]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x422dcd
lock inc dword [eax]
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00423145
lea ecx, [ebp - 0x1c]
call fcn.00422f3e
mov eax, dword [ebp - 0x10]
mov dword [esi], eax
push dword [ebp - 0x14]
call dword [0x4413f0]
mov eax, esi
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push 0x285e80e
call fcn.00403b41
int3

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f0e2
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x44d0b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x44e144
lea ecx, [ebp - 0x10]
call fcn.0041ca6b
mov edi, 0x811c9dc5
xor edx, edx
movzx eax, byte [ebp + edx + 8]
xor eax, edi
imul edi, eax, 0x1000193
inc edx
cmp edx, 4
jb 0x422e6c
push edi
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebx + 4]
call fcn.00423758
mov eax, dword [eax + 4]
test eax, eax
jne 0x422e9a
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 8]
je 0x422ec8
push eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebx + 4]
call fcn.004231b6
push dword [ebp - 0x10]
call dword [0x4413f0]
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4
push 0
push 0x285e80f
call fcn.00403b41
int3
Function at 0x10015b90
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10021ce0
push 0x10017e80
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10024008]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], 0
xor esi, esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x2c], esi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x20], 0x100
mov eax, dword [ecx]
mov edi, dword [eax + 0x28]
mov dword [ebp - 0x40], edi
test edi, edi
jne 0x10015bf9
xor eax, eax
jmp 0x10015d6f
mov dword [ebp - 4], ebx
push 0x1001e394
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10015d3a
push 1
push dword [ebp - 0x34]
call eax
test eax, eax
je 0x10015d3a
push str.AllocateAndInitializeSid
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10015d3a
lea ecx, [ebp - 0x28]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
lea ecx, [ebp - 0x24]
push ecx
call eax
test eax, eax
je 0x10015d3a
push str.GetLengthSid
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10015d3a
push dword [ebp - 0x28]
call eax
add eax, 0x10
mov dword [ebp - 0x30], eax
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x10015d3a
push str.InitializeAcl
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10015d3a
push 2
push dword [ebp - 0x30]
push esi
call eax
test eax, eax
je 0x10015d3a
push str.AddAccessAllowedAce
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10015d3a
push dword [ebp - 0x28]
push 0x10000000
push 2
push esi
call eax
test eax, eax
je 0x10015d3a
push 0x1001e3b4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x10015d3a
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x10015d23
push 0
push ecx
push 1
push dword [ebp - 0x34]
call eax
test eax, eax
je 0x10015d10
mov ebx, 1
mov dword [ebp - 0x38], ebx
cmp dword [ebp - 0x2c], 0
je 0x10015d20
jmp 0x10015d3a
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x30]
push 0
push esi
push 1
push dword [ebp - 0x34]
call eax
mov ecx, 1
test eax, eax
cmovne ebx, ecx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.10015d96
test ebx, ebx
jne 0x10015d6d
test esi, esi
je 0x10015d5f
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor esi, esi
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x10015d6d
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10017527
mov esp, ebp
pop ebp
ret 0xc
Function at 0x401000
Capabilities:
Hash data with crc32

Disassembly:
push esi
mov esi, dword [0x403068]
push edi
push 0x10000
push 2
call esi
mov edi, dword [0x403088]
push eax
mov dword [0x404370], eax
call edi
push 0x8040
push 2
mov dword [0x40436c], eax
call esi
push eax
mov dword [0x4043a8], eax
call edi
push 0x400
push 2
mov dword [0x404398], eax
call esi
push eax
mov dword [0x404388], eax
call edi
mov dword [0x404374], eax
and dword [eax], 0
push 1
pop eax
push 8
mov ecx, eax
pop edx
test cl, 1
je 0x40106a
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x40106c
shr ecx, 1
dec edx
jne 0x40105b
mov edx, dword [0x404374]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, 0x100
jl 0x401056
pop edi
pop esi
ret

Function at 0x4020b6
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x4020c8
or eax, 0xffffffff
mov dword [section..data], eax
jmp 0x402101
mov edx, dword [esp + 8]
mov eax, dword [section..data]
push esi
mov esi, edx
dec edx
test esi, esi
je 0x4020fb
push edi
inc edx
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
mov edi, dword [0x404374]
shr eax, 8
mov esi, dword [edi + esi*4]
xor eax, esi
inc ecx
dec edx
jne 0x4020db
pop edi
mov dword [section..data], eax
pop esi
not eax
ret 8