joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438ac0
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x491ed8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
mov eax, dword [0x4c51d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov ebx, 0x4a53e4
call fcn.004066f0
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp + 8]
push ecx
mov ebx, eax
mov dword [ebp - 4], 0
call fcn.00407850
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
add esp, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x438b35
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x438b52
test al, 0x10
jne 0x438b52
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438b71
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x438b90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push 0x4aaa80
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
push 0x4aaa98
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x438c2d
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x438c1a
mov eax, dword [edi]
lea ecx, [ebp - 8]
push ecx
push str.HP5
push 0
push eax
call esi
test eax, eax
js 0x438c1a
lea edx, [ebp - 4]
push edx
push 0x4aaae4
push 1
push 0
push 0x4a00bc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x438c0f
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
push 5
push 0
push 0
push eax
push 0x4aaab4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x438f00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x496706
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4c51d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
push eax
mov ebx, 1
call fcn.00438c50
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ecx
call esi
test eax, eax
jne 0x438f60
mov edx, dword [ebp - 0x10]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov eax, dword [ebp - 0x10]
push eax
call esi
test eax, eax
je 0x438fac
lea edi, [ebp - 0x10]
call fcn.00438ff0
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpFunshionIni___serialization_boost__CAAAVCFpFunshionIni__XZ_51], 1
mov ebx, eax
jne 0x438f94
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpFunshionIni___serialization_boost__CAAAVCFpFunshionIni__XZ_51], 1
mov byte [ebp - 4], 1
call fcn.00416290
push 0x49c4a0
call fcn.0046e358
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
push ecx
push 0x4cfdcc
mov ecx, 0x4cfdc4
mov edi, sym.Install.exe__t__1__get_instance___singleton_VCFpFunshionIni___serialization_boost__CAAAVCFpFunshionIni__XZ_4V__singleton_wrapp
call fcn.004165b0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x438fd2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493788
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4c51d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
push eax
mov esi, 1
call fcn.00438d90
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x439082
lea edx, [ebp - 0x10]
push edx
push edi
call fcn.0040a530
add esp, 8
test eax, eax
jne 0x439082
mov eax, dword [edi]
push ecx
sub eax, 0x10
mov dword [ebp - 0x14], esp
mov esi, esp
push eax
call fcn.004015d0
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x10]
add esp, 4
push eax
call fcn.0040e380
mov esi, eax
add esp, 8
test esi, esi
je 0x439082
lea ecx, [ebp - 0x10]
push ecx
call fcn.0040dc20
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4390a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43bda0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4c51d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x20e]
push ecx
mov word [ebp - 0x210], ax
call fcn.00471ba0
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0xc
push 0x4ac41c
call esi
cmp eax, 0xffffffff
je 0x43bdfc
test al, 0x10
jne 0x43bdfc
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e095
mov esp, ebp
pop ebp
ret
push edi
push 0x4ac450
lea ecx, [ebp - 0x214]
call fcn.00401c30
push 0x104
lea edx, [ebp - 0x210]
push 0
push edx
call fcn.00471ba0
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push 0
push 2
lea eax, [ebp - 0x210]
push eax
push 0
call edi
mov ecx, dword [ebp - 0x214]
push ecx
lea edx, [ebp - 0x210]
push 0x105
push edx
call fcn.0046f44c
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call esi
cmp eax, 0xffffffff
je 0x43be65
test al, 0x10
je 0x43beb7
push 0x104
lea ecx, [ebp - 0x210]
push 0
push ecx
call fcn.00471ba0
add esp, 0xc
push 0
push 0x17
lea edx, [ebp - 0x210]
push edx
push 0
call edi
mov eax, dword [ebp - 0x214]
push eax
lea ecx, [ebp - 0x210]
push 0x105
push ecx
call fcn.0046f44c
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
call esi
cmp eax, 0xffffffff
je 0x43beee
test al, 0x10
jne 0x43beee
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43bed9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e095
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43bf10
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0046e095
mov esp, ebp
pop ebp
ret
Function at 0x43bf30
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4c51d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x20e]
push ecx
mov word [ebp - 0x210], ax
call fcn.00471ba0
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0xc
push 0x4ac474
call esi
cmp eax, 0xffffffff
je 0x43bf8c
test al, 0x10
jne 0x43bf8c
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e095
mov esp, ebp
pop ebp
ret
push edi
push 0x4ac4a8
lea ecx, [ebp - 0x214]
call fcn.00401c30
push 0x104
lea edx, [ebp - 0x210]
push 0
push edx
call fcn.00471ba0
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push 0
push 2
lea eax, [ebp - 0x210]
push eax
push 0
call edi
mov ecx, dword [ebp - 0x214]
push ecx
lea edx, [ebp - 0x210]
push 0x105
push edx
call fcn.0046f44c
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call esi
cmp eax, 0xffffffff
je 0x43bff5
test al, 0x10
je 0x43c047
push 0x104
lea ecx, [ebp - 0x210]
push 0
push ecx
call fcn.00471ba0
add esp, 0xc
push 0
push 0x17
lea edx, [ebp - 0x210]
push edx
push 0
call edi
mov eax, dword [ebp - 0x214]
push eax
lea ecx, [ebp - 0x210]
push 0x105
push ecx
call fcn.0046f44c
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
call esi
cmp eax, 0xffffffff
je 0x43c07e
test al, 0x10
jne 0x43c07e
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43c069
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e095
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43c0a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0046e095
mov esp, ebp
pop ebp
ret
Function at 0x43dd60
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x492d61
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4c51d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], edi
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], 1
call fcn.0040b760
mov esi, dword [ebp - 0x14]
push 0x4aced0
push esi
call fcn.0046f09c
add esp, 0xc
cmp eax, edi
jne 0x43ddd7
mov edi, 1
jmp 0x43de7f
push 0x4aceec
push esi
call fcn.0046f09c
add esp, 8
cmp eax, edi
jne 0x43ddf3
mov edi, 2
jmp 0x43de7f
cmp dword [esi - 0xc], edi
jl 0x43de1a
push 0x4acf14
push esi
call fcn.0046f1b4
add esp, 8
cmp eax, edi
je 0x43de1a
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x43de1a
mov edi, 3
jmp 0x43de7f
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401c30
mov eax, dword [0x4cfe5c]
cmp eax, edi
je 0x43de5b
mov ecx, dword [ebp - 0x10]
cmp dword [ecx - 0xc], edi
jl 0x43de5e
push eax
push ecx
call fcn.0046f1b4
add esp, 8
cmp eax, edi
je 0x43de5b
mov ecx, dword [ebp - 0x10]
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x43de5e
mov edi, 4
jmp 0x43de63
mov ecx, dword [ebp - 0x10]
mov edi, 5
lea eax, [ecx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43de7f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebx], eax
push edi
push 0x4a8868
push ebx
mov dword [ebp - 0x18], 1
call fcn.0040c9d0
lea eax, [esi - 0x10]
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43deca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
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 0x43e260
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x4c51d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [esi]
mov eax, dword [ebp + 8]
mov eax, dword [eax*4 + 0x4a4904]
lea edx, [ebp - 0x418]
push edx
push 0x20019
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43e2f5
push 0x206
push eax
lea ecx, [ebp - 0x412]
push ecx
mov word [ebp - 0x414], ax
call fcn.00471ba0
mov ecx, dword [ebp - 0x418]
add esp, 0xc
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0x414]
push eax
push 0
push ecx
mov dword [ebp - 0x420], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x43e305
mov edx, dword [ebp - 0x418]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e095
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jl 0x43e334
push 0x4acf48
push eax
call fcn.0046f1b4
add esp, 8
test eax, eax
je 0x43e334
sub eax, dword [esi]
sar eax, 1
cmp eax, 0xffffffff
je 0x43e334
mov eax, dword [ebp - 0x418]
push eax
jmp 0x43e3f5
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x20a]
push edx
mov word [ebp - 0x20c], cx
call fcn.00471ba0
mov eax, dword [edi]
add esp, 0xc
lea ecx, [ebp - 0x41c]
push ecx
lea edx, [ebp - 0x20c]
push edx
push 0
push 0
push eax
mov eax, dword [ebp - 0x418]
push eax
mov dword [ebp - 0x41c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x43e39f
mov ecx, dword [ebp - 0x418]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e095
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathIsFileSpecW]
test eax, eax
jne 0x43e3c0
mov eax, dword [ebx]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43e3ee
mov eax, dword [ebp - 0x418]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e095
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x418]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
call fcn.0046e095
mov esp, ebp
pop ebp
ret
Function at 0x43f530
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x4c51d0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x38]
xor ebx, ebx
mov eax, ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], 0x67452301
mov dword [esp + 0x14], 0xefcdab89
mov dword [esp + 0x18], 0x98badcfe
mov dword [esp + 0x1c], 0x10325476
lea esi, [eax + 1]
jmp 0x43f580
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x43f580
push ecx
sub eax, esi
lea ecx, [esp + 0x14]
call fcn.0043f5f0
add esp, 4
lea esi, [esp + 0x10]
lea ebx, [edi + 5]
call fcn.0043f6b0
xor esi, esi
xor ebx, ebx
jmp 0x43f5b0
movzx eax, byte [edi + ebx + 5]
push eax
mov ecx, 0x21
push 0x4ad08c
sub ecx, esi
mov edx, edi
push ecx
lea eax, [edx + esi + 0x15]
push eax
call fcn.0047165b
inc ebx
add esp, 0x10
add esi, 2
cmp ebx, 0x10
jl 0x43f5b0
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.0046e095
mov esp, ebp
pop ebp
ret

Function at 0x43fe70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x490de2
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4c51d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ebx, ecx
mov ecx, section..data
mov dword [ebp - 0x220], ebx
call edx
add eax, 0x10
mov dword [ebx], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
mov dword [ebp - 4], 0
push ecx
mov dword [ebp - 0x21c], 1
mov word [ebp - 0x218], ax
call fcn.00471ba0
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x43ff35
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43ff17
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
mov ecx, ebx
call fcn.00401b30
push 5
push str.tools
call fcn.0040c5f0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046e095
mov esp, ebp
pop ebp
ret
Function at 0x446190
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48e0e8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4c51d0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], edx
lea esi, [esp + 0x18]
mov dword [eax + 8], ecx
call fcn.00446e90
mov esi, ebx
lea edi, [esp + 0xc]
mov dword [esp + 0x38], 0
call fcn.0044add0
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0xc]
test eax, eax
je 0x446219
test al, 1
jne 0x446219
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x446219
lea edx, [esp + 0x14]
push 2
push edx
mov ecx, edx
push ecx
call eax
add esp, 0xc
mov eax, ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x44afd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
je 0x44b03a
push esi
push edi
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea esi, [eax + 8]
mov eax, dword [esi]
mov eax, dword [eax]
push 0x4ad5fc
push eax
call fcn.0046f09c
add esp, 8
test eax, eax
jne 0x44b02b
mov esi, dword [esi]
mov eax, dword [esi + 0x30]
push 1
push 0
push eax
push eax
push str.open
push 0
call edi
cmp eax, 0x20
ja 0x44b02b
mov ecx, dword [esi + 0x30]
push 1
push 0
push ecx
push str.IEXPLORE.EXE
push str.open
push 0
call edi
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp + 8], eax
cmp eax, dword [ebp + 0xc]
jne 0x44afe3
pop edi
pop esi
mov al, byte [ebp + 0x10]
pop ebp
ret
Function at 0x44bb00
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493df3
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push edi
mov eax, dword [0x4c51d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [esi + 4]
mov dword [esi], 0x4ad7a4
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x24
mov dword [eax], 0x4a8930
call fcn.0046e3ae
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x44bb5d
push eax
call fcn.00420900
mov edi, eax
jmp 0x44bb5f
xor edi, edi
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
push edi
lea ecx, [eax + 0xc]
mov dword [eax + 8], edi
call fcn.00420da0
mov eax, dword [ebp - 0x10]
push edi
add eax, 8
push edi
push eax
call fcn.00448760
fldz
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x4a8880
mov eax, dword [ebp + 8]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov ecx, dword [eax]
mov dword [esi + 0x28], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x2c], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x30], ecx
mov edx, dword [eax + 0xc]
fst dword [esi + 0x3c]
fst dword [esi + 0x40]
add esp, 0xc
fld1
mov dword [esi + 0x34], edx
fst dword [esi + 0x44]
mov word [esi + 0x38], bx
fst dword [esi + 0x48]
mov byte [esi + 0x3a], 1
fxch st(1)
mov dword [esi + 0x50], 0xff00
fstp dword [esi + 0x4c]
mov byte [esi + 0x54], bl
mov dword [esi + 0x58], 0xff000000
mov byte [esi + 0x6c], bl
fst dword [esi + 0x5c]
mov eax, esi
fst dword [esi + 0x60]
fst dword [esi + 0x64]
fstp dword [esi + 0x68]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x451810
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48df58
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4c51d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [esi + 0xc4], bl
je 0x4518a6
lea eax, [ebp - 0x28]
mov byte [esi + 0xc4], bl
mov dword [ebp - 0x28], 0x4ad9fc
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
mov ecx, dword [0x4cfa6c]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [ebp - 0x28]
mov ecx, eax
call fcn.00402600
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x451895
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [ebp - 0x28]
cmp ecx, eax
setne al
movzx eax, al
push eax
call edx
xor eax, eax
test bl, bl
setne al
lea eax, [eax + eax + 1]
mov dword [esi + 0xc8], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046e095
mov esp, ebp
pop ebp
ret
Function at 0x452a30
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e81b
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x4c51d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esi], 0x4ada78
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
push 0x18
mov dword [esi + 0x30], ebx
call fcn.0046e3ae
add esp, 4
cmp eax, ebx
je 0x452ad2
mov dword [esi + 0x2c], eax
mov dword [eax], eax
mov eax, dword [esi + 0x2c]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x2c]
mov dword [eax + 8], eax
mov ecx, dword [esi + 0x2c]
mov al, 1
mov byte [ecx + 0x14], al
mov edx, dword [esi + 0x2c]
mov byte [edx + 0x15], al
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov word [esi + 0x6c], 0x101
mov byte [esi + 0x6e], bl
mov dword [esi + 0x38], 0x4ada84
mov byte [esi + 0x70], bl
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call fcn.0046e695
push 0x4b6164
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x1c], 0x4a01ec
call fcn.00471a90
int3