joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415c10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x470c38
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4aaeb0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.00404060
mov dword [esi], vtable.boost::gregorian::bad_month.0
test edi, edi
mov dword [esp + 0x18], 0
je 0x415c5a
add edi, 0x28
jmp 0x415c5c
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
test ecx, ecx
mov dword [esi + 0x2c], ecx
je 0x415c74
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_month_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_month_.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x416630
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x470c13
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4aaeb0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x24]
push edi
call fcn.00415960
mov dword [esp + 0x1c], 0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_base.0
test edi, edi
mov byte [esp + 0x1c], 1
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_std::runtime_error__.2.0
mov dword [esi + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_std::runtime_error__.1.0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_std::runtime_error__.0
je 0x416695
lea ebx, [edi + 0x28]
jmp 0x416697
xor ebx, ebx
mov ecx, dword [esi + 0x2c]
test ecx, ecx
mov edi, dword [ebx + 4]
je 0x4166a8
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
test edi, edi
mov dword [esi + 0x2c], edi
je 0x4166b8
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
mov eax, dword [ebx + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [ebx + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [ebx + 0x10]
mov dword [esi + 0x38], edx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x4166f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4714f3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4aaeb0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x24]
push edi
call fcn.00415a30
mov dword [esp + 0x1c], 0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_base.0
test edi, edi
mov byte [esp + 0x1c], 1
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_day_of_month__.2.0
mov dword [esi + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_day_of_month__.1.0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_day_of_month__.0
je 0x416755
lea ebx, [edi + 0x28]
jmp 0x416757
xor ebx, ebx
mov ecx, dword [esi + 0x2c]
test ecx, ecx
mov edi, dword [ebx + 4]
je 0x416768
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
test edi, edi
mov dword [esi + 0x2c], edi
je 0x416778
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
mov eax, dword [ebx + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [ebx + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [ebx + 0x10]
mov dword [esi + 0x38], edx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x4167b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4714c3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4aaeb0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x24]
push edi
call fcn.00415b20
mov dword [esp + 0x1c], 0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_base.0
test edi, edi
mov byte [esp + 0x1c], 1
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_year__.2.0
mov dword [esi + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_year__.1.0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_year__.0
je 0x416815
lea ebx, [edi + 0x28]
jmp 0x416817
xor ebx, ebx
mov ecx, dword [esi + 0x2c]
test ecx, ecx
mov edi, dword [ebx + 4]
je 0x416828
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
test edi, edi
mov dword [esi + 0x2c], edi
je 0x416838
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
mov eax, dword [ebx + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [ebx + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [ebx + 0x10]
mov dword [esi + 0x38], edx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x416870
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x471493
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4aaeb0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x24]
push edi
call fcn.00415c10
mov dword [esp + 0x1c], 0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_base.0
test edi, edi
mov byte [esp + 0x1c], 1
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_month__.2.0
mov dword [esi + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_month__.1.0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_month__.0
je 0x4168d5
lea ebx, [edi + 0x28]
jmp 0x4168d7
xor ebx, ebx
mov ecx, dword [esi + 0x2c]
test ecx, ecx
mov edi, dword [ebx + 4]
je 0x4168e8
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
test edi, edi
mov dword [esi + 0x2c], edi
je 0x4168f8
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
mov eax, dword [ebx + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [ebx + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [ebx + 0x10]
mov dword [esi + 0x38], edx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x416c80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x470bd8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4aaeb0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.0040eab0
mov dword [esi], vtable.boost::bad_function_call.0
test edi, edi
mov dword [esp + 0x18], 0
je 0x416cca
add edi, 0x28
jmp 0x416ccc
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
test ecx, ecx
mov dword [esi + 0x2c], ecx
je 0x416ce4
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::bad_function_call_.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_class_boost::bad_function_call_.1.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x416f50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x471463
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4aaeb0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x20]
push edi
mov ecx, esi
call fcn.00416c80
mov dword [esp + 0x18], 0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_base.0
test edi, edi
mov byte [esp + 0x18], 1
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::bad_function_call__.0
mov dword [esi + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::bad_function_call__.1.0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::bad_function_call__.2.0
je 0x416fb2
lea ebx, [edi + 0x28]
jmp 0x416fb4
xor ebx, ebx
mov ecx, dword [esi + 0x2c]
test ecx, ecx
mov edi, dword [ebx + 4]
je 0x416fc5
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
test edi, edi
mov dword [esi + 0x2c], edi
je 0x416fd5
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
mov eax, dword [ebx + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [ebx + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [ebx + 0x10]
mov dword [esi + 0x38], edx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x417220
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x470ba0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4aaeb0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x4aaeb0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
mov esi, eax
and esi, 2
jne 0x417264
test al, 8
je 0x4172f8
lea eax, [esp + 0x4c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], 0
mov byte [esp + 0x3c], 1
mov ecx, dword [esp + 0x48]
push 1
mov edi, eax
lea ebx, [esp + 0x18]
call fcn.00417110
add esp, 4
test eax, eax
mov edi, 8
je 0x4172e5
cmp dword [esp + 0x2c], edi
mov eax, dword [esp + 0x18]
jae 0x4172bb
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test si, si
je 0x4172e5
cmp dword [esp + 0x2c], edi
mov eax, dword [esp + 0x18]
jae 0x4172d5
lea eax, [esp + 0x18]
push 0
push str.INFORMATION
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [esp + 0x2c], edi
jb 0x4172f8
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00452ad1
add esp, 4
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00452816
add esp, 0x30
ret
Function at 0x418a80
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push ecx
push edx
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x418ac2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 8]
push ecx
push esi
push esi
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret

Function at 0x418ae0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push ecx
push 0x80000002
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0x400
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x418b30
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
lea edx, [esp + 8]
push edx
push eax
push esi
push esi
push str.EnableLUA
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 8
ret

Function at 0x418b50
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov eax, dword [0x4aaeb0]
xor eax, esp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x18], 8
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x400
jb 0x418b81
mov eax, dword [eax + 4]
jmp 0x418b84
add eax, 4
lea ecx, [esp + 8]
push ecx
push 0x20019
push 0
push eax
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x418bc8
cmp dword [edi + 0x18], 8
jb 0x418bad
mov edi, dword [edi + 4]
jmp 0x418bb0
add edi, 4
mov eax, dword [esp + 8]
lea edx, [esp + 0xc]
push edx
push ebx
push 0
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.00452816
add esp, 0xc
ret
Function at 0x41a760
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x470b38
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
mov eax, dword [0x4aaeb0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x3c]
xor ebx, ebx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
call fcn.004016a0
mov eax, esi
mov dword [esp + 0x34], ebx
lea edx, [eax + 2]
jmp 0x41a7c0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41a7c0
sub eax, edx
sar eax, 1
push eax
push esi
lea esi, [esp + 0x18]
call fcn.00408d50
push 0xffffffffffffffff
push ebx
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
push eax
mov ecx, edi
mov word [edi + 4], bx
call fcn.004016a0
cmp dword [esp + 0x28], 8
jb 0x41a807
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00452ad1
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x2c
ret

Function at 0x41c530
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x46f2c0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4aaeb0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x4aaeb0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3c]
mov esi, eax
and esi, 2
jne 0x41c572
test al, 8
je 0x41c607
lea eax, [esp + 0x44]
mov dword [esp + 8], eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], 0
push 1
mov ecx, eax
mov byte [esp + 0x38], 1
mov edx, dword [esp + 0x44]
push ecx
push edx
lea eax, [esp + 0x18]
push eax
call fcn.0041c400
add esp, 0x10
test eax, eax
je 0x41c5f3
cmp dword [esp + 0x24], 8
mov eax, dword [esp + 0x10]
jae 0x41c5c8
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test si, si
je 0x41c5f3
cmp dword [esp + 0x24], 8
mov eax, dword [esp + 0x10]
jae 0x41c5e3
lea eax, [esp + 0x10]
push 0
push str.INFORMATION
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [esp + 0x24], 8
jb 0x41c607
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00452ad1
add esp, 4
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00452816
add esp, 0x30
ret
Function at 0x41cbe0
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x472420
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
push edi
mov eax, dword [0x4aaeb0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esp + 0x14]
lea ecx, [esp + 0x20]
call fcn.00420160
cmp dword [esi + 0x18], 8
jb 0x41cc1f
mov eax, dword [esi + 4]
jmp 0x41cc22
lea eax, [esi + 4]
push eax
xor esi, esi
push esi
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, ebx
call fcn.00413f50
cmp dword [ebx], esi
jne 0x41ccfd
push 0x3b
push str.._srcgeneral_npMutex.cpp_34__:__npz::log::npMutex::create_
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], esi
mov word [esp + 0x40], si
call fcn.00401540
mov dword [esp + 0x58], esi
mov dword [esp + 0x10], esi
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 1
call fcn.0041c820
add esp, 4
cmp dword [0x4af498], esi
je 0x41ccb3
call fcn.0041ad80
cmp dword [eax + 4], esi
jne 0x41ccb3
call fcn.0041ad80
mov esi, dword [esp + 0x10]
mov ecx, dword [eax]
push esi
push 2
lea edx, [esp + 0x3c]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
add esp, 0x10
jmp 0x41ccc9
mov esi, dword [esp + 0x10]
push esi
mov ecx, 2
lea edx, [esp + 0x38]
call fcn.0041afc0
add esp, 4
push esi
call fcn.0045332d
add esp, 4
cmp dword [esp + 0x4c], 8
jb 0x41cce6
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00452ad1
add esp, 4
mov eax, 0x22200305
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x50
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x41cd15
mov edx, dword [ebx]
push edx
call fcn.0041ff70
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x50
ret

Function at 0x41ce30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x46fa66
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4aaeb0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor edi, edi
lea ecx, [esi + 4]
mov dword [esi], vtable.npz::log::npFileImpl.0
push edi
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], edi
push 0x48584c
mov word [ecx + 4], di
call fcn.00401540
mov dword [esp + 0x14], edi
mov dword [esi + 0x20], edi
mov byte [esp + 0x14], 1
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], 7
mov dword [esi + 0x2c], 7
push 0xffffffffffffffff
lea ecx, [esi + 0x34]
mov dword [esi + 0x30], 0xffffffff
call fcn.00413fc0
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.004098b0
mov dword [esi + 0x38], 2
mov dword [esi + 0x3c], 0xc0000000
mov dword [esi + 0x40], 3
mov dword [esi + 0x44], edi
add esp, 8
mov dword [esi + 0x48], edi
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x422ba0
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4709b8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4aaeb0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x2c]
lea esi, [edi + 0x18]
push esi
mov dword [esp + 0x14], 0x1002
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x30], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [edi + 0x30]
lea edi, [esp + 0x10]
mov dword [esp + 0x24], 0
call fcn.00422db0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 4

Function at 0x423940
Capabilities:
Get process heap flags
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4712b8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push edi
mov eax, dword [0x4aaeb0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x44]
lea eax, [esi + 0x1044c]
xor ebx, ebx
push eax
mov dword [esp + 0x18], 0x4e504658
mov dword [esp + 0x1c], 0xc
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x48], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
push ebp
mov dword [esp + 0x40], ebx
mov eax, dword [esi + 0x28]
add dword [esi + 0x104b0], 1
mov edx, dword [eax]
push 0x18
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
cmp edi, 1
je 0x4239d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._ERROR_npPipe::write_err_code_d__n
push ebx
call fcn.00417220
add esp, 0xc
cmp edi, ebx
jne 0x4239dd
xor edi, edi
jmp 0x423a0e
mov eax, dword [esi + 0x28]
mov ecx, dword [esp + 0x40]
mov edx, dword [eax]
push ebx
push ebp
push 0xc
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
cmp edi, 1
je 0x423a0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._ERROR_npPipe::write_err_code_d__n
push ebx
call fcn.00417220
add esp, 0xc
mov eax, dword [esp + 0x44]
add dword [esi + 0x104b0], 0xffffffff
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x2c
ret 8
Function at 0x423a40
Capabilities:
Access peb ldr_data
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x471288
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4aaeb0]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x54]
mov eax, dword [esp + 0x4c]
mov esi, ecx
mov edx, dword [eax]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x30], eax
lea eax, [esi + 0x1044c]
mov ecx, 1
xor edi, edi
mov dword [esp + 0x2c], edx
push eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x50], edi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], ecx
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
lea ecx, [esp + 0x50]
push ecx
mov dword [esp + 0x4c], edi
mov eax, dword [esi + 0x28]
mov eax, dword [eax]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0x18
lea edx, [esp + 0x28]
push edx
push eax
call ebx
mov edi, eax
cmp edi, 1
je 0x423afe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._ERROR_npPipe::write_err_code_d__n
push 0
call fcn.00417220
add esp, 0xc
xor eax, eax
cmp edi, eax
je 0x423b48
cmp dword [esp + 0x4c], 0x18
jne 0x423b48
mov esi, dword [esi + 0x28]
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esi]
lea ecx, [esp + 0x50]
push ecx
push ebp
push edx
push eax
call ebx
mov esi, eax
cmp esi, 1
je 0x423b3c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._ERROR_npPipe::write_err_code_d__n
push 0
call fcn.00417220
add esp, 0xc
xor eax, eax
cmp esi, eax
je 0x423b48
cmp dword [esp + 0x4c], ebp
je 0x423b4c
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0xc