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

Disassembly:
push 0xffffffffffffffff
push 0x1009c261
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x3c]
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov dword [esp + 0x14], ebx
xor eax, eax
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], ax
call fcn.10048b90
mov dword [esp + 0x34], 1
mov edx, dword [esp + 0x40]
push 0xffffffffffffffff
push ebx
push edx
lea ecx, [esp + 0x1c]
call fcn.100326e0
push 0xffffffffffffffff
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push ebx
mov word [esi + 4], cx
push eax
mov ecx, esi
call fcn.10048b90
mov dword [esp + 0xc], 1
mov byte [esp + 0x34], bl
cmp dword [esp + 0x28], 8
jb 0x1001b673
mov edx, dword [esp + 0x14]
push edx
call fcn.1004ad4f
add esp, 4
xor eax, eax
mov word [esp + 0x14], ax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x2c
ret
Function at 0x1001c0a0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x10098208
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x30]
xor al, al
cmp dword [ecx], 0xffffffff
je 0x1001c199
mov ebx, dword [edi + 0x14]
xor ebp, ebp
cmp dword [edi + 0x18], 8
lea eax, [edi + 4]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], eax
jb 0x1001c0ed
mov eax, dword [eax]
push ebp
push ebp
push ebp
push ebp
push ebx
push eax
push ebp
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x28], 0
test esi, esi
jle 0x1001c154
push esi
call fcn.100619b4
add esp, 4
mov ecx, eax
lea edx, [esp + 0x14]
call fcn.1001c040
cmp dword [edi + 0x18], 8
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x18], ebp
jb 0x1001c13b
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
jmp 0x1001c13f
mov eax, dword [esp + 0x10]
push 0
push 0
push esi
push ebp
push ebx
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
push 0
lea eax, [esp + 0x20]
push eax
mov eax, dword [edx]
push esi
push ecx
push eax
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1001c184
cmp dword [esp + 0x1c], esi
jne 0x1001c184
mov bl, 1
jmp 0x1001c186
xor bl, bl
mov dword [esp + 0x28], 0xffffffff
push ebp
call fcn.100739c4
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4
Function at 0x1001c5c0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x1009b0ba
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
push 0x800
call fcn.100619b4
add esp, 4
push eax
lea eax, [esp + 0x24]
push eax
call fcn.1001c3f0
mov dword [esp + 0x30], 0
cmp dword [edi + 0x18], 8
mov dword [esp + 0x18], 0x800
lea ebp, [edi + 4]
jb 0x1001c61f
mov eax, dword [ebp]
jmp 0x1001c621
mov eax, ebp
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push ecx
push edx
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x24]
push ecx
push 0
push eax
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
cmp ebx, 0xea
jne 0x1001c69c
mov eax, dword [esp + 0x18]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100619b4
add esp, 4
push eax
lea esi, [esp + 0x24]
call fcn.1001c4d0
cmp dword [edi + 0x18], 8
jb 0x1001c67b
mov ebp, dword [ebp]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push 0
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test ebx, ebx
jne 0x1001c702
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
shr edi, 1
cmp eax, 1
je 0x1001c6bb
cmp eax, 2
je 0x1001c6bb
mov ebx, 0x3bc6
jmp 0x1001c702
mov edx, dword [esp + 0x20]
cmp word [edx + edi*2 - 2], 0
jne 0x1001c6ec
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1001c6d0
mov ecx, dword [esp + 0x3c]
sub eax, esi
sar eax, 1
push eax
push edx
call fcn.100470d0
jmp 0x1001c702
mov esi, dword [esp + 0x3c]
call fcn.1001c550
mov edx, dword [esp + 0x20]
push edi
push edx
mov ecx, esi
call fcn.1002e420
mov dword [esp + 0x30], 0xffffffff
lea eax, [esp + 0x20]
push eax
call fcn.1001c450
mov eax, ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8

Function at 0x1001c7c0
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x1009b088
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
push 0xfffe
call fcn.100619b4
mov esi, eax
add esp, 4
mov dword [esp + 8], esi
mov dword [esp + 0x14], 0
cmp dword [edi + 0x18], 8
jb 0x1001c808
mov eax, dword [edi + 4]
jmp 0x1001c80b
lea eax, [edi + 4]
push 0x7fff
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov eax, esi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1001c820
sub eax, edx
sar eax, 1
push eax
push esi
mov ecx, edi
call fcn.100470d0
mov dword [esp + 0x14], 0xffffffff
test esi, esi
je 0x1001c84d
push esi
call fcn.1004ad4f
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x1001c960
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009a3f5
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x100c6270]
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.1001ccc0
mov dword [esp + 0x18], 0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_base.0
mov byte [esp + 0x18], 1
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_Nvidia::Logging::RegistryException__.0
mov dword [esi + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_Nvidia::Logging::RegistryException__.1.0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_Nvidia::Logging::RegistryException__.2.0
test edi, edi
je 0x1001c9c2
lea ebx, [edi + 0x28]
jmp 0x1001c9c4
xor ebx, ebx
mov ecx, dword [esi + 0x2c]
mov edi, dword [ebx + 4]
test ecx, ecx
je 0x1001c9d5
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
mov dword [esi + 0x2c], edi
test edi, edi
je 0x1001c9e5
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 dword [esp + 0x18], 0xffffffff
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 0x1001cf00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009a321
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
xor ebx, ebx
push 0xffffffffffffffff
mov dword [esp + 0x10], ebx
push ebx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.10047e80
mov dword [esp + 0x34], 1
mov ecx, dword [esp + 0x44]
push 0xffffffffffffffff
push ebx
push ecx
lea ecx, [esp + 0x1c]
call fcn.10039920
push 0xffffffffffffffff
push ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.10047e80
mov dword [esp + 0xc], 1
mov byte [esp + 0x34], bl
cmp dword [esp + 0x28], 0x10
jb 0x1001cfa1
mov edx, dword [esp + 0x14]
push edx
call fcn.1004ad4f
add esp, 4
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x2c
ret
Function at 0x1001d890
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009a2d8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100c6270]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x40]
push ecx
push edx
push eax
lea eax, [esp + 0x1c]
xor ebx, ebx
push eax
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.1001d7c0
mov dword [esp + 0x38], ebx
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
push eax
push ecx
lea edx, [esp + 0x20]
push edx
push esi
call fcn.10037d90
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x28], 0x10
jb 0x1001d925
mov eax, dword [esp + 0x14]
push eax
call fcn.1004ad4f
add esp, 4
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.10071821
add esp, 0x34
ret 0x18

Function at 0x1001dad0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009d079
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100c6270]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
mov esi, edx
mov dword [esp + 0xc], 0
mov ecx, dword [ecx]
push eax
mov dword [esp + 0x14], esi
call fcn.1001d9e0
add esp, 4
mov dword [esp + 0x38], 0
mov dword [esp + 0xc], 1
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.10071821
add esp, 0x34
ret

Function at 0x1001e0b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
cmp dword [eax + 0x18], 8
push esi
mov esi, 4
push edi
mov dword [esp + 8], esi
jb 0x1001e0c9
mov eax, dword [eax + 4]
jmp 0x1001e0cc
add eax, 4
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x1c]
push ecx
push 0
push eax
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1001e0fa
cmp dword [esp + 0x14], esi
je 0x1001e0fa
mov eax, 0x3bc6
mov esi, str.RegQueryValueEx
mov edi, eax
call fcn.1001dfe0
mov eax, dword [esp + 0xc]
pop edi
pop esi
add esp, 8
ret 4
Function at 0x1001e2e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009afa1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, dword [esp + 0x38]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov dword [esp + 0xc], 0
call fcn.1001e520
mov dword [esp + 0x30], 1
push eax
push esi
push edi
call fcn.1001e4a0
add esp, 0xc
mov dword [esp + 8], 1
mov byte [esp + 0x30], 0
cmp dword [esp + 0x24], 8
jb 0x1001e350
mov ecx, dword [esp + 0x10]
push ecx
call fcn.1004ad4f
add esp, 4
xor edx, edx
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], dx
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret 4

Function at 0x1001e770
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009afa1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0xc], 0
call fcn.1001e710
mov dword [esp + 0x30], 1
push eax
push esi
mov esi, dword [esp + 0x40]
push esi
call fcn.1001e4a0
add esp, 0xc
mov dword [esp + 8], 1
mov byte [esp + 0x30], 0
cmp dword [esp + 0x24], 8
jb 0x1001e7e0
mov ecx, dword [esp + 0x10]
push ecx
call fcn.1004ad4f
add esp, 4
xor edx, edx
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], dx
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret 4

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

Disassembly:
push 0xffffffffffffffff
push 0x1009a173
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x100c6270]
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.100464d0
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x2c], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x30]
lea eax, [edi + 0x30]
push edx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], edx
push eax
mov byte [ecx + 4], dl
call fcn.10047e80
mov dword [esp + 0x18], 0xffffffff
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 0x10020080
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009b818
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100c6270]
xor eax, esp
mov dword [esp + 0x1c], eax
push edi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push 7
mov edi, ecx
xor eax, eax
push str.Global_
lea ecx, [esp + 0x10]
mov dword [esi], 0
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
call fcn.100470d0
mov dword [esp + 0x30], 0
push 0xffffffffffffffff
push 0
push edi
lea ecx, [esp + 0x14]
call fcn.100326e0
push 0x26
push str.C40CFCD4_C757_4139_A4DA_7CB51A8DBF80
lea ecx, [esp + 0x10]
call fcn.1002e420
mov eax, dword [esp + 0xc]
mov edi, 8
cmp dword [esp + 0x20], edi
jae 0x10020117
lea eax, [esp + 0xc]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], edi
jb 0x1002013f
mov ecx, dword [esp + 0xc]
push ecx
call fcn.1004ad4f
add esp, 4
xor edx, edx
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], dx
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.10071821
add esp, 0x2c
ret
Function at 0x10022b60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a1580
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x100c6270]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, ecx
lea esi, [edi + 0x1c]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], eax
mov byte [esp + 0x20], 0
call fcn.10022950
mov byte [esp + 0x20], 1
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x14]
mov edx, dword [edi]
mov edx, dword [edx + 0xc]
push ebx
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call edx
mov byte [esp + 0x50], 1
mov ebx, dword [edi + 0x10]
cmp ebx, dword [edi + 0x14]
jbe 0x10022be7
call fcn.10071c0a
mov eax, dword [edi + 0x14]
mov esi, dword [edi + 4]
mov dword [esp + 0x18], eax
cmp dword [edi + 0x10], eax
jbe 0x10022bfb
call fcn.10071c0a
mov edi, dword [edi + 4]
mov edi, edi
test esi, esi
je 0x10022c08
cmp esi, edi
je 0x10022c0d
call fcn.10071c0a
cmp ebx, dword [esp + 0x18]
je 0x10022c5d
test esi, esi
jne 0x10022c55
call fcn.10071c0a
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x10022c28
call fcn.10071c0a
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x18]
push edx
call eax
test esi, esi
jne 0x10022c59
call fcn.10071c0a
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x10022c50
call fcn.10071c0a
add ebx, 4
jmp 0x10022c00
mov eax, dword [esi]
jmp 0x10022c1e
mov eax, dword [esi]
jmp 0x10022c46
mov byte [esp + 0x50], 0
cmp dword [esp + 0x3c], 8
jb 0x10022c76
mov ecx, dword [esp + 0x28]
push ecx
call fcn.1004ad4f
add esp, 4
xor edx, edx
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], dx
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [esp + 0x1c]
add dword [eax], 0xffffffff
jne 0x10022cd6
xor ecx, ecx
lea edx, [eax + 4]
xchg dword [edx], ecx
lea ecx, [eax + 8]
mov eax, SysReAllocString
mov edx, ecx
lock xadd dword [edx], eax
test eax, 0x40000000
jne 0x10022cd6
cmp eax, 0x80000000
jle 0x10022cd6
mov eax, ecx
lock bts dword [eax], 0x1e
jb 0x10022cd6
call fcn.10022ab0
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.10071821
mov esp, ebp
pop ebp
ret 8
Function at 0x100242e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009c04b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, dword [esp + 0x30]
xor ebx, ebx
mov dword [esp + 0x18], ebx
lea ebp, [edi + 8]
lea ecx, [edi + 0xc]
mov dword [ebp], 0x100ab250
call fcn.1003fef0
mov dword [esp + 0x28], ebx
mov esi, dword [esp + 0x34]
mov byte [esp + 0x1c], bl
mov eax, dword [esp + 0x1c]
push eax
push edi
mov dword [esp + 0x20], 1
call fcn.10024240
mov dword [esp + 0x28], 2
mov ecx, dword [edi]
mov eax, ebp
mov edx, dword [eax]
mov dword [esp + 0x34], ecx
mov ecx, dword [edx + 4]
mov dword [eax + ecx], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov edx, dword [eax]
mov esi, dword [edx + 4]
add esi, eax
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.1003fda0
mov eax, dword [esp + 0x34]
push 0x20
mov ecx, esi
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ebx
call fcn.1003fe00
mov word [esi + 0x30], ax
cmp dword [esi + 0x28], ebx
jne 0x1002439e
mov eax, dword [esi + 8]
or eax, 4
or eax, 4
push ebx
push eax
mov ecx, esi
call fcn.10042070
mov dword [esi + 4], ebx
mov dword [esp + 0x28], 4
mov ecx, dword [ebp]
mov edx, dword [ecx + 4]
mov dword [edx + edi + 8], vtable.boost::io::basic_oaltstringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [esp + 0x28], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8
Function at 0x10024b60
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009defa
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push edi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
cmp eax, ecx
jl 0x10024bb9
test byte [esi + 0x68], 4
je 0x10024c9e
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.10023ed0
mov dword [esp + 0x38], 0
push eax
call fcn.10023e60
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
xor edi, edi
add eax, edx
je 0x10024c9e
mov dword [esp + 0x10], edi
cmp edi, eax
jb 0x10024be5
call fcn.10071c0a
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + eax]
cmp edx, dword [esi + 0x40]
jne 0x10024c79
cmp byte [esi + 0xb8], 0
je 0x10024c0d
lea ecx, [esi + 0xbc]
mov dword [esp + 0x14], ecx
jmp 0x10024c15
mov dword [esp + 0x14], 0
mov ecx, dword [esi + 0x10]
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x10024c34
call fcn.10071c0a
mov ebx, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
sub ecx, ebx
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x10024c56
call fcn.10071c0a
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
lea edx, [eax + ebx + 4]
push edx
mov edx, dword [esi + 0xc]
add edx, eax
mov eax, dword [ebp + 8]
push edx
lea ecx, [esi + 0x6c]
push eax
call fcn.10024660
add esp, 0x10
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
add dword [esp + 0x10], 0x64
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
cmp edi, eax
jb 0x10024be5
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100257a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009cb32
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push edi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x100257f9
mov edx, dword [ebp + 8]
lea ecx, [esi + 0x4c]
push ecx
push edx
call fcn.1002c3a0
add esp, 8
jmp 0x10025915
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
cmp eax, ecx
jge 0x10025823
test byte [esi + 0x68], 2
je 0x10025823
push ecx
push eax
lea eax, [esp + 0x18]
push eax
call fcn.10025450
mov dword [esp + 0x38], 0
push eax
call fcn.10025380
test byte [esi + 0x3c], 4
je 0x10025881
lea edx, [esp + 0x10]
mov ecx, esi
call fcn.10025550
mov dword [esp + 0x38], 1
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.1002c3a0
add esp, 8
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x28], 8
jb 0x10025865
mov edx, dword [esp + 0x14]
push edx
call fcn.1004ad4f
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
jmp 0x10025915
mov edx, dword [ebp + 8]
lea ecx, [esi + 0x4c]
push ecx
push edx
call fcn.1002c3a0
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add esp, 8
xor ebx, ebx
add eax, edx
je 0x10025915
mov dword [esp + 0xc], ebx
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ebx, ecx
jb 0x100258d0
call fcn.10071c0a
mov edi, dword [esi + 0xc]
add edi, dword [esp + 0xc]
mov eax, dword [ebp + 8]
lea edx, [edi + 4]
push edx
push eax
call fcn.1002c3a0
mov ecx, dword [ebp + 8]
add edi, 0x20
push edi
push ecx
call fcn.1002c3a0
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
add dword [esp + 0x1c], 0x64
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
add esp, 0x10
cmp ebx, eax
jb 0x100258b0
mov byte [esi + 0x48], 1
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret