joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48b827
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x48f448
call fcn.0047d3b0
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.0048dba0
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x48b866
call fcn.0048dba0
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x48b874
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x48b882
or eax, 0xffffffff
jmp 0x48b96a
mov ecx, esi
call fcn.0048b79d
mov dword [ebp - 0x14], eax
call fcn.00488e93
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x48b8b9
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x48b8b9
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.00488e47
push dword [ebp - 0x14]
call fcn.00488979
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.0048b535
cmp eax, edi
je 0x48b92c
test byte [esi + 0x24], 0x10
je 0x48b8fa
push 4
mov ecx, esi
pop ebx
call fcn.00488379
test ah, 1
je 0x48b8f2
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.0048a99b
cmp dword [esi + 0x1c], edi
je 0x48b92c
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.004883ad
jmp 0x48b92c
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x48b940
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x48b959
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x48b959
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.0048b7d7
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x48d712
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x48d740
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48d75e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048d678
jmp 0x48d75e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48d75e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048d678
test edi, edi
mov eax, edi
jne 0x48d748
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x1003d1e
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
mov edi, edi
push esi
mov esi, ecx
cmp byte [esi + 4], 0
push edi
je 0x1003d61
mov edi, 0x8000ffff
mov eax, dword [section..data]
cmp eax, section..data
je 0x1003def
test byte [eax + 0x1c], 1
je 0x1003def
push edi
push 0x1001380
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003005
jmp 0x1003def
push ebx
push 0x104
mov edi, 0x7ffe0030
push edi
call sub.msvcrt.dll_wcsnlen
pop ecx
pop ecx
add eax, 0xa
lea ebx, [esi + 0x20]
push ebx
push 0
mov dword [esi + 0x24], eax
inc eax
push eax
push 0x10013b4
push edi
call fcn.010078c2
mov edi, eax
test edi, edi
jge 0x1003daf
mov eax, dword [section..data]
cmp eax, section..data
je 0x1003dee
test byte [eax + 0x1c], 1
je 0x1003dee
push edi
push 0x1001380
push 0xb
jmp 0x1003ddb
mov eax, dword [esi + 0x24]
inc eax
push eax
push dword [ebx]
call fcn.01003cdb
mov edi, eax
test edi, edi
jge 0x1003de8
mov eax, dword [section..data]
cmp eax, section..data
je 0x1003dee
test byte [eax + 0x1c], 1
je 0x1003dee
push edi
push 0x1001380
push 0xc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003005
jmp 0x1003dee
mov byte [esi + 4], 1
xor edi, edi
pop ebx
mov eax, edi
pop edi
pop esi
ret
Function at 0x1005677
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x14]
xor ecx, ecx
push ebx
mov dword [ebp - 4], ecx
test eax, 0xfffffcff
jne 0x100569b
test eax, 0x100
je 0x10056c6
test eax, 0x200
je 0x10056c6
mov ecx, 0x80070057
mov ebx, ecx
mov eax, dword [section..data]
cmp eax, section..data
je 0x10057a8
test byte [eax + 0x1c], 1
je 0x10057a8
push ecx
push 0x10014c4
push 0x23
jmp 0x10056f9
cmp dword [ebp + 0x1c], ecx
je 0x10056d0
cmp dword [ebp + 0x20], ecx
jne 0x1005709
mov ecx, 0x80070057
mov ebx, ecx
mov eax, dword [section..data]
cmp eax, section..data
je 0x10057a8
test byte [eax + 0x1c], 1
je 0x10057a8
push ecx
push 0x10014c4
push 0x24
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003005
jmp 0x10057a8
push esi
push edi
lea edx, [ebp - 4]
push edx
or eax, 2
push eax
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, 0xffff
mov esi, 0x80070000
test eax, eax
je 0x1005756
jle 0x1005734
and eax, edi
or eax, esi
mov ebx, eax
test ebx, ebx
jge 0x1005756
mov eax, dword [section..data]
cmp eax, section..data
je 0x10057a6
test byte [eax + 0x1c], 1
je 0x10057a6
push ebx
push 0x10014c4
push 0x25
jmp 0x1005797
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x10057a4
jle 0x1005777
and eax, edi
or eax, esi
mov ebx, eax
test ebx, ebx
jge 0x10057a4
mov eax, dword [section..data]
cmp eax, section..data
je 0x10057a6
test byte [eax + 0x1c], 1
je 0x10057a6
push ebx
push 0x10014c4
push 0x26
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003005
jmp 0x10057a6
xor ebx, ebx
pop edi
pop esi
cmp dword [ebp + 8], 0
je 0x10057bd
cmp dword [ebp + 8], 0xffffffff
je 0x10057bd
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop ebx
leave
ret 0x1c
Function at 0x10057c9
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x14]
and dword [ebp - 4], 0
push ebx
test eax, 0xfffffcff
jne 0x10057ec
test eax, 0x100
je 0x1005825
test eax, 0x200
je 0x1005825
mov ecx, 0x80070057
mov ebx, ecx
mov eax, dword [section..data]
cmp eax, section..data
je 0x10058cf
test byte [eax + 0x1c], 1
je 0x10058cf
push ecx
push 0x10014c4
push 0x27
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003005
jmp 0x10058ba
push esi
push edi
lea ecx, [ebp - 4]
push ecx
or eax, 2
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, 0xffff
mov esi, 0x80070000
test eax, eax
je 0x1005873
jle 0x1005851
and eax, edi
or eax, esi
mov ebx, eax
test ebx, ebx
jge 0x1005873
mov eax, dword [section..data]
cmp eax, section..data
je 0x10058b8
test byte [eax + 0x1c], 1
je 0x10058b8
push ebx
push 0x10014c4
push 0x28
jmp 0x10058a9
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x10058b6
jle 0x1005889
and eax, edi
or eax, esi
mov ebx, eax
test ebx, ebx
jge 0x10058b6
mov eax, dword [section..data]
cmp eax, section..data
je 0x10058b8
test byte [eax + 0x1c], 1
je 0x10058b8
push ebx
push 0x10014c4
push 0x29
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003005
jmp 0x10058b8
xor ebx, ebx
pop edi
pop esi
cmp dword [ebp - 4], 0
je 0x10058cf
cmp dword [ebp - 4], 0xffffffff
je 0x10058cf
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop ebx
leave
ret 0x10
Function at 0x10058db
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x14]
xor ecx, ecx
push ebx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
test eax, 0xfffffcff
jne 0x1005903
test eax, 0x100
je 0x100592e
test eax, 0x200
je 0x100592e
mov ecx, 0x80070057
mov ebx, ecx
mov eax, dword [section..data]
cmp eax, section..data
je 0x1005a32
test byte [eax + 0x1c], 1
je 0x1005a32
push ecx
push 0x10014c4
push 0x2a
jmp 0x1005961
cmp dword [ebp + 0x1c], ecx
je 0x1005971
cmp dword [ebp + 0x20], ecx
jne 0x1005971
mov ecx, 0x80070057
mov ebx, ecx
mov eax, dword [section..data]
cmp eax, section..data
je 0x1005a32
test byte [eax + 0x1c], 1
je 0x1005a32
push ecx
push 0x10014c4
push 0x2b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003005
jmp 0x1005a1d
push esi
push edi
lea edx, [ebp - 4]
push edx
or eax, 1
push eax
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, 0xffff
mov esi, 0x80070000
test eax, eax
je 0x10059be
jle 0x100599c
and eax, edi
or eax, esi
mov ebx, eax
test ebx, ebx
jge 0x10059be
mov eax, dword [section..data]
cmp eax, section..data
je 0x1005a1b
test byte [eax + 0x1c], 1
je 0x1005a1b
push ebx
push 0x10014c4
push 0x2c
jmp 0x1005a0c
push dword [ebp + 0x20]
lea eax, [ebp - 8]
push dword [ebp + 0x1c]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x10059e2
mov edx, dword [ebp - 8]
mov dword [ecx], edx
test eax, eax
je 0x1005a19
jle 0x10059ec
and eax, edi
or eax, esi
mov ebx, eax
test ebx, ebx
jge 0x1005a19
mov eax, dword [section..data]
cmp eax, section..data
je 0x1005a1b
test byte [eax + 0x1c], 1
je 0x1005a1b
push ebx
push 0x10014c4
push 0x2d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003005
jmp 0x1005a1b
xor ebx, ebx
pop edi
pop esi
cmp dword [ebp - 4], 0
je 0x1005a32
cmp dword [ebp - 4], 0xffffffff
je 0x1005a32
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop ebx
leave
ret 0x1c

Function at 0x1005c5c
Capabilities:
Check mutex on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax], 0
push ebx
push esi
push edi
push 0x10014d4
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jne 0x1005cc2
call edi
test eax, eax
jle 0x1005c95
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
test esi, esi
jge 0x1005cc2
mov eax, dword [section..data]
cmp eax, section..data
je 0x1005cd6
test byte [eax + 0x1c], 1
je 0x1005cd6
push esi
push 0x10014c4
push 0x3e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003005
jmp 0x1005cd6
call edi
cmp eax, 0xb7
jne 0x1005cd4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
xor esi, esi
mov eax, dword [ebp + 8]
mov dword [eax], ebx
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x1005ece
Capabilities:
Check if file exists
Get windows directory from kuser_shared_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push dword [ebp + 8]
xor bl, bl
push 0
call sub.sfc.dll_SfcIsFileProtected
test eax, eax
je 0x1005ee7
inc bl
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x1005f3e
call esi
cmp eax, 2
je 0x1005f3e
call esi
cmp eax, 3
je 0x1005f3e
mov eax, dword [section..data]
cmp eax, section..data
je 0x1005f3e
test byte [eax + 0x1c], 4
je 0x1005f3e
call esi
test eax, eax
jle 0x1005f23
and eax, 0xffff
or eax, 0x80070000
push dword [ebp + 8]
push eax
mov eax, dword [section..data]
push 0x10014c4
push 0x48
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100558d
test bl, bl
jne 0x1005fdb
mov eax, dword [0x101a658]
mov esi, 0x101a450
test eax, eax
jne 0x1005fc5
push edi
push 0x7ffe0030
mov edi, 0x104
push edi
push esi
call sub.msvcrt.dll_wcscpy_s
mov eax, esi
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x1005f6e
sub eax, edx
sar eax, 1
mov dword [0x101a658], eax
je 0x1005f9d
cmp word [eax*2 + 0x101a44e], 0x5c
je 0x1005f9d
push 0x100129c
push edi
push esi
call sub.msvcrt.dll_wcscat_s
add esp, 0xc
push 0x1001504
push edi
push esi
call sub.msvcrt.dll_wcscat_s
add esp, 0xc
mov eax, esi
lea edx, [eax + 2]
pop edi
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x1005fb2
sub eax, edx
sar eax, 1
mov dword [0x101a658], eax
push eax
push dword [ebp + 8]
push esi
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
pop esi
mov al, bl
pop ebx
pop ebp
ret 4
Function at 0x1007ab1
Capabilities:
Delete file
Move file

Disassembly:
mov edi, edi
push esi
mov esi, ecx
cmp byte [esi + 0x18], 0
jne 0x1007af2
mov eax, dword [section..data]
cmp eax, section..data
je 0x1007bb1
test byte [eax + 0x1c], 2
je 0x1007bb1
push 0x8000ffff
push 0x10017d4
push 0x11
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003005
jmp 0x1007bb1
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
cmp eax, 0xffffffff
jne 0x1007b01
test ecx, ecx
je 0x1007b11
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_CloseTrace]
or dword [esi + 0x10], 0xffffffff
and dword [esi + 0x14], 0
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1007bb1
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0xffff
mov edi, 0x80070000
test eax, eax
jle 0x1007b3c
and eax, ebx
or eax, edi
mov ecx, eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x1007b66
test byte [eax + 0x1c], 2
je 0x1007b66
push ecx
push dword [esi + 8]
push 0x10017d4
push 0x12
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003330
push 4
push 0
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x1007baf
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1007b85
and eax, ebx
or eax, edi
mov ecx, eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x1007baf
test byte [eax + 0x1c], 2
je 0x1007baf
push ecx
push dword [esi + 8]
push 0x10017d4
push 0x13
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003330
pop edi
pop ebx
mov ecx, esi
pop esi
jmp fcn.01007a59
Function at 0x1009818
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov dword [ebx], edi
mov dword [eax], edi
lea eax, [ebp - 8]
push eax
push 0x104
mov esi, 0x7ffe0030
push esi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call fcn.0100978e
cmp eax, edi
mov dword [ebp + 8], eax
jge 0x1009875
mov eax, dword [section..data]
cmp eax, section..data
je 0x10098ec
test byte [eax + 0x1c], 1
je 0x10098ec
push dword [ebp + 8]
push 0x10017fc
push 0x47
jmp 0x10098b0
mov edi, dword [ebp - 8]
lea eax, [ebp - 4]
push eax
push 1
add edi, 0x1c
push edi
push 0x1001810
push esi
call fcn.010078c2
mov dword [ebp + 8], eax
test eax, eax
jge 0x10098bd
mov eax, dword [section..data]
cmp eax, section..data
je 0x10098cf
test byte [eax + 0x1c], 1
je 0x10098cf
push dword [ebp + 8]
push 0x10017fc
push 0x48
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003005
jmp 0x10098cf
mov eax, dword [ebp - 4]
and dword [ebp - 4], 0
and dword [ebp + 8], 0
mov dword [ebx], eax
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
cmp dword [ebp - 4], 0
je 0x10098ec
push dword [ebp - 4]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x100a578
Capabilities:
Get process heap force flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov dword [ebp - 4], ecx
cmp ebx, 0x7c
jb 0x100a6f6
mov edi, dword [ebp + 0xc]
cmp edi, ebx
ja 0x100a6f6
test edi, edi
je 0x100a6f6
test ebx, ebx
je 0x100a6f6
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
lea ecx, [ebx + 0x10]
push ecx
push 8
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, dword [ebp + 0x14]
mov dword [esi], eax
test eax, eax
jne 0x100a605
mov ecx, 0x8007000e
mov esi, ecx
mov eax, dword [section..data]
cmp eax, section..data
je 0x100a6fb
test byte [eax + 0x1c], 1
je 0x100a6fb
push ecx
push 0x10018e4
push 0x27
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003005
jmp 0x100a6fb
mov dword [eax], edi
mov eax, dword [esi]
mov dword [eax + 4], ebx
mov eax, dword [esi]
push ebx
push dword [ebp + 8]
add eax, 0x10
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 4]
mov esi, dword [esi]
mov eax, dword [eax + 8]
add esp, 0xc
cmp edi, 8
lea eax, [eax + esi + 0x10]
mov dword [ebp + 0x10], edi
mov ecx, 0x4cb2f
jl 0x100a699
mov edx, edi
shr edx, 3
mov ebx, edx
shl ebx, 3
sub edi, ebx
mov dword [ebp + 0x10], edi
movzx edi, byte [eax + 1]
imul ecx, ecx, 0x2fe8ed1f
movzx ebx, byte [eax + 2]
imul edi, edi, 0x25
add edi, ebx
movzx ebx, byte [eax + 3]
imul edi, edi, 0x25
add edi, ebx
movzx ebx, byte [eax + 4]
imul edi, edi, 0x25
add edi, ebx
movzx ebx, byte [eax + 5]
imul edi, edi, 0x25
add edi, ebx
movzx ebx, byte [eax + 6]
imul edi, edi, 0x25
add edi, ebx
imul edi, edi, 0x25
sub edi, ecx
movzx ecx, byte [eax]
imul ecx, ecx, 0x1a617d0d
add edi, ecx
movzx ecx, byte [eax + 7]
add ecx, edi
add eax, 8
dec edx
jne 0x100a646
mov edx, dword [ebp + 0x10]
dec edx
je 0x100a6e7
dec edx
je 0x100a6de
dec edx
je 0x100a6d5
dec edx
je 0x100a6cc
dec edx
je 0x100a6c3
dec edx
je 0x100a6ba
dec edx
jne 0x100a6ef
movzx edx, byte [eax]
imul ecx, ecx, 0x25
add ecx, edx
inc eax
movzx edx, byte [eax]
imul ecx, ecx, 0x25
add ecx, edx
inc eax
movzx edx, byte [eax]
imul ecx, ecx, 0x25
add ecx, edx
inc eax
movzx edx, byte [eax]
imul ecx, ecx, 0x25
add ecx, edx
inc eax
movzx edx, byte [eax]
imul ecx, ecx, 0x25
add ecx, edx
inc eax
movzx edx, byte [eax]
imul ecx, ecx, 0x25
add ecx, edx
inc eax
movzx eax, byte [eax]
imul ecx, ecx, 0x25
add ecx, eax
mov dword [esi + 0xc], ecx
xor esi, esi
jmp 0x100a6fb
mov esi, 0x80070057
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10
Function at 0x100b270
Capabilities:
Get process heap force flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov dword [ebp - 4], ecx
cmp ebx, 0x1e4
jb 0x100b3f1
mov edi, dword [ebp + 0xc]
cmp edi, ebx
ja 0x100b3f1
test edi, edi
je 0x100b3f1
test ebx, ebx
je 0x100b3f1
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
lea ecx, [ebx + 0x10]
push ecx
push 8
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, dword [ebp + 0x14]
mov dword [esi], eax
test eax, eax
jne 0x100b300
mov ecx, 0x8007000e
mov esi, ecx
mov eax, dword [section..data]
cmp eax, section..data
je 0x100b3f6
test byte [eax + 0x1c], 1
je 0x100b3f6
push ecx
push 0x10018e4
push 0x27
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003005
jmp 0x100b3f6
mov dword [eax], edi
mov eax, dword [esi]
mov dword [eax + 4], ebx
mov eax, dword [esi]
push ebx
push dword [ebp + 8]
add eax, 0x10
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 4]
mov esi, dword [esi]
mov eax, dword [eax + 8]
add esp, 0xc
cmp edi, 8
lea eax, [eax + esi + 0x10]
mov dword [ebp + 0x10], edi
mov ecx, 0x4cb2f
jl 0x100b394
mov edx, edi
shr edx, 3
mov ebx, edx
shl ebx, 3
sub edi, ebx
mov dword [ebp + 0x10], edi
movzx edi, byte [eax + 1]
imul ecx, ecx, 0x2fe8ed1f
movzx ebx, byte [eax + 2]
imul edi, edi, 0x25
add edi, ebx
movzx ebx, byte [eax + 3]
imul edi, edi, 0x25
add edi, ebx
movzx ebx, byte [eax + 4]
imul edi, edi, 0x25
add edi, ebx
movzx ebx, byte [eax + 5]
imul edi, edi, 0x25
add edi, ebx
movzx ebx, byte [eax + 6]
imul edi, edi, 0x25
add edi, ebx
imul edi, edi, 0x25
sub edi, ecx
movzx ecx, byte [eax]
imul ecx, ecx, 0x1a617d0d
add edi, ecx
movzx ecx, byte [eax + 7]
add ecx, edi
add eax, 8
dec edx
jne 0x100b341
mov edx, dword [ebp + 0x10]
dec edx
je 0x100b3e2
dec edx
je 0x100b3d9
dec edx
je 0x100b3d0
dec edx
je 0x100b3c7
dec edx
je 0x100b3be
dec edx
je 0x100b3b5
dec edx
jne 0x100b3ea
movzx edx, byte [eax]
imul ecx, ecx, 0x25
add ecx, edx
inc eax
movzx edx, byte [eax]
imul ecx, ecx, 0x25
add ecx, edx
inc eax
movzx edx, byte [eax]
imul ecx, ecx, 0x25
add ecx, edx
inc eax
movzx edx, byte [eax]
imul ecx, ecx, 0x25
add ecx, edx
inc eax
movzx edx, byte [eax]
imul ecx, ecx, 0x25
add ecx, edx
inc eax
movzx edx, byte [eax]
imul ecx, ecx, 0x25
add ecx, edx
inc eax
movzx eax, byte [eax]
imul ecx, ecx, 0x25
add ecx, eax
mov dword [esi + 0xc], ecx
xor esi, esi
jmp 0x100b3f6
mov esi, 0x80070057
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10
Function at 0x100b96d
Capabilities:
Get process heap force flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov dword [ebp - 4], ecx
cmp ebx, 0x124
jb 0x100baee
mov edi, dword [ebp + 0xc]
cmp edi, ebx
ja 0x100baee
test edi, edi
je 0x100baee
test ebx, ebx
je 0x100baee
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
lea ecx, [ebx + 0x10]
push ecx
push 8
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, dword [ebp + 0x14]
mov dword [esi], eax
test eax, eax
jne 0x100b9fd
mov ecx, 0x8007000e
mov esi, ecx
mov eax, dword [section..data]
cmp eax, section..data
je 0x100baf3
test byte [eax + 0x1c], 1
je 0x100baf3
push ecx
push 0x10018e4
push 0x27
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003005
jmp 0x100baf3
mov dword [eax], edi
mov eax, dword [esi]
mov dword [eax + 4], ebx
mov eax, dword [esi]
push ebx
push dword [ebp + 8]
add eax, 0x10
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 4]
mov esi, dword [esi]
mov eax, dword [eax + 8]
add esp, 0xc
cmp edi, 8
lea eax, [eax + esi + 0x10]
mov dword [ebp + 0x10], edi
mov ecx, 0x4cb2f
jl 0x100ba91
mov edx, edi
shr edx, 3
mov ebx, edx
shl ebx, 3
sub edi, ebx
mov dword [ebp + 0x10], edi
movzx edi, byte [eax + 1]
imul ecx, ecx, 0x2fe8ed1f
movzx ebx, byte [eax + 2]
imul edi, edi, 0x25
add edi, ebx
movzx ebx, byte [eax + 3]
imul edi, edi, 0x25
add edi, ebx
movzx ebx, byte [eax + 4]
imul edi, edi, 0x25
add edi, ebx
movzx ebx, byte [eax + 5]
imul edi, edi, 0x25
add edi, ebx
movzx ebx, byte [eax + 6]
imul edi, edi, 0x25
add edi, ebx
imul edi, edi, 0x25
sub edi, ecx
movzx ecx, byte [eax]
imul ecx, ecx, 0x1a617d0d
add edi, ecx
movzx ecx, byte [eax + 7]
add ecx, edi
add eax, 8
dec edx
jne 0x100ba3e
mov edx, dword [ebp + 0x10]
dec edx
je 0x100badf
dec edx
je 0x100bad6
dec edx
je 0x100bacd
dec edx
je 0x100bac4
dec edx
je 0x100babb
dec edx
je 0x100bab2
dec edx
jne 0x100bae7
movzx edx, byte [eax]
imul ecx, ecx, 0x25
add ecx, edx
inc eax
movzx edx, byte [eax]
imul ecx, ecx, 0x25
add ecx, edx
inc eax
movzx edx, byte [eax]
imul ecx, ecx, 0x25
add ecx, edx
inc eax
movzx edx, byte [eax]
imul ecx, ecx, 0x25
add ecx, edx
inc eax
movzx edx, byte [eax]
imul ecx, ecx, 0x25
add ecx, edx
inc eax
movzx edx, byte [eax]
imul ecx, ecx, 0x25
add ecx, edx
inc eax
movzx eax, byte [eax]
imul ecx, ecx, 0x25
add ecx, eax
mov dword [esi + 0xc], ecx
xor esi, esi
jmp 0x100baf3
mov esi, 0x80070057
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10