joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406830
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov eax, dword [0x644040]
xor eax, ebp
mov dword [esp + 0x40], eax
movsd xmm0, qword [0x649680]
xorpd xmm1, xmm1
ucomisd xmm0, xmm1
jne 0x40685b
jnp 0x406880
movsd qword [esp + 0x18], xmm0
fld qword [esp + 0x18]
fstp xword [esp + 0xc]
mov ecx, dword [esp + 0x40]
xor ecx, ebp
call fcn.00565ea5
fld xword [esp + 0xc]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [esp + 0xc], eax
call esi
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x649690]
mov ecx, dword [0x64784c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4069b5
mov eax, dword [0x6496a0]
mov ecx, dword [0x64784c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4069ee
rdtsc
mov dword [esp + 8], eax
mov dword [esp + 4], edx
xor eax, eax
lea esi, [esp + 0x38]
mov dword [esi + 4], eax
mov dword [esi], eax
push esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ebx, dword [esi]
mov edi, dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi], eax
push esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub ebx, dword [0x649698]
sbb edi, dword [0x64969c]
movd xmm0, edi
movd xmm1, ebx
punpckldq xmm1, xmm0
movq qword [esp + 0x28], xmm1
fild qword [esp + 0x28]
fstp qword [esp + 0x20]
movsd xmm1, qword [esp + 0x20]
fild qword [esp + 0x38]
fstp qword [esp + 0x30]
divsd xmm1, qword [esp + 0x30]
pxor xmm0, xmm0
movsd xmm2, qword [0x625460]
ucomisd xmm2, xmm1
ja 0x40685b
mov eax, dword [esp + 8]
sub eax, dword [0x649688]
mov ecx, dword [esp + 4]
sbb ecx, dword [0x64968c]
movd xmm2, ecx
movd xmm0, eax
punpckldq xmm0, xmm2
punpckldq xmm0, xmmword [0x625440]
subpd xmm0, xmmword [0x625450]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x649680], xmm0
jmp 0x40685b
push 0x649690
call fcn.00562c08
add esp, 4
cmp dword [0x649690], 0xffffffff
jne 0x4068bf
rdtsc
mov dword [0x649688], eax
mov dword [0x64968c], edx
push 0x649690
call fcn.00562c57
add esp, 4
jmp 0x4068bf
push 0x6496a0
call fcn.00562c08
add esp, 4
cmp dword [0x6496a0], 0xffffffff
jne 0x4068e0
xor eax, eax
lea esi, [esp + 0x38]
mov dword [esi + 4], eax
mov dword [esi], eax
push esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [0x64969c], ecx
mov dword [0x649698], eax
push 0x6496a0
call fcn.00562c57
add esp, 4
jmp 0x4068e0
Function at 0x40ad40
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]
cmp dword [ecx], ebx
je 0x40ad78
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x40ad82
lea eax, [ebx + 1]
cmp eax, 2
jb 0x40ad71
mov dword [esi], ebx
call fcn.00501530
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.00501530
mov eax, dword [esi]
cmp dword [0x655038], 0
mov dword [ebp - 0x18], eax
je 0x40adbb
mov eax, dword [0x655038]
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
call dword [0x63e1bc]
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [ebp - 0x10]
mov dword [esi], 0
jmp 0x40ad62
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x6318bd
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40adf7
mov ecx, eax
cmp eax, sym.browser.exe_GetHandleVerifier
je 0x40adf1
call dword [0x63e1bc]
call ecx
push 0
push eax
call fcn.004292e0
add esp, 8
jmp 0x40ad95
push 1
push 0
jmp 0x40ade7
xor eax, eax
push eax
jmp 0x40ade6
Function at 0x40f690
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.005662d0
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.00567640
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 0x40f71f
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1014]
cmp eax, 1
jne 0x40f723
mov ecx, esi
push ebx
call fcn.0040f780
xor edi, edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00565ea5
mov eax, edi
add esp, 0x100c
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov edi, eax
jmp 0x40f706
mov edi, 0x3f4
cmp eax, 2
jne 0x40f706
lea edi, [ebp - 0x1010]
push 0x800
push 0xff
push edi
call fcn.00567640
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 0x40f706
mov ecx, esi
lea eax, [ebp - 0x1010]
push eax
jmp 0x40f6ff
Function at 0x4108c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ecx], 0
test ebx, ebx
je 0x4108fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x41091c
lea eax, [ebx + 1]
cmp eax, 2
jb 0x4108f7
mov dword [esi], ebx
call fcn.00501530
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp eax, ebx
je 0x410991
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.00501530
mov eax, dword [esi]
cmp dword [0x655038], 0
mov dword [ebp - 0x18], eax
je 0x410955
mov eax, dword [0x655038]
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
call dword [0x63e1bc]
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [ebp - 0x10]
mov dword [esi], 0
jmp 0x4108e8
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x6318bd
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x410994
mov ecx, eax
cmp eax, sym.browser.exe_GetHandleVerifier
je 0x41098b
call dword [0x63e1bc]
call ecx
push 0
push eax
call fcn.004292e0
add esp, 8
jmp 0x41092f
push 1
push 0
jmp 0x410981
int3
xor eax, eax
push eax
jmp 0x410980
Function at 0x411680
Capabilities:
Check if file exists
Delete directory
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2b8
mov esi, edx
mov dword [ebp - 0x2c0], ecx
mov eax, dword [0x644040]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x2a4]
push 0x294
push 0xff
push edi
call fcn.00567640
add esp, 0xc
xor ebx, ebx
mov ecx, edi
push ebx
push ebx
mov dword [ebp - 0x2c4], esi
push esi
push 3
push ebx
push dword [ebp - 0x2c0]
call fcn.00411a20
xor eax, eax
dec eax
lea edi, [ebp - 0x2b0]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
lea ecx, [ebp - 0x2a4]
push edi
call fcn.005402c0
movsx eax, byte [edi + 0xb]
mov ecx, eax
test eax, eax
jns 0x4116ff
mov ecx, dword [ebp - 0x2ac]
test ecx, ecx
je 0x4117c9
xor esi, esi
cmp byte [ebp - 0x2a4], 0
je 0x41184f
mov ebx, dword [ebp - 0x2a0]
test bl, 1
jne 0x411859
test bl, 0x10
jne 0x411804
cmp byte [ebp - 0x2a5], 0
mov eax, edi
jns 0x41173f
mov eax, dword [ebp - 0x2b0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4117fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor ebx, ebx
cmp ecx, 2
je 0x411762
mov ebx, eax
test esi, esi
cmovne ebx, esi
lea ecx, [ebp - 0x2a4]
lea eax, [ebp - 0x2bc]
push eax
call fcn.005402c0
cmp byte [ebp - 0x2a5], 0
jns 0x411790
push dword [ebp - 0x2b0]
call fcn.00562bc0
add esp, 4
mov eax, dword [ebp - 0x2b4]
mov dword [ebp - 0x2a8], eax
movsd xmm0, qword [ebp - 0x2bc]
movsd qword [ebp - 0x2b0], xmm0
movsx eax, byte [ebp - 0x2a5]
mov ecx, eax
test eax, eax
jns 0x4117bf
mov ecx, dword [ebp - 0x2ac]
mov esi, ebx
test ecx, ecx
jne 0x411709
test al, al
jns 0x4117db
push dword [ebp - 0x2b0]
call fcn.00562bc0
add esp, 4
lea ecx, [ebp - 0x2a4]
call fcn.004118a0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00565ea5
mov eax, ebx
add esp, 0x2b8
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
jmp 0x411762
xor ebx, ebx
cmp byte [ebp + 8], 0
je 0x411762
mov ecx, edi
mov edx, dword [ebp - 0x2c4]
push 1
call fcn.00411680
add esp, 4
test eax, eax
jne 0x411760
cmp byte [ebp - 0x2a5], 0
mov eax, edi
jns 0x41183b
mov eax, dword [ebp - 0x2b0]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x411762
jmp 0x41174e
call fcn.00592180
jmp 0x41172e
mov dword [ebp - 0x2c0], ebx
mov ecx, ebx
shr cl, 4
mov dl, byte [ebp + 8]
xor dl, 1
xor ebx, ebx
test cl, dl
jne 0x411762
test al, al
jns 0x411880
mov eax, dword [ebp - 0x2b0]
jmp 0x411886
lea eax, [ebp - 0x2b0]
mov ebx, dword [ebp - 0x2c0]
mov ecx, ebx
and ecx, 0xfffffffe
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x411725
Function at 0x412e70
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x804
mov eax, dword [0x644040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov esi, dword [0x6460b0]
cmp esi, 0xffffffff
je 0x412f05
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x412f37
mov ebx, 0x800
lea eax, [ebp - 0x810]
push ebx
push 0
push eax
call fcn.00567640
add esp, 0xc
lea eax, [ebp - 0x80d]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push ebx
call fcn.0056454e
add esp, 4
mov edi, eax
push ebx
lea eax, [ebp - 0x810]
push eax
push edi
call fcn.005670c0
add esp, 0xc
mov eax, edi
or eax, 3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00565ea5
mov eax, edi
add esp, 0x804
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x412f3a
mov esi, eax
xor eax, eax
dec eax
lock cmpxchg dword [0x6460b0], esi
je 0x412e91
push esi
call fcn.005c2b40
add esp, 4
mov esi, dword [0x6460b0]
jmp 0x412e91
int3
int3
Function at 0x414240
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x10014
call fcn.005662d0
mov eax, dword [0x644040]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor edi, edi
dec edi
lea esi, [ebp - 0x1001c]
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
push edx
push ecx
push esi
call fcn.005284a0
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x41430c
lea ebx, [ebp - 0x1000e]
push 0xfffe
push 0xff
push ebx
call fcn.00567640
add esp, 0xc
cmp byte [ebp - 0x10011], 0
jns 0x4142a8
mov esi, dword [ebp - 0x1001c]
push 0x7fff
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
setne byte [ebp - 0x1001d]
jne 0x4142f4
mov bl, byte [ebp - 0x1001d]
cmp byte [ebp - 0x10011], 0
jns 0x4142dd
push dword [ebp - 0x1001c]
call fcn.00562bc0
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00565ea5
mov eax, ebx
add esp, 0x10014
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, eax
cmp eax, 0x7ffe
ja 0x414335
push dword [ebp + 8]
push esi
push ebx
call fcn.0043fdf0
add esp, 0xc
jmp 0x4142c0
cmp byte [ebp - 0x10011], 0
js 0x41431d
lea eax, [ebp - 0x1001c]
jmp 0x414323
mov eax, dword [ebp - 0x1001c]
xor ecx, ecx
push ecx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
setne bl
jmp 0x4142c6
lea eax, [esi + esi]
test esi, esi
cmovns edi, eax
push edi
call fcn.0056454e
add esp, 4
mov ebx, eax
push edi
push 0
push eax
call fcn.00567640
add esp, 0xc
cmp byte [ebp - 0x10011], 0
js 0x414365
lea eax, [ebp - 0x1001c]
jmp 0x41436b
mov eax, dword [ebp - 0x1001c]
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec esi
push dword [ebp + 8]
push esi
push ebx
call fcn.0043fdf0
add esp, 0xc
test ebx, ebx
je 0x4142c0
push ebx
call fcn.005643dd
add esp, 4
jmp 0x4142c0
Function at 0x415620
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.0050b300
add esp, 0x10
xor esi, esi
mov ecx, ebx
push esi
push esi
call fcn.00522210
mov dword [esp + 0x4c], 0xa
mov al, byte [0x649456]
test al, al
jne 0x4156c8
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.00540b60
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.00565ea5
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.005b5b90
add esp, 8
jmp 0x415685

Function at 0x417010
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [0x64a7e4]
test ebx, ebx
jne 0x417094
push 0x28
call fcn.00562bc5
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.00562bc5
add esp, 4
mov dword [esi + 0xc], eax
lea ecx, [eax + 0xc]
mov dword [esi + 0x14], ecx
test eax, eax
je 0x41709e
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 [0x64a7e4], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x4170a1
mov edi, eax
push eax
call fcn.005643e2
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.00544090
test ebx, ebx
sete al
pop esi
pop edi
pop ebx
pop ebp
ret
int3
int3
Function at 0x418790
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 0x4187b3
call fcn.00501530
cmp dword [esi], ebx
je 0x4187dd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x418802
cmp edi, 2
jb 0x4187d4
mov dword [esi], ebx
call fcn.00501530
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 0x418877
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.00501530
mov eax, dword [esi]
cmp dword [0x655038], 0
mov dword [ebp - 0x18], eax
je 0x41883b
mov eax, dword [0x655038]
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
call dword [0x63e1bc]
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [ebp - 0x10]
mov dword [esi], 0
jmp 0x4187c8
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x6318bd
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x418881
mov ecx, eax
cmp eax, sym.browser.exe_GetHandleVerifier
je 0x418871
call dword [0x63e1bc]
call ecx
push 0
push eax
call fcn.004292e0
add esp, 8
jmp 0x418815
push 1
push 0
jmp 0x418867
call fcn.00555660
jmp 0x4187f6
xor eax, eax
push eax
jmp 0x418866
Function at 0x4191b0
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 0x4192d4
mov dword [esp], 0x18
call fcn.00562bc5
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0x80000018
mov dword [ebp - 0x18], 0x15
lea ecx, [eax + 0x15]
mov edx, str.ExitCodeWatcherThread
cmp eax, edx
seta bl
cmp ecx, edx
setbe cl
or cl, bl
je 0x4192d7
lea ecx, [esi + 8]
movsd xmm0, qword [0x6237a1]
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.004192f0
sub esp, 4
cmp byte [edi + 0xb], 0
jns 0x419251
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.00562bc0
mov dword [esi + 0x50], 0x103
movsd xmm0, qword [0x623780]
movups xmmword [esp], xmm0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
sub esp, 0x10
mov dword [esi + 0x54], 0
test eax, eax
je 0x4192a7
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi + 0x54]
inc eax
cmp eax, 2
jae 0x4192bb
lea eax, [edi + 1]
cmp eax, 2
jb 0x41929b
mov dword [esi + 0x54], edi
call fcn.00501530
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
sub esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00565ea5
mov eax, esi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.00501530
mov eax, dword [esi + 0x54]
mov dword [esp], eax
call fcn.00554260
mov dword [esi + 0x54], 0
jmp 0x41928b
int3
mov dword [esp + 4], str....._third_partylibc_srcinclude__stringchar_traits.h:145:_assertion__std::__is_pointer_in_range___s1____s1____n____s2__failed:_char_traits::copy:_source_and_destination_ranges_overlap_n
mov dword [esp], 0x622e92
call fcn.0058fdd0
int3
Function at 0x41cdf0
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], 1
je 0x41ce4b
cmp byte [esi + 0x1b], 0
js 0x41ce2c
cmp byte [esi + 0xf], 0
js 0x41ce39
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00565ea5
add esp, 0x80
pop esi
pop edi
pop ebp
ret
mov eax, dword [esi + 0x10]
mov dword [esp], eax
call fcn.00562bc0
jmp 0x41ce12
mov eax, dword [esi + 4]
mov dword [esp], eax
call fcn.00562bc0
jmp 0x41ce18
mov ecx, dword [esi + 8]
jmp 0x41ce6b
mov ecx, esi
call fcn.005c6f60
test al, al
je 0x41cf1b
mov ecx, esi
call fcn.005c6fd0
movsx eax, byte [esi + 0xf]
test eax, eax
js 0x41ce46
mov ecx, eax
test ecx, ecx
je 0x41cf1e
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 0x41cea6
mov ecx, dword [ecx]
lea edx, [esi + 4]
test al, al
jns 0x41ceaf
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 [0x634290]
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 0x41ce0c
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 0x41ce0c
int3
int3
Function at 0x41e7b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xa8
mov esi, ecx
mov eax, dword [0x644040]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ecx + 4], eax
mov dword [ecx], 0x621a28
mov dword [ecx + 8], eax
mov ecx, 0x621a3c
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], eax
mov byte [esi + 0x14], al
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], al
sub esp, 0x10
movsd xmm0, qword [0x623780]
movups xmmword [esp], xmm0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
mov eax, dword [esi + 0x10]
test eax, eax
setne cl
cmp eax, edi
sete dl
and dl, cl
cmp dl, 1
je 0x41e8c1
test eax, eax
jne 0x41e8c6
mov dword [esi + 0x10], edi
cmp dword [0x64a79c], 3
setl al
test edi, edi
sete cl
and cl, al
cmp cl, 1
je 0x41e8df
sub esp, 0x10
movsd xmm0, qword [0x623780]
movups xmmword [esp], xmm0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
mov eax, dword [esi + 0x1c]
test eax, eax
setne cl
cmp eax, edi
sete dl
and dl, cl
cmp dl, 1
je 0x41e8c1
test eax, eax
jne 0x41e8d4
mov dword [esi + 0x1c], edi
cmp dword [0x64a79c], 3
setl al
test edi, edi
sete cl
and cl, al
cmp cl, 1
je 0x41e91d
xor eax, eax
push eax
push eax
push esi
push 0x4f4c50
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
test eax, eax
je 0x41e95b
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00565ea5
mov eax, esi
add esp, 0xa8
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.005773ec
push eax
call fcn.004f4b00
add esp, 4
jmp 0x41e824
push eax
call fcn.004f4b00
add esp, 4
jmp 0x41e870
call fcn.004f27f0
lea edi, [ebp - 0xb4]
mov ecx, edi
push eax
push 2
push 0x5b
push str.session_end_watcher.cc
call fcn.0045af70
lea eax, [ebp - 0xac]
push 0xb
push str.CreateEvent
push eax
call fcn.00538a30
add esp, 0xc
mov ecx, edi
call fcn.0044fb10
jmp 0x41e841
call fcn.004f27f0
lea edi, [ebp - 0xb4]
mov ecx, edi
push eax
push 2
push 0x5e
push str.session_end_watcher.cc
call fcn.0045af70
lea eax, [ebp - 0xac]
push 0xb
push str.CreateEvent
push eax
call fcn.00538a30
add esp, 0xc
mov ecx, edi
call fcn.0044fb10
jmp 0x41e88d
lea ebx, [ebp - 0xb4]
push 0x1b
push str.thread_win.cc
push str.Start
push ebx
call fcn.0050b300
add esp, 0x10
lea edi, [ebp - 0x14]
push ebx
push edi
call fcn.005bae80
add esp, 8
mov ecx, edi
push 0x637650
call fcn.005d7cb0
mov ecx, edi
call fcn.00590430
jmp 0x41e8aa