joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402980
Capabilities:
Accept command line arguments
Create process on windows
Self delete
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x41003c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
lea eax, [ebp - 0x408]
push eax
mov eax, esi
call fcn.00401a60
mov ebx, dword [ebp - 0x408]
mov edi, eax
call fcn.004025c0
push str._run
push esi
call fcn.00402b50
add esp, 0xc
test eax, eax
jne 0x402a0a
mov ecx, dword [edi]
push ecx
lea edx, [ebp - 0x404]
push str._c_del__q___s_____NUL
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
call fcn.00402630
push 0
push 0
lea eax, [ebp - 0x404]
push eax
push str.c:windows_system32cmd.exe
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.004024f0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00402a24
mov esp, ebp
pop ebp
ret 0x10

Function at 0x402a24
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41003c]
jne 0x402a2e
repz ret
jmp fcn.0040350b
Function at 0x40903c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41003c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00405881
and dword [ebp - 0x14], 0
cmp dword [0x411ca8], 0
mov dword [ebp - 0x18], eax
jne 0x4090ef
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x409197
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x409197
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x411ca8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x411cac], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x411cb0], eax
call edi
push eax
call esi
mov dword [0x411cb8], eax
test eax, eax
je 0x4090ef
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x411cb4], eax
mov eax, dword [0x411cb4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x409148
cmp dword [0x411cb8], ecx
je 0x409148
push eax
call esi
push dword [0x411cb8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x409148
test ebx, ebx
je 0x409148
call edi
test eax, eax
je 0x40913f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40913f
test byte [ebp - 8], 1
jne 0x409148
or dword [ebp + 0x10], 0x200000
jmp 0x40917b
mov eax, dword [0x411cac]
cmp eax, dword [ebp - 0x18]
je 0x40917b
push eax
call esi
test eax, eax
je 0x40917b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40917b
mov eax, dword [0x411cb0]
cmp eax, dword [ebp - 0x18]
je 0x40917b
push eax
call esi
test eax, eax
je 0x40917b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x411ca8]
call esi
test eax, eax
je 0x409197
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x409199
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402a24
leave
ret
Function at 0x10001bd0
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
push edi
mov edi, dword [esp + 0x14]
cmp esi, edi
sete al
mov ebx, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
test eax, eax
jbe 0x10001c64
push ebp
lea ebp, [eax - 1]
shr ebp, 3
add ebp, 1
lea ebx, [ebx]
cmp dword [esp + 0x14], 0
je 0x10001c18
lea ecx, [esi + 4]
push ecx
push esi
mov ecx, ebx
call fcn.10001810
add esi, 8
jmp 0x10001c5e
movzx edx, byte [esi]
mov byte [edi], dl
mov al, byte [esi + 1]
mov byte [edi + 1], al
movzx ecx, byte [esi + 2]
mov byte [edi + 2], cl
movzx edx, byte [esi + 3]
mov byte [edi + 3], dl
movzx ecx, byte [esi + 4]
lea eax, [edi + 4]
mov byte [eax], cl
movzx edx, byte [esi + 5]
mov byte [edi + 5], dl
movzx ecx, byte [esi + 6]
mov byte [edi + 6], cl
movzx edx, byte [esi + 7]
push eax
push edi
mov ecx, ebx
mov byte [edi + 7], dl
call fcn.10001810
add esi, 8
add edi, 8
sub ebp, 1
jne 0x10001c00
pop ebp
pop edi
pop esi
pop ebx
ret 0xc

Function at 0x10001ec0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10001ed9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10001f14
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x10001f10
lea ebx, [ebx]
cmp esi, eax
jae 0x10001f14
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x10001f00
cmp esi, eax
jb 0x10001f1a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x10002170
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
add eax, eax
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100021e6
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x100021b5
cmp eax, 2
jne 0x100021d1
test esi, esi
mov eax, dword [esp + 0x14]
je 0x100021e0
test eax, eax
je 0x100021db
test al, 1
jne 0x100021d1
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x100021e0
pop edi
mov eax, 0xd
pop esi
ret 0xc
mov word [esi], 0
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc

Function at 0x100021f0
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8
Function at 0x10002210
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
mov edi, ecx
jne 0x10002226
push 0x80004005
call fcn.10001d30
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [edi]
push esi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
ret 0xc

Function at 0x10002250
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
mov dword [esp + 4], ecx
jne 0x10002268
push 0x80004005
call fcn.10001d30
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
add eax, 1
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x10002275
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8

Function at 0x10003330
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x21c
mov eax, dword [0x1003efe0]
xor eax, esp
mov dword [esp + 0x218], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x22c]
mov ebp, ecx
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push 0
push edi
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0xc]
mov esi, eax
test esi, esi
jne 0x1000339e
test ecx, ecx
je 0x10003390
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov ecx, dword [esp + 0x14]
mov esi, eax
mov dword [esp + 0xc], ecx
je 0x100033ac
test ecx, ecx
je 0x10003451
push ecx
jmp 0x1000344b
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x38]
push edx
push 0
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
jne 0x1000341e
jmp 0x100033e0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.10003330
mov edi, eax
test edi, edi
jne 0x1000346d
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x10]
push eax
push eax
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x38]
push eax
push edi
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
je 0x100033e0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10003435
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
mov edx, dword [ebp]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10003451
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.10019da6
add esp, 0x21c
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1000347c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x10003453
Function at 0x100037e0
Capabilities:
Get disk information

Disassembly:
push ecx
push ebp
push edi
mov edi, ecx
cmp dword [edi + 0x7c], 0
mov ebp, 1
mov dword [edi + 0x78], 0
jne 0x10003809
mov dword [edi + 0x78], 0xc0001007
pop edi
mov eax, 0x80004003
pop ebp
pop ecx
ret 8
call dword [sym.imp.ole32.dll_CoImpersonateClient]
test eax, eax
jge 0x1000381e
cmp eax, 0x80010117
jne 0x100038b0
push esi
mov esi, dword [esp + 0x14]
push esi
mov dword [esp + 0x10], 0
call dword [sym.imp.SHLWAPI.dll_PathIsNetworkPathW]
test eax, eax
je 0x10003838
xor ebp, ebp
push esi
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp eax, 3
jbe 0x10003872
cmp word [esi + 2], 0x3a
jne 0x1000387e
cmp word [esi + 4], 0x5c
jne 0x1000387e
push ebx
movzx ebx, word [esi + 6]
push esi
mov word [esi + 6], 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
jne 0x1000386b
xor ebp, ebp
mov word [esi + 6], bx
pop ebx
jmp 0x1000387e
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
je 0x10003888
test ebp, ebp
je 0x10003888
call dword [sym.imp.ole32.dll_CoRevertToSelf]
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 0x7c]
push eax
push esi
push 0
push ecx
call sym.SCAN.DLL_ThreatScanner_ScanPath
add esp, 0x10
test eax, eax
mov dword [edi + 0x78], eax
pop esi
je 0x100038ac
mov dword [esp + 8], 0x80004005
mov eax, dword [esp + 8]
pop edi
pop ebp
pop ecx
ret 8
Function at 0x10004690
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1002d79b
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1003efe0]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x1c], esi
xor ebx, ebx
cmp esi, ebx
je 0x100046d2
lea eax, [esi - 0x44]
mov dword [esp + 0x14], eax
jmp 0x100046d6
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x6c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esi + 8]
xor ebp, ebp
cmp eax, ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0x20], eax
mov edi, 1
jle 0x1000481c
mov edx, dword [esp + 0x14]
add edx, 0x54
mov dword [esp + 0x18], edx
jmp 0x10004714
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp ebp, ebx
jl 0x10004730
cmp ebp, dword [esi + 8]
jge 0x10004730
mov ecx, dword [esi + 4]
mov esi, dword [ecx + ebp*4]
jmp 0x10004732
xor esi, esi
cmp esi, ebx
mov dword [esp + 0x38], esi
je 0x10004742
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp esi, ebx
jne 0x1000475d
mov byte [esp + 0xa4], bl
jmp 0x1000480f
mov dword [esp + 0x14], ebx
mov edx, dword [esi]
mov ecx, dword [edx]
lea eax, [esp + 0x14]
push eax
push 0x100339b8
push esi
mov byte [esp + 0xb0], 2
call ecx
mov eax, dword [esp + 0xb0]
mov edx, dword [esp + 0xac]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x80]
push ecx
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x34]
push ecx
push 1
push ebx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x2c]
push 0x10033998
mov dword [esp + 0x70], edx
mov word [esp + 0x68], 0x400c
mov word [esp + 0x58], 0x4003
mov dword [esp + 0x4c], 2
mov dword [esp + 0x50], ebx
mov word [esp + 0x78], 3
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push 1
push eax
call edx
mov edi, eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov byte [esp + 0xa4], 1
je 0x10004800
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
mov byte [esp + 0xa8], bl
call ecx
add ebp, 1
cmp ebp, dword [esp + 0x20]
jl 0x10004710
lea edx, [esp + 0x6c]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, edi
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret 8
Function at 0x10009ef0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x1002dca0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1003efe0]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov eax, dword [ebp + 0x418]
mov edi, dword [ebp + 0x410]
mov ebx, dword [ebp + 0x414]
mov dword [ebp - 0x14], eax
call dword [0x1003ef94]
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], eax
mov dword [ebp], eax
push 2
push eax
push edi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
mov dword [ebp - 0x18], edi
jne 0x10009f7d
call fcn.10001ff0
mov esi, eax
jmp 0x1000a065
mov ecx, dword [ebp - 0x14]
push ecx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x10009f99
call fcn.10001ff0
jmp 0x1000a05c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 0x20], eax
jne 0x10009fb2
call fcn.10001ff0
jmp 0x1000a05c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
mov dword [ebp - 0x14], esi
jae 0x10009fe8
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x10009fd6
lea ecx, [ebp]
call fcn.10002fa0
lea ecx, [ebp - 0x1c]
call fcn.10002f10
mov eax, 0x8007000e
jmp 0x1000a082
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.10005cb0
mov dword [ebp - 4], 1
jmp 0x1000a011
mov ebx, dword [ebp]
test ebx, ebx
jne 0x1000a01f
mov esi, 0x8007000e
jmp 0x1000a05e
call dword [0x1003ef94]
mov ecx, dword [ebp - 0x20]
push esi
push ebx
push esi
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x1000a040
call fcn.10001ff0
jmp 0x1000a05c
mov edx, dword [ebp]
mov word [edx + eax*2], 0
mov eax, dword [ebp + 0x41c]
mov ecx, dword [ebp]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.10008bc0
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x1000a080
lea ecx, [ebp]
call fcn.10002fa0
jmp 0x1000a080
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.10019da6
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0x10

Function at 0x1000aec0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
movzx eax, word [esp + 4]
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jle 0x1000af2c
push ebx
push edi
mov edi, dword [esp + 0x14]
mov cl, byte [edi]
movzx ebx, cl
mov edx, eax
and edx, 0xf
mov dx, word [edx*4 + 0x1003e2b8]
and ebx, 0xf
xor dx, word [ebx*4 + 0x1003e2b8]
shr ax, 4
xor dx, ax
movzx eax, dx
movzx ecx, cl
shr ecx, 4
mov cx, word [ecx*4 + 0x1003e2b8]
mov edx, eax
and edx, 0xf
xor cx, word [edx*4 + 0x1003e2b8]
shr ax, 4
sub esi, 1
xor cx, ax
add edi, 1
test esi, esi
movzx eax, cx
jg 0x1000aed4
pop edi
pop ebx
pop esi
ret
Function at 0x1000b140
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x10874
call fcn.10019dc0
mov eax, dword [0x1003efe0]
xor eax, esp
mov dword [esp + 0x10870], eax
mov eax, dword [esp + 0x1087c]
push esi
mov esi, dword [esp + 0x1087c]
push edi
push 0x10032428
push esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
call fcn.1001b28e
mov edi, eax
add esp, 8
test edi, edi
jne 0x1000b19e
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x10870]
xor ecx, esp
call fcn.10019da6
add esp, 0x10874
ret
push ebp
push 2
push 0
push edi
call fcn.1001b143
push edi
call fcn.1001b04e
mov ebp, eax
add esp, 0x10
cmp ebp, 0x200000
jbe 0x1000b1e0
push edi
call fcn.1001ae3a
add esp, 4
pop ebp
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x10870]
xor ecx, esp
call fcn.10019da6
add esp, 0x10874
ret
push ebx
push 0
push 0
push edi
call fcn.1001b143
lea ecx, [esp + 0x24]
push ecx
call fcn.1000d750
add esp, 0x10
test ebp, ebp
mov ebx, ebp
je 0x1000b246
mov edi, edi
cmp ebx, 0x10000
mov esi, 0x10000
ja 0x1000b20f
mov esi, ebx
push edi
push 1
lea edx, [esp + 0x888]
push esi
push edx
call fcn.1001adad
add esp, 0x10
cmp eax, 1
jne 0x1000b2a6
push esi
lea eax, [esp + 0x884]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.1000de50
add esp, 0xc
sub ebx, esi
jne 0x1000b200
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x74]
push eax
call fcn.1000df20
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x8c]
push edx
call fcn.1000b100
mov ecx, dword [esp + 0x108a0]
mov edx, dword [esp + 0x20]
push esi
push ebp
lea eax, [esp + 0x98]
push eax
push str._s__lu__s
push ecx
push edx
call fcn.1001aa40
add esp, 0x28
xor eax, eax
mov ecx, dword [esp + 0x10880]
pop ebx
pop ebp
pop edi
pop esi
xor ecx, esp
call fcn.10019da6
add esp, 0x10874
ret
push edi
call fcn.1001ae3a
add esp, 4
or eax, 0xffffffff
jmp 0x1000b28d
Function at 0x1000ce90
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x1002df68
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1003efe0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x48]
xor esi, esi
push 0x10040418
mov dword [ebp], esi
mov dword [ebp + 4], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esp + 0x4c]
mov eax, edx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], si
lea edi, [eax + 2]
jmp 0x1000cef0
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x1000cef0
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.1000bf80
mov eax, dword [0x10040448]
mov edx, dword [eax + 4]
mov dword [esp + 0x40], esi
lea esi, [eax + 4]
lea ecx, [esp + 0x1c]
push ecx
push edx
mov ebx, 0x10040444
push eax
mov ecx, ebx
mov dword [esp + 0x24], eax
call fcn.1000c3e0
push 1
mov ecx, ebx
mov edi, eax
call fcn.1000c1e0
mov dword [esi], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
mov esi, dword [esi]
cmp esi, dword [ebx + 4]
jne 0x1000cf4e
call fcn.1001b3cb
cmp dword [esp + 0x34], 8
mov dword [ebp], ebx
mov dword [ebp + 4], esi
jb 0x1000cf68
mov ecx, dword [esp + 0x20]
push ecx
call fcn.10019746
add esp, 4
push 0x10040418
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebp
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret

Function at 0x1000d090
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1000d0aa
test al, 0x10
je 0x1000d0aa
mov eax, 1
ret
xor eax, eax
ret

Function at 0x1000d750
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x1000f880
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1002e0fb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1003efe0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi], vtable.ATL::CComAggObject_class_CRootkitScanner_.0
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov byte [esi + 0x38], al
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], eax
mov dword [esi + 0xc], vtable.ATL::CComContainedObject_class_CRootkitScanner_.3.0
mov dword [esi + 0x10], vtable.ATL::CComContainedObject_class_CRootkitScanner_.2.0
mov dword [esi + 0x14], vtable.ATL::CComContainedObject_class_CRootkitScanner_.1.0
mov dword [esi + 0x18], vtable.ATL::CComContainedObject_class_CRootkitScanner_.0
mov dword [esi + 0x1c], ecx
mov ecx, dword [0x100403ac]
mov edx, dword [ecx]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4