joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408414
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 0x408448
mov esi, ecx
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
mov ecx, esi
call fcn.0040966a
lea eax, [ebx + 1]
cmp eax, 2
jb 0x408441
mov dword [esi], ebx
call fcn.00413650
push edi
call dword [sym.imp.kernel32.dll_SetLastError]
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x40a3b0
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 [0x5c3648]
xor eax, ebp
mov dword [esp + 0x158], eax
mov eax, dword [0x5ccd6c]
mov ecx, dword [0x5cee38]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x40a405
mov ecx, dword [esp + 0x158]
xor ecx, ebp
call fcn.004f2990
mov eax, 0x5ccd68
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x5ccd6c
call fcn.004f351c
add esp, 4
cmp dword [0x5ccd6c], 0xffffffff
jne 0x40a3ea
lea eax, [esp + 0x40]
push 0x118
push 0
push eax
call fcn.004f5340
add esp, 0xc
mov dword [esp + 0x3c], 0x11c
lea edi, [esp + 0x3c]
push edi
call dword [sym.imp.kernel32.dll_GetVersionExW]
mov dword [esp + 0xc], 0
lea eax, [esp + 0xc]
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.004f351c
add esp, 4
mov esi, eax
mov ebx, dword [esp + 0xc]
mov eax, dword [0x5ccdac]
mov ecx, dword [0x5cee38]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x40a4b4
mov ecx, esi
push ebx
push 0x5ccd88
push edi
call fcn.0040a530
mov dword [0x5ccd68], esi
push 0x5ccd6c
call fcn.004f351c
add esp, 4
jmp 0x40a3ea
push 0x5ccdac
call fcn.004f351c
add esp, 4
cmp dword [0x5ccdac], 0xffffffff
jne 0x40a48e
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 0x30], 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.kernel32.dll_GetNativeSystemInfo]
mov eax, dword [esp + 0x30]
mov dword [0x5ccda8], eax
movaps xmm0, xmmword [esp + 0x10]
movaps xmm1, xmmword [esp + 0x20]
movups xmmword [0x5ccd98], xmm1
movups xmmword [0x5ccd88], xmm0
push 0x5ccdac
call fcn.004f351c
add esp, 4
jmp 0x40a48e

Function at 0x4117d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004117e0
Function at 0x417faa
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
call fcn.00417d90
test al, al
je 0x417fce
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.00418044
mov eax, dword [esi + 0x30]
test eax, eax
je 0x417ffb
mov ecx, dword [esi + 0x38]
sub ecx, eax
push ecx
push eax
call fcn.004f351c
add esp, 8
xor eax, eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x41800b
push eax
call fcn.004f351c
add esp, 4
mov edi, dword [edi]
test edi, edi
je 0x418021
mov ecx, edi
call fcn.0042b5be
push edi
call fcn.004f2d4a
add esp, 4
lea ecx, [esi + 0x18]
call fcn.0040966a
lea ecx, [esi + 0x14]
call fcn.0040966a
lea ecx, [esi + 0x10]
call fcn.0040966a
mov ecx, esi
pop esi
pop edi
pop ebp
jmp fcn.00417cf0
Function at 0x41a920
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x10
mov eax, dword [ebp + 8]
mov edx, dword [0x5c3648]
xor edx, ebp
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x14]
lea esi, [ebp - 0x18]
lea edi, [ebp - 0x10]
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 0x41a988
mov eax, dword [ebp - 0x10]
add eax, 0xfffffffd
mov esi, 0x3f4
cmp eax, 1
ja 0x41a988
cmp dword [ebp - 0x14], 4
jne 0x41a988
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
xor esi, esi
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004f2990
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebp
ret 8

Function at 0x41a9a0
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.004f2d60
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x5c3648]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x810]
push 0x800
push 0xff
push ebx
call fcn.004f5340
add esp, 0xc
mov dword [ebp - 0x1018], 1
mov dword [ebp - 0x101c], 0x800
lea eax, [ebp - 0x101c]
lea ecx, [ebp - 0x1018]
push eax
push ebx
push ecx
push 0
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x41aafe
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1018]
cmp eax, 2
je 0x41aa5a
mov edi, 0x3f4
cmp eax, 1
jne 0x41aafe
push ebx
call fcn.004f351c
add esp, 4
mov edi, eax
mov eax, dword [esi + 0x14]
cmp eax, edi
jae 0x41aac7
sub esp, 0xc
mov al, byte [ebp - 0x1010]
mov byte [esp + 4], al
mov dword [esp + 8], ebx
mov dword [esp], edi
mov ecx, esi
jmp 0x41aac0
lea esi, [ebp - 0x1010]
push 0x800
push 0xff
push esi
call fcn.004f5340
add esp, 0xc
push 0x400
push esi
push ebx
call dword [sym.imp.kernel32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x101c], eax
add eax, 0xffffffff
mov edi, 0xea
cmp eax, 0x3ff
ja 0x41aafe
push esi
call fcn.004f351c
add esp, 4
mov edi, eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x14]
cmp eax, edi
mov edx, esi
jae 0x41aadb
sub esp, 0xc
mov al, byte [ebp - 0x1014]
mov byte [esp + 4], al
mov dword [esp + 8], edx
mov dword [esp], edi
call fcn.00403f30
jmp 0x41aafc
mov ecx, esi
cmp eax, 8
jb 0x41aad0
mov esi, dword [ecx]
mov dword [ecx + 0x10], edi
mov eax, edi
add eax, edi
push eax
push ebx
jmp 0x41aaed
mov esi, ecx
cmp eax, 8
jb 0x41aae4
mov esi, dword [ecx]
mov dword [ecx + 0x10], edi
mov eax, edi
add eax, edi
push eax
push edx
push esi
call fcn.004f4dc0
add esp, 0xc
mov word [esi + edi*2], 0
xor edi, edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f2990
mov eax, edi
add esp, 0x1010
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x41ac40
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov esi, dword [ebp + 0xc]
mov eax, dword [0x5c3648]
xor eax, ebp
mov dword [esp + 0x68], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x50], 0xffffffff
lea edi, [esp + 0x10]
push 0x4d
push str..._.._base_file_version_info_win.cc
push str.CreateFileVersionInfoWin
push edi
call fcn.00413620
add esp, 0x10
lea ecx, [esp + 0x20]
push 0
push edi
call fcn.00420880
mov dword [esp + 0xc], 0xffffffff
cmp dword [esi + 0x14], 7
jbe 0x41acb5
mov esi, dword [esi]
mov ebx, dword [ebp + 8]
lea eax, [esp + 0xc]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x41aced
js 0x41ae38
mov edi, eax
cmp eax, 0x1000
jb 0x41acfa
lea eax, [edi + 0x23]
push eax
call fcn.004f351c
add esp, 4
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x41ad05
mov dword [ebx], 0
mov esi, ebx
jmp 0x41ae1a
push edi
call fcn.004f351c
add esp, 4
mov ebx, eax
push edi
push 0
push ebx
call fcn.004f5340
add esp, 0xc
push ebx
push edi
push dword [esp + 0x14]
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x41ade9
mov dword [esp + 0x10], 0
mov dword [esp + 0x64], 0xffffffff
lea esi, [esp + 0x64]
push esi
lea eax, [esp + 0x14]
push eax
push str.VarFileInfoTranslation
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x41ade9
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41ade9
add edi, ebx
push 0x1c
mov dword [esp + 0xc], eax
call fcn.004f351c
add esp, 4
mov ecx, esi
mov esi, eax
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov dword [esi], 0x563df0
mov dword [esi + 4], ebx
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x64], 0xffffffff
push ecx
lea eax, [esp + 0x14]
push eax
push 0x563fe6
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x41add9
lea edi, [esp + 0x60]
push str.::VerQueryValue_data__kRoot__fixed_file_info__dummy_size_
push 0x2a
push str..._.._base_file_version_info_win.cc
push edi
call fcn.0040e0f0
add esp, 0x10
mov ecx, edi
call fcn.0040e150
mov ecx, edi
call fcn.0040e160
mov eax, dword [esp + 0x10]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov esi, eax
jmp 0x41ae1a
mov esi, dword [ebp + 8]
mov dword [esi], 0
test ebx, ebx
je 0x41ae1a
cmp edi, 0x1000
jb 0x41ae10
mov eax, dword [ebx - 4]
add ebx, 0xfffffffc
sub ebx, eax
cmp ebx, 0x20
jae 0x41ae3d
add edi, 0x23
mov ebx, eax
push edi
push ebx
call fcn.004f351c
add esp, 8
lea ecx, [esp + 0x20]
call fcn.004208a0
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.004f2990
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.0040bd90
call fcn.004f81f3
int3
Function at 0x420e60
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x1408
call fcn.004f2d60
mov eax, dword [0x5c3648]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x5c303c]
cmp eax, 0xffffffff
je 0x420fb6
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test bl, 3
je 0x420fb6
and ebx, 0xfffffffc
lea eax, [ebp - 0x810]
push 0x800
push ebx
push eax
call fcn.004f4dc0
add esp, 0xc
mov ecx, dword [0x5c303c]
lea eax, [ebp - 0x80f]
push eax
mov dword [ebp - 0x1414], ecx
push ecx
call fcn.00431960
add esp, 8
push ebx
call fcn.004f2d4f
add esp, 4
mov eax, dword [0x5cdaac]
mov ecx, dword [0x5cee38]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x420fd7
mov esi, dword [0x5cdaa8]
push esi
call dword [sym.imp.kernel32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x420fcb
lea eax, [ebp - 0x1410]
push 0xc00
push 0x5ccea8
push eax
call fcn.004f4dc0
add esp, 0xc
push esi
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov al, 1
mov ebx, 0x100
jmp 0x420f4a
lea ecx, [ebx - 1]
cmp ebx, 2
mov ebx, ecx
jb 0x420fa6
test al, 1
je 0x420fa6
xor edi, edi
lea esi, [ebp - 0x1408]
xor eax, eax
jmp 0x420f6e
add edi, 1
add esi, 0xc
cmp edi, 0x100
je 0x420f40
mov ecx, dword [ebp + edi*8 - 0x810]
test ecx, ecx
je 0x420f60
cmp dword [esi - 8], 0
je 0x420f60
mov edx, dword [ebp + edi*8 - 0x80c]
cmp edx, dword [esi]
jne 0x420f60
mov edx, dword [esi - 4]
test edx, edx
je 0x420f60
mov dword [ebp + edi*8 - 0x810], 0
push ecx
call edx
add esp, 4
mov al, 1
jmp 0x420f60
push 2
push dword [ebp - 0x1414]
call fcn.00431960
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f2990
add esp, 0x1408
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
call fcn.00422760
jmp 0x420f0d
push 0x5cdaac
call fcn.004f351c
add esp, 4
cmp dword [0x5cdaac], 0xffffffff
jne 0x420ef8
push 4
call fcn.004f351c
add esp, 4
mov esi, eax
mov ecx, eax
call fcn.00419a40
mov dword [0x5cdaa8], esi
push 0x5cdaac
call fcn.004f351c
add esp, 4
jmp 0x420ef8

Function at 0x421020
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x5c303c]
cmp eax, 0xffffffff
je 0x421042
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
and eax, 3
add eax, 0xffffffff
cmp eax, 2
setb al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x421050
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, ecx
mov eax, dword [0x5c3648]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x5c303c]
cmp eax, 0xffffffff
je 0x42107a
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
test al, 3
jne 0x42107f
call fcn.00421260
mov eax, dword [0x5cdaac]
mov ecx, dword [0x5cee38]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x421219
mov edi, dword [0x5cdaa8]
push edi
call dword [sym.imp.kernel32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x42120d
mov ecx, dword [0x5ccea4]
add ecx, 1
mov edx, 0x100
nop word cs:[eax + eax]
nop dword [eax]
movzx ebx, cl
lea eax, [ebx + ebx*2]
cmp dword [eax*4 + 0x5ccea8], 0
je 0x4210fd
lea eax, [ecx + 1]
movzx ebx, al
lea eax, [ebx + ebx*2]
cmp dword [eax*4 + 0x5ccea8], 0
je 0x4210fd
add ecx, 2
add edx, 0xfffffffe
jne 0x4210d0
jmp 0x42112d
lea ecx, [eax*4 + 0x5ccea8]
mov dword [ecx], 1
lea eax, [ebx*4]
mov ecx, dword [ebp + 8]
mov dword [eax + eax*2 + 0x5cceac], ecx
mov dword [0x5ccea4], ebx
mov dword [esi], ebx
mov eax, dword [eax + eax*2 + 0x5cceb0]
mov dword [esi + 4], eax
push edi
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov dword [ebp - 0x14], 0xffffffff
mov ebx, dword [esi]
cmp ebx, 0xffffffff
jne 0x421196
push 0xffffffffffffffff
call fcn.00412f90
add esp, 4
mov ebx, eax
push 0xffffffffffffffff
call fcn.00412f90
add esp, 4
lea edi, [ebp - 0x14]
mov ecx, edi
push ebx
push eax
push str.slot____kInvalidSlotValue
call fcn.00413340
cmp dword [ebp - 0x14], 0
je 0x421194
lea ebx, [ebp - 0x18]
push edi
push 0x197
push str..._.._base_threading_thread_local_storage.cc
push ebx
call fcn.0040e180
add esp, 0x10
mov ecx, ebx
call fcn.0040e150
mov ecx, ebx
call fcn.0040e160
mov ebx, dword [esi]
mov dword [ebp - 0x14], 0xffffffff
cmp ebx, 0x100
jl 0x4211f9
push 0x100
call fcn.00412f90
add esp, 4
mov edi, eax
push ebx
call fcn.00412f90
add esp, 4
lea esi, [ebp - 0x14]
mov ecx, esi
push edi
push eax
push str.slot____kThreadLocalStorageSize
call fcn.00413340
cmp dword [ebp - 0x14], 0
je 0x4211f9
lea edi, [ebp - 0x18]
push esi
push 0x198
push str..._.._base_threading_thread_local_storage.cc
push edi
call fcn.0040e180
add esp, 0x10
mov ecx, edi
call fcn.0040e150
mov ecx, edi
call fcn.0040e160
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f2990
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov ecx, edi
call fcn.00422760
jmp 0x4210b5
push 0x5cdaac
call fcn.004f351c
add esp, 4
cmp dword [0x5cdaac], 0xffffffff
jne 0x4210a0
push 4
call fcn.004f351c
add esp, 4
mov edi, eax
mov ecx, eax
call fcn.00419a40
mov dword [0x5cdaa8], edi
push 0x5cdaac
call fcn.004f351c
add esp, 4
jmp 0x4210a0
Function at 0x421260
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x80c
mov eax, dword [0x5c3648]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x810], 0xffffffff
mov eax, dword [0x5c303c]
mov dword [ebp - 0x810], eax
cmp eax, 0xffffffff
jne 0x421358
lea edi, [ebp - 0x810]
push edi
call fcn.00431930
add esp, 4
test al, al
jne 0x4212d2
lea esi, [ebp - 0x80c]
push str.PlatformThreadLocalStorage::AllocTLS_key_
push 0xd1
push str..._.._base_threading_thread_local_storage.cc
push esi
call fcn.0040e0f0
add esp, 0x10
mov ecx, esi
call fcn.0040e150
mov ecx, esi
call fcn.0040e160
mov ecx, dword [ebp - 0x810]
cmp ecx, 0xffffffff
jne 0x42132f
push edi
call fcn.00431930
add esp, 4
test al, al
je 0x4212f3
cmp dword [ebp - 0x810], 0xffffffff
jne 0x42131f
lea esi, [ebp - 0x80c]
push str.PlatformThreadLocalStorage::AllocTLS_key___key___PlatformThreadLocalStorage::TLS_KEY_OUT_OF_INDEXES
push 0xdb
push str..._.._base_threading_thread_local_storage.cc
push esi
call fcn.0040e0f0
add esp, 0x10
mov ecx, esi
call fcn.0040e150
mov ecx, esi
call fcn.0040e160
push 0xffffffffffffffff
call fcn.00431950
add esp, 4
mov ecx, dword [ebp - 0x810]
mov eax, 0xffffffff
lock cmpxchg dword [0x5c303c], ecx
mov eax, dword [ebp - 0x810]
je 0x421358
push eax
call fcn.00431950
add esp, 4
mov eax, dword [0x5c303c]
mov dword [ebp - 0x810], eax
mov dword [ebp - 0x80c], 0xffffffff
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
and esi, 3
je 0x4213ca
push 0
call fcn.00412f90
add esp, 4
mov edi, eax
push esi
call fcn.00412f90
add esp, 4
lea esi, [ebp - 0x80c]
mov ecx, esi
push edi
push eax
push str.GetTlsVectorStateAndValue_key___TlsVectorState::kUninitialized
call fcn.00413340
cmp dword [ebp - 0x80c], 0
je 0x4213ca
lea edi, [ebp - 0x814]
push esi
push 0xed
push str..._.._base_threading_thread_local_storage.cc
push edi
call fcn.0040e180
add esp, 0x10
mov ecx, edi
call fcn.0040e150
mov ecx, edi
call fcn.0040e160
lea edi, [ebp - 0x80c]
push 0x800
push 0
push edi
call fcn.004f5340
add esp, 0xc
lea eax, [ebp - 0x809]
push eax
push dword [ebp - 0x810]
call fcn.00431960
add esp, 8
push 0x800
call fcn.004f351c
add esp, 4
mov esi, eax
push 0x800
push edi
push eax
call fcn.004f4dc0
add esp, 0xc
mov eax, esi
or eax, 3
push eax
push dword [ebp - 0x810]
call fcn.00431960
add esp, 8
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004f2990
mov eax, esi
add esp, 0x80c
pop esi
pop edi
pop ebp
ret
Function at 0x427c10
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 [0x5c3648]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ecx - 5]
mov edi, 5
cmp eax, 1
ja 0x427d51
mov edi, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
xorps xmm0, xmm0
movups xmmword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x54], 0x44
cmp dword [eax + 0x14], 7
jbe 0x427c5f
mov eax, dword [eax]
mov esi, dword [ebp + 0x10]
push eax
call fcn.004f351c
add esp, 4
mov edx, dword [edi + 0x10]
cmp dword [edi + 0x14], 7
jbe 0x427c76
mov edi, dword [edi]
mov ebx, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0xc]
test edx, edx
cmove edi, edx
cmp dword [esi + 0x14], 7
jbe 0x427c89
mov esi, dword [esi]
mov ecx, dword [ecx]
mov dword [ebp - 0x5c], ecx
sub esp, 0x28
mov dword [esp + 0x24], ebx
lea ecx, [ebp - 0x54]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], edi
xorps xmm0, xmm0
movups xmmword [esp + 8], xmm0
mov dword [ebp - 0x58], eax
mov dword [esp + 4], eax
mov dword [esp], esi
mov dword [esp + 0x18], 0
call dword [sym.imp.kernel32.dll_CreateProcessW]
mov edi, 5
test eax, eax
je 0x427d41
mov eax, dword [ebp + 8]
cmp eax, 6
mov eax, 0x1fffff
mov esi, 0x101c01
cmove esi, eax
mov eax, dword [ebx]
mov dword [ebp - 0x60], eax
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push 1
push 0
push esi
push ebx
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push eax
call dword [sym.imp.kernel32.dll_DuplicateHandle]
test eax, eax
je 0x427d38
cmp dword [ebp + 8], 6
mov esi, 0x100c43
mov eax, 0x1fffff
cmove esi, eax
mov edi, dword [ebx + 4]
add ebx, 4
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push 1
push 0
push esi
push ebx
push dword [ebp - 0x5c]
push edi
push eax
call dword [sym.imp.kernel32.dll_DuplicateHandle]
xor ecx, ecx
test eax, eax
sete cl
lea edi, [ecx + ecx*4]
jmp 0x427d41
push dword [ebx + 4]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x427d51
push eax
call fcn.004f351c
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f2990
mov eax, edi
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x427d66
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, dword [ebp + 0x20]
mov ebx, dword [ebp + 8]
movups xmm0, xmmword [ebp + 0xc]
mov eax, dword [ebp + 0x1c]
xor edx, edx
mov dword [edi], edx
mov ecx, dword [ebx]
sub esp, 0x1c
mov dword [esp + 0x18], eax
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], edx
mov dword [esp], ecx
call dword [sym.imp.kernel32.dll_CreateRemoteThread]
test eax, eax
je 0x427dc5
mov esi, eax
mov ebx, dword [ebx]
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push 3
xor ecx, ecx
push ecx
push ecx
push edi
push ebx
push esi
push eax
call dword [sym.imp.kernel32.dll_DuplicateHandle]
xor ecx, ecx
test eax, eax
sete cl
lea eax, [ecx + ecx*4]
pop esi
pop edi
pop ebx
pop ebp
ret
pop esi
pop edi
pop ebx
pop ebp
jmp dword [sym.imp.kernel32.dll_GetLastError]
Function at 0x43add0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, dword [0x5cdc14]
cmp esi, 1
ja 0x43ae25
push 0x5cdc14
call fcn.004300e0
add esp, 4
test al, al
je 0x43ae1f
mov esi, 0x5cdc18
mov ecx, 0x5cdc18
call fcn.00419a40
push 0x5cdc14
push 0
push 0x5cdc18
push 0x5cdc14
call fcn.004301a0
add esp, 0x10
jmp 0x43ae25
mov esi, dword [0x5cdc14]
push esi
call dword [sym.imp.kernel32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x43afd6
mov eax, dword [0x5cdc14]
cmp eax, 1
ja 0x43ae79
push 0x5cdc14
call fcn.004300e0
add esp, 4
test al, al
je 0x43ae74
mov ecx, 0x5cdc18
call fcn.00419a40
push 0x5cdc14
push 0
push 0x5cdc18
push 0x5cdc14
call fcn.004301a0
add esp, 0x10
jmp 0x43ae79
mov eax, dword [0x5cdc14]
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x5cdc1c]
test eax, eax
jne 0x43ae9b
push 0x74
call fcn.004f351c
add esp, 4
mov ecx, eax
call fcn.0043a0e0
mov eax, dword [0x5cdc1c]
mov edi, dword [ebx + 0x10]
cmp dword [ebx + 0x14], 0xf
mov dword [ebp - 0x10], eax
jbe 0x43aea9
mov ebx, dword [ebx]
test edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], esi
je 0x43aec9
lea edx, [edi - 1]
mov ecx, edi
and ecx, 3
cmp edx, 3
jae 0x43aed0
mov edx, 0x811c9dc5
xor esi, esi
jmp 0x43af1a
mov edx, 0x811c9dc5
jmp 0x43af43
and edi, 0xfffffffc
mov edx, 0x811c9dc5
xor esi, esi
nop word [eax + eax]
movzx eax, byte [ebx + esi]
xor eax, edx
imul eax, eax, 0x1000193
movzx edx, byte [ebx + esi + 1]
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [ebx + esi + 2]
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [ebx + esi + 3]
xor edx, eax
imul edx, edx, 0x1000193
add esi, 4
cmp edi, esi
jne 0x43aee0
test ecx, ecx
je 0x43af43
add esi, ebx
xor edi, edi
nop word cs:[eax + eax]
nop dword [eax]
movzx eax, byte [esi + edi]
xor eax, edx
imul edx, eax, 0x1000193
add edi, 1
cmp ecx, edi
jne 0x43af30
mov eax, dword [ebp - 0x10]
and edx, dword [eax + 0x38]
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x2c]
mov esi, dword [eax + edx*8 + 4]
cmp esi, ecx
je 0x43afa6
mov dword [ebp - 0x10], ecx
add edx, edx
mov edi, dword [eax + edx*4]
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [esi + 0x18]
jne 0x43af95
nop word [eax + eax]
cmp dword [esi + 0x1c], 0xf
jbe 0x43af80
mov eax, dword [esi + 8]
jmp 0x43af83
lea eax, [esi + 8]
push ecx
push eax
push ebx
call fcn.004f351c
mov ecx, dword [ebp - 0x14]
add esp, 0xc
test eax, eax
je 0x43afa3
cmp esi, edi
je 0x43afba
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 0x18]
je 0x43af70
jmp 0x43af95
mov ecx, dword [ebp - 0x10]
cmp esi, ecx
je 0x43afba
add esi, 0x20
mov edi, dword [ebp + 8]
mov ecx, edi
push esi
call fcn.0040e610
jmp 0x43afc3
mov edi, dword [ebp + 8]
mov dword [edi], 0
push dword [ebp - 0x18]
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov eax, edi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
call fcn.00422760
jmp 0x43ae34