joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412e90
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov edi, edx
mov ebx, ecx
mov eax, dword [0x644040]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x1c]
push edx
push ecx
push esi
call fcn.00523060
add esp, 0xc
cmp byte [esi + 0xb], 0
jns 0x412ebe
mov esi, dword [ebp - 0x1c]
xor eax, eax
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
cmp byte [ebp - 0x11], 0
jns 0x412edc
push dword [ebp - 0x1c]
call fcn.00564ea0
add esp, 4
cmp dword [ebp + 8], 0
je 0x412ee6
test esi, esi
jne 0x412eff
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00568175
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esi + esi]
xor ecx, ecx
dec ecx
test esi, esi
cmovns ecx, eax
push ecx
call fcn.0056682e
add esp, 4
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c]
push edi
push ebx
mov edi, eax
push eax
call fcn.00523060
mov eax, edi
add esp, 0xc
cmp byte [edi + 0xb], 0
jns 0x412f31
mov eax, dword [ebp - 0x1c]
push esi
mov edi, dword [ebp - 0x20]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [ebp - 0x11], 0
jns 0x412f4e
push dword [ebp - 0x1c]
call fcn.00564ea0
add esp, 4
test edi, edi
je 0x412f8f
push edi
call fcn.005666c2
add esp, 4
lea ecx, [ebp - 0x1c]
push eax
push edi
push ecx
call fcn.00530a10
add esp, 0xc
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0xb], 0
js 0x412f9e
mov eax, dword [ebp - 0x14]
mov dword [ecx + 8], eax
movsd xmm0, qword [ebp - 0x1c]
movsd qword [ecx], xmm0
push edi
call fcn.005666bd
add esp, 4
jmp 0x412ee6
push str....._third_partylibc_srcinclude_string_view:267:_assertion___s___nullptr_failed:_null_pointer_passed_to_non_null_argument_of_char_traits_..._::length_n
push 0x624173
call fcn.00591ed0
push dword [ecx]
call fcn.00564ea0
mov ecx, dword [ebp + 8]
add esp, 4
jmp 0x412f72
Function at 0x4136e0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x100c
call fcn.005685a0
mov esi, ecx
mov eax, dword [0x644040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, 0x800
lea ebx, [ebp - 0x810]
push edi
push 0xff
push ebx
call fcn.00569910
add esp, 0xc
lea eax, [ebp - 0x1014]
mov dword [eax], 1
lea ecx, [ebp - 0x1018]
mov dword [ecx], edi
push ecx
push ebx
push eax
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41376f
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1014]
cmp eax, 1
jne 0x413773
mov ecx, esi
push ebx
call fcn.004137d0
xor edi, edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00568175
mov eax, edi
add esp, 0x100c
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov edi, eax
jmp 0x413756
mov edi, 0x3f4
cmp eax, 2
jne 0x413756
lea edi, [ebp - 0x1010]
push 0x800
push 0xff
push edi
call fcn.00569910
add esp, 0xc
push 0x400
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1018], eax
add eax, 0xfffffbff
mov edi, 0xea
cmp eax, 0xfffffc00
jb 0x413756
mov ecx, esi
lea eax, [ebp - 0x1010]
push eax
jmp 0x41374f
Function at 0x4147d0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb8
mov esi, ecx
mov eax, dword [0x644040]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0xb], 0
mov eax, ecx
jns 0x4147f2
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x414827
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x414840
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00568175
mov ecx, esi
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.00414910
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00568175
mov eax, ebx
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
ret
push 2
call fcn.00563020
add esp, 4
test al, al
je 0x4148f0
call fcn.004ed0f0
lea ecx, [ebp - 0xb8]
push eax
push 2
push 0x26f
push str.crash_report_database_win.cc
call fcn.00592570
lea eax, [ebp - 0xb0]
push 0x10
push str.CreateDirectory
push eax
call fcn.005320d0
add esp, 0xc
mov edi, eax
movsx eax, byte [esi + 0xb]
test eax, eax
jns 0x414894
mov eax, dword [esi + 4]
mov esi, dword [esi]
test eax, eax
js 0x4148fe
je 0x41489e
test esi, esi
je 0x4148f7
lea ebx, [ebp - 0xc4]
push eax
push esi
push ebx
call fcn.00530a10
add esp, 0xc
movsx eax, byte [ebx + 0xb]
test eax, eax
jns 0x4148c3
mov eax, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xc4]
push eax
push ebx
push edi
call fcn.005320d0
add esp, 0xc
cmp byte [ebp - 0xb9], 0
jns 0x4148e5
push dword [ebp - 0xc4]
call fcn.00564ea0
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.00592350
xor ebx, ebx
jmp 0x414829
push str....._third_partylibc_srcinclude_string_view:316:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
jmp 0x414903
push str....._third_partylibc_srcinclude_string_view:314:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
push 0x624173
call fcn.00591ed0
int3
Function at 0x414910
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xac
mov esi, ecx
mov eax, dword [0x644040]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0xb], 0
mov eax, ecx
jns 0x414932
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4149bd
mov bl, 1
test al, 0x10
je 0x41495b
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00568175
mov eax, ebx
add esp, 0xac
pop esi
pop edi
pop ebx
pop ebp
ret
push 2
call fcn.00563020
add esp, 4
test al, al
je 0x4149b9
lea edi, [ebp - 0xb8]
mov ecx, edi
push 2
push 0x25f
push str.crash_report_database_win.cc
call fcn.0040a9f0
lea eax, [ebp - 0xb0]
push 0x12
push str.GetFileAttributes
push eax
call fcn.005320d0
add esp, 0xc
push esi
push eax
call fcn.005bd5b0
add esp, 8
push 0x11
push str.:_not_a_directory
push eax
call fcn.005320d0
add esp, 0xc
mov ecx, edi
call fcn.00407a90
xor ebx, ebx
jmp 0x414944
push 2
call fcn.00563020
add esp, 4
test al, al
je 0x4149b9
call fcn.004ed0f0
lea edi, [ebp - 0xb8]
mov ecx, edi
push eax
push 2
push 0x25b
push str.crash_report_database_win.cc
call fcn.00592570
lea eax, [ebp - 0xb0]
push 0x12
push str.GetFileAttributes
push eax
call fcn.005320d0
add esp, 0xc
push esi
push eax
call fcn.005bd5b0
add esp, 8
mov ecx, edi
call fcn.00592350
jmp 0x4149b9
Function at 0x415440
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov edi, ecx
mov eax, dword [0x644040]
xor eax, ebp
mov dword [esp + 0x58], eax
pcmpeqd xmm0, xmm0
lea ebx, [esp + 0x10]
movdqa xmmword [ebx + 0x20], xmm0
movdqa xmmword [ebx + 0x10], xmm0
movdqa xmmword [ebx], xmm0
mov eax, esp
push 0xac
push str.file_win.cc
push str.GetLength
push eax
call fcn.005068d0
add esp, 0x10
xor esi, esi
mov ecx, ebx
push esi
push esi
call fcn.00520200
mov dword [esp + 0x4c], 0xa
mov al, byte [0x649446]
test al, al
jne 0x4154e8
xor eax, eax
dec eax
mov dword [esp + 4], eax
mov dword [esp], eax
mov eax, esp
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
cmp eax, 1
sbb esi, esi
mov edi, dword [esp + 4]
or edi, esi
or esi, dword [esp]
lea ecx, [esp + 0x10]
call fcn.0053b480
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.00568175
mov eax, esi
mov edx, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movzx ecx, al
lea eax, [esp + 0x54]
mov edx, esp
mov dword [eax], edx
lea ebx, [esp + 0x50]
mov dword [ebx], str.ScopedBlockingCall
lea edx, [esp + 0x4c]
push eax
push ebx
call fcn.005b8bd0
add esp, 8
jmp 0x4154a5
Function at 0x41a6b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov ebx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov esi, dword [0x644040]
xor esi, ebp
mov dword [ebp - 0x10], esi
mov ecx, dword [ecx]
lea esi, [ebp - 0x14]
mov dword [esi], 0xffffffff
or eax, 8
push esi
push 2
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x41a761
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x41a761
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea eax, [esi + 1]
cmp eax, 2
jb 0x41a75d
call fcn.004ef4b0
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
mov dword [ebx], 0
mov al, 1
test esi, esi
je 0x41a76f
mov dword [ebp - 0x18], eax
cmp esi, 0xffffffff
je 0x41a774
call fcn.004ef4b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [ebx], esi
call fcn.004ef4b0
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x18]
mov byte [ebx + 4], al
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00568175
mov eax, ebx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
xor esi, esi
jmp 0x41a709
mov eax, ebx
mov byte [ebx], 0
mov dword [ebp - 0x18], 0
jmp 0x41a741
mov dword [ebp - 0x18], eax
jmp 0x41a741
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x41a73a
Function at 0x41bc80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [esi], ecx
mov ebx, dword [eax]
mov dword [eax], ecx
lea edi, [ebx + 1]
cmp edi, 2
jb 0x41bca3
call fcn.004ef4b0
cmp dword [esi], ebx
je 0x41bccd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x41bcd9
cmp edi, 2
jb 0x41bcc4
mov dword [esi], ebx
call fcn.004ef4b0
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.004ef4b0
mov eax, dword [esi]
cmp dword [0x655034], 0
mov dword [ebp - 0x18], eax
je 0x41bd12
mov eax, dword [0x655034]
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
call dword [0x63e63c]
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [ebp - 0x10]
mov dword [esi], 0
jmp 0x41bcb8
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x6326b5
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41bd4e
mov ecx, eax
cmp eax, sym.browser.exe_GetHandleVerifier
je 0x41bd48
call dword [0x63e63c]
call ecx
push 0
push eax
call fcn.00437740
add esp, 8
jmp 0x41bcec
push 1
push 0
jmp 0x41bd3e
xor eax, eax
push eax
jmp 0x41bd3d
Function at 0x41df60
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x30
mov eax, dword [0x644040]
xor eax, ebp
mov dword [esp + 0x28], eax
test byte [ebp + 0xc], 0x40
je 0x41e05c
xor esi, esi
dec esi
mov edi, 0xffffbfff
mov dword [esp + 4], esi
mov dword [esp], esi
mov eax, dword [0x6496dc]
mov ecx, dword [0x64783c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x41e071
mov ecx, dword [0x6496d8]
test ecx, ecx
je 0x41e0bd
call dword [0x63e63c]
push 8
lea eax, [esp + 4]
push eax
call ecx
test eax, eax
je 0x41e0d4
mov ebx, dword [esp]
cmp edi, ebx
mov eax, esi
sbb eax, dword [esp + 4]
jb 0x41df89
shl ebx, 0xa
and ebx, 0xff0000
add ebx, 0x80000
xor esi, esi
jmp 0x41e00e
push 1
push 0x2000
push edi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
add esi, edi
cmp esi, ebx
jae 0x41e05c
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
movdqa xmmword [esp], xmm0
push 0x1c
lea eax, [esp + 4]
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
je 0x41e05c
mov eax, ebx
sub eax, esi
mov edi, dword [esp + 0xc]
mov ecx, 0xffff
add edi, ecx
and edi, 0xffff0000
cmp eax, edi
cmovb edi, eax
test esi, esi
je 0x41e008
cmp dword [esp + 0x10], 0x10000
jne 0x41e008
jmp 0x41dff6
mov ecx, dword [esp + 0x28]
xor ecx, ebp
call fcn.00568175
mov al, 1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x6496dc
call fcn.00564ee8
add esp, 4
cmp dword [0x6496dc], 0xffffffff
jne 0x41dfb1
push str.bcryptprimitives.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x41e0d7
push str.ProcessPrng
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x6496d8], eax
push 0x6496dc
call fcn.00564f37
add esp, 4
jmp 0x41dfb1
push 8
lea eax, [esp + 4]
push eax
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x41dfd6
int3
int3
int3
Function at 0x420010
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov eax, dword [0x6460b0]
cmp eax, 0xffffffff
je 0x4200d1
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x4200d1
mov eax, dword [0x64a708]
mov ecx, dword [0x64783c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4200db
mov edi, dword [0x64a704]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x42011f
mov ecx, dword [0x6496fc]
inc ecx
xor edx, edx
lea eax, [ecx + edx]
movzx eax, al
mov ebx, eax
shl ebx, 4
cmp dword [ebx + 0x649700], 0
jne 0x42012b
lea ecx, [ebx + 0x649700]
mov dword [ecx], 1
mov edx, dword [ebp + 8]
mov dword [ecx + 4], edx
mov edx, dword [0x64a700]
inc edx
mov dword [0x64a700], edx
mov dword [ecx + 0xc], edx
mov dword [0x6496fc], eax
mov dword [esi], eax
mov eax, dword [ecx + 8]
mov dword [esi + 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp dword [esi], 0x100
jae 0x42011c
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.004126f0
jmp 0x420035
push 0x64a708
call fcn.00564ee8
add esp, 4
cmp dword [0x64a708], 0xffffffff
jne 0x420056
push 4
call fcn.00564ea5
add esp, 4
mov dword [eax], 0
mov dword [0x64a704], eax
push 0x64a708
call fcn.00564f37
add esp, 4
jmp 0x420056
int3
mov ecx, edi
call fcn.00505f10
jmp 0x42006b
inc edx
cmp edx, 0x100
jne 0x420074
jmp 0x4200bb

Function at 0x420140
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov dword [eax], 0
lea edi, [ebx + 1]
cmp edi, 2
jb 0x420163
call fcn.004ef4b0
mov dword [esi], 0
test ebx, ebx
je 0x420193
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x4201b8
cmp edi, 2
jb 0x42018a
mov dword [esi], ebx
call fcn.004ef4b0
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp + 8]
mov al, byte [ecx + 4]
mov byte [esi + 4], al
mov byte [ecx + 4], 0
mov eax, dword [ecx]
inc eax
cmp eax, 2
jae 0x42022d
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.004ef4b0
mov eax, dword [esi]
cmp dword [0x655034], 0
mov dword [ebp - 0x18], eax
je 0x4201f1
mov eax, dword [0x655034]
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
call dword [0x63e63c]
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [ebp - 0x10]
mov dword [esi], 0
jmp 0x42017e
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x6326b5
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x420237
mov ecx, eax
cmp eax, sym.browser.exe_GetHandleVerifier
je 0x420227
call dword [0x63e63c]
call ecx
push 0
push eax
call fcn.00437740
add esp, 8
jmp 0x4201cb
push 1
push 0
jmp 0x42021d
call fcn.00553f00
jmp 0x4201ac
xor eax, eax
push eax
jmp 0x42021c
Function at 0x423d40
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [0x64a7d4]
test ebx, ebx
jne 0x423dc4
push 0x28
call fcn.00564ea5
add esp, 4
mov esi, eax
xor edi, edi
mov dword [eax], edi
mov dword [eax + 4], edi
mov byte [eax + 8], 0
push 0xc
call fcn.00564ea5
add esp, 4
mov dword [esi + 0xc], eax
lea ecx, [eax + 0xc]
mov dword [esi + 0x14], ecx
test eax, eax
je 0x423dce
mov dword [eax + 8], edi
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [esi + 0x10], ecx
mov eax, esi
add eax, 0x1c
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x18], eax
mov dword [esi + 0x24], 1
mov dword [0x64a7d4], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x423dd1
mov edi, eax
push eax
call fcn.005666c2
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.0054b260
test ebx, ebx
sete al
pop esi
pop edi
pop ebx
pop ebp
ret
int3
int3
Function at 0x4254b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov dword [eax], 0
lea edi, [ebx + 1]
cmp edi, 2
jb 0x4254d3
call fcn.004ef4b0
cmp dword [esi], ebx
je 0x4254fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x425522
cmp edi, 2
jb 0x4254f4
mov dword [esi], ebx
call fcn.004ef4b0
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp + 8]
mov al, byte [ecx + 4]
mov byte [esi + 4], al
mov byte [ecx + 4], 0
mov eax, dword [ecx]
inc eax
cmp eax, 2
jae 0x425597
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.004ef4b0
mov eax, dword [esi]
cmp dword [0x655034], 0
mov dword [ebp - 0x18], eax
je 0x42555b
mov eax, dword [0x655034]
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
call dword [0x63e63c]
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [ebp - 0x10]
mov dword [esi], 0
jmp 0x4254e8
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x6326b5
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4255a1
mov ecx, eax
cmp eax, sym.browser.exe_GetHandleVerifier
je 0x425591
call dword [0x63e63c]
call ecx
push 0
push eax
call fcn.00437740
add esp, 8
jmp 0x425535
push 1
push 0
jmp 0x425587
call fcn.00553f00
jmp 0x425516
xor eax, eax
push eax
jmp 0x425586

Function at 0x4255b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push ebx
call fcn.005666c2
add esp, 4
lea eax, [eax*2 + 2]
push eax
push ebx
push 1
push 0
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x425f10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov esi, ecx
mov eax, dword [0x644040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ecx], 0
mov byte [ecx + 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test eax, eax
je 0x426030
mov dword [esp], 0x18
call fcn.00564ea5
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0x80000018
mov dword [ebp - 0x18], 0x15
cmp eax, str.ExitCodeWatcherThread
ja 0x425f70
lea ecx, [eax + 0x15]
cmp ecx, str.ExitCodeWatcherThread
ja 0x426033
lea ecx, [esi + 8]
movsd xmm0, qword [0x624ba1]
movsd qword [eax + 0xd], xmm0
movups xmm0, xmmword [str.ExitCodeWatcherThread]
movups xmmword [eax], xmm0
mov byte [eax + 0x15], 0
lea edi, [ebp - 0x1c]
mov dword [esp], edi
call fcn.00426050
sub esp, 4
cmp byte [edi + 0xb], 0
jns 0x425fad
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.00564ea0
mov dword [esi + 0x50], 0x103
movsd xmm0, qword [0x624b80]
movups xmmword [esp], xmm0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
sub esp, 0x10
mov dword [esi + 0x54], 0
test eax, eax
je 0x426003
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi + 0x54]
inc eax
cmp eax, 2
jae 0x426017
lea eax, [edi + 1]
cmp eax, 2
jb 0x425ff7
mov dword [esi + 0x54], edi
call fcn.004ef4b0
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
sub esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00568175
mov eax, esi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004ef4b0
mov eax, dword [esi + 0x54]
mov dword [esp], eax
call fcn.0054ee40
mov dword [esi + 0x54], 0
jmp 0x425fe7
int3
mov dword [esp + 4], str....._third_partylibc_srcinclude__stringchar_traits.h:146:_assertion__std::__is_pointer_in_range___s1____s1____n____s2__failed:_char_traits::copy:_source_and_destination_ranges_overlap_n
mov dword [esp], 0x624173
call fcn.00591ed0
int3
Function at 0x429b60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x80
mov esi, ecx
mov eax, dword [0x644040]
xor eax, ebp
mov dword [ebp - 0xc], eax
cmp byte [ecx], 0
jne 0x429bbb
cmp byte [esi + 0x1b], 0
js 0x429b9c
cmp byte [esi + 0xf], 0
js 0x429ba9
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00568175
add esp, 0x80
pop esi
pop edi
pop ebp
ret
mov eax, dword [esi + 0x10]
mov dword [esp], eax
call fcn.00564ea0
jmp 0x429b82
mov eax, dword [esi + 4]
mov dword [esp], eax
call fcn.00564ea0
jmp 0x429b88
mov ecx, dword [esi + 8]
jmp 0x429bdb
mov ecx, esi
call fcn.005c8ee0
test al, al
je 0x429c8b
mov ecx, esi
call fcn.005c8f50
movsx eax, byte [esi + 0xf]
test eax, eax
js 0x429bb6
mov ecx, eax
test ecx, ecx
je 0x429c8e
pxor xmm0, xmm0
movdqu xmmword [ebp - 0x1c], xmm0
movdqu xmmword [ebp - 0x2c], xmm0
movdqu xmmword [ebp - 0x3c], xmm0
movdqu xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x50], 0x44
lea ecx, [esi + 0x10]
pcmpeqd xmm0, xmm0
movdqu xmmword [ebp - 0x60], xmm0
cmp byte [esi + 0x1b], 0
jns 0x429c16
mov ecx, dword [ecx]
lea edx, [esi + 4]
test al, al
jns 0x429c1f
mov edx, dword [edx]
lea eax, [ebp - 0x60]
mov dword [esp + 0x24], eax
lea eax, [ebp - 0x50]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
movaps xmm0, xmmword [0x634ad0]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
sub esp, 0x28
test eax, eax
je 0x429b7c
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
sub esp, 4
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
sub esp, 4
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call edi
sub esp, 4
jmp 0x429b7c
int3
int3