joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d8e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46def9
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x48b670]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, dword [esp + 0x44]
mov edi, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
mov eax, 7
mov ecx, 1
xor edx, edx
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], 0
mov dword [esp + 0x3c], ecx
mov word [esi + 4], dx
sub esp, 0x1c
mov dword [esp + 0x28], ecx
mov ecx, esp
mov dword [esp + 0x30], esp
mov dword [ecx + 0x18], eax
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], edx
push eax
lea edx, [esp + 0x6c]
push edx
mov word [ecx + 4], ax
call fcn.0040e580
mov ecx, edi
call fcn.0044d010
mov edi, 8
test eax, eax
je 0x44d99b
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.0044d140
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
mov byte [esp + 0x48], 2
call fcn.0040e580
cmp dword [esp + 0x30], edi
jb 0x44d99b
mov edx, dword [esp + 0x1c]
push edx
call fcn.00411474
add esp, 4
cmp dword [esp + 0x60], edi
jb 0x44d9ae
mov eax, dword [esp + 0x4c]
push eax
call fcn.00411474
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x34
ret 0x20

Function at 0x450740
Capabilities:
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or edx, 0xffffffff
cmp eax, edx
jne 0x450772
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45076f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
ret
test al, 0x10
mov eax, dword [esp + 4]
je 0x450799
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450793
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 2
ret
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4507b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
ret
Function at 0x451ac0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x46e785
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48b670]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor ebx, ebx
mov dword [esp + 0x24], ebx
call fcn.004194d8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x451b0d
push 0x80004005
call fcn.00401f50
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x24], 1
lea ebp, [esi + 4]
call fcn.004194d8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x451b3d
push 0x80004005
call fcn.00401f50
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp], eax
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
push ecx
mov byte [esp + 0x28], 2
mov dword [edi], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x451b7e
push ebx
push 0x47a404
mov ecx, esi
call fcn.004036a0
mov dword [edi], ebx
jmp 0x451c2e
push 1
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x34]
call fcn.0042aa3b
push 0x474644
push eax
call fcn.0042aa23
mov bl, al
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x451bbe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x451c20
push 1
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x34]
call fcn.0042aa3b
push 0x479080
push eax
call fcn.0042aa0c
mov bl, al
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x451c02
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x474644
lea ecx, [esp + 0x30]
test bl, bl
je 0x451c1b
push 0x479080
call fcn.00451410
jmp 0x451c20
call fcn.00416999
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.004037c0
xor ebx, ebx
push 3
push 0x479078
mov ecx, ebp
call fcn.004036a0
push 0x20
mov dword [esi + 8], 1
mov dword [esi + 0x10], ebx
call fcn.0041143a
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 3
cmp eax, ebx
je 0x451c66
mov ecx, eax
call fcn.00405650
jmp 0x451c68
xor eax, eax
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esi + 0xc], ebx
mov dword [esp + 0x24], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x451c96
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
Function at 0x455570
Capabilities:
Check os version
Get disk information

Disassembly:
sub esp, 0x130
mov eax, dword [0x48b670]
xor eax, esp
mov dword [esp + 0x12c], eax
push ebx
mov ebx, dword [esp + 0x140]
push ebp
mov ebp, dword [esp + 0x148]
push esi
xor eax, eax
push edi
mov edi, dword [esp + 0x148]
mov esi, ecx
mov ecx, dword [esp + 0x144]
push ecx
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], eax
lea eax, [esp + 0x12c]
push str._s:_
push eax
call fcn.00431529
add esp, 0xc
lea ecx, [esp + 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
xor edx, edx
cmp eax, 3
sete dl
push 0x114
lea eax, [esp + 0x18]
push 0
push eax
add edx, 0xb
mov dword [esp + 0x1c], edx
call fcn.00431210
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push ebp
push 0
test eax, eax
jne 0x455630
push 1
jmp 0x455639
cmp dword [esp + 0x20], 5
ja 0x45562c
push 0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi + 0x3c]
push ebx
push edi
push edx
lea eax, [esp + 0x140]
push eax
call ecx
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0042fc9e
add esp, 0x130
ret 0x10

Function at 0x4556b0
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 8], 0
jge 0x4556c9
mov dword [0x490d6c], 0xfffffffd
xor eax, eax
pop esi
ret 0x10
cmp dword [esi + 0xc], 0xffffffff
jne 0x4556df
mov dword [0x490d6c], 0xfffffffa
xor eax, eax
pop esi
ret 0x10
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push 0
push eax
push ecx
mov ecx, esi
call fcn.004554a0
test eax, eax
je 0x4556c3
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0xc]
push edi
mov edi, dword [esp + 0x14]
push 0
lea edx, [esp + 0x10]
push edx
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x455728
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov dword [0x490d6c], eax
xor eax, eax
pop esi
ret 0x10
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x455745
test eax, eax
je 0x455745
pop edi
mov dword [0x490d6c], 0xfffffff7
xor eax, eax
pop esi
ret 0x10
pop edi
mov eax, 1
pop esi
ret 0x10

Function at 0x455750
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 8], 0
jge 0x455769
mov dword [0x490d6c], 0xfffffffd
xor eax, eax
pop esi
ret 0x10
cmp dword [esi + 0xc], 0xffffffff
jne 0x45577f
mov dword [0x490d6c], 0xfffffffa
xor eax, eax
pop esi
ret 0x10
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push 0
push eax
push ecx
mov ecx, esi
call fcn.004554a0
test eax, eax
je 0x455763
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0xc]
push edi
mov edi, dword [esp + 0x14]
push 0
lea edx, [esp + 0x10]
push edx
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4557c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov dword [0x490d6c], eax
xor eax, eax
pop esi
ret 0x10
cmp dword [esp + 0xc], edi
je 0x4557df
pop edi
mov dword [0x490d6c], 0xfffffff6
xor eax, eax
pop esi
ret 0x10
pop edi
mov eax, 1
pop esi
ret 0x10
Function at 0x455940
Capabilities:
Get disk information via ioctl

Disassembly:
push 0xffffffffffffffff
push 0x46ecf0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48b670]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x30], ebx
call fcn.004194d8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x455987
push 0x80004005
call fcn.00401f50
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x38]
push ecx
lea edx, [esp + 0x18]
push str.._s:
push edx
mov byte [esp + 0x3c], 1
call fcn.00402020
mov edi, dword [esp + 0x20]
add esp, 0xc
push ebx
push ebx
push 3
push ebx
push 3
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
or ebp, 0xffffffff
cmp esi, ebp
jne 0x455a36
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x490d6c], eax
lea eax, [edi - 0x10]
mov byte [esp + 0x30], bl
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4559fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov dword [esp + 0x30], ebp
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x455a20
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
push ebx
lea ecx, [esp + 0x1c]
push ecx
push 0xc
lea edx, [esp + 0x28]
push edx
push ebx
push ebx
push 0x2d1080
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp eax, ebx
jne 0x455abf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov dword [0x490d6c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [edi - 0x10]
mov byte [esp + 0x30], bl
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x455a86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov dword [esp + 0x30], ebp
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x455a20
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x20]
lea eax, [edi - 0x10]
mov byte [esp + 0x30], bl
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x455ae9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov dword [esp + 0x30], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x455b0a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x455b20
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x46ed18
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x48b670]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 8], 0
jge 0x455b67
mov dword [0x490d6c], 0xfffffffd
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
cmp dword [esi + 0xc], 0xffffffff
jne 0x455b8a
mov dword [0x490d6c], 0xfffffffa
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x1c]
sar eax, 2
test eax, eax
ja 0x455bb4
mov dword [0x490d6c], 0xfffffff8
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
call fcn.004194d8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x455bce
push 0x80004005
call fcn.00401f50
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 8], eax
mov ecx, dword [esi + 0x20]
sub ecx, dword [esi + 0x1c]
mov dword [esp + 0x14], 0
sar ecx, 2
test ecx, ecx
ja 0x455bf8
call fcn.00430a7b
mov edx, dword [esi + 0x1c]
mov eax, dword [edx]
push eax
lea ecx, [esp + 0xc]
push str._s:_
push ecx
call fcn.00402020
mov edx, dword [esp + 0x14]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
lea ecx, [esp + 8]
cmp eax, 2
jne 0x455c3f
call fcn.00401dc0
mov eax, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
mov dword [0x490d6c], 0
call fcn.00401dc0
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x4561a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46ee08
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x48b670]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 8], 0
jge 0x4561ed
mov dword [0x490d6c], 0xfffffffd
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
or ebx, 0xffffffff
cmp dword [esi + 0xc], ebx
je 0x456214
mov dword [0x490d6c], 0xfffffffe
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
call fcn.004194d8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45622e
push 0x80004005
call fcn.00401f50
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 8]
push ecx
lea edx, [esp + 0x14]
push str..PHYSICALDRIVE_d
push edx
mov dword [esp + 0x44], 0
call fcn.00402020
mov edi, dword [esp + 0x1c]
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0xc], eax
cmp eax, ebx
jne 0x4562b9
lea eax, [edi - 0x10]
mov dword [0x490d6c], 0xfffffffc
mov dword [esp + 0x38], ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x4562a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
push 0
lea ecx, [esp + 0x18]
push ecx
push 0x18
lea edx, [esp + 0x24]
push edx
push 0
push 0
push 0x70000
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x456310
mov dword [0x490d6c], 0xfffffffb
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
mov dword [esi + 0xc], ebx
call fcn.00401dc0
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov eax, edi
mul dword [esp + 0x28]
push 0
push ecx
push edx
push eax
call fcn.00433bd0
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push ecx
push edx
push eax
call fcn.00433bd0
mov dword [esi + 0x34], edx
lea edx, [esi + 0x10]
mov dword [esi + 0x30], eax
mov eax, dword [esi + 8]
push edx
push eax
mov dword [esi + 0x38], edi
call fcn.00455f30
add esp, 8
cmp eax, ebx
jne 0x456366
mov dword [0x490d6c], 0xfffffff9
mov ecx, dword [esi + 0xc]
push ecx
jmp 0x4562e9
lea ecx, [esp + 0x10]
call fcn.00401dc0
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x100015d0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
mov eax, dword [0x1012c650]
fld qword [eax]
push esi
fsub qword [0x100148e8]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
mov edi, dword [0x1012c654]
lea ecx, [esp + 0xc]
fabs
push ecx
fstp qword [esp + 0x14]
push 0x40
push 8
push edi
call esi
fld qword [esp + 0x10]
fmul qword [0x100148e0]
mov eax, dword [esp + 0xc]
lea edx, [esp + 0xc]
push edx
fadd qword [0x100148d8]
push eax
push 8
push edi
fstp qword [edi]
call esi
mov ecx, dword [0x1012c650]
fld qword [ecx]
mov edi, dword [0x1012c658]
fsub qword [0x100148e8]
lea edx, [esp + 0xc]
push edx
push 0x40
push 8
fabs
push edi
fstp qword [esp + 0x20]
call esi
fld qword [esp + 0x10]
fmul qword [0x100148e0]
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0xc]
push eax
fadd qword [0x100148d8]
push ecx
push 8
push edi
fstp qword [edi]
call esi
mov edx, dword [0x1012c650]
fld qword [edx]
mov edi, dword [0x1012c65c]
fsub qword [0x100148e8]
lea eax, [esp + 0xc]
push eax
push 0x40
push 4
fabs
push edi
fstp qword [esp + 0x20]
call esi
fld qword [esp + 0x10]
mov edx, dword [esp + 0xc]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
lea ecx, [esp + 0xc]
fmul qword [0x100148e0]
push ecx
push edx
push 4
fadd qword [0x100148d0]
push edi
fstp dword [edi]
call esi
mov eax, dword [0x1012c650]
fld qword [eax]
mov edi, dword [0x1012c660]
fsub qword [0x100148e8]
lea ecx, [esp + 0xc]
fabs
fstp qword [esp + 0x10]
push ecx
push 0x40
push 4
push edi
call esi
fld qword [esp + 0x10]
mov eax, dword [esp + 0xc]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
lea edx, [esp + 0xc]
fmul qword [0x100148e0]
push edx
push eax
push 4
fadd qword [0x100148d0]
push edi
fstp dword [edi]
call esi
mov ecx, dword [0x1012c650]
fld qword [ecx]
mov edi, dword [0x1012c664]
fsub qword [0x100148e8]
lea edx, [esp + 0xc]
push edx
push 0x40
push 4
fabs
push edi
fstp qword [esp + 0x20]
call esi
fld qword [esp + 0x10]
mov ecx, dword [esp + 0xc]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
lea eax, [esp + 0xc]
fmul qword [0x100148e0]
push eax
push ecx
push 4
fadd qword [0x100148c8]
push edi
fstp dword [edi]
call esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10001760
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
cmp dword [0x1012c668], 0
push esi
push edi
je 0x10001937
mov edi, dword [0x1012c644]
fld dword [0x1012c66c]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
fstp dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push 0x40
push 4
push edi
call esi
fld dword [esp + 0x10]
mov edx, dword [esp + 0xc]
fstp dword [edi]
lea ecx, [esp + 0xc]
push ecx
push edx
push 4
push edi
call esi
fld dword [0x1012c670]
mov edi, dword [0x1012c648]
fstp dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push 0x40
push 4
push edi
call esi
fld dword [esp + 0x10]
mov edx, dword [esp + 0xc]
fstp dword [edi]
lea ecx, [esp + 0xc]
push ecx
push edx
push 4
push edi
call esi
fld dword [0x1012c674]
mov edi, dword [0x1012c64c]
fstp dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push 0x40
push 4
push edi
call esi
fld dword [esp + 0x10]
mov edx, dword [esp + 0xc]
fstp dword [edi]
lea ecx, [esp + 0xc]
push ecx
push edx
push 4
push edi
call esi
fld qword [0x1012c678]
mov edi, dword [0x1012c650]
fstp qword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push 0x40
push 8
push edi
call esi
fld qword [esp + 0x10]
mov edx, dword [esp + 0xc]
fstp qword [edi]
lea ecx, [esp + 0xc]
push ecx
push edx
push 8
push edi
call esi
fld qword [0x1012c680]
mov edi, dword [0x1012c654]
fstp qword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push 0x40
push 8
push edi
call esi
fld qword [esp + 0x10]
mov edx, dword [esp + 0xc]
fstp qword [edi]
lea ecx, [esp + 0xc]
push ecx
push edx
push 8
push edi
call esi
fld qword [0x1012c688]
mov edi, dword [0x1012c658]
fstp qword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push 0x40
push 8
push edi
call esi
fld qword [esp + 0x10]
mov edx, dword [esp + 0xc]
fstp qword [edi]
lea ecx, [esp + 0xc]
push ecx
push edx
push 8
push edi
call esi
fld dword [0x1012c690]
mov edi, dword [0x1012c65c]
fstp dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push 0x40
push 4
push edi
call esi
fld dword [esp + 0x10]
mov edx, dword [esp + 0xc]
fstp dword [edi]
lea ecx, [esp + 0xc]
push ecx
push edx
push 4
push edi
call esi
fld dword [0x1012c694]
mov edi, dword [0x1012c660]
fstp dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push 0x40
push 4
push edi
call esi
fld dword [esp + 0x10]
mov edx, dword [esp + 0xc]
fstp dword [edi]
lea ecx, [esp + 0xc]
push ecx
push edx
push 4
push edi
call esi
fld dword [0x1012c698]
mov edi, dword [0x1012c664]
fstp dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push 0x40
push 4
push edi
call esi
fld dword [esp + 0x10]
mov edx, dword [esp + 0xc]
fstp dword [edi]
lea ecx, [esp + 0xc]
push ecx
push edx
push 4
push edi
call esi
push 1
push 3
call fcn.10002d10
push eax
mov eax, 0x597630
call eax
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret