joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403f87
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push str.VirtualProtect
xor ebx, ebx
push str.kernel32.dll
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 4]
mov edi, 0x4ac
push ecx
push 0x40
push edi
mov esi, 0x47b610
push esi
call eax
push edi
push esi
call fcn.004032df
pop ecx
pop ecx
call fcn.004032c5
push ebx
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, 0x47b610
add edx, 0x188
mov esi, 0x42d010
push esi
call edx
push str.dsikfhucIUsioa
push 0x47cb58
call fcn.00401100
push eax
call fcn.00401c08
add esp, 0xc
push ebx
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
push ebx
push ebx
push ebx
call dword [sym.imp.GDI32.dll_GdiComment]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret

Function at 0x406bb7
Capabilities:
Parse pe header

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

Function at 0x415a78
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x427258
push 0x427250
push str.FlsAlloc
push 0x1e
call fcn.004158e5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x415aac
push dword [ebp + 8]
mov ecx, esi
call dword [0x423150]
call esi
jmp 0x415ab2
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x415af6
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x427268
push 0x427260
push str.FlsGetValue
push 0x20
call fcn.004158e5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x415b2d
push dword [ebp + 8]
mov ecx, esi
call dword [0x423150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x416efd
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00416b9f

Function at 0x416f08
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00416d2e
Function at 0x418573
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00406f20
mov eax, dword [0x47bb00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.004152c4
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4185b5
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x418711
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00422050
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x47d410]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00418999
mov ecx, dword [esi*4 + 0x47d410]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41870a
cmp eax, dword [edi + ecx + 0x24]
jne 0x41870a
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41870a
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00418999
add esp, 0x14
test edx, edx
jl 0x41870a
jg 0x418680
test eax, eax
jb 0x41870a
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41870a
jl 0x41869a
cmp dword [ebp - 0x1008], eax
ja 0x41870a
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4186b8
test ebx, ebx
je 0x4186f1
cmp ecx, edi
jae 0x4186f1
mov al, byte [ecx]
cmp al, 0xd
jne 0x4186d2
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4186de
cmp byte [ecx + 1], 0xa
jne 0x4186de
inc ecx
jmp 0x4186de
movzx eax, al
movsx eax, byte [eax + 0x47c480]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4186b8
cmp edx, ebx
jne 0x4186b8
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41870f
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040640a
leave
ret
Function at 0x41f1a9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x47d410]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41f1e9
cmp byte [ebx], 0xa
jne 0x41f1e9
or byte [eax + edi + 0x28], 4
jmp 0x41f1ee
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41f2ec
mov al, byte [edx]
cmp al, 0x1a
je 0x41f2ce
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41f21d
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41f242
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41f24c
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41f1ff
jmp 0x41f2ec
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f2c9
cmp dword [ebp - 0xc], 0
je 0x41f2c9
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x47d410]
test byte [eax + edi + 0x28], 0x48
je 0x41f2a3
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41f28e
mov byte [esi], dl
jmp 0x41f29f
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x47d410]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41f2ec
cmp byte [ebp - 1], 0xa
jne 0x41f2b2
cmp esi, ebx
jne 0x41f2b2
mov byte [esi], 0xa
jmp 0x41f2eb
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004189b7
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41f2ec
mov byte [esi], 0xd
jmp 0x41f2eb
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x47d410]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41f2e8
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41f2ec
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41f2f5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x47d410]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41f338
cmp word [esi], dx
jne 0x41f338
or byte [edi + eax + 0x28], 4
jmp 0x41f33d
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41f490
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41f470
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41f37f
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41f3b5
cmp eax, edx
jae 0x41f3c1
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41f357
jmp 0x41f490
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f46c
cmp dword [ebp - 0x14], 0
je 0x41f46c
mov eax, dword [ebx*4 + 0x47d410]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41f444
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41f40d
mov word [esi], cx
jmp 0x41f440
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x47d410]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x47d410]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x47d410]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41f490
pop ebx
cmp word [ebp - 4], bx
jne 0x41f455
cmp esi, dword [ebp + 0xc]
jne 0x41f455
mov word [esi], bx
jmp 0x41f48d
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004189b7
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41f490
push 0xd
jmp 0x41f489
mov ecx, dword [ebx*4 + 0x47d410]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41f487
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41f490
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10006190
Capabilities:
Check if file exists
Delete file
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
push 0
push 0x100c3c28
push dword [0x100c5ca8]
call sym.dopuslib32.dll_Ordinal_79
push 1
neg eax
push 0x100c4540
push dword [0x100c5ca8]
sbb esi, esi
and esi, 0x7ffbfdff
call sym.dopuslib32.dll_Ordinal_79
add esp, 0x18
lea eax, [ebp - 0x208]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.dopus.cpl
lea eax, [ebp - 0x208]
push 0x104
push eax
call sym.dopuslib32.dll_SafePathAppend
add esp, 0xc
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10006215
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esi - 0x7ffbfdff]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100081b0
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
test byte [0x100c5cc4], 4
je 0x100081d1
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push esi
push 3
call sym.dopuslib32.dll_Ordinal_71
add esp, 0xc
test eax, eax
je 0x10008208
push str.dopus.exe
push 0x104
push esi
call sym.dopuslib32.dll_SafePathAppend
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10008276
xor eax, eax
mov dword [ebp - 4], 0
mov word [esi], ax
lea eax, [edi + edi]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsDOpus.exe
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x10008264
lea eax, [ebp - 8]
push eax
push esi
push 0
push 0
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1000825f
xor eax, eax
mov word [esi], ax
push dword [ebp - 4]
call edi
cmp word [esi], 0
je 0x10008281
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10008281
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 4], 0
mov word [esi], ax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsDOpus.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100082d4
lea eax, [ebp - 8]
push eax
push esi
push 0
push 0
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100082cf
xor eax, eax
mov word [esi], ax
push dword [ebp - 4]
call edi
xor eax, eax
cmp word [esi], ax
pop edi
setne al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10008d70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
lea eax, [ebp - 0x20c]
push ebx
push esi
push edi
push 0x208
push 0
push eax
call fcn.1007cff0
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 5
call sym.dopuslib32.dll_Ordinal_71
add esp, 0x18
test eax, eax
je 0x10008f35
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x20c]
push str.Language
push 0x104
lea eax, [ecx + eax*2]
mov dword [ebp - 4], eax
mov eax, ecx
push eax
call sym.dopuslib32.dll_SafePathAppend
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
push 0x104
push eax
call sym.dopuslib32.dll_SafePathAppend
add esp, 0x18
lea eax, [ebp - 0x20c]
mov ecx, 0x104
jmp 0x10008e00
cmp word [eax], 0
je 0x10008e0e
add eax, 2
sub ecx, 1
jne 0x10008e00
mov esi, 0x104
mov edx, ecx
mov eax, esi
sub eax, ecx
neg edx
sbb edx, edx
and edx, eax
test ecx, ecx
je 0x10008e6a
mov ecx, esi
lea eax, [ebp - 0x20c]
lea eax, [eax + edx*2]
sub ecx, edx
je 0x10008e5f
mov ebx, str..dll
mov edx, SysReAllocString
sub ebx, eax
mov edi, edi
test edx, edx
je 0x10008e62
movzx edi, word [ebx + eax]
test di, di
je 0x10008e5b
mov word [eax], di
dec edx
add eax, 2
sub ecx, 1
jne 0x10008e40
jmp 0x10008e5f
test ecx, ecx
jne 0x10008e62
sub eax, 2
mov edi, dword [ebp + 8]
xor ecx, ecx
mov word [eax], cx
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea eax, [ebp - 0x20c]
push eax
call ebx
cmp eax, 0xffffffff
je 0x10008e8d
test al, 0x10
jne 0x10008e8d
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 4]
xor ecx, ecx
push edi
push 0x104
mov word [eax], cx
lea eax, [ebp - 0x20c]
push eax
call sym.dopuslib32.dll_SafePathAppend
add esp, 0xc
lea eax, [ebp - 0x20c]
mov ecx, esi
cmp word [eax], 0
je 0x10008ec0
add eax, 2
sub ecx, 1
jne 0x10008eb2
mov eax, esi
mov edx, ecx
sub eax, ecx
neg edx
sbb edx, edx
and edx, eax
test ecx, ecx
je 0x10008f17
lea eax, [ebp - 0x20c]
lea eax, [eax + edx*2]
sub esi, edx
je 0x10008f0f
mov edi, str..dll
mov ecx, SysReAllocString
sub edi, eax
lea esp, [esp]
test ecx, ecx
je 0x10008f12
movzx edx, word [edi + eax]
test dx, dx
je 0x10008f0b
mov word [eax], dx
dec ecx
add eax, 2
sub esi, 1
jne 0x10008ef0
jmp 0x10008f0f
test esi, esi
jne 0x10008f12
sub eax, 2
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x20c]
push eax
call ebx
cmp eax, 0xffffffff
je 0x10008f35
shr eax, 4
pop edi
not al
pop esi
and al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10009250
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [ebp + 8]
cmp ecx, eax
jne 0x1000928c
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x100092c3
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx]
pop esi
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, 1
mov dword [ecx + 8], 0
mov esp, ebp
pop ebp
ret
push dword [ebp + 0xc]
lea eax, [ebp - 0x208]
push ecx
push str.DOpus.InterprocData._p._p
push 0x104
push eax
call fcn.1000b000
add esp, 0x14
lea eax, [ebp - 0x208]
push eax
push 0
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov esi, eax
test esi, esi
jne 0x100092ca
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push edi
push 4
push 0
push 0
push 0xf001f
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x10009323
mov edi, dword [eax]
test edi, edi
je 0x10009323
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea eax, [edi + 4]
push eax
push 0
push 0
push 0xf001f
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x10009323
mov ecx, dword [ebp + 0x10]
add eax, 4
mov dword [ecx + 4], edi
pop edi
mov dword [ecx], eax
mov eax, 1
mov dword [ecx + 8], 1
pop esi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000aac0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009ee4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov eax, dword [edx + 0xc]
mov dword [ecx + 0xc], eax
xor eax, eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], eax
mov eax, dword [edx + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [edx + 0x14]
mov dword [ecx + 0x14], eax
mov eax, dword [edx + 0x18]
mov dword [ecx + 0x18], eax
mov eax, dword [edx + 0x1c]
mov dword [ecx + 0x1c], eax
mov eax, dword [edx + 0x20]
mov dword [ecx + 0x20], eax
mov eax, dword [edx + 0x24]
mov dword [ecx + 0x24], eax
mov dword [edx + 0x24], 7
mov dword [ebp - 4], 0
xor eax, eax
mov dword [edx + 0x20], 0
mov word [edx + 0x10], ax
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], eax
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], eax
mov dword [ecx + 0x38], eax
mov dword [ecx + 0x3c], eax
mov eax, dword [edx + 0x28]
mov dword [ecx + 0x28], eax
mov eax, dword [edx + 0x2c]
mov dword [ecx + 0x2c], eax
mov eax, dword [edx + 0x30]
mov dword [ecx + 0x30], eax
mov eax, dword [edx + 0x34]
mov dword [ecx + 0x34], eax
mov eax, dword [edx + 0x38]
mov dword [ecx + 0x38], eax
mov eax, dword [edx + 0x3c]
mov dword [ecx + 0x3c], eax
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov dword [edx + 0x38], 0
mov dword [edx + 0x3c], 7
mov word [edx + 0x28], ax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x10010920
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009f820
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov dword [ecx], 0
mov byte [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ebp - 4], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov byte [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov byte [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov byte [ecx + 0x34], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10011bd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009fb0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, ecx
mov dword [ebp - 0x10], eax
cmp dword [eax + 4], 0x35e50d7
je 0x10011d56
push ebx
push esi
push edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
push 0x4c
mov dword [ebp - 0x18], 0
call fcn.10079cc9
mov esi, dword [ebp + 0xc]
mov ebx, eax
mov dword [ebp - 0x18], ebx
lea edi, [ebx + 8]
mov dword [ebp - 0x14], edi
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov dword [esi + 0x14], 7
mov byte [ebp - 4], 1
xor eax, eax
mov dword [esi + 0x10], 0
mov word [esi], ax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x2c], eax
mov byte [ebp - 4], 2
xor eax, eax
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 7
mov word [esi + 0x18], ax
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
movzx eax, byte [esi + 0x38]
mov byte [edi + 0x38], al
movzx eax, byte [esi + 0x39]
mov byte [edi + 0x39], al
push 0x4c
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
call fcn.10079cc9
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x3c], eax
mov ecx, dword [esi + 0x3c]
mov dword [edi + 0x3c], ecx
mov dword [esi + 0x3c], eax
mov ecx, dword [edi + 0x40]
mov eax, dword [esi + 0x40]
mov dword [edi + 0x40], eax
mov dword [esi + 0x40], ecx
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x18], 0
inc dword [eax + 4]
mov eax, dword [ecx + 4]
mov dword [ebx], ecx
mov dword [ebx + 4], eax
mov dword [ecx + 4], ebx
mov dword [eax], ebx
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push str.list_too_long
call fcn.1007af8d
int3

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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
sar esi, 1
add esi, esi
je 0x100121b1
lea ecx, [ecx]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x100121a0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x1001a680
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a08af
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.1007baf5
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 0x1001a726
push eax
push esi
call fcn.1007b9b3
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
call fcn.1007afee
int3