joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4251e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov esi, esp
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [0x5c1040]
xor eax, ebp
mov dword [esi + 0xa8], eax
pxor xmm0, xmm0
movdqu xmmword [esi + 0x74], xmm0
movdqu xmmword [esi + 0x94], xmm0
movdqu xmmword [esi + 0x84], xmm0
mov dword [esi + 0xa4], 0
mov dword [esi + 0x6c], 0x3c
mov dword [esi + 0x70], 0x40
mov dword [esi + 0x78], 0x59ed94
xor ebx, ebx
dec ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
lea edi, [esi + 0x20]
push edi
call fcn.00454650
cmp byte [edi + 0xb], 0
js 0x42527a
mov eax, dword [esi + 0x28]
mov dword [esi + 0x68], eax
movq xmm0, qword [esi + 0x20]
movq qword [esi + 0x60], xmm0
lea ecx, [esi + 0x20]
call fcn.004bcaf0
cmp byte [esi + 0x6b], 0
js 0x42528a
lea eax, [esi + 0x60]
jmp 0x42528d
lea ecx, [esi + 0x60]
push dword [esi + 0x24]
push dword [esi + 0x20]
call fcn.004a9620
jmp 0x425267
mov eax, dword [esi + 0x60]
mov dword [esi + 0x7c], eax
lea edi, [esi + 0x54]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov ecx, dword [ebp + 0xc]
push edi
call fcn.00455440
cmp byte [edi + 0xb], 0
jns 0x4252ad
mov edi, dword [esi + 0x54]
lea eax, [esi + 0x6c]
mov dword [eax + 0x14], edi
mov dword [eax + 0x1c], 5
pcmpeqd xmm0, xmm0
lea ebx, [esi + 0x20]
movdqa xmmword [ebx + 0x20], xmm0
movdqa xmmword [ebx + 0x10], xmm0
movdqa xmmword [ebx], xmm0
lea edi, [esi + 0x10]
push 0x17d
push str.....operadesktopwindowsos_operationsos_operations_impl.cc
push str.RunElevatedProcess
push edi
call fcn.004bbec0
add esp, 0x10
mov ecx, ebx
push 0
push edi
call fcn.004b1470
lea eax, [esi + 0x6c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [esi + 8], esp
sub esp, 0xc
mov ebx, esp
lea ecx, [ebx + 4]
test eax, eax
je 0x425378
push dword [esi + 0xa4]
call fcn.0043f350
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov edi, dword [esi + 0xc]
mov eax, dword [edi]
mov ebx, dword [eax + 0x60]
mov ecx, ebx
call dword [0x5bb424]
mov ecx, edi
call ebx
mov esp, dword [esi + 8]
lea ecx, [esi + 0x20]
call fcn.004b14e0
cmp byte [esi + 0x5f], 0
jns 0x42534d
push dword [esi + 0x54]
call fcn.004f193e
add esp, 4
cmp byte [esi + 0x6b], 0
jns 0x42535e
push dword [esi + 0x60]
call fcn.004f193e
add esp, 4
mov ecx, dword [esi + 0xa8]
xor ecx, ebp
call fcn.004f1eb0
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
push 0
jmp 0x425313
Function at 0x42c990
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb8
mov ebx, ecx
mov eax, dword [0x5c1040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ecx], 0x597fcc
cmp byte [ecx + 0x1c], 0
je 0x42ca8d
push 0x4c
push str.....operadesktopwindowsinstaller_transactionsdelete_file_operation.cc
call fcn.004bb7d0
add esp, 8
test eax, eax
jle 0x42ca0b
lea edi, [ebp - 0xb4]
mov ecx, edi
push 0xffffffffffffffff
push 0x25
push str.....operadesktopwindowsinstaller_transactionsdelete_file_operation.cc
call fcn.0044fd30
lea eax, [ebp - 0xac]
push 0x12
push str.Actual_removal_of
push eax
call fcn.00499a00
add esp, 0xc
lea ecx, [ebx + 0x10]
push ecx
push eax
call fcn.0044a4c0
add esp, 8
mov ecx, edi
call fcn.00450200
lea esi, [ebx + 0x10]
push esi
call fcn.00443010
add esp, 4
test al, al
jne 0x42ca24
push esi
call fcn.0053afc0
add esp, 4
cmp byte [ebx + 0x1e], 0
je 0x42cac5
xor eax, eax
dec eax
lea edi, [ebp - 0xb4]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [ebp - 0xc4], ebx
lea ecx, [ebx + 4]
push edi
call fcn.004bcb10
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ebx, [ebp - 0xc0]
jmp 0x42ca80
mov eax, dword [ebp - 0xb4]
push eax
call esi
test eax, eax
je 0x42cab4
mov ecx, edi
push ebx
call fcn.004bcb10
mov ecx, edi
push ebx
call fcn.00451df0
mov ecx, ebx
call fcn.004bcaf0
cmp byte [ebp - 0xa9], 0
mov eax, edi
jns 0x42ca62
jmp 0x42ca5c
cmp dword [ebx + 0x20], 0
je 0x42cac5
lea esi, [ebx + 0x20]
mov ecx, dword [0x5c5d60]
test ecx, ecx
jne 0x42caac
call fcn.004234c0
mov ecx, eax
mov dword [0x5c5d60], eax
push esi
call fcn.004241c0
jmp 0x42cac5
lea ecx, [ebp - 0xb4]
call fcn.004bcaf0
mov ebx, dword [ebp - 0xc4]
mov edi, dword [ebx + 0x20]
mov dword [ebx + 0x20], 0
test edi, edi
je 0x42cae3
mov ecx, edi
call fcn.00424da0
push edi
call fcn.004f193e
add esp, 4
lea ecx, [ebx + 0x10]
call fcn.004bcaf0
add ebx, 4
mov ecx, ebx
call fcn.004bcaf0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f1eb0
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x42e8e0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov esi, ecx
mov eax, dword [0x5c1040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ecx], 0x597fe4
cmp byte [ecx + 0x20], 0
je 0x42e95c
xor eax, eax
dec eax
lea edi, [ebp - 0x1c]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [ebp - 0x2c], esi
lea ecx, [esi + 8]
push edi
call fcn.004bcb10
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ebx, [ebp - 0x28]
jmp 0x42e947
mov eax, dword [ebp - 0x1c]
push eax
call esi
test eax, eax
je 0x42e951
mov ecx, edi
push ebx
call fcn.004bcb10
mov ecx, edi
push ebx
call fcn.00451df0
mov ecx, ebx
call fcn.004bcaf0
cmp byte [ebp - 0x11], 0
mov eax, edi
jns 0x42e929
jmp 0x42e926
lea ecx, [ebp - 0x1c]
call fcn.004bcaf0
mov esi, dword [ebp - 0x2c]
lea ecx, [esi + 0x14]
call fcn.004bcaf0
lea ecx, [esi + 8]
call fcn.004bcaf0
mov eax, dword [esi + 4]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x5ca8dc]
bt edx, ecx
jae 0x42e98e
push eax
call fcn.004bf820
add esp, 4
mov dword [esi + 4], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f1eb0
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x430680
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [0x5c1040]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
lea esi, [ebp - 0x1c]
mov ecx, esi
push dword [eax]
call fcn.00416000
movsx ecx, byte [esi + 0xb]
mov eax, dword [esi]
mov edx, ecx
test ecx, ecx
jns 0x4306b4
mov edx, dword [ebp - 0x18]
mov esi, eax
mov dword [ebp - 0x20], eax
add edx, edx
mov edi, edx
cmp edx, 4
jb 0x4306e6
imul eax, dword [esi], 0x5bd1e995
mov ebx, eax
shr ebx, 0x18
xor ebx, eax
imul eax, ebx, 0x5bd1e995
imul edi, edi, 0x5bd1e995
xor edi, eax
add esi, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x4306c0
cmp edx, 2
je 0x430737
cmp edx, 3
je 0x43072e
cmp edx, 1
je 0x430740
test cl, cl
jns 0x430704
push dword [ebp - 0x20]
call fcn.004f193e
add esp, 4
mov eax, edi
shr eax, 0xd
xor eax, edi
imul eax, eax, 0x5bd1e995
mov esi, eax
shr esi, 0xf
xor esi, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f1eb0
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 4
movzx eax, byte [esi + 2]
shl eax, 0x10
xor edi, eax
movzx eax, byte [esi + 1]
shl eax, 8
xor edi, eax
movzx eax, byte [esi]
xor eax, edi
imul edi, eax, 0x5bd1e995
jmp 0x4306f5
Function at 0x43bdf0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x5c8658]
mov ecx, dword [0x5c4ca4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x43be21
movzx eax, word [0x5c8634]
cmp eax, 9
jne 0x43be6c
xor eax, eax
inc eax
pop ebp
ret
push 0x5c8658
call fcn.004f1981
add esp, 4
cmp dword [0x5c8658], 0xffffffff
jne 0x43be10
xorps xmm0, xmm0
movups xmmword [0x5c8644], xmm0
movups xmmword [0x5c8634], xmm0
mov dword [0x5c8654], 0
push 0x5c8634
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x5c8658
call fcn.004f19fb
add esp, 4
jmp 0x43be10
test eax, eax
je 0x43be1f
cmp eax, 6
jne 0x43be7c
mov eax, 2
jmp 0x43be1f
cmp eax, 0xc
jne 0x43be88
mov eax, 3
jmp 0x43be1f
mov eax, 4
jmp 0x43be1f

Function at 0x43cba0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, dword [ecx]
xorps xmm0, xmm0
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], eax
mov dword [esp], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
sete al
add esp, 0x18
pop ebp
ret 4

Function at 0x43cbd0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [0x5c1040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ecx]
test eax, eax
je 0x43cc5c
mov esi, ecx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov ebx, dword [esi + 4]
lea edx, [ebp - 0x24]
mov dword [edx], ecx
mov ecx, ebx
or ecx, 0x10001
push edx
push ecx
push 8
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43cc44
lea eax, [ebp + 0xc]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], ecx
and ebx, 0x300
mov dword [ebp - 0x18], ebx
cmp byte [eax], 0
je 0x43cc63
test ecx, ecx
je 0x43cc34
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [esi + 4]
push dword [ebp + 8]
push dword [esi]
call fcn.0043ccc0
add esp, 0xc
mov edi, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f1eb0
mov eax, edi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov edi, 6
jmp 0x43cc46
mov ebx, ecx
xor eax, eax
dec eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x1c]
lea eax, [ebp - 0x24]
push eax
call fcn.0043ce30
cmp byte [ebp - 0x20], 0
je 0x43cc89
mov edi, dword [ebp - 0x24]
test ebx, ebx
je 0x43cc46
jmp 0x43cc9e
push 0
push dword [esi + 4]
push 0x59c764
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov edi, eax
jmp 0x43cc83
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x43cc46
push 1
call fcn.0043d260
jmp 0x43cc46
Function at 0x43ccc0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [0x5c1040]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
xor esi, esi
mov dword [ebp - 0x14], esi
mov ecx, ebx
or ecx, 0x10009
lea edi, [ebp - 0x24]
mov dword [edi], esi
mov edx, dword [ebp + 0xc]
push edi
push ecx
push 8
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43cd6b
mov edx, edi
mov edi, dword [ebp - 0x24]
lea ecx, [ebp - 0x1c]
mov dword [ecx], edi
mov eax, ebx
and eax, 0x300
mov dword [ecx + 4], eax
xor eax, eax
dec eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
push edx
call fcn.0043ce30
cmp byte [ebp - 0x20], 0
jne 0x43ce16
push 0
push ebx
push 0x59c764
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
xor esi, esi
test eax, eax
jne 0x43cd73
test edi, edi
je 0x43cd4c
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x43ce1e
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f1eb0
mov eax, esi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
cmp eax, 2
cmovne esi, eax
jmp 0x43cd4c
mov esi, 0x200
push esi
call fcn.004f1973
add esp, 4
push esi
push 0
mov ebx, eax
push eax
call fcn.004f5920
add esp, 0xc
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x24], 0x100
sub esp, 0x20
xorps xmm0, xmm0
movups xmmword [esp + 0x10], xmm0
lea eax, [ebp - 0x24]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp], edi
mov dword [esp + 4], 0
call esi
test eax, eax
jne 0x43cdea
mov eax, dword [ebp - 0x24]
cmp eax, 0x100
jae 0x43ce2a
cmp word [ebx + eax*2], 0
jne 0x43ce2d
mov edi, dword [ebp - 0x1c]
push dword [ebp + 0x10]
push ebx
push edi
call fcn.0043ccc0
add esp, 0xc
test eax, eax
je 0x43cd95
jmp 0x43cded
mov edi, dword [ebp - 0x1c]
push 0
push dword [ebp + 0x10]
push 0x59c764
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov esi, eax
test ebx, ebx
je 0x43cd41
push ebx
call fcn.004f197c
add esp, 4
jmp 0x43cd41
mov esi, dword [ebp - 0x24]
jmp 0x43cd41
push 1
call fcn.0043d260
jmp 0x43cd57
int3
int3
Function at 0x43ce30
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 8
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, dword [0x5c1040]
xor eax, ebp
mov dword [ebp - 0xc], eax
xor eax, eax
lea ecx, [ebp - 0x10]
mov dword [ecx], eax
push eax
push eax
push ecx
push eax
push str.SymbolicLinkValue
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x43ce81
mov byte [esi], 0
xor eax, eax
mov byte [esi + 4], al
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004f1eb0
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebp
ret 4
test eax, eax
jne 0x43cec8
cmp dword [ebp - 0x10], 6
jne 0x43ce64
push dword [edi]
call sub.ntdll.dll_NtDeleteKey
test eax, eax
je 0x43cece
mov edi, eax
mov eax, dword [0x5c8668]
mov ecx, dword [0x5c4ca4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x43cedd
mov ecx, dword [0x5c8664]
test ecx, ecx
je 0x43ced6
call dword [0x5bb424]
push edi
call ecx
mov dword [esi], eax
mov al, 1
jmp 0x43ce69
mov dword [esi], 0
jmp 0x43ceca
mov eax, 5
jmp 0x43cec8
push 0x5c8668
call fcn.004f1981
add esp, 4
cmp dword [0x5c8668], 0xffffffff
jne 0x43ceb5
push 0x5a8bae
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.RtlNtStatusToDosError
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5c8664], eax
push 0x5c8668
call fcn.004f19fb
add esp, 4
jmp 0x43ceb5

Function at 0x43cf40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x5c1040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, 4
lea edx, [ebp - 0x14]
mov dword [edx], eax
lea esi, [ebp - 0x18]
mov dword [esi], eax
xor eax, eax
lea edi, [ebp - 0x1c]
mov dword [edi], eax
mov ebx, dword [ebp + 8]
push esi
push edi
push edx
push eax
push ebx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43cfb3
mov eax, dword [ebp - 0x14]
add eax, 0xfffffffd
mov esi, 0x3f4
cmp eax, 1
ja 0x43cf9d
cmp dword [ebp - 0x18], 4
jne 0x43cf9d
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f1eb0
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov esi, eax
jmp 0x43cf9d
Function at 0x43cfc0
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.004f2c70
mov esi, ecx
mov eax, dword [0x5c1040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ebx, 0x800
lea edi, [ebp - 0x810]
push ebx
push 0xff
push edi
call fcn.004f5920
add esp, 0xc
lea eax, [ebp - 0x1014]
mov dword [eax], 1
lea ecx, [ebp - 0x1018]
mov dword [ecx], ebx
push ecx
push edi
push eax
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43d04f
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1014]
cmp eax, 1
jne 0x43d053
mov ecx, esi
push edi
call fcn.0043af80
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f1eb0
mov eax, esi
add esp, 0x100c
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov esi, eax
jmp 0x43d036
cmp eax, 2
jne 0x43d095
lea ebx, [ebp - 0x1010]
push 0x800
push 0xff
push ebx
call fcn.004f5920
add esp, 0xc
push 0x400
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1018], eax
add eax, 0xfffffbff
cmp eax, 0xfffffc00
jb 0x43d09c
mov ecx, esi
push ebx
jmp 0x43d02f
mov esi, 0x3f4
jmp 0x43d036
mov esi, 0xea
jmp 0x43d036

Function at 0x43d0b0
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.0050d784
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 0x43db70
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 [0x5c1040]
xor eax, ebp
mov dword [esp + 0x40], eax
movsd xmm0, qword [0x5c8698]
xorpd xmm1, xmm1
ucomisd xmm0, xmm1
jne 0x43db9b
jnp 0x43dbc0
movsd qword [esp + 0x18], xmm0
fld qword [esp + 0x18]
fstp xword [esp + 0xc]
mov ecx, dword [esp + 0x40]
xor ecx, ebp
call fcn.004f1eb0
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 [0x5c86a8]
mov ecx, dword [0x5c4ca4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x43dcf5
mov eax, dword [0x5c86b8]
mov ecx, dword [0x5c4ca4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x43dd2e
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 [0x5c86b0]
sbb edi, dword [0x5c86b4]
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 [0x59d988]
ucomisd xmm2, xmm1
ja 0x43db9b
mov eax, dword [esp + 8]
sub eax, dword [0x5c86a0]
mov ecx, dword [esp + 4]
sbb ecx, dword [0x5c86a4]
movd xmm2, ecx
movd xmm0, eax
punpckldq xmm0, xmm2
punpckldq xmm0, xmmword [0x59cb70]
subpd xmm0, xmmword [0x59cb80]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x5c8698], xmm0
jmp 0x43db9b
push 0x5c86a8
call fcn.004f1981
add esp, 4
cmp dword [0x5c86a8], 0xffffffff
jne 0x43dbff
rdtsc
mov dword [0x5c86a0], eax
mov dword [0x5c86a4], edx
push 0x5c86a8
call fcn.004f19fb
add esp, 4
jmp 0x43dbff
push 0x5c86b8
call fcn.004f1981
add esp, 4
cmp dword [0x5c86b8], 0xffffffff
jne 0x43dc20
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 [0x5c86b4], ecx
mov dword [0x5c86b0], eax
push 0x5c86b8
call fcn.004f19fb
add esp, 4
jmp 0x43dc20
Function at 0x43f350
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ecx], 0
test ebx, ebx
je 0x43f38b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x43f3a2
lea eax, [ebx + 1]
cmp eax, 2
jb 0x43f384
mov dword [esi], ebx
call fcn.004bbef0
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 0x43f3b9
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.004bbef0
push dword [esi]
call fcn.004aaa80
add esp, 4
mov dword [esi], 0
jmp 0x43f375
int3

Function at 0x43f3c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov dword [eax], 0
lea ebx, [edi + 1]
cmp ebx, 2
jb 0x43f3e1
call fcn.004bbef0
mov dword [esi], 0
test edi, edi
je 0x43f411
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x43f432
cmp ebx, 2
jb 0x43f408
mov dword [esi], edi
call fcn.004bbef0
push dword [ebp - 0x10]
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 0x43f449
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.004bbef0
push dword [esi]
call fcn.004aaa80
add esp, 4
mov dword [esi], 0
jmp 0x43f3fc
call fcn.004a6090
jmp 0x43f426

Function at 0x43f480
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov dword [eax], 0
lea ebx, [edi + 1]
cmp ebx, 2
jb 0x43f4a1
call fcn.004bbef0
cmp dword [esi], edi
je 0x43f4cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x43f4ec
cmp ebx, 2
jb 0x43f4c2
mov dword [esi], edi
call fcn.004bbef0
push dword [ebp - 0x10]
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 0x43f503
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.004bbef0
push dword [esi]
call fcn.004aaa80
add esp, 4
mov dword [esi], 0
jmp 0x43f4b6
call fcn.004a6090
jmp 0x43f4e0
Function at 0x440f60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, ecx
call fcn.00465020
mov byte [esi + 4], 0
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi], 0x598ab0
mov dword [esi + 0xc], eax
movaps xmm0, xmmword [0x5a9010]
movups xmmword [esp], xmm0
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
sub esp, 0x10
cmp dword [esi + 0xc], eax
je 0x440fca
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi + 0xc]
inc eax
cmp eax, 2
jae 0x440fd4
lea eax, [edi + 1]
cmp eax, 2
jb 0x440fbe
mov dword [esi + 0xc], edi
call fcn.004bbef0
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
sub esp, 4
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004bbef0
mov eax, dword [esi + 0xc]
mov dword [esp], eax
call fcn.004aaa80
mov dword [esi + 0xc], 0
jmp 0x440fae

Function at 0x441ec0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov esi, ecx
mov eax, dword [0x5c1040]
xor eax, ebp
mov dword [esp + 0x48], eax
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x10]
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
mov ebx, esp
push 0x1b
push str....._base_filesmemory_mapped_file_win.cc
push str.MapImageToMemory
push ebx
call fcn.004bbec0
add esp, 0x10
mov ecx, edi
push 0
push ebx
call fcn.004b1470
mov ecx, esi
call fcn.004ae6e0
test al, al
je 0x441ff7
mov ecx, esi
call fcn.004422c0
sub esp, 0x18
movq xmm0, qword [0x5a9250]
movdqu xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
cmp dword [esi + 0x24], eax
je 0x441f7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi + 0x24]
inc eax
cmp eax, 2
jae 0x441fdb
mov eax, edi
inc eax
cmp eax, 2
jb 0x441f70
mov dword [esi + 0x24], edi
call fcn.004bbef0
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [esi + 0x24]
lea eax, [edi + 1]
cmp eax, 2
jb 0x441ff7
sub esp, 0x14
movd xmm0, dword [0x5a9260]
movdqu xmmword [esp + 4], xmm0
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x1c], eax
test eax, eax
je 0x441ff7
mov ecx, esp
mov dword [ecx], fcn.00524310
mov dword [ecx + 4], eax
call fcn.00466e20
mov eax, dword [eax + 0x50]
mov dword [esi + 0x20], eax
mov bl, 1
lea ecx, [esp + 0x10]
call fcn.004b14e0
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.004f1eb0
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.004bbef0
push dword [esi + 0x24]
call fcn.004aaa80
add esp, 4
mov dword [esi + 0x24], 0
jmp 0x441f60
xor ebx, ebx
jmp 0x441fbb