joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42061e
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
push edi
push 0x10
pop esi
lea eax, [ebp - 0xc]
push eax
push str.SeDebugPrivilege
xor edi, edi
push edi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x4206ad
mov eax, dword [ebp - 0xc]
push ebx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
lea eax, [ebp - 0x2c]
push eax
push edi
push dword [ebp + 8]
xor ebx, ebx
inc ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x20], edi
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
je 0x420681
xor eax, eax
jmp 0x4206ac
mov eax, dword [ebp - 0xc]
or dword [ebp - 0x10], 2
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
xor eax, eax
push eax
push eax
push dword [ebp - 4]
lea ecx, [ebp - 0x1c]
push ecx
push eax
push dword [ebp + 8]
mov dword [ebp - 0x1c], ebx
call esi
call edi
neg eax
sbb eax, eax
inc eax
pop ebx
pop edi
pop esi
leave
ret

Function at 0x4206b1
Capabilities:
Get explorer pid

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
lea eax, [ebp - 8]
push eax
xor esi, esi
push 0x28
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x4206db
xor eax, eax
jmp 0x42079a
push dword [ebp - 8]
call fcn.0042061e
pop ecx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.USER32.dll_GetShellWindow]
lea ecx, [ebp - 0xc]
push ecx
push eax
mov dword [ebp - 0xc], esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [ebp - 0xc], esi
je 0x4206d4
push ebx
push dword [ebp - 0xc]
push esi
push 0x20000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
cmp ebx, esi
je 0x42077f
lea eax, [ebp - 4]
push eax
push esi
push dword [edi]
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], esi
mov esi, dword [sym.imp.USER32.dll_GetUserObjectSecurity]
push ebx
mov dword [ebp - 0x14], 1
call esi
cmp dword [ebp - 4], 0
je 0x42077f
push dword [ebp - 4]
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
lea ecx, [ebp - 4]
push ecx
push dword [ebp - 4]
mov dword [edi], eax
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
call esi
test eax, eax
je 0x42077f
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorOwner]
test eax, eax
jne 0x420789
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x420799
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x10]
pop ebx
pop esi
leave
ret
Function at 0x42089d
Capabilities:
Get cpu information
Get disk information
Get hostname
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x334
push ebx
push esi
push edi
xor eax, eax
mov esi, 0xc6
push esi
mov word [ebp - 0x334], ax
xor edi, edi
lea eax, [ebp - 0x332]
push edi
push eax
call fcn.0040cdd0
lea ebx, [esi + 2]
add esp, 0xc
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x334]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push 0x428000
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
xor eax, eax
push esi
mov word [ebp - 0x1a4], ax
lea eax, [ebp - 0x1a2]
push edi
push eax
mov dword [ebp - 0xc], 1
call fcn.0040cdd0
add esp, 0xc
lea eax, [ebp - 4]
push eax
push str.HARDWAREDESCRIPTIONSystemBIOS
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1a4]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push str.BaseBoardProduct
push dword [ebp - 4]
call ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
push esi
mov word [ebp - 0xdc], ax
lea eax, [ebp - 0xda]
push edi
push eax
call fcn.0040cdd0
xor eax, eax
push esi
mov word [ebp - 0x26c], ax
lea eax, [ebp - 0x26a]
push edi
push eax
call fcn.0040cdd0
add esp, 0x18
lea eax, [ebp - 4]
push eax
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
add esi, 2
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push str.Identifier
push dword [ebp - 4]
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], 1
call ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push str.ProcessorNameString
push dword [ebp - 4]
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], 1
call ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0x1a4]
push eax
lea eax, [ebp - 0x334]
push eax
push dword [ebp - 0x10]
push str._x_s_s_s_s
push 0x400
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x20
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401694
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], esi
mov ebx, esi
push edi
test eax, eax
je 0x40177a
test ecx, ecx
je 0x40177a
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x40177a
or dword [edi], 0xffffffff
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push ecx
mov dword [eax], esi
mov dword [edx], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [edi], eax
cmp eax, 0xffffffff
jne 0x401703
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x401759
movzx esi, si
or esi, 0x80070000
jmp 0x401757
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x4016ec
cmp dword [ebp - 4], ebx
je 0x401722
mov esi, 0x80004005
jmp 0x40175b
push esi
push esi
push esi
push 2
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
test ebx, ebx
je 0x4016ec
push dword [ebp - 8]
push esi
push esi
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, eax
test ecx, ecx
je 0x4016ec
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
test esi, esi
je 0x40176b
cmp dword [edi], 0xffffffff
je 0x40176b
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [edi], 0xffffffff
test ebx, ebx
je 0x401776
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x40177f
mov eax, 0x80070057
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x401ad4
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x401f98
call fcn.00401d98
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x401b34
cmp eax, 0xffffffff
je 0x401b34
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x401b2d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x401b2d
cmp edx, 0x10000000
jae 0x401b2d
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x401b2a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x401ba0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x401bde
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x401bd6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x401be0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x401bc6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x401cb0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x401ce1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x401ce1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x401ce1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x431004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
je 0x431072
nop
nop
nop
nop
nop
mov ebx, 0x40915c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x6ba4028
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x431060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4310d2
nop
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x76544604
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x1000330a
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x20
mov eax, ecx
push ebx
mov ebx, dword [eax + 0x3c]
add ebx, eax
mov dword [esp + 4], eax
movzx eax, word [ebx + 0x14]
add eax, 0x18
push edi
mov edi, dword [ebx + 0xa0]
add eax, ebx
mov dword [esp + 0x14], eax
test edi, edi
je 0x1000347c
mov edx, dword [ebx + 0xa4]
test edx, edx
je 0x1000347c
push ebp
push esi
movzx esi, word [ebx + 6]
xor ebp, ebp
xor ecx, ecx
test esi, esi
je 0x10003362
cmp dword [eax + 0xc], edi
je 0x10003360
inc ecx
add eax, 0x28
cmp ecx, esi
jb 0x10003351
jmp 0x10003362
mov ebp, eax
mov ebp, dword [ebp + 0x14]
add ebp, dword [esp + 0x10]
mov dword [esp + 0x2c], ebp
lea eax, [edx + ebp]
mov edi, ebp
cmp ebp, eax
je 0x1000347a
mov edx, dword [edi + 4]
mov esi, dword [edi]
lea edx, [edx - 8]
add edi, 8
shr edx, 1
mov dword [esp + 0x28], esi
mov dword [esp + 0x14], edx
je 0x1000346a
mov ebp, dword [esp + 0x10]
movzx ecx, word [edi]
mov eax, ecx
and eax, 0xf000
mov dword [esp + 0x18], 0x3000
add edi, 2
cmp ax, word [esp + 0x18]
jne 0x1000345b
movzx eax, word [ebx + 6]
and ecx, 0xfff
add ecx, esi
xor edx, edx
xor esi, esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
test eax, eax
je 0x10003400
mov edx, dword [esp + 0x1c]
add edx, 0xc
lea eax, [edx - 0xc]
mov dword [esp + 0x18], eax
cmp dword [edx], ecx
ja 0x100033f0
mov eax, dword [edx - 4]
add eax, dword [edx]
cmp eax, ecx
ja 0x10003433
movzx eax, word [ebx + 6]
inc esi
add edx, 0x28
cmp esi, eax
jb 0x100033dc
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x14]
sub eax, dword [edx + 0xc]
push 0x14
add eax, ecx
pop ecx
mov eax, dword [eax + ebp]
mov dword [esp + 0x20], eax
call fcn.1000dc64
mov esi, eax
test esi, esi
je 0x10003439
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi], 0xf0fab0
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
jmp 0x1000343b
mov edx, dword [esp + 0x18]
jmp 0x10003400
xor esi, esi
mov ecx, dword [esp + 0x34]
push esi
call fcn.1000ddb2
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x10], eax
mov esi, dword [esp + 0x28]
dec edx
mov dword [esp + 0x14], edx
jne 0x10003399
mov ebp, dword [esp + 0x2c]
mov eax, dword [ebx + 0xa4]
add eax, ebp
cmp edi, eax
jne 0x1000337a
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x20
ret 4
Function at 0x1000bd31
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov ebx, dword [ebp + 0x3c]
push edi
add ebx, ebp
push 0x40
lea eax, [ebx + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [eax + 0x38]
mov dword [esp + 0x24], eax
push 0x3000
add eax, 0x14
push eax
mov edi, ecx
push 0
mov dword [esp + 0x20], edi
call dword [0xf0f0c4]
mov esi, eax
mov dword [edi], esi
test esi, esi
je 0x1000be61
push 0x40
mov edx, ebp
mov ecx, esi
call fcn.1000dc84
mov esi, dword [esi + 0x3c]
movzx eax, word [ebx + 0x14]
add esi, dword [edi]
push eax
mov edx, ebx
mov ecx, esi
call fcn.1000dc84
movzx ecx, word [ebx + 0x14]
lea eax, [esi + 0x18]
movzx esi, word [esi + 0x14]
lea edx, [ebx + 0x18]
movzx ebx, word [ebx + 6]
add ecx, edx
add esi, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
test ebx, ebx
je 0x1000bdf6
mov ebp, ecx
sub ebp, esi
mov edi, ebx
push 0x28
lea edx, [esi + ebp]
mov ecx, esi
call fcn.1000dc84
add esi, 0x28
dec edi
jne 0x1000bdba
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
test ebx, ebx
je 0x1000bdf6
lea esi, [ecx + 0x14]
mov ecx, dword [esi - 8]
mov edx, dword [esi]
push dword [esi - 4]
add ecx, dword [edi]
add edx, ebp
call fcn.1000dc84
lea esi, [esi + 0x28]
dec ebx
jne 0x1000bddf
mov edx, dword [edi]
mov esi, dword [esp + 0x18]
push esi
mov ecx, edx
call fcn.10008222
push dword [esp + 0x1c]
mov edx, dword [edi]
mov ecx, dword [0xf115b8]
call fcn.100082c1
mov eax, dword [esi + 0x60]
test eax, eax
je 0x1000be3a
cmp dword [esi + 0x64], 0
je 0x1000be3a
mov edx, dword [edi]
mov ecx, dword [eax + edx + 0x10]
mov eax, dword [eax + edx + 0x1c]
shl ecx, 2
sub eax, ecx
mov eax, dword [eax + edx + 4]
add eax, edx
mov dword [edi + 4], eax
mov edx, dword [edi]
add edx, dword [esp + 0x20]
mov ecx, dword [0xf115b8]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov eax, dword [ecx + 4]
and dword [edx + 0xc], 0
and dword [edx + 0x10], 0
mov dword [edx + 4], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
Function at 0x1000d082
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push edi
mov ebx, dword [ebp + 0x3c]
push 0x40
add ebx, ebp
push 0x3000
lea eax, [ebx + 0x18]
mov dword [esp + 0x24], ecx
push dword [eax + 0x38]
mov dword [esp + 0x24], eax
push 0
call dword [0xf0f0c4]
mov edi, eax
mov dword [esp + 0xc], edi
test edi, edi
je 0x1000d1b4
push esi
push 0x40
mov edx, ebp
mov ecx, edi
call fcn.1000dc84
mov esi, dword [edi + 0x3c]
movzx eax, word [ebx + 0x14]
add esi, edi
push eax
mov edx, ebx
mov ecx, esi
call fcn.1000dc84
movzx eax, word [ebx + 0x14]
lea edx, [esi + 0x18]
movzx esi, word [esi + 0x14]
lea ecx, [ebx + 0x18]
movzx ebx, word [ebx + 6]
add eax, ecx
add esi, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
test ebx, ebx
je 0x1000d13f
mov ebp, eax
sub ebp, esi
mov edi, ebx
push 0x28
lea edx, [esi + ebp]
mov ecx, esi
call fcn.1000dc84
add esi, 0x28
dec edi
jne 0x1000d103
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
test ebx, ebx
je 0x1000d13f
lea esi, [eax + 0x14]
mov edx, dword [esi]
mov ecx, dword [esi - 8]
push dword [esi - 4]
add edx, ebp
add ecx, edi
call fcn.1000dc84
lea esi, [esi + 0x28]
dec ebx
jne 0x1000d128
mov ebx, dword [esp + 0x18]
push ebx
mov edx, edi
mov ecx, edi
call fcn.10008222
push dword [esp + 0x1c]
mov ecx, dword [0xf115b8]
mov edx, edi
call fcn.100082c1
add ebx, 0x60
mov eax, dword [ebx]
test eax, eax
je 0x1000d1b0
cmp dword [ebx + 4], 0
je 0x1000d1b0
lea esi, [eax + edi]
push 0xf10024
push esi
mov edx, ebx
mov ecx, edi
call fcn.10008372
mov ebp, dword [esp + 0x20]
push 0xf10030
add eax, edi
push esi
mov edx, ebx
mov ecx, edi
mov dword [ebp + 4], eax
call fcn.10008372
push 0xf10044
add eax, edi
push esi
mov edx, ebx
mov ecx, edi
mov dword [ebp + 8], eax
call fcn.10008372
add eax, edi
mov dword [ebp + 0xc], eax
xor eax, eax
inc eax
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x14
ret 8

Function at 0x1000e1ec
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov ebx, edi
shr ebx, 2
and edi, 3
mov esi, ecx
test ebx, ebx
je 0x1000e22d
push ebp
mov ebp, dword [esp + 0x14]
mov al, byte [esp + 0x18]
mov edx, dword [esi]
add al, bl
cmp dword [esp + 0x1c], 0
movzx ecx, al
je 0x1000e21e
add edx, ebx
xor edx, ebp
rol edx, cl
jmp 0x1000e224
ror edx, cl
xor edx, ebp
sub edx, ebx
mov dword [esi], edx
add esi, 4
dec ebx
jne 0x1000e204
pop ebp
test edi, edi
je 0x1000e23b
mov eax, dword [esp + 0x10]
xor byte [esi], al
inc esi
dec edi
jne 0x1000e235
pop edi
pop esi
pop ebx
ret 0xc

Function at 0x1000ec64
Capabilities:
Hash data with md5

Disassembly:
and dword [ecx + 0x14], 0
and dword [ecx + 0x10], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x40a960
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x463188]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40aa03
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40aa03
cmp eax, 3
je 0x40a99b
cmp eax, 2
jne 0x40aa18
push 0x5c
push edi
call fcn.0042b79e
mov esi, eax
add esp, 8
test esi, esi
je 0x40aa18
sub esi, edi
lea eax, [ebp - 0x20c]
sar esi, 1
push esi
push edi
push 0x104
push eax
call fcn.004379ef
add esi, esi
add esp, 0x10
cmp esi, 0x208
jae 0x40aa2a
xor eax, eax
lea ecx, [ebp - 0x20c]
mov word [ebp + esi - 0x20c], ax
call fcn.0040a960
test eax, eax
je 0x40aa18
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40aa03
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40aa18
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004299ea
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004299ea
mov esp, ebp
pop ebp
ret
call fcn.00429bef
int3
Function at 0x40e740
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c2ed
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x463188]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x24], esi
cmp dword [esi], 0
jne 0x40e8ec
mov edx, dword [esi + 8]
sub edx, dword [esi + 4]
sar edx, 3
cmp edx, 2
jle 0x40e8ec
mov edi, dword [ebp + 8]
mov dword [ebp - 0x38], edi
mov eax, dword [edi]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x34], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x2c], eax
mov eax, edx
mov dword [ebp - 4], 0
shr eax, 1
mov ecx, 1
add eax, edx
mov dword [ebp - 0x1c], ecx
cmp eax, ecx
jbe 0x40e7c9
mov edi, edi
add ecx, ecx
cmp ecx, eax
jb 0x40e7c0
mov dword [ebp - 0x1c], ecx
lea ebx, [ecx*4]
mov ecx, edi
push ebx
call fcn.0040d550
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
jne 0x40e7fd
lea ecx, [ebp - 0x38]
call fcn.0040d5f0
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
push ebx
push 0
push edi
call fcn.0042c0e0
mov edx, dword [esi + 4]
add esp, 0xc
mov ebx, edx
mov dword [ebp - 0x14], edx
cmp ebx, dword [esi + 8]
je 0x40e87d
mov esi, dword [ebx + 4]
test esi, esi
jne 0x40e823
mov esi, dword [ebx]
test esi, esi
je 0x40e872
mov eax, esi
shr eax, 0x10
xor eax, esi
imul ecx, eax, 0x85ebca6b
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae35
mov eax, ecx
shr eax, 0x10
xor ecx, eax
mov eax, dword [ebp - 0x1c]
dec eax
and eax, ecx
xor ecx, ecx
lea esp, [esp]
mov edx, dword [edi + eax*4]
lea edi, [edi + eax*4]
test edx, edx
je 0x40e8d2
mov edi, dword [ebp - 0x18]
cmp edx, esi
je 0x40e86f
mov edx, dword [ebp - 0x1c]
inc eax
add eax, ecx
dec edx
inc ecx
and eax, edx
cmp ecx, edx
jbe 0x40e850
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x24]
add ebx, 8
cmp ebx, dword [esi + 8]
jne 0x40e816
mov dword [esi + 8], edx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 1
mov eax, dword [ebx]
cmp eax, dword [ebp - 0x20]
je 0x40e8b3
mov ebx, dword [ebp - 0x20]
mov esi, dword [fcn.0040b5a0]
mov ecx, esi
mov edi, dword [eax]
push eax
call dword [0x44e360]
call esi
add esp, 4
mov eax, edi
cmp edi, ebx
jne 0x40e894
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 0x20]
mov dword [ebx], eax
mov eax, dword [ebp - 0x28]
mov dword [ebx + 4], eax
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
mov edx, dword [ebp - 0x14]
mov dword [edi], esi
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edi, dword [ebp - 0x18]
mov dword [edx], eax
mov dword [edx + 4], ecx
add edx, 8
mov dword [ebp - 0x14], edx
jmp 0x40e872
mov edx, dword [esi + 8]
mov ecx, dword [esi + 4]
call fcn.00414fb0
mov dword [esi + 8], eax
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 0x4133b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
xor edx, edx
push esi
push edi
mov edi, ecx
mov esi, ebx
mov al, byte [ebx]
test al, al
je 0x4133e0
movsx eax, al
lea esi, [esi + 1]
add eax, edx
imul edx, eax, 0x401
mov eax, edx
shr eax, 6
xor edx, eax
mov al, byte [esi]
test al, al
jne 0x4133c5
lea eax, [edx + edx*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
and ecx, 0x3f
mov esi, dword [edi + ecx*4]
test esi, esi
je 0x413450
mov eax, dword [esi]
dec eax
cmp eax, 3
ja case.default.0x4133fc
jmp dword [eax*4 + 0x413464]
lea eax, [esi + 0x1c]
jmp 0x413419
lea eax, [esi + 0x10]
jmp 0x413419
lea eax, [esi + 0xc]
jmp 0x413419
lea eax, [esi + 9]
jmp 0x413419
xor eax, eax
mov ecx, ebx
jmp 0x413420
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x413440
test dl, dl
je 0x41343c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x413440
add eax, 2
add ecx, 2
test dl, dl
jne 0x413420
xor eax, eax
jmp 0x413445
sbb eax, eax
or eax, 1
test eax, eax
je 0x413459
mov esi, dword [esi + 4]
test esi, esi
jne 0x4133f4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 4
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x41a8c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x41a90a
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41a90a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esi + 8], eax
test eax, eax
je 0x41a90a
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esi + 0xc], eax
test eax, eax
jne 0x41a913
mov dword [esi + 8], eax
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 0xc
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 0xc

Function at 0x41b870
Capabilities:
Extract resource via kernel32 functions

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