joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401886
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [ebp + 8]
cmp dword [ecx], ebx
je 0x4018c8
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, esi
mov edi, eax
call fcn.00402d40
lea eax, [ebx + 1]
cmp eax, 2
jb 0x4018c1
mov dword [esi], ebx
call fcn.00406c40
push eax
push dword [ebp + 4]
push esi
push ebx
call fcn.00406c70
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x403ac0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x160
mov eax, dword [0x56600c]
xor eax, ebp
mov dword [esp + 0x158], eax
mov ecx, dword [0x5684f8]
mov edx, dword fs:[0x2c]
mov eax, dword [0x5685f4]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x403b15
mov ecx, dword [esp + 0x158]
xor ecx, ebp
call fcn.00478339
mov eax, 0x5685f0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x5685f4
call fcn.00478734
add esp, 4
cmp dword [0x5685f4], 0xffffffff
jne 0x403afa
lea eax, [esp + 0x40]
push 0x118
push 0
push eax
call fcn.004d37c0
add esp, 0xc
lea edi, [esp + 0x3c]
mov dword [esp + 0x3c], 0x11c
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 0
push 0
push dword [esp + 0x50]
push dword [esp + 0x50]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
push 0x74
call fcn.00478358
add esp, 4
mov ecx, dword [0x5684f8]
mov edx, dword fs:[0x2c]
mov esi, eax
mov eax, dword [0x56861c]
mov ebx, dword [esp + 0xc]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x403bc4
mov ecx, esi
push ebx
push 0x5685f8
push edi
call fcn.00403c60
mov dword [0x5685f0], esi
push 0x5685f4
call fcn.004786ea
add esp, 4
jmp 0x403afa
push 0x56861c
call fcn.00478734
add esp, 4
cmp dword [0x56861c], 0xffffffff
jne 0x403b9e
xorps xmm0, xmm0
lea eax, [esp + 0x10]
mov dword [esp + 0x30], 0
movaps xmmword [esp + 0x20], xmm0
movaps xmmword [esp + 0x10], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movsd xmm1, qword [esp + 0x20]
mov eax, dword [esp + 0x30]
movsd xmm0, qword [esp + 0x28]
movsd xmm2, qword [esp + 0x10]
movsd qword [0x568608], xmm1
movsd xmm1, qword [esp + 0x18]
mov dword [0x568618], eax
movsd qword [0x568610], xmm0
movsd qword [0x5685f8], xmm2
movsd qword [0x568600], xmm1
push 0x56861c
call fcn.004786ea
add esp, 4
jmp 0x403b9e
Function at 0x40e6cc
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
call fcn.0040e470
test al, al
je 0x40e6f0
push 0x32
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea edi, [esi + 0x20]
mov ecx, edi
push 0
call fcn.0040e74c
lea ecx, [esi + 0x30]
call fcn.0040351c
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x40e714
push eax
call fcn.004d7e5b
add esp, 4
mov edi, dword [edi]
test edi, edi
je 0x40e72a
mov ecx, edi
call fcn.0042777a
push edi
call fcn.004783ab
add esp, 4
lea ecx, [esi + 0x18]
call fcn.00402d40
lea ecx, [esi + 0x14]
call fcn.00402d40
lea ecx, [esi + 0x10]
call fcn.00402d40
mov ecx, esi
pop esi
pop edi
pop ebp
jmp fcn.0040e380
Function at 0x40eb2a
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [0x56600c]
mov esi, ecx
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
xor ebx, ebx
lea edi, [esi + 0x18]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [edx + ecx]
push ebx
push eax
push ebx
push 0x8000004
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ecx, edi
push eax
call fcn.00401886
mov ecx, esi
mov esi, dword [esi + 0x18]
lea eax, [esi + 1]
cmp eax, 1
ja 0x40eb99
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x18]
mov ebx, 0x19
mov dword [ecx], eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00478339
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
mov eax, dword [ecx]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x14]
push ebx
push ebx
push 7
push ecx
push dword [ebp - 0x18]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x40ecc1
xor eax, eax
push eax
push eax
push eax
push 6
push dword [edi]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, dword [ebp + 0x18]
test eax, eax
je 0x40ecd4
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
test ebx, ebx
je 0x40ec1f
test ecx, ecx
je 0x40ec1f
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x18]
lea edi, [edx + eax]
push ecx
push ebx
push edi
call fcn.004d3ae0
add esp, 0xc
mov eax, 0xffffff00
mov ecx, dword [edi + eax + 0x100]
test ecx, ecx
je 0x40ec1a
sub ecx, ebx
mov dword [edi + eax + 0x100], ecx
add eax, 4
jne 0x40ec06
mov eax, dword [ebp - 0x14]
mov dword [0x568568], eax
sub esp, 0xc
mov edi, dword [ebp - 0x20]
mov dword [esp + 8], 4
mov dword [esp + 4], 0x568568
mov ecx, edi
call fcn.0040eac6
test eax, eax
mov dword [0x568568], 0
jne 0x40ecb2
mov eax, dword [ebp + 0x10]
mov dword [0x5686a4], eax
sub esp, 0xc
mov ecx, edi
mov dword [esp + 8], 4
mov dword [esp + 4], 0x5686a4
call fcn.0040eac6
test eax, eax
mov dword [0x5686a4], 0
jne 0x40ecb2
mov eax, dword [ebp + 0x14]
mov dword [0x5686a8], eax
sub esp, 0xc
mov ecx, edi
mov dword [esp + 8], 4
mov dword [esp + 4], 0x5686a8
call fcn.0040eac6
test eax, eax
mov dword [0x5686a8], 0
je 0x40ece6
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x40eb83
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x18]
mov ebx, 0x1a
jmp 0x40eb81
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
mov ebx, 0x1b
jmp 0x40eb83
mov esi, dword [ebp + 8]
lea eax, [edi + 0x20]
mov dword [ebp - 0x1c], eax
push 0x1c
call fcn.00478358
add esp, 4
mov ebx, eax
mov ecx, eax
push esi
push dword [edi + 0x24]
push dword [edi + 8]
push dword [edi]
call fcn.0042770c
mov ecx, dword [ebp - 0x1c]
push ebx
call fcn.0040e74c
mov ecx, dword [edi + 0x20]
push 0x400
push dword [ebp + 0x10]
push dword [ebp - 0x18]
call fcn.004277ec
mov ebx, 4
test al, al
je 0x40eb83
mov ecx, edi
call fcn.0040e610
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
jmp 0x40eb83
Function at 0x4137e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x10
mov edx, dword [0x56600c]
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x18]
lea edi, [ebp - 0x10]
xor edx, ebp
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0x14]
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x18], 0
push edx
push esi
push edi
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
jne 0x413848
mov eax, dword [ebp - 0x10]
mov esi, 0x3f4
add eax, 0xfffffffd
cmp eax, 1
ja 0x413848
cmp dword [ebp - 0x14], 4
jne 0x413848
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
xor esi, esi
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00478339
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebp
ret 8

Function at 0x413860
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x1010
call fcn.004fb440
mov edx, dword [0x56600c]
mov eax, dword [ebp + 8]
lea ebx, [ebp - 0x810]
lea esi, [ebp - 0x1018]
xor edx, ebp
mov dword [ebp - 0x10], edx
lea edx, [ebp - 0x101c]
mov dword [ebp - 0x1018], 1
mov dword [ebp - 0x101c], 0x800
push edx
push ebx
push esi
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x413991
mov eax, dword [ebp - 0x1018]
mov esi, dword [ebp + 0xc]
cmp eax, 2
je 0x4138fd
mov edi, 0x3f4
cmp eax, 1
jne 0x413991
push ebx
call fcn.004d801a
add esp, 4
mov edi, eax
mov eax, dword [esi + 0x14]
cmp eax, edi
jae 0x41395a
sub esp, 0xc
mov al, byte [ebp - 0x1010]
mov byte [esp + 4], al
mov dword [esp + 8], ebx
jmp 0x41394e
lea eax, [ebp - 0x1010]
push 0x400
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x101c], eax
dec eax
mov edi, 0xea
cmp eax, 0x3ff
ja 0x413991
lea ebx, [ebp - 0x1010]
push ebx
call fcn.004d801a
add esp, 4
mov edi, eax
mov eax, dword [esi + 0x14]
mov ecx, ebx
cmp eax, edi
jae 0x41396e
sub esp, 0xc
mov al, byte [ebp - 0x1014]
mov byte [esp + 4], al
mov dword [esp + 8], ecx
mov ecx, esi
mov dword [esp], edi
call fcn.004052d6
jmp 0x41398f
cmp eax, 8
mov eax, esi
jb 0x413963
mov esi, dword [eax]
mov ecx, edi
mov dword [eax + 0x10], edi
add ecx, edi
push ecx
push ebx
jmp 0x413980
cmp eax, 8
mov eax, esi
jb 0x413977
mov esi, dword [eax]
mov edx, edi
mov dword [eax + 0x10], edi
add edx, edi
push edx
push ecx
push esi
call fcn.004d40e0
add esp, 0xc
mov word [esi + edi*2], 0
xor edi, edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00478339
mov eax, edi
add esp, 0x1010
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x41573a
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x60
mov eax, dword [0x56600c]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0x2c], 0
je 0x415847
mov esi, ecx
lea edx, [ecx + 0x24]
lea eax, [ebp - 0x58]
lea edi, [ebp - 0x5c]
mov ecx, edi
push eax
push 2
call fcn.00415867
add esp, 8
mov edx, dword [edi]
test edx, edx
je 0x41584e
cmp dword [edx], 0
mov dword [ebp - 0x68], esi
je 0x41583a
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x60], edx
add eax, 0x18
mov dword [ebp - 0x6c], eax
xor eax, eax
test dword [edx + eax*8 + 8], 0xc0000020
mov dword [ebp - 0x64], eax
jne 0x41582e
cmp dword [ebp + 8], 0
je 0x4157f0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
cmp dword [eax + 4], ecx
je 0x4157f0
xor ebx, ebx
xor edi, edi
mov eax, dword [ebp - 0x64]
add ecx, ebx
mov esi, dword [edx + eax*8 + 4]
call fcn.00416114
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
mov edx, dword [ebp - 0x60]
test eax, eax
jne 0x41582e
mov eax, dword [ebp + 8]
inc edi
add ebx, 0x44
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
sar eax, 2
imul eax, eax, 0xf0f0f0f1
cmp edi, eax
jb 0x4157b8
mov eax, dword [ebp - 0x64]
lea edi, [ebp - 0x54]
mov ecx, edi
push dword [edx + eax*8 + 4]
call fcn.00415e58
mov esi, dword [ebp - 0x68]
mov eax, dword [esi + 0x1c]
cmp eax, dword [esi + 0x20]
je 0x415821
mov ebx, 0x44
push ebx
push edi
push eax
call fcn.004d3ae0
add esp, 0xc
add dword [esi + 0x1c], ebx
jmp 0x41582b
mov ecx, dword [ebp - 0x6c]
push edi
push eax
call fcn.0040508e
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x64]
inc eax
cmp eax, dword [edx]
jb 0x415793
push edx
call fcn.004fb432
add esp, 4
xor esi, esi
jmp 0x415851
mov esi, 0x3f0
jmp 0x415851
mov esi, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00478339
mov eax, esi
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x41b460
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, 0x38
mov eax, dword [0x56600c]
xorpd xmm0, xmm0
xor eax, ebp
mov dword [esp + 0x30], eax
movsd xmm1, qword [0x568718]
ucomisd xmm1, xmm0
jne 0x41b5e4
jp 0x41b5e4
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [esp + 0xc], eax
call edi
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [0x5684f8]
mov edx, dword fs:[0x2c]
mov eax, dword [0x568728]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x41b609
mov ecx, dword [0x5684f8]
mov edx, dword fs:[0x2c]
mov eax, dword [0x568738]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x41b642
rdtsc
lea esi, [esp + 0x28]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 8], eax
mov dword [esp + 4], edx
push esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
push esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub edi, dword [0x568730]
movsd xmm2, qword [0x517b48]
sbb ebx, dword [0x568734]
movd xmm1, edi
fild qword [esp + 0x28]
fstp qword [esp + 0x20]
movd xmm0, ebx
punpckldq xmm1, xmm0
punpckldq xmm1, xmmword [0x517b20]
subpd xmm1, xmmword [0x517b30]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
xorpd xmm1, xmm1
divsd xmm0, qword [esp + 0x20]
ucomisd xmm2, xmm0
ja 0x41b5e4
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
sub eax, dword [0x568720]
sbb ecx, dword [0x568724]
movd xmm2, eax
movd xmm1, ecx
punpckldq xmm2, xmm1
punpckldq xmm2, xmmword [0x517b20]
subpd xmm2, xmmword [0x517b30]
movapd xmm1, xmm2
unpckhpd xmm1, xmm2
addsd xmm1, xmm2
divsd xmm1, xmm0
movsd qword [0x568718], xmm1
movsd qword [esp + 0x18], xmm1
fld qword [esp + 0x18]
fstp xword [esp + 0xc]
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.00478339
fld xword [esp + 0xc]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x568728
call fcn.00478734
add esp, 4
cmp dword [0x568728], 0xffffffff
jne 0x41b4d2
rdtsc
mov dword [0x568720], eax
mov dword [0x568724], edx
push 0x568728
call fcn.004786ea
add esp, 4
jmp 0x41b4d2
push 0x568738
call fcn.00478734
add esp, 4
cmp dword [0x568738], 0xffffffff
jne 0x41b4f3
lea eax, [esp + 0x28]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [0x568734], ecx
mov dword [0x568730], eax
push 0x568738
call fcn.004786ea
add esp, 4
jmp 0x41b4f3
Function at 0x42424a
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov ecx, dword [0x56600c]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x2c]
mov esi, 5
xor ecx, ebp
cmp eax, 3
mov dword [ebp - 0x10], ecx
mov dword [edx], 0xffffffff
jne 0x4242e2
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x28]
mov edx, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
cmp dword [edi + 0x14], 7
jbe 0x42428e
mov edi, dword [edi]
mov ebx, dword [ebx]
push 0
push esi
push edx
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
cmp eax, 0xffffffff
je 0x4242cf
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor edi, edi
lea ecx, [ebp - 0x14]
push 3
push edi
push edi
push ecx
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
cmp eax, 1
lea eax, [ebp - 0x14]
sbb edi, edi
or edi, dword [eax]
jmp 0x4242d2
xor edi, edi
dec edi
mov eax, dword [ebp + 0x2c]
mov dword [eax], edi
xor eax, eax
cmp edi, 0xffffffff
sete al
lea esi, [eax + eax*4]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00478339
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x42460c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov ecx, dword [ebp + 8]
mov eax, dword [0x56600c]
mov edi, 5
add ecx, 0xfffffffb
xor eax, ebp
cmp ecx, 1
mov dword [ebp - 0x10], eax
ja 0x424760
mov eax, dword [ebp + 0x14]
xor edi, edi
mov ecx, 7
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x54], 0x44
cmp dword [eax + 0x14], ecx
jbe 0x42467e
mov eax, dword [eax]
mov ebx, dword [ebp + 0x10]
push eax
call fcn.004e08e6
add esp, 4
mov edx, 7
mov ecx, dword [esi + 0x10]
cmp dword [esi + 0x14], edx
jbe 0x424699
mov esi, dword [esi]
test ecx, ecx
mov edx, dword [ebp + 0x1c]
cmove esi, ecx
mov ecx, 7
cmp dword [ebx + 0x14], ecx
mov ecx, dword [ebp + 0xc]
jbe 0x4246b0
mov ebx, dword [ebx]
mov ecx, dword [ecx]
mov dword [ebp - 0x5c], ecx
lea ecx, [ebp - 0x54]
push edx
push ecx
push esi
push edi
push edi
push edi
push edi
push edi
mov dword [ebp - 0x58], eax
push eax
push ebx
mov esi, edx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, 5
test eax, eax
je 0x424750
mov eax, dword [ebp + 8]
mov ebx, 0x101c01
cmp eax, 6
mov eax, 0x1fffff
cmove ebx, eax
mov eax, dword [esi]
mov dword [ebp - 0x60], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 1
push 0
push ebx
push esi
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov ebx, dword [esi + 4]
test eax, eax
je 0x424749
mov eax, esi
mov esi, 0x100c43
mov ecx, 0x1fffff
add eax, 4
cmp dword [ebp + 8], 6
mov edi, eax
cmove esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 1
push 0
push esi
push edi
push dword [ebp - 0x5c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor ecx, ecx
test eax, eax
sete cl
lea edi, [ecx + ecx*4]
jmp 0x424750
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x424760
push eax
call fcn.004d7e5b
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00478339
mov eax, edi
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x424774
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x20]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x14], ecx
xor ecx, ecx
mov edi, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x10], ebx
mov dword [ebx], ecx
xor ebx, ebx
push edi
mov edi, eax
push esi
push edx
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
je 0x4247e5
mov edi, dword [edi]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 3
push ebx
push ebx
push dword [ebp - 0x10]
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor ecx, ecx
test eax, eax
sete cl
lea eax, [ecx + ecx*4]
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x426aa8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd8
mov edx, dword [0x56600c]
mov al, byte [ebp + 8]
mov ebx, ecx
xor edx, ebp
test al, al
mov dword [esp + 0xd0], edx
je 0x426b02
xor esi, esi
mov edi, 0x51874c
mov ecx, ebx
inc esi
push 0
push 0x43cd60
push esi
push str.NtMapViewOfSection
push edi
call fcn.00426636
mov ecx, ebx
push esi
push 0x43cf31
push esi
push str.NtUnmapViewOfSection
push edi
call fcn.00426636
jmp 0x426b0c
cmp dword [ebx + 8], 0
je 0x426c2f
mov eax, dword [ebx]
mov edi, dword [eax]
push 1
push 0x2000
push 0x10000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, dword [ebx + 8]
mov dword [esp + 4], eax
shl esi, 6
lea eax, [esi + 0x50]
mov dword [esp + 8], eax
push eax
call fcn.004264d8
add esp, 4
mov dword [esp + 0xc], ebx
mov ebx, eax
mov eax, 0xfffff000
add esi, 0x104f
mov ecx, ebx
and ebx, 0xfff
and esi, eax
and ecx, eax
add ecx, dword [esp + 4]
push 0x40
push 0x1000
push esi
push ecx
mov dword [esp + 0x14], edi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
test eax, eax
jne 0x426b9b
lea esi, [esp + 0x18]
mov ecx, esi
push str.thunk_base
push 0x188
push str..._.._sandbox_win_src_interception.cc
call fcn.0040f4d0
mov ecx, esi
call fcn.0040f610
add edi, ebx
mov ebx, dword [esp + 8]
lea esi, [esp + 0x18]
xor eax, eax
mov dword [esi], ebx
mov dword [esi + 0xc], eax
mov dword [esi + 4], 0x10
push 0xa8
push eax
push 0x5687dc
call fcn.004d37c0
add esp, 0xc
mov ecx, dword [esp + 0xc]
push esi
push ebx
push edi
call fcn.00426e1c
mov ebx, eax
test eax, eax
jne 0x426c31
lea eax, [esp + 0x14]
push eax
push 0x10
push esi
push edi
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
mov ebx, 0x2a
je 0x426c31
cmp dword [esp + 0x14], 0x10
jne 0x426c31
lea eax, [esp + 0x10]
push eax
push 0x20
push dword [esp + 0x10]
push edi
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push 0xa8
push 0x5687dc
push str.g_originals
call fcn.0040eac6
mov ebx, eax
jmp 0x426c31
xor ebx, ebx
mov ecx, dword [esp + 0xd0]
xor ecx, ebp
call fcn.00478339
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x429080
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [0x56600c]
mov edi, dword [ebp + 8]
mov esi, ecx
lea ebx, [ebp - 0x20]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ecx + 4]
mov dword [ecx], 0x519b70
mov dword [ecx + 4], 0x519b78
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 0x248]
mov dword [ecx + 0x14], eax
push ebx
call fcn.0043fa80
add esp, 4
mov ecx, ebx
mov dword [ebp - 0x34], esi
push esi
call fcn.0043fab0
call fcn.0043fae0
mov ebx, eax
mov dword [ebp - 0x28], esp
sub esp, 0xc
mov esi, esp
call fcn.00440520
mov eax, dword [eax]
test eax, eax
mov dword [esi + 8], eax
je 0x4290fd
lock inc dword [eax + 4]
mov eax, dword [ebp - 0x2c]
mov ecx, ebx
mov dword [esi], eax
mov dword [esi + 4], str.ThreadLocalEventBuffer
call fcn.0043fc50
mov esp, dword [ebp - 0x28]
call fcn.00406cd0
lea esi, [edi + 4]
mov ebx, eax
mov dword [ebp - 0x24], eax
mov ecx, esi
call fcn.004314b0
mov dword [ebp - 0x28], esp
push eax
mov edi, esp
call fcn.00440520
mov eax, dword [eax]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], esi
test eax, eax
mov dword [edi], eax
je 0x429152
lock inc dword [eax + 4]
mov bl, byte [ebp - 0x24]
mov bh, byte [ebp - 0x23]
mov al, byte [ebp - 0x22]
mov cl, byte [ebp - 0x21]
jmp 0x42915c
mov eax, ebx
mov ecx, ebx
shr eax, 0x10
shr ecx, 0x18
movzx edx, bl
movzx esi, bh
movzx eax, al
mov edi, ecx
mov ecx, dword [ebp + 8]
xor edx, 0x811c9dc5
imul edx, edx, 0x1000193
xor esi, edx
imul edx, esi, 0x1000193
mov ebx, dword [ecx + 0x21c]
xor eax, edx
imul edx, eax, 0x1000193
mov eax, edi
mov edi, dword [ecx + 0x214]
movzx eax, al
xor eax, edx
imul esi, eax, 0x1000193
and esi, dword [ecx + 0x228]
mov eax, dword [ebx + esi*8]
cmp edi, eax
je 0x4291d8
mov edx, dword [ebp - 0x24]
cmp dword [eax + 8], edx
je 0x4291cb
add esi, esi
shl esi, 2
or esi, 4
mov esi, dword [ebx + esi]
nop
cmp eax, esi
je 0x4291d8
mov eax, dword [eax]
cmp dword [eax + 8], edx
jne 0x4291c0
cmp eax, edi
je 0x4291d8
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
jmp 0x4291fd
lea eax, [ebp - 0x24]
add ecx, 0x210
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
push edx
push 0x519d5b
lea eax, [ebp - 0x20]
push eax
call fcn.0042cee0
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x30]
mov ecx, dword [eax + 0xc]
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp - 0x28]
mov edx, dword [ebx]
test ecx, ecx
mov dword [eax + 0xc], edx
mov dword [ebx], ecx
je 0x429229
lock dec dword [ecx + 4]
jne 0x429229
add ecx, 4
add ecx, 0xfffffffc
push ecx
call fcn.00438360
add esp, 4
mov esp, edi
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00478339
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4