joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100f5720
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10251961
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
push edi
mov ebx, ecx
lea eax, [ebx + 4]
mov dword [ebp - 4], 0
push eax
lea edx, [ebp + 0xc]
lea ecx, [ebp - 0x48]
call fcn.100f8270
add esp, 4
xor edi, edi
mov dword [ebp - 0x30], vtable.WM::GMBuffer_unsigned_char_.0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
xorps xmm0, xmm0
mov dword [ebp - 0x18], vtable.WM::GMFile.0
movlpd qword [ebp - 0x20], xmm0
mov dword [ebp - 0x14], 0xffffffff
push 0x80
push 3
push 1
push accept
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x18]
call sym.WMCommon.dll_public:_bool___thiscall_WM::GMFile::Create_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___unsigned_int__unsigned_int__unsigned_int__unsigned_int_
test al, al
jne 0x100f57b3
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
jmp 0x100f587e
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
call sym.WMCommon.dll_public_virtual:_bool___thiscall_WM::GMFile::GetSize_unsigned_long_long_unsigned___int64___const
mov esi, dword [ebp - 0x20]
lea ecx, [ebp - 0x30]
push esi
call fcn.10020ab0
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x10], 0
test edi, edi
je 0x100f5877
mov eax, dword [ebp - 0x14]
cmp eax, 0xffffffff
je 0x100f587a
push 0
lea ecx, [ebp - 0x10]
push ecx
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x100f5877
cmp ecx, dword [ebp - 0x2c]
cmova ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], vtable.WM::GMFile.0
cmp eax, 0xffffffff
je 0x100f5823
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebx + 0x60], 1
mov esi, dword [ebx + 0x38]
sete al
add esi, edi
push eax
sub esp, 0x18
lea eax, [ebx + 0x48]
mov ecx, esp
push eax
call fcn.1001a380
mov ecx, dword [ebp + 8]
mov edx, esi
call fcn.100f5a10
push edi
call fcn.1006e708
add esp, 0x20
lea ecx, [ebp - 0x48]
call fcn.1001a5a0
lea ecx, [ebp + 0xc]
call fcn.1001a5a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], vtable.WM::GMFile.0
cmp eax, 0xffffffff
je 0x100f5891
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp + 8]
xor eax, eax
push eax
push 0x10255fec
mov ecx, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
call fcn.1001a600
test edi, edi
je 0x100f58c1
push edi
call fcn.1006e708
add esp, 4
lea ecx, [ebp - 0x48]
call fcn.1001a5a0
lea ecx, [ebp + 0xc]
call fcn.1001a5a0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x100f7d20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10251d30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
push esi
mov esi, ecx
mov dword [ebp - 4], 0
cmp dword [ebp + 0x1c], 0
jne 0x100f7d76
mov esi, dword [ebp + 8]
xor eax, eax
push eax
push 0x10255fec
mov ecx, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
call fcn.1001a600
jmp 0x100f7e26
lea eax, [esi + 4]
push eax
lea edx, [ebp + 0xc]
lea ecx, [ebp - 0x24]
call fcn.100f8270
push 0x200
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 1
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
lea edx, [ebp - 0x24]
cmp dword [ebp - 0x10], 8
lea ecx, [esi + 0x4c]
cmovae edx, dword [ebp - 0x24]
cmp dword [ecx + 0x14], 8
jb 0x100f7db5
mov ecx, dword [ecx]
cmp dword [esi + 0x48], 8
lea eax, [esi + 0x34]
jb 0x100f7dc0
mov eax, dword [eax]
push edx
push 0x100
lea edx, [ebp - 0x224]
push edx
push 0x10255fec
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x224]
xor eax, eax
lea edx, [ecx + 2]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100f7e00
sub ecx, edx
lea eax, [ebp - 0x224]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1001a600
lea ecx, [ebp - 0x24]
call fcn.1001a5a0
lea ecx, [ebp + 0xc]
call fcn.1001a5a0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x100f8950
Capabilities:
Get file version info

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
mov eax, esi
push edi
cmp dword [esi + 0x14], 8
jb 0x100f8963
mov eax, dword [esi]
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [esp + 0x14], eax
test eax, eax
je 0x100f89eb
push eax
call fcn.1006e70d
add esp, 4
mov edi, eax
cmp dword [esi + 0x14], 8
jb 0x100f898a
mov esi, dword [esi]
push edi
push dword [esp + 0x18]
push dword [esp + 0x10]
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x100f89eb
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x10]
push eax
push 0x102665ac
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
mov ecx, dword [esp + 0xc]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
push dword [esp + 0x2c]
call sym.WMCommon.dll_public:_static_void___cdecl_WM::GMStringUtils::Format_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____wchar_t_const__
push edi
call fcn.1006e708
add esp, 0x1c
mov al, 1
pop edi
pop esi
add esp, 8
ret
pop edi
xor al, al
pop esi
add esp, 8
ret
Function at 0x100f8de0
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x410
push edi
push 0
push 0
push 1
push 1
push 0
push 0
push accept
push str.Capture
call dword [sym.imp.AVICAP32.dll_capCreateCaptureWindowW]
mov edi, eax
test edi, edi
jne 0x100f8e13
xor al, al
pop edi
add esp, 0x410
ret
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
push esi
xor esi, esi
push 0x104
lea eax, [esp + 0x14]
push eax
push 0x104
lea eax, [esp + 0x224]
push eax
push esi
call dword [sym.imp.AVICAP32.dll_capGetDriverDescriptionW]
test eax, eax
je 0x100f8e7e
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100f8e67
push 0
push esi
push 0x40a
push edi
call ebp
test eax, eax
je 0x100f8e67
mov eax, dword [esp + 0x424]
mov dword [eax + ebx*4], esi
inc ebx
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100f8e7e
push 0
push 0
push 0x40b
push edi
call ebp
inc esi
cmp esi, 0xa
jl 0x100f8e20
pop esi
pop ebp
test ebx, ebx
pop ebx
setg al
pop edi
add esp, 0x410
ret
Function at 0x100fa3b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x102520d4
push eax
mov dword fs:[0], esp
sub esp, 0x20
cmp byte [ebp + 0xc], 0
push esi
mov esi, ecx
je 0x100fa3f2
mov eax, dword [esi]
push dword [ebp + 8]
mov eax, dword [eax + 0x80]
call eax
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push ebx
lea ecx, [ebp - 0x2c]
call fcn.1004ff20
push 0
push 0x10265063
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.1023b7e0
push 0
push 0x10265063
lea ecx, [ebp - 0x18]
call fcn.1023b7e0
mov ecx, dword [esi + 0x20]
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
test al, al
jne 0x100fa439
xor bl, bl
jmp 0x100fa506
push edi
mov dword [ebp - 0x14], vtable.WM::GMFile.0
mov dword [ebp - 0x10], 0xffffffff
push 0
push 2
push 0
push 0x40000000
push dword [ebp + 8]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
xor bl, bl
mov dword [ebp + 0xc], 0
call sym.WMCommon.dll_public:_bool___thiscall_WM::GMFile::Create_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___unsigned_int__unsigned_int__unsigned_int__unsigned_int_
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test al, al
je 0x100fa4de
mov eax, dword [ebp - 0x20]
mov edi, dword [eax]
lea ecx, [eax + 8]
test ecx, ecx
je 0x100fa4c7
mov eax, dword [ebp - 0x10]
cmp eax, 0xffffffff
je 0x100fa4fe
push 0
lea edx, [ebp + 0xc]
push edx
push edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x100fa4c7
cmp edi, dword [ebp + 0xc]
jne 0x100fa4c7
mov ecx, dword [ebp - 0x10]
cmp ecx, 0xffffffff
je 0x100fa4c0
push ecx
call esi
mov ecx, dword [ebp - 0x10]
test eax, eax
mov edi, 0xffffffff
mov bl, 1
cmovne ecx, edi
mov dword [ebp - 0x10], ecx
jmp 0x100fa4e4
or edi, 0xffffffff
mov bl, 1
jmp 0x100fa4e4
mov ecx, dword [ebp - 0x10]
cmp ecx, 0xffffffff
je 0x100fa4e1
push ecx
call esi
test eax, eax
je 0x100fa4de
or ecx, 0xffffffff
mov dword [ebp - 0x10], ecx
jmp 0x100fa4e1
mov ecx, dword [ebp - 0x10]
or edi, 0xffffffff
mov dword [ebp - 0x14], vtable.WM::GMFile.0
cmp ecx, 0xffffffff
je 0x100fa4fe
push ecx
call esi
mov ecx, dword [ebp - 0x10]
test eax, eax
cmovne ecx, edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], vtable.WM::GMBaseFile.0
pop edi
mov eax, dword [ebp - 0x18]
cmp eax, 0x1032091c
je 0x100fa519
push eax
call fcn.1006e708
add esp, 4
mov eax, dword [ebp - 0x1c]
cmp eax, 0x1032091c
je 0x100fa52c
push eax
call fcn.1006e708
add esp, 4
mov eax, dword [ebp - 0x20]
cmp eax, 0x1032091c
je 0x100fa53f
push eax
call fcn.1006e708
add esp, 4
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x100fd040
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102524aa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
mov edx, dword [ecx + 0x30]
lea ecx, [ebp - 0x10]
push 0
push eax
call fcn.10053c90
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov esi, dword [ebp + 8]
inc eax
mov ecx, esi
push eax
call fcn.10020ab0
mov ecx, dword [ebp - 0x18]
mov eax, dword [esi + 4]
cmp ecx, eax
push ecx
cmovbe eax, ecx
cmp dword [ebp - 0x14], 0x10
mov dword [esi + 0xc], eax
mov ecx, esi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10020b10
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
pop esi
mov byte [eax + ecx], 0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100fd0fd
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100fd0f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100fd0f3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1006e6d7
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, 1
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x100fd3c0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10252526
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
push 0
push dword [ebp + 0xc]
lea eax, [ebp - 0x24]
mov ebx, ecx
push eax
call sym.WMCommon.dll_public:_static_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_WM::GMStringConvert::UnicodeStringToMultiByte_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___unsigned_int_
add esp, 0xc
mov dword [ebp - 4], 0
lea edi, [ebp - 0x24]
mov ecx, dword [ebx + 0x30]
mov eax, dword [ebp - 0x14]
add ecx, 0x30
cmp dword [ebp - 0x10], 0x10
mov esi, eax
mov dword [ebp + 0xc], eax
cmovae edi, dword [ebp - 0x24]
test eax, eax
jne 0x100fd429
mov esi, edi
cmp byte [edi], al
je 0x100fd426
nop dword [eax + eax]
inc esi
cmp byte [esi], 0
jne 0x100fd420
sub esi, edi
inc esi
push esi
call fcn.100533d0
mov edx, eax
test edi, edi
je 0x100fd44e
test esi, esi
je 0x100fd44e
mov ecx, edx
sub edi, edx
nop dword [eax]
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub esi, 1
jne 0x100fd440
test edx, edx
je 0x100fd47b
push dword [ebp + 0xc]
mov ecx, dword [ebx + 0x30]
push 0
push edx
push 0
add ecx, 0x30
push 4
call fcn.100525c0
test eax, eax
je 0x100fd47b
mov ecx, dword [ebp + 8]
push eax
test ecx, ecx
jne 0x100fd476
mov ecx, dword [ebx + 0x30]
call fcn.10052780
mov edx, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
cmp edx, 0x10
jb 0x100fd4b4
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100fd4aa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100fd4aa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1006e6d7
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x100fdc80
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10252598
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
push 0
push dword [ebp + 0xc]
lea eax, [ebp - 0x24]
mov ebx, ecx
push eax
call sym.WMCommon.dll_public:_static_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_WM::GMStringConvert::UnicodeStringToMultiByte_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___unsigned_int_
add esp, 0xc
mov dword [ebp - 4], 0
lea edi, [ebp - 0x24]
mov ecx, dword [ebx + 0x30]
mov eax, dword [ebp - 0x14]
add ecx, 0x30
cmp dword [ebp - 0x10], 0x10
mov esi, eax
mov dword [ebp + 0xc], eax
cmovae edi, dword [ebp - 0x24]
test eax, eax
jne 0x100fdce9
mov esi, edi
cmp byte [edi], al
je 0x100fdce6
nop dword [eax + eax]
inc esi
cmp byte [esi], 0
jne 0x100fdce0
sub esi, edi
inc esi
push esi
call fcn.100533d0
mov edx, eax
test edi, edi
je 0x100fdd0e
test esi, esi
je 0x100fdd0e
mov ecx, edx
sub edi, edx
nop dword [eax]
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub esi, 1
jne 0x100fdd00
test edx, edx
je 0x100fdd46
mov ecx, dword [ebx + 0x30]
push 0
push dword [ebp + 0xc]
add ecx, 0x30
push 0
push edx
push 1
call fcn.100525c0
mov esi, eax
test esi, esi
je 0x100fdd46
mov ecx, dword [ebp + 8]
push esi
test ecx, ecx
je 0x100fdd3c
call fcn.10052780
jmp 0x100fdd48
mov ecx, dword [ebx + 0x30]
call fcn.10052780
jmp 0x100fdd48
xor esi, esi
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x100fdd7e
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100fdd74
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100fdd74
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1006e6d7
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x100fdda0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102525aa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x24]
mov ebx, ecx
push eax
call sym.WMCommon.dll_public:_static_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_WM::GMStringConvert::UnicodeStringToMultiByte_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___unsigned_int_
add esp, 0xc
mov dword [ebp - 4], 0
lea edi, [ebp - 0x24]
mov ecx, dword [ebx + 0x30]
mov eax, dword [ebp - 0x14]
add ecx, 0x30
cmp dword [ebp - 0x10], 0x10
mov esi, eax
mov dword [ebp + 8], eax
cmovae edi, dword [ebp - 0x24]
test eax, eax
jne 0x100fde09
mov esi, edi
cmp byte [edi], al
je 0x100fde06
nop dword [eax + eax]
inc esi
cmp byte [esi], 0
jne 0x100fde00
sub esi, edi
inc esi
push esi
call fcn.100533d0
mov edx, eax
test edi, edi
je 0x100fde2e
test esi, esi
je 0x100fde2e
mov ecx, edx
sub edi, edx
nop dword [eax]
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub esi, 1
jne 0x100fde20
test edx, edx
je 0x100fde58
mov ecx, dword [ebx + 0x30]
push 0
push dword [ebp + 8]
add ecx, 0x30
push 0
push edx
push 1
call fcn.100525c0
mov esi, eax
test esi, esi
je 0x100fde58
mov ecx, dword [ebx + 0x30]
push esi
call fcn.10052780
jmp 0x100fde5a
xor esi, esi
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x100fde90
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100fde86
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100fde86
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1006e6d7
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x100ff340
Capabilities:
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x18
push esi
mov esi, dword [ebp + 0x38]
test esi, esi
push edi
cmove esi, dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, dword [ebp + 0x2c]
test edi, edi
jne 0x100ff36a
xorps xmm0, xmm0
lea edi, [esp + 0x10]
movaps xmmword [esp + 0x10], xmm0
mov eax, dword [ebp + 0x1c]
push edi
push dword [ebp + 0x28]
or eax, 4
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
test eax, eax
je 0x100ff3cd
push dword [ebp + 0x30]
mov edx, dword [ebp + 0x34]
mov ecx, dword [edi]
call fcn.101004f0
test eax, eax
jne 0x100ff3d7
mov edx, dword [ebp + 0x30]
mov ecx, dword [edi + 8]
push esi
push dword [ebp + 0x34]
call fcn.100ff6a0
test eax, eax
jne 0x100ff3d7
push 0xffffffffffffffff
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [edi + 4]
call esi
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x34
test byte [ebp + 0x1c], 4
jne 0x100ff3e6
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
lea eax, [esp + 0x10]
cmp edi, eax
jne 0x100ff3fd
push dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [edi + 4]
call esi
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0x34

Function at 0x100ff410
Capabilities:
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x18
push esi
mov esi, dword [ebp + 0x38]
test esi, esi
push edi
cmove esi, dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edi, dword [ebp + 0x2c]
test edi, edi
jne 0x100ff43a
xorps xmm0, xmm0
lea edi, [esp + 0x10]
movaps xmmword [esp + 0x10], xmm0
mov eax, dword [ebp + 0x1c]
push edi
push dword [ebp + 0x28]
or eax, 4
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
test eax, eax
je 0x100ff49d
push dword [ebp + 0x30]
mov edx, dword [ebp + 0x34]
mov ecx, dword [edi]
call fcn.101004f0
test eax, eax
jne 0x100ff4a7
mov edx, dword [ebp + 0x30]
mov ecx, dword [edi + 8]
push esi
push dword [ebp + 0x34]
call fcn.100ff920
test eax, eax
jne 0x100ff4a7
push 0xffffffffffffffff
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [edi + 4]
call esi
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x34
test byte [ebp + 0x1c], 4
jne 0x100ff4b6
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
lea eax, [esp + 0x10]
cmp edi, eax
jne 0x100ff4cd
push dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [edi + 4]
call esi
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0x34
Function at 0x100ff4e0
Capabilities:
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x18
push esi
mov esi, dword [ebp + 0x34]
test esi, esi
push edi
cmove esi, dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, dword [ebp + 0x2c]
test edi, edi
jne 0x100ff50a
xorps xmm0, xmm0
lea edi, [esp + 0x10]
movaps xmmword [esp + 0x10], xmm0
mov eax, dword [ebp + 0x1c]
push edi
push dword [ebp + 0x28]
or eax, 4
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
test eax, eax
je 0x100ff57f
mov eax, dword [ebp + 0x30]
lea edx, [esp + 0xc]
mov ecx, dword [edi]
push 1
mov dword [esp + 0x10], eax
call fcn.101004f0
test eax, eax
jne 0x100ff589
mov eax, dword [ebp + 0x30]
mov edx, 1
mov ecx, dword [edi + 8]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push esi
push eax
call fcn.100ff6a0
test eax, eax
jne 0x100ff589
push 0xffffffffffffffff
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [edi + 4]
call esi
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x30
test byte [ebp + 0x1c], 4
jne 0x100ff598
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
lea eax, [esp + 0x10]
cmp edi, eax
jne 0x100ff5af
push dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [edi + 4]
call esi
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0x30

Function at 0x100ff5c0
Capabilities:
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x18
push esi
mov esi, dword [ebp + 0x34]
test esi, esi
push edi
cmove esi, dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edi, dword [ebp + 0x2c]
test edi, edi
jne 0x100ff5ea
xorps xmm0, xmm0
lea edi, [esp + 0x10]
movaps xmmword [esp + 0x10], xmm0
mov eax, dword [ebp + 0x1c]
push edi
push dword [ebp + 0x28]
or eax, 4
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
test eax, eax
je 0x100ff65f
mov eax, dword [ebp + 0x30]
lea edx, [esp + 0xc]
mov ecx, dword [edi]
push 1
mov dword [esp + 0x10], eax
call fcn.101004f0
test eax, eax
jne 0x100ff669
mov eax, dword [ebp + 0x30]
mov edx, 1
mov ecx, dword [edi + 8]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push esi
push eax
call fcn.100ff920
test eax, eax
jne 0x100ff669
push 0xffffffffffffffff
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [edi + 4]
call esi
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x30
test byte [ebp + 0x1c], 4
jne 0x100ff678
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
lea eax, [esp + 0x10]
cmp edi, eax
jne 0x100ff68f
push dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [edi + 4]
call esi
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0x30