joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406550
Capabilities:
Stop service

Disassembly:
mov edi, edi
push esi
push 1
mov esi, ecx
call fcn.00406340
test eax, eax
jne 0x406569
mov eax, 1
pop esi
ret 4
mov eax, dword [esp + 8]
test eax, eax
je 0x406582
push 1
mov ecx, esi
call fcn.00406840
test eax, eax
jne 0x406582
pop esi
ret 4
mov ecx, dword [esi + 0x14]
push edi
lea eax, [esi + 0x18]
push eax
push 1
push ecx
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov edi, eax
test edi, edi
je 0x4065ad
push 1
mov ecx, esi
call fcn.004061f0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, edi
pop edi
pop esi
ret 4

Function at 0x4065c0
Capabilities:
Start service

Disassembly:
mov edi, edi
push ebx
mov ebx, dword [esp + 8]
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x4065d2
xor eax, eax
pop ebx
ret
push 1
mov ecx, ebx
call fcn.00406340
test eax, eax
je 0x4065e6
mov eax, 1
pop ebx
ret
push esi
push edi
mov edi, dword [esp + 0x14]
xor esi, esi
test edi, edi
je 0x406622
lea eax, [edi*4]
push eax
call sub.MSVCR71.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
xor ecx, ecx
test edi, edi
mov esi, eax
jle 0x406622
lea edx, [esp + 0x14]
mov edi, edi
mov eax, dword [edx + 4]
add edx, 4
test eax, eax
mov dword [esi + ecx*4], eax
je 0x406650
inc ecx
cmp ecx, edi
jl 0x406610
mov ecx, dword [ebx + 0x14]
push esi
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov edi, eax
test edi, edi
je 0x40663d
push 0
mov ecx, ebx
call fcn.004061f0
test esi, esi
je 0x40664a
push esi
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x406bc0
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 8
lea eax, [esp]
push eax
push 0x411008
push 1
push 0
push 0x4112e8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x406bf4
push str.CStartMenu::CreateShortcut___Couldnt_get_an_interface_to_IShellLink._n
call fcn.004024a0
add esp, 4
xor eax, eax
add esp, 8
ret 4
mov eax, dword [esp]
mov ecx, dword [eax]
push esi
push edi
mov edi, dword [esp + 0x14]
mov edx, dword [edi]
push edx
push eax
call dword [ecx + 0x50]
mov esi, eax
test esi, esi
jge 0x406c1e
push str.CStartMenu::CreateShortcut___IShellLink::SetPath_error_n
call fcn.004024a0
add esp, 4
jmp 0x406d1d
mov eax, dword [edi + 0x14]
test eax, eax
je 0x406c48
mov ecx, dword [esp + 8]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x24]
mov esi, eax
test esi, esi
jge 0x406c48
push str.CStartMenu::CreateShortcut___IShellLink::SetWorkingDirectory_failed__n
call fcn.004024a0
add esp, 4
jmp 0x406d1d
mov eax, dword [edi + 0x10]
test eax, eax
je 0x406c72
mov ecx, dword [esp + 8]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x2c]
mov esi, eax
test esi, esi
jge 0x406c72
push str.CStartMenu::CreateShortcut___IShellLink::SetArguments_failed__n
call fcn.004024a0
add esp, 4
jmp 0x406d1d
mov ecx, dword [edi + 0x18]
cmp ecx, 0xffffffff
je 0x406c9d
mov eax, dword [esp + 8]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x3c]
mov esi, eax
test esi, esi
jge 0x406c9d
push str.CStartMenu::CreateShortcut___IShellLink::SetShowCmd_failed__n
call fcn.004024a0
add esp, 4
jmp 0x406d1d
mov eax, dword [edi + 8]
test eax, eax
je 0x406cc8
mov esi, dword [edi + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [ecx]
push esi
push eax
push ecx
call dword [edx + 0x44]
mov esi, eax
test esi, esi
jge 0x406cc8
push str.CStartMenu::CreateShortcut___IShellLink::SetIconLocation_failed__n
call fcn.004024a0
add esp, 4
jmp 0x406d1d
mov eax, dword [esp + 8]
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
push 0x411668
push eax
call dword [ecx]
mov esi, eax
test esi, esi
jge 0x406cf0
push str.CStartMenu::CreateShortcut___Couldnt_get_an_interface_to_IPersistFile__n
call fcn.004024a0
add esp, 4
jmp 0x406d1d
mov edx, dword [edi + 4]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push 1
push edx
push eax
call dword [ecx + 0x18]
mov esi, eax
test esi, esi
jge 0x406d13
push str.CStartMenu::CreateShortcut___IPersistFile::Save_error_n
call fcn.004024a0
add esp, 4
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 8]
mov edx, dword [eax]
push eax
call dword [edx + 8]
xor eax, eax
test esi, esi
pop edi
setge al
pop esi
add esp, 8
ret 4
Function at 0x406d40
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ecx
mov edx, dword [esp + 8]
lea eax, [esp]
push eax
push edx
mov dword [esp + 8], 0
call fcn.00406ae0
test eax, eax
jne 0x406d61
pop ecx
ret 8
push esi
mov esi, dword [esp + 4]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x406d89
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
pop esi
pop ecx
ret 8
test al, 2
mov ecx, dword [esp + 0x10]
je 0x406d9a
test ecx, ecx
je 0x406da1
sub eax, 2
jmp 0x406da1
test ecx, ecx
jne 0x406da1
add eax, 2
push ebx
push ebp
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, dword [sym.imp.SHELL32.dll_SHChangeNotify]
push 0
push esi
push 5
push 0x7fffffff
mov ebp, eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xa
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x5c
push esi
mov word [esi + eax*2 - 2], 0
call dword [sym.imp.MSVCR71.dll_wcsrchr]
sub eax, esi
sar eax, 1
add esp, 8
test esi, esi
mov word [esi + eax*2], 0
je 0x406e02
push 0
push esi
push 5
push 0x7fffffff
call edi
push 0xa
call ebx
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
mov eax, ebp
pop ebp
pop ebx
pop esi
pop ecx
ret 8

Function at 0x406e30
Capabilities:
Delete file
Get file attributes

Disassembly:
mov edi, edi
push ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xc]
push eax
push ecx
xor ebx, ebx
push edi
mov ecx, esi
mov dword [esp + 0x18], ebx
call fcn.00406b40
test eax, eax
je 0x406e6d
lea edx, [esp + 0x18]
push edx
push edi
mov ecx, esi
mov dword [esp + 0x20], ebx
call fcn.00406ae0
test eax, eax
jne 0x406e76
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 8
mov esi, dword [esp + 0xc]
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
inc edi
neg edi
push esi
sbb edi, edi
push ebx
inc edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [esp + 0x1c]
push ebx
mov ebx, dword [sym.imp.SHELL32.dll_SHChangeNotify]
push esi
push 5
push 0x7fffffff
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xa
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x5c
push esi
mov word [esi + eax*2 - 2], 0
call dword [sym.imp.MSVCR71.dll_wcsrchr]
sub eax, esi
sar eax, 1
add esp, 8
test esi, esi
mov word [esi + eax*2], 0
je 0x406ef7
push 0
push esi
push 5
push 0x7fffffff
call ebx
push 0xa
call ebp
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop ebp
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
ret 8
Function at 0x407060
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov edi, edi
push ecx
mov edx, dword [esp + 8]
lea eax, [esp]
push eax
push edx
mov dword [esp + 8], 0
call fcn.00406ae0
test eax, eax
jne 0x407081
pop ecx
ret 4
push esi
mov esi, dword [esp + 4]
push edi
push esi
push str.CStartMenu::AddGroup_is_checking__s_n
call fcn.004024a0
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4070b6
push esi
push str._s_already_exists__n
call fcn.004024a0
add esp, 8
mov edi, 1
jmp 0x4070dd
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, eax
test edi, edi
je 0x4070dd
push 0
push esi
push 5
push 0x7fffffff
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
pop edi
pop esi
pop ecx
ret 4

Function at 0x407100
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push esi
mov esi, dword [esp + 8]
push edi
push esi
mov edi, ecx
call fcn.00407060
test eax, eax
je 0x407132
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push ecx
push esi
mov ecx, edi
mov dword [esp + 0x18], 0
call fcn.00406b40
test eax, eax
jne 0x407139
pop edi
xor eax, eax
pop esi
ret 0xc
push ebx
mov ebx, dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40715f
push ebx
push str._s_already_exists__n
call fcn.004024a0
add esp, 8
mov esi, 1
jmp 0x40717c
mov eax, dword [esp + 0x18]
push eax
mov ecx, edi
mov dword [eax + 4], ebx
call fcn.00406bc0
mov esi, eax
test esi, esi
je 0x40717c
push ebx
mov ecx, edi
call fcn.00406ab0
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop ebx
pop edi
mov eax, esi
pop esi
ret 0xc
Function at 0x409120
Capabilities:
Accept command line arguments
Check if file exists
Create directory
Get common file path
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x40c6fe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x638
mov eax, dword [0x413024]
push ebx
push esi
push edi
mov dword [esp + 0x63c], eax
mov esi, ecx
xor eax, eax
mov word [esp + 0x28], 0
mov ecx, 0x82
lea edi, [esp + 0x2a]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x28]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [esp + 0x28]
push ecx
mov edi, eax
call ebx
cmp eax, 0xffffffff
jne 0x409199
push 0
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [esp + 0x28]
push eax
call ebx
cmp eax, 0xffffffff
je 0x4092ff
cmp word [esp + edi*2 + 0x26], 0x5c
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
lea edi, [esp + edi*2 + 0x26]
jne 0x4091cf
lea ecx, [esp + 0x28]
push ecx
push str._svswitch.log
lea edx, [esp + 0x240]
push edx
jmp 0x4091e1
lea eax, [esp + 0x28]
push eax
push str._s_vswitch.log
lea ecx, [esp + 0x240]
push ecx
call ebx
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
add esp, 0xc
push 0
lea eax, [esp + 0x23c]
push eax
call dword [edx + 4]
test eax, eax
jne 0x409213
lea ecx, [esp + 0x238]
push ecx
push str.logfile_error____s_r_n
call fcn.004024a0
add esp, 8
jmp 0x40922a
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
push 0xce
call dword [edx + 0x14]
mov ecx, dword [esi + 4]
push 0
call fcn.00402640
cmp word [edi], 0x5c
jne 0x409244
lea eax, [esp + 0x28]
push eax
push str._sVSwitchHistory.log
lea ecx, [esp + 0x240]
push ecx
jmp 0x409256
lea edx, [esp + 0x28]
push edx
push 0x40f3e0
lea eax, [esp + 0x240]
push eax
call ebx
add esp, 0xc
push 0x22c
call sub.MSVCR71.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov dword [esp + 0x64c], 0
je 0x409292
push 0
push 0x800
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.004024c0
mov esi, eax
jmp 0x409294
xor esi, esi
test esi, esi
mov dword [esp + 0x64c], 0xffffffff
je 0x4092ff
mov edx, dword [esi]
push 1
lea eax, [esp + 0x23c]
push eax
mov ecx, esi
call dword [edx + 4]
test eax, eax
jne 0x4092cf
lea ecx, [esp + 0x238]
push ecx
push str.logfile_error____s_r_n
call fcn.004024a0
add esp, 8
jmp 0x4092f7
mov edx, dword [esi]
push 0xce
mov ecx, esi
call dword [edx + 0x14]
mov edi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push 0xd1
push esi
call dword [edi + 0xc]
mov eax, dword [esi]
add esp, 0xc
mov ecx, esi
call dword [eax + 0x18]
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov ecx, dword [esp + 0x644]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x63c]
call fcn.0040bc27
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40b3c0
Capabilities:
Check os version
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x334
mov eax, dword [0x413024]
push ebx
mov dword [esp + 0x334], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
dec eax
push edi
je 0x40b4e6
dec eax
je 0x40b43f
dec eax
jne 0x40b4f9
xor eax, eax
mov ecx, 0x82
lea edi, [esp + 0x128]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea eax, [esp + 0x12c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x128]
push 0x5c
push ecx
call dword [sym.imp.MSVCR71.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x40b4f9
mov word [eax], bx
jmp 0x40b4f9
xor eax, eax
lea edx, [esp + 0x10]
mov ecx, 0x45
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0x14], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x20], 2
jne 0x40b4d1
cmp dword [esp + 0x14], 5
jb 0x40b4d1
push 0x105
lea eax, [esp + 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x105
lea ecx, [esp + 0x12c]
push str.kernel32.dll
push ecx
call fcn.0040b350
add esp, 0xc
test al, al
je 0x40b4d1
lea edx, [esp + 0x128]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x40b4d1
push str.GetSystemWindowsDirectory
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40b4d1
push 0x105
lea ecx, [esp + 0x12c]
push ecx
call eax
jmp 0x40b4f9
push 0x105
lea edx, [esp + 0x12c]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
jmp 0x40b4f9
push 0x105
lea eax, [esp + 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x105
lea ecx, [esp + 0x12c]
push esi
push ecx
call fcn.0040b350
add esp, 0xc
test al, al
je 0x40b534
lea edx, [esp + 0x128]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [esp + 0x33c]
call fcn.0040bc27
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x33c]
mov eax, ebx
call fcn.0040bc27
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403590
Capabilities:
Encrypt data using salsa20 or chacha
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x9ad538]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x403760
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.00470e00
jmp fcn.00403590
Function at 0x40c100
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword [0x9ad538]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40c2cb
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40c129
mov eax, 0x7000000
jmp 0x40c131
test eax, eax
je 0x40c2a6
mov dword [esp + 0x34], eax
mov ecx, dword [0x9ad538]
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.004721b0
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, [0x94bda0]
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 0x40c2be
cmp edx, 0x21
jae 0x40c2b2
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.00462cb0
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.00462d80
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 [0x77f938]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x77f990]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40c281
xorps xmm0, xmm0
mov eax, dword [esp + 0x34]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x77f9c8]
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.00472290
mov eax, edx
mov ecx, 0x21
call fcn.00472360
nop
call fcn.00470e00
jmp fcn.0040c100
Function at 0x4140e0
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0x9ad538]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4142de
sub esp, 0x18
mov eax, dword [0x9ad3ec]
test eax, eax
jne 0x4142c7
nop
nop
lea eax, [0x9ad3dc]
mov dword [esp], eax
call fcn.0040a750
mov eax, dword [0x9ad3e0]
test eax, eax
je 0x414128
cmp dword [eax + 8], 0xcc
jne 0x41419e
mov edx, dword [0x9ad3e4]
test edx, edx
jne 0x414180
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x9b1ef0]
mov dword [esp + 8], eax
call fcn.0040c2e0
mov eax, dword [esp + 0xc]
mov dword [0x9ad3e4], eax
mov ecx, dword [0x9ad3e8]
mov dword [eax], ecx
mov eax, dword [0x9ad3e4]
mov dword [0x9ad3e8], eax
movzx eax, byte [0x9adb60]
test al, al
jne 0x414180
xor eax, eax
jmp 0x414298
mov edx, dword [0x9ad3e4]
mov ebx, dword [edx + 4]
mov dword [0x9ad3e4], ebx
mov ebx, dword [0x9ad3e0]
mov dword [edx + 4], ebx
mov dword [0x9ad3e0], edx
mov edx, dword [0x9ad3e0]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x414277
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.00476db0
mov eax, dword [0x9ad7b8]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
test eax, eax
jne 0x4141f0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
jmp 0x414230
call fcn.00472270
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, [0x9ad3dc]
mov dword [esp], eax
call fcn.0040a970
nop
lea eax, [0x9ad3d8]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00476f30
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.00472290
lea edx, [0x946afc]
movzx ebx, byte [edx + eax]
lea ebp, [0x9adb60]
mov byte [ebp + ecx], bl
lea eax, [ecx + 1]
cmp eax, 0x80
jge 0x414180
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 0x414281
mov ecx, 5
call fcn.00472280
lea eax, [0x71d443]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.0046b920
nop
call fcn.00470e00
jmp fcn.004140e0
Function at 0x4190c0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x9ad538]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x419149
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.00476c60
movzx eax, byte [esp + 0xc]
test al, al
je 0x41912e
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax + 6]
test cl, cl
jne 0x419132
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.00419160
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.00419710
add esp, 0x10
ret
add esp, 0x10
ret
lea eax, [0x71d45b]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.0046b920
nop
call fcn.00470e00
jmp fcn.004190c0