joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4018fe
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00401c08
mov dword [ebp - 0x14], eax
lea eax, [ebp - 8]
mov dword [esp + 0xc], eax
lea eax, [ebp - 4]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.ADVAPI32.DLL_LsaEnumerateAccountRights
sub esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.KERNEL32.dll_LocalFree
sub esp, 4
cmp dword [ebp - 0xc], 0
je 0x401992
cmp dword [ebp - 0xc], 0xc0000034
je 0x401992
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov dword [esp], str.Error_in_printUserRights__LsaEnumerateAccountRights_returned_0x_x
call sub.cygwin1.dll_printf
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call fcn.00402100
mov dword [esp], str.___n_n
call sub.cygwin1.dll_printf
mov dword [esp], 1
call sub.cygwin1.dll_exit
cmp dword [section..data], 0
jne 0x4019ae
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov dword [esp], str.Listing_rights_for__s:_n
call sub.cygwin1.dll_printf
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 8]
jae 0x401a62
mov eax, dword [ebp - 0x10]
lea edx, [eax*8]
mov eax, dword [ebp - 4]
mov eax, dword [edx + eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sub.cygwin1.dll_wcslen
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x1c]
inc eax
add eax, 0xf
add eax, 0xf
shr eax, 4
shl eax, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
call fcn.00408cd0
lea eax, [esp + 0x10]
add eax, 0xf
shr eax, 4
shl eax, 4
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x28]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
lea eax, [ebp - 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sub.cygwin1.dll_wcsrtombs
mov edx, eax
mov eax, dword [ebp - 0x2c]
mov byte [edx + eax], 0
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov dword [esp], 0x40bab3
call sub.cygwin1.dll_printf
lea eax, [ebp - 0x10]
inc dword [eax]
jmp 0x4019b5
leave
ret
Function at 0x401a64
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00401c08
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 8]
mov dword [esp + 0xc], eax
lea eax, [ebp - 4]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.ADVAPI32.DLL_LsaEnumerateAccountRights
sub esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.KERNEL32.dll_LocalFree
sub esp, 4
cmp dword [ebp - 0xc], 0
je 0x401aff
cmp dword [ebp - 0xc], 0xc0000034
je 0x401aff
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov dword [esp], str.Error_in_testUserRights__LsaEnumerateAccountRights_returned_0x_x
call sub.cygwin1.dll_printf
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call fcn.00402100
mov dword [esp], str.___n_n
call sub.cygwin1.dll_printf
mov dword [esp], 1
call sub.cygwin1.dll_exit
cmp dword [section..data], 0
jne 0x401b1b
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov dword [esp], str.Testing_rights_for__s:_n
call sub.cygwin1.dll_printf
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 8]
jae 0x401bfa
mov eax, dword [ebp - 0x10]
lea edx, [eax*8]
mov eax, dword [ebp - 4]
mov eax, dword [edx + eax + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.cygwin1.dll_wcslen
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x24]
inc eax
add eax, 0xf
add eax, 0xf
shr eax, 4
shl eax, 4
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
call fcn.00408cd0
lea eax, [esp + 0x10]
add eax, 0xf
shr eax, 4
shl eax, 4
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x30]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 8], eax
lea eax, [ebp - 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call sub.cygwin1.dll_wcsrtombs
mov edx, eax
mov eax, dword [ebp - 0x34]
mov byte [edx + eax], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x14]
jae 0x401bf0
mov eax, dword [ebp - 0x14]
lea edx, [eax*4]
mov eax, dword [ebp + 0x10]
mov eax, dword [edx + eax]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call sub.cygwin1.dll_strcasecmp
test eax, eax
jne 0x401be9
lea eax, [ebp - 0x18]
inc dword [eax]
lea eax, [ebp - 0x14]
inc dword [eax]
jmp 0x401bb9
lea eax, [ebp - 0x10]
inc dword [eax]
jmp 0x401b22
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 0x14]
sete al
movzx eax, al
leave
ret
Function at 0x401c08
Capabilities:
Get user security identifier
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
cmp dword [ebp + 0xc], 0
je 0x401c24
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_strlen
mov dword [ebp - 0x30], eax
jmp 0x401c2b
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add eax, eax
add eax, 2
add eax, 0xf
add eax, 0xf
shr eax, 4
shl eax, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
call fcn.00408cd0
lea eax, [esp + 0x14]
add eax, 0xf
shr eax, 4
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 8]
mov dword [esp], eax
call fcn.0040144a
lea eax, [ebp - 0x10]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0xc]
mov dword [esp + 0xc], eax
lea eax, [ebp - 8]
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.ADVAPI32.DLL_LsaLookupNames
sub esp, 0x14
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x401ce3
mov eax, dword [ebp - 0x24]
mov dword [esp + 4], eax
mov dword [esp], str.Error_in_getSID__LsaLookupNames_returned_0x_x
call sub.cygwin1.dll_printf
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.00402100
mov dword [esp], str.___n_n
call sub.cygwin1.dll_printf
mov dword [esp], 1
call sub.cygwin1.dll_exit
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 8]
mov eax, edx
add eax, eax
add eax, edx
lea edx, [eax*4]
mov eax, dword [ecx + 4]
mov eax, dword [edx + eax + 8]
mov dword [esp], eax
call sub.ADVAPI32.DLL_GetSidSubAuthorityCount
sub esp, 4
movzx eax, byte [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
inc al
movzx eax, al
mov dword [esp], eax
call sub.ADVAPI32.DLL_GetSidLengthRequired
sub esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov dword [esp], 0
call sub.KERNEL32.dll_LocalAlloc
sub esp, 8
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 8]
mov eax, edx
add eax, eax
add eax, edx
lea edx, [eax*4]
mov eax, dword [ecx + 4]
mov eax, dword [edx + eax + 8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.ADVAPI32.DLL_CopySid
sub esp, 0xc
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.ADVAPI32.DLL_GetSidSubAuthorityCount
sub esp, 4
mov edx, eax
mov eax, dword [ebp - 0x18]
inc al
mov byte [edx], al
mov eax, dword [ebp - 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.ADVAPI32.DLL_GetSidSubAuthority
sub esp, 8
mov edx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.ADVAPI32.DLL_LsaFreeMemory
sub esp, 4
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sub.ADVAPI32.DLL_LsaFreeMemory
sub esp, 4
mov eax, dword [ebp - 0x20]
leave
ret
Function at 0x401dcd
Capabilities:
Manipulate user privileges
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 0x14]
shl eax, 3
add eax, 0xf
add eax, 0xf
shr eax, 4
shl eax, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
call fcn.00408cd0
lea eax, [esp + 0x10]
add eax, 0xf
shr eax, 4
shl eax, 4
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x14]
jae 0x401ec3
mov eax, dword [ebp - 0x14]
lea edx, [eax*4]
mov eax, dword [ebp + 0x10]
cmp dword [edx + eax], 0
je 0x401e43
mov eax, dword [ebp - 0x14]
lea edx, [eax*4]
mov eax, dword [ebp + 0x10]
mov eax, dword [edx + eax]
mov dword [esp], eax
call sub.cygwin1.dll_strlen
mov dword [ebp - 0x18], eax
jmp 0x401e4a
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
lea edx, [eax*8]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
add eax, eax
add eax, 2
add eax, 0xf
add eax, 0xf
shr eax, 4
shl eax, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
call fcn.00408cd0
lea eax, [esp + 0x10]
add eax, 0xf
shr eax, 4
shl eax, 4
mov dword [edx + ecx + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x14]
lea edx, [eax*4]
mov eax, dword [ebp + 0x10]
mov eax, dword [edx + eax]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
shl eax, 3
add eax, dword [ebp - 8]
mov dword [esp], eax
call fcn.0040144a
lea eax, [ebp - 0x14]
inc dword [eax]
jmp 0x401e07
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00401c08
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.ADVAPI32.DLL_LsaAddAccountRights
sub esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.KERNEL32.dll_LocalFree
sub esp, 4
cmp dword [ebp - 4], 0
je 0x401f48
mov eax, dword [ebp - 4]
mov dword [esp + 4], eax
mov dword [esp], str.Error_in_addUserRights__LsaAddAccountRights_returned_0x_x
call sub.cygwin1.dll_printf
mov eax, dword [ebp - 4]
mov dword [esp], eax
call fcn.00402100
mov dword [esp], str.___n_n
call sub.cygwin1.dll_printf
mov dword [esp], 1
call sub.cygwin1.dll_exit
cmp dword [section..data], 0
jne 0x401f5d
mov dword [esp], str.Added_rights_OK._n_n
call sub.cygwin1.dll_printf
leave
ret
Function at 0x401f5f
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 0x14]
shl eax, 3
add eax, 0xf
add eax, 0xf
shr eax, 4
shl eax, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
call fcn.00408cd0
lea eax, [esp + 0x14]
add eax, 0xf
shr eax, 4
shl eax, 4
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x14]
jae 0x402055
mov eax, dword [ebp - 0x14]
lea edx, [eax*4]
mov eax, dword [ebp + 0x10]
cmp dword [edx + eax], 0
je 0x401fd5
mov eax, dword [ebp - 0x14]
lea edx, [eax*4]
mov eax, dword [ebp + 0x10]
mov eax, dword [edx + eax]
mov dword [esp], eax
call sub.cygwin1.dll_strlen
mov dword [ebp - 0x18], eax
jmp 0x401fdc
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
lea edx, [eax*8]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
add eax, eax
add eax, 2
add eax, 0xf
add eax, 0xf
shr eax, 4
shl eax, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
call fcn.00408cd0
lea eax, [esp + 0x14]
add eax, 0xf
shr eax, 4
shl eax, 4
mov dword [edx + ecx + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x14]
lea edx, [eax*4]
mov eax, dword [ebp + 0x10]
mov eax, dword [edx + eax]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
shl eax, 3
add eax, dword [ebp - 8]
mov dword [esp], eax
call fcn.0040144a
lea eax, [ebp - 0x14]
inc dword [eax]
jmp 0x401f99
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00401c08
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 8]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.ADVAPI32.DLL_LsaRemoveAccountRights
sub esp, 0x14
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.KERNEL32.dll_LocalFree
sub esp, 4
cmp dword [ebp - 4], 0
je 0x4020e2
mov eax, dword [ebp - 4]
mov dword [esp + 4], eax
mov dword [esp], str.Error_in_removeUserRights__LsaRemoveAccountRights_returned_0x_x
call sub.cygwin1.dll_printf
mov eax, dword [ebp - 4]
mov dword [esp], eax
call fcn.00402100
mov dword [esp], str.___n_n
call sub.cygwin1.dll_printf
mov dword [esp], 1
call sub.cygwin1.dll_exit
cmp dword [section..data], 0
jne 0x4020f7
mov dword [esp], str.Removed_rights_OK._n_n
call sub.cygwin1.dll_printf
leave
ret
Function at 0x403050
Capabilities:
Encrypt data using salsa20 or chacha
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x5b8348]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x403220
mov eax, dword [esp + 8]
mov dword [eax], 0x61707865
mov dword [eax + 4], 0x61707865
mov dword [eax + 8], 0x61707865
mov dword [eax + 0xc], 0x61707865
mov dword [eax + 0x10], 0x3320646e
mov dword [eax + 0x14], 0x3320646e
mov dword [eax + 0x18], 0x3320646e
mov dword [eax + 0x1c], 0x3320646e
mov dword [eax + 0x20], 0x79622d32
mov dword [eax + 0x24], 0x79622d32
mov dword [eax + 0x28], 0x79622d32
mov dword [eax + 0x2c], 0x79622d32
mov dword [eax + 0x30], 0x6b206574
mov dword [eax + 0x34], 0x6b206574
mov dword [eax + 0x38], 0x6b206574
mov dword [eax + 0x3c], 0x6b206574
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], edx
mov dword [eax + 0x48], edx
mov dword [eax + 0x4c], edx
mov edx, dword [ecx + 4]
mov dword [eax + 0x50], edx
mov dword [eax + 0x54], edx
mov dword [eax + 0x58], edx
mov dword [eax + 0x5c], edx
mov edx, dword [ecx + 8]
mov dword [eax + 0x60], edx
mov dword [eax + 0x64], edx
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x70], edx
mov dword [eax + 0x74], edx
mov dword [eax + 0x78], edx
mov dword [eax + 0x7c], edx
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x80], edx
mov dword [eax + 0x84], edx
mov dword [eax + 0x88], edx
mov dword [eax + 0x8c], edx
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x90], edx
mov dword [eax + 0x94], edx
mov dword [eax + 0x98], edx
mov dword [eax + 0x9c], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 0xa0], edx
mov dword [eax + 0xa4], edx
mov dword [eax + 0xa8], edx
mov dword [eax + 0xac], edx
mov ecx, dword [ecx + 0x1c]
mov dword [eax + 0xb0], ecx
mov dword [eax + 0xb4], ecx
mov dword [eax + 0xb8], ecx
mov dword [eax + 0xbc], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 0xc0], ecx
lea edx, [ecx + 1]
mov dword [eax + 0xc4], edx
lea edx, [ecx + 2]
mov dword [eax + 0xc8], edx
add ecx, 3
mov dword [eax + 0xcc], ecx
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0
mov dword [eax + 0xd8], 0
mov dword [eax + 0xdc], 0
mov dword [eax + 0xe0], 0
mov dword [eax + 0xe4], 0
mov dword [eax + 0xe8], 0
mov dword [eax + 0xec], 0
mov dword [eax + 0xf0], 0
mov dword [eax + 0xf4], 0
mov dword [eax + 0xf8], 0
mov dword [eax + 0xfc], 0
ret
call fcn.0046d140
jmp fcn.00403050
Function at 0x40b930
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword [0x5b8348]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40bafb
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40b959
mov eax, 0x7000000
jmp 0x40b961
test eax, eax
je 0x40bad6
mov dword [esp + 0x34], eax
mov ecx, dword [0x5b8348]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x448]
mov ebx, dword [ecx + 0x44c]
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
lea edx, [ebp + ebx]
shr edx, 6
inc edx
mov dword [ecx + 0x448], ebx
mov dword [ecx + 0x44c], ebp
mov dword [esp], edx
call fcn.0046e4f0
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x24], xmm0
mov eax, dword [esp + 0x28]
mov ecx, eax
shr ecx, 0x14
and ecx, 0x7ff
mov edx, eax
shr edx, 0xf
and edx, 0x1f
shl eax, 5
mov ebx, dword [esp + 0x24]
shr ebx, 0x1b
or ebx, eax
lea eax, [0x58eec0]
movsd xmm0, qword [eax + edx*8]
mov ebp, ecx
add ecx, 0xfffffc01
add edx, 1
mov esi, 0
adc esi, 0
test esi, esi
jne 0x40baee
cmp edx, 0x21
jae 0x40bae2
movsd qword [esp + 0x14], xmm0
add ebp, 0xfffffc01
mov ebp, 0xffffffff
adc ebp, 0
and ebx, 0xfffff
mov dword [esp + 0x10], ebx
movsd xmm0, qword [eax + edx*8]
movsd qword [esp + 0x1c], xmm0
mov dword [esp], ecx
mov dword [esp + 4], ebp
call fcn.00460bb0
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x2c], xmm0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00460c80
movsd xmm0, qword [esp + 0x2c]
movsd xmm1, qword [esp + 0x14]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x1c]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0x504f80]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x504fc8]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40bab1
xorps xmm0, xmm0
mov eax, dword [esp + 0x34]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x505000]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, edx
mov ecx, 0x21
call fcn.0046e5d0
mov eax, edx
mov ecx, 0x21
call fcn.0046e670
nop
call fcn.0046d140
jmp fcn.0040b930
Function at 0x4131e0
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0x5b8348]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4133de
sub esp, 0x18
mov eax, dword [0x5b8278]
test eax, eax
jne 0x4133c7
nop
nop
lea eax, [0x5b8268]
mov dword [esp], eax
call fcn.00409f80
mov eax, dword [0x5b826c]
test eax, eax
je 0x413228
cmp dword [eax + 8], 0xcc
jne 0x41329e
mov edx, dword [0x5b8270]
test edx, edx
jne 0x413280
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x5ba970]
mov dword [esp + 8], eax
call fcn.0040bb10
mov eax, dword [esp + 0xc]
mov dword [0x5b8270], eax
mov ecx, dword [0x5b8274]
mov dword [eax], ecx
mov eax, dword [0x5b8270]
mov dword [0x5b8274], eax
movzx eax, byte [0x5b8700]
test al, al
jne 0x413280
xor eax, eax
jmp 0x413398
mov edx, dword [0x5b8270]
mov ebx, dword [edx + 4]
mov dword [0x5b8270], ebx
mov ebx, dword [0x5b826c]
mov dword [edx + 4], ebx
mov dword [0x5b826c], edx
mov edx, dword [0x5b826c]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x413377
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea eax, [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00472e50
mov eax, dword [0x5b8448]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
test eax, eax
jne 0x4132f0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
jmp 0x413330
call fcn.0046e5b0
mov eax, dword [esp + 0x20]
mov dword [edi], eax
mov edx, dword [esp + 0x14]
mov ebx, dword [edx + ecx*4 + 0x10]
mov dword [edi + 4], ebx
mov ebx, dword [esp + 0x28]
mov dword [edi + 8], ebx
mov ebp, dword [edx + ecx*4 + 0x1c]
mov dword [edi + 0xc], ebp
mov ebp, dword [esp + 0x2c]
mov dword [edi + 0x10], ebp
mov esi, dword [edx + ecx*4 + 0x20]
mov dword [edi + 0x14], esi
mov esi, dword [esp + 0x1c]
mov dword [edi + 0x18], esi
mov esi, dword [edx + ecx*4 + 0x14]
mov dword [edi + 0x1c], esi
mov dword [edx + ecx*4 + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [edx + ecx*4 + 0x18], eax
mov dword [edx + ecx*4 + 0x1c], ebx
mov dword [edx + ecx*4 + 0x20], ebp
mov eax, dword [esp + 0x1c]
mov dword [edx + ecx*4 + 0x14], eax
nop
nop
lea eax, [0x5b8268]
mov dword [esp], eax
call fcn.0040a1a0
nop
lea eax, [0x5b8264]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00472fd0
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.0046e5d0
lea edx, [0x58e36c]
movzx ebx, byte [edx + eax]
lea ebp, [0x5b8700]
mov byte [ebp + ecx], bl
lea eax, [ecx + 1]
cmp eax, 0x80
jge 0x413280
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 5
jb 0x413381
mov ecx, 5
call fcn.0046e5c0
lea eax, [0x4e0c20]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.00468350
nop
call fcn.0046d140
jmp fcn.004131e0
Function at 0x418160
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x5b8348]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4181e9
sub esp, 0x10
mov eax, dword [esp + 0x14]
test byte [eax], al
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 1
call fcn.00472d00
movzx eax, byte [esp + 0xc]
test al, al
je 0x4181ce
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax + 6]
test cl, cl
jne 0x4181d2
mov dword [esp], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 8], ecx
call fcn.00418200
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.004187b0
add esp, 0x10
ret
add esp, 0x10
ret
lea eax, [0x4e0c38]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.00468350
nop
call fcn.0046d140
jmp fcn.00418160
Function at 0x427670
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x5b8348]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4277b4
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00425300
mov eax, dword [esp + 4]
test eax, eax
je 0x42779d
mov dword [esp + 0xc], eax
lea ecx, [eax + 0x4c]
mov dword [esp + 0x18], ecx
mov edx, dword [0x5b8348]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov ebx, dword [edx + 0x18]
nop
inc dword [ebx + 0x7c]
mov edx, dword [edx + 0x18]
mov dword [esp + 0x14], edx
mov dword [esp], eax
call fcn.00422d60
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
sub eax, dword [ecx + 0xc]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x24]
movzx ebx, byte [edx + 6]
mov byte [esp + 0xa], bl
nop
mov ebp, dword [esp + 0x18]
mov dword [esp], ebp
call fcn.00409f80
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x50]
mov edx, dword [esp + 0x10]
movzx ebx, byte [esp + 0xa]
jmp 0x427707
mov ecx, ebp
mov ebp, dword [ecx]
test ebp, ebp
je 0x427732
movzx esi, word [ebp + 4]
cmp esi, edx
jne 0x42771c
cmp byte [ebp + 6], bl
je 0x427727
cmp esi, edx
ja 0x42772e
jne 0x427705
cmp byte [ebp + 6], bl
jbe 0x427705
jmp 0x42772e
mov ebx, 1
jmp 0x427734
xor ebx, ebx
jmp 0x427734
xor ebx, ebx
mov byte [esp + 0xb], bl
test bl, bl
jne 0x427752
mov ebx, dword [esp + 0x24]
mov word [ebx + 4], dx
mov edx, dword [ecx]
mov dword [ebx], edx
mov dword [ecx], ebx
mov dword [esp], eax
call fcn.00427570
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.0040a1a0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x5b8348]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x42778d
movzx eax, byte [ebx + 0x69]
test al, al
je 0x42778d
mov dword [ebx + 8], 0xfffffade
movzx eax, byte [esp + 0xb]
xor eax, 1
mov byte [esp + 0x28], al
add esp, 0x1c
ret
lea eax, [0x4e2351]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.00468350
nop
call fcn.0046d140
jmp fcn.00427670