joyce8/EMBER2024-capa huggingface dataset:
Function at 0xab3e40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xb18bbd
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0xb37f34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0x7c], 0x8000
mov dword [ebp - 0x78], 0xb3b608
mov byte [ebp - 0xa9], 0
lea eax, [ebp - 0xa9]
push eax
push 0x8000
lea ecx, [ebp - 0xa8]
call fcn.00a84b80
mov dword [ebp - 4], 1
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x74]
call fcn.00ab2950
mov dword [ebp - 0xb4], eax
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xb8]
call fcn.00ab12e0
push eax
push 0x8000
push 0
lea ecx, [ebp - 0xa8]
call fcn.00a84c60
push eax
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.00ab12e0
push eax
mov ecx, dword [ebp + 0x10]
call fcn.00ab12e0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
call fcn.00a6a5a0
push 0
lea ecx, [ebp - 0xa8]
call fcn.00a84c60
push eax
lea ecx, [ebp - 0x98]
call fcn.00a66350
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x78]
push ecx
lea edx, [ebp - 0x98]
push edx
call fcn.00ab9b40
add esp, 8
movzx eax, al
test eax, eax
je 0xab3f88
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0x18]
call fcn.00ab1600
mov edx, dword [ebp - 0xb0]
or edx, 1
mov dword [ebp - 0xb0], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x98]
call fcn.00a663e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa8]
call fcn.00a84c00
mov eax, dword [ebp + 8]
jmp 0xab3fe7
lea eax, [ebp - 0x98]
push eax
mov ecx, dword [ebp + 8]
call fcn.00ab75c0
mov ecx, dword [ebp - 0xb0]
or ecx, 1
mov dword [ebp - 0xb0], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x98]
call fcn.00a663e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa8]
call fcn.00a84c00
mov eax, dword [ebp + 8]
jmp 0xab3fe7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00ad1fa3
mov esp, ebp
pop ebp
ret
Function at 0xab46d0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xb18d91
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0xb37f34]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
push 0
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00ab12e0
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0xab4786
mov byte [ebp - 0x21], 0
lea eax, [ebp - 0x21]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 2
push ecx
lea ecx, [ebp - 0x20]
call fcn.00a84b80
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x10]
add edx, 1
push edx
push 0
lea ecx, [ebp - 0x20]
call fcn.00a84c60
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00ab12e0
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push 0
lea ecx, [ebp - 0x20]
call fcn.00a84c60
push eax
mov ecx, dword [ebp + 8]
call fcn.00a66350
mov eax, dword [ebp - 0x28]
or eax, 1
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00a84c00
mov eax, dword [ebp + 8]
jmp 0xab47a5
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00a7b6b0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
or edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0xab4bf0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xb18e91
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0xb37f34]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0xab4c98
mov byte [ebp - 0x21], 0
lea ecx, [ebp - 0x21]
push ecx
mov edx, dword [ebp - 0x10]
add edx, 1
push edx
lea ecx, [ebp - 0x20]
call fcn.00a84b80
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 1
push eax
push 0
lea ecx, [ebp - 0x20]
call fcn.00a84c60
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0
lea ecx, [ebp - 0x20]
call fcn.00a84c60
push eax
mov ecx, dword [ebp + 8]
call fcn.00a66350
mov edx, dword [ebp - 0x28]
or edx, 1
mov dword [ebp - 0x28], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00a84c00
mov eax, dword [ebp + 8]
jmp 0xab4cb3
mov ecx, dword [ebp + 8]
call fcn.00a7ab90
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
or eax, 1
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0xab5710
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xb19121
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0xb37f34]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
push 0
push 0
push 0xe
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0x21], 0
lea ecx, [ebp - 0x21]
push ecx
mov edx, dword [ebp - 0x10]
add edx, 1
push edx
lea ecx, [ebp - 0x20]
call fcn.00a84b80
mov dword [ebp - 4], 1
push 0
lea ecx, [ebp - 0x20]
call fcn.00a84c60
push eax
mov eax, dword [ebp - 0x10]
add eax, 1
push eax
push 0xd
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
lea ecx, [ebp - 0x20]
call fcn.00a84c60
push eax
mov ecx, dword [ebp + 8]
call fcn.00a66350
mov edx, dword [ebp - 0x28]
or edx, 1
mov dword [ebp - 0x28], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00a84c00
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0xac67c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xb1b030
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0xb37f34]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi + 4], 0
push 0xb3bc4c
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0
mov dword [esi], 0xb3bd30
call fcn.00a7d830
mov byte [esp + 0x38], 1
call fcn.00ac596e
lea ecx, [esp + 0xc]
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov byte [esp + 0x38], 0
call fcn.00a7d900
mov dword [esi], 0xb3bd54
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret
Function at 0xace980
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0xb1c090
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0xb37f34]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push esi
push edi
mov eax, dword [0xb37f34]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, dword [esp + 0x54]
cmp dword [edi + 0x14], 8
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
jb 0xace9cf
mov eax, dword [edi]
jmp 0xace9d1
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
jne 0xace9f1
push esi
push edi
push ebx
call fcn.00acc9f0
add esp, 0xc
jmp 0xaceb25
test eax, 0x400
je 0xaceaf3
cmp dword [edi + 0x14], 8
jb 0xacea06
mov edx, dword [edi]
jmp 0xacea08
mov edx, edi
xor eax, eax
mov word [esp + 0x20], ax
mov ebx, 7
mov eax, edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], 0
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0xacea25
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x28]
call fcn.00a87cd0
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
mov dword [esp + 0x48], 0
jae 0xacea56
lea eax, [esp + 0x20]
push 0
push 0x2000000
push 3
push 0
push ebx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [esp + 0x1c], esi
cmp dword [esp + 0x34], 8
mov byte [esp + 0x48], 2
jb 0xacea8a
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00ad23b1
add esp, 4
mov dword [esp + 0x34], ebx
xor edx, edx
or ebx, 0xffffffff
mov dword [esp + 0x30], 0
mov word [esp + 0x20], dx
cmp esi, ebx
jne 0xaceabb
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
push eax
push edi
push esi
call fcn.00acc9f0
add esp, 0xc
mov eax, esi
jmp 0xaceb27
push edi
call fcn.00acac80
add esp, 4
mov dword [esp + 0x48], ebx
push esi
test al, al
jne 0xaceae1
mov edi, dword [esp + 0x18]
mov dword [edi], 9
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0xaceb27
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
test esi, esi
je 0xaceb09
mov dword [esi], 0
call fcn.00ad0d20
mov dword [esi + 4], eax
mov eax, dword [esp + 0x10]
test al, 0x10
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 3
jne 0xaceb21
mov dword [esp + 0x10], 2
mov ecx, dword [eax]
mov dword [ebx], ecx
mov eax, ebx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00ad1fa3
add esp, 0x3c
ret
Function at 0xaceb50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
cmp dword [edi + 0x14], 8
jb 0xaceb61
mov eax, dword [edi]
jmp 0xaceb63
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0xaceb8a
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
push eax
push edi
push esi
call fcn.00acc9f0
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebx
ret
mov esi, dword [esp + 0x18]
test esi, esi
je 0xaceba0
mov dword [esi], 0
call fcn.00ad0d20
mov dword [esi + 4], eax
test ebx, 0x400
je 0xacebd5
push edi
call fcn.00acac80
add esp, 4
test al, al
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 4
jne 0xacebc9
mov dword [esp + 0x14], 9
mov ecx, dword [eax]
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
ret
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 3
test bl, 0x10
jne 0xacebee
mov dword [esp + 0x14], 2
mov edx, dword [eax]
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov dword [eax], edx
pop ebx
ret

Function at 0xacf980
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0xb1c2e8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0xb37f34]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0xb37f34]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, dword [esp + 0x88]
cmp dword [edi + 0x14], 8
mov esi, dword [esp + 0x8c]
jb 0xacf9ca
mov eax, dword [edi]
jmp 0xacf9cc
mov eax, edi
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0xacf9ef
cmp esi, ebx
je 0xacf9e8
mov dword [esi], ebx
call fcn.00ad0d20
mov dword [esi + 4], eax
mov al, 1
jmp 0xacfa8d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov dword [esp + 0x14], ebx
call fcn.00ad0d20
mov dword [esp + 0x18], eax
cmp ebp, 0xb7
jne 0xacfa31
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push edi
push ecx
call fcn.00ace980
add esp, 0xc
cmp dword [eax], 3
jne 0xacfa31
cmp esi, ebx
je 0xacfa8b
mov dword [esi], ebx
call fcn.00ad0d20
jmp 0xacfa88
cmp esi, ebx
jne 0xacfa81
push 0x23
push str.boost::filesystem::create_directory
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.00a66950
mov dword [esp + 0x80], ebx
call fcn.00ad0d20
push eax
push ebp
push edi
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x4c]
call fcn.00acc0b0
push 0xb4f1a8
lea eax, [esp + 0x40]
push eax
call fcn.00ad2721
call fcn.00ad0d20
mov dword [esi], ebp
mov dword [esi + 4], eax
xor al, al
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00ad1fa3
add esp, 0x70
ret

Function at 0xad1fa3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0xb37f34]
jne 0xad1fad
repz ret
jmp fcn.00adc2cc
Function at 0xaea25a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0xb37f34]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00adbcbc
and dword [ebp - 0x14], 0
cmp dword [0xb54f30], 0
mov dword [ebp - 0x18], eax
jne 0xaea30d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0xaea3b5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0xaea3b5
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0xb54f30], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0xb54f34], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0xb54f38], eax
call edi
push eax
call esi
mov dword [0xb54f40], eax
test eax, eax
je 0xaea30d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0xb54f3c], eax
mov eax, dword [0xb54f3c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0xaea366
cmp dword [0xb54f40], ecx
je 0xaea366
push eax
call esi
push dword [0xb54f40]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0xaea366
test ebx, ebx
je 0xaea366
call edi
test eax, eax
je 0xaea35d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0xaea35d
test byte [ebp - 8], 1
jne 0xaea366
or dword [ebp + 0x10], 0x200000
jmp 0xaea399
mov eax, dword [0xb54f34]
cmp eax, dword [ebp - 0x18]
je 0xaea399
push eax
call esi
test eax, eax
je 0xaea399
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0xaea399
mov eax, dword [0xb54f38]
cmp eax, dword [ebp - 0x18]
je 0xaea399
push eax
call esi
test eax, eax
je 0xaea399
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0xb54f30]
call esi
test eax, eax
je 0xaea3b5
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0xaea3b7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00ad1fa3
leave
ret
Function at 0xaf76e8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [edi + 0x2c]
push esi
mov esi, dword [edi + 0x3c]
sub esi, dword [edi + 0x74]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x2c]
lea ecx, [ebx + ecx - 0x106]
sub esi, eax
cmp eax, ecx
jb 0xaf776d
mov eax, dword [edi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.00ad23c0
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
add esp, 0xc
sub dword [edi + 0x5c], ebx
mov dword [ebp - 4], eax
lea eax, [ecx + eax*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0xaf7730
mov eax, dword [edi + 0x40]
mov dword [ebp - 4], ebx
lea eax, [eax + ebx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0xaf7752
add esi, ebx
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0xaf77c8
mov ecx, dword [edi + 0x74]
add ecx, dword [edi + 0x6c]
push esi
add ecx, dword [edi + 0x38]
mov esi, eax
push ecx
call fcn.00af7438
add dword [edi + 0x74], eax
mov esi, dword [edi + 0x74]
cmp esi, 3
pop ecx
pop ecx
jb 0xaf77b4
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x38]
lea edx, [eax + ecx]
movzx eax, byte [edx]
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp esi, 0x106
jae 0xaf77c8
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0xaf76f1
pop esi
pop ebx
leave
ret
Function at 0x40bcd0
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40be9e
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40bcfb
mov eax, 0x7000000
jmp 0x40bd03
test eax, eax
je 0x40be79
mov dword [esp + 0x14], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x94]
mov ebx, dword [ecx + 0x98]
mov dword [ecx + 0x94], ebx
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
mov dword [ecx + 0x98], ebp
lea ecx, [ebp + ebx]
shr ecx, 6
inc ecx
mov dword [esp], ecx
call fcn.00463c90
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x28], xmm0
mov eax, dword [esp + 0x2c]
mov ecx, eax
shr eax, 0x14
and eax, 0x7ff
mov edx, eax
add eax, 0xfffffc01
mov ebx, ecx
shr ecx, 0xf
and ecx, 0x1f
mov ebp, ecx
add ecx, 1
mov esi, 0
adc esi, 0
shl ebx, 5
mov edi, dword [esp + 0x28]
shr edi, 0x1b
or edi, ebx
lea ebx, [0x906260]
movsd xmm0, qword [ebx + ebp*8]
test esi, esi
jne 0x40be91
cmp ecx, 0x21
jae 0x40be85
movsd qword [esp + 0x18], xmm0
mov dword [esp + 0x10], edi
add edx, 0xfffffc01
mov edx, 0xffffffff
adc edx, 0
movsd xmm0, qword [ebx + ecx*8]
movsd qword [esp + 0x20], xmm0
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045cf50
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x30], xmm0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
and eax, 0xfffff
mov dword [esp], eax
call fcn.0045d020
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x18]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x20]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0x781f30]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x781ff8]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40be54
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x782058]
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, ecx
mov ecx, 0x21
call fcn.00463d70
mov eax, ecx
mov ecx, 0x21
call fcn.00463e50
nop
call fcn.004628d0
jmp fcn.0040bcd0
Function at 0x414e90
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4150b4
sub esp, 0x18
mov eax, dword [0xc2b56c]
test eax, eax
jne 0x41509d
nop
lea eax, [0xc2b558]
mov dword [esp], eax
call fcn.00409ac0
mov eax, dword [0xc2b55c]
test eax, eax
je 0x414ed9
cmp dword [eax + 8], 0xcc
jne 0x414f4f
mov edx, dword [0xc2b550]
test edx, edx
jne 0x414f31
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0xc30970]
mov dword [esp + 8], eax
call fcn.0040beb0
mov eax, dword [esp + 0xc]
mov dword [0xc2b550], eax
mov ecx, dword [0xc2b514]
mov dword [eax], ecx
mov eax, dword [0xc2b550]
mov dword [0xc2b514], eax
movzx eax, byte [0xc2bce0]
test al, al
jne 0x414f31
xor eax, eax
jmp 0x415049
mov edx, dword [0xc2b550]
mov ebx, dword [edx + 4]
mov dword [0xc2b550], ebx
mov ebx, dword [0xc2b55c]
mov dword [edx + 4], ebx
mov dword [0xc2b55c], edx
mov edx, dword [0xc2b55c]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x415031
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.00402180
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x14]
lea edi, [ecx + eax*4 + 0x10]
mov edx, dword [0xc2b960]
lea ebx, [ecx + eax*4 + 0x1c]
lea ebp, [ecx + eax*4 + 0x20]
lea esi, [ecx + eax*4 + 0x14]
test edx, edx
jne 0x414fad
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*4 + 0x10], edx
jmp 0x414fba
mov edx, eax
mov eax, dword [esp + 0x20]
call fcn.00463ce0
mov eax, edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [0xc2b960]
test edx, edx
jne 0x414fe6
mov edx, dword [esp + 0x28]
mov dword [ecx + eax*4 + 0x1c], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + eax*4 + 0x20], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + eax*4 + 0x14], edx
jmp 0x415007
mov edi, ebx
mov eax, dword [esp + 0x28]
call fcn.00463ce0
mov edi, ebp
mov eax, dword [esp + 0x2c]
call fcn.00463ce0
mov edi, esi
mov eax, dword [esp + 0x1c]
call fcn.00463ce0
nop
lea eax, [0xc2b558]
mov dword [esp], eax
call fcn.00409cc0
nop
lea eax, [0xc2b554]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00402300
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.00463d70
lea esi, [0xc2bce0]
xchg ebp, eax
mov byte [esi + ebx], al
xchg ebp, eax
lea eax, [ebx + 1]
cmp eax, 0x80
jge 0x414f31
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
mov eax, ecx
sar ecx, 0x1f
sub edx, ecx
lea edx, [edx + edx*4]
mov ebx, eax
sub eax, edx
cmp eax, 5
jae 0x415093
lea edx, [0x8ff368]
movzx ebp, byte [edx + eax]
cmp ebx, 0x80
jb 0x41503b
mov eax, ebx
mov ecx, pe_nt_image_headers32
call fcn.00463d60
mov ecx, 5
call fcn.00463d60
lea eax, [0x70b3e6]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.004367b0
nop
call fcn.004628d0
jmp fcn.00414e90
Function at 0x428aa0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x428bbc
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 1
je 0x428b35
cmp cl, 2
je 0x428add
cmp cl, 3
jne 0x428ba5
mov byte [eax + 8], 1
jmp 0x428ba1
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.0042dcd0
nop
lea eax, [0xc0fad8]
mov dword [esp], eax
call fcn.00409ac0
nop
mov eax, dword [0xc0faa4]
sub eax, dword [0xc0fa88]
mov dword [0xc0faa4], eax
mov eax, dword [0xc0fa94]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0xc0fa94], ecx
nop
lea eax, [0xc0fad8]
mov dword [esp], eax
call fcn.00409cc0
jmp 0x428ba1
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00414e90
nop
lea eax, [0xc0fad8]
mov dword [esp], eax
call fcn.00409ac0
nop
mov eax, dword [0xc0fa7c]
sub eax, dword [0xc0fa60]
mov dword [0xc0fa7c], eax
mov eax, dword [0xc0fa6c]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0xc0fa6c], ecx
nop
nop
lea eax, [0xc0fad8]
mov dword [esp], eax
call fcn.00409cc0
add esp, 0x14
ret
lea eax, [0x705c58]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.004367b0
nop
call fcn.004628d0
jmp fcn.00428aa0