joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403e69
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x40d01c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp byte [0x40d53c], bl
push esi
jne 0x403f4f
cmp eax, ebx
mov byte [0x40d53c], 1
je 0x403f4f
cmp word [eax], bx
je 0x403f4f
push 0xffffffffffffffff
push eax
push 0x21
mov esi, 0x40d4e0
push esi
call dword [sym.imp.MSVCR80.dll_wcsncpy_s]
push 0x63
lea eax, [ebp - 0x67]
push ebx
push eax
mov byte [ebp - 0x68], bl
call sub.MSVCR80.dll_memset
add esp, 0x1c
push ebx
push ebx
push 0x63
lea eax, [ebp - 0x68]
push eax
push 0xffffffffffffffff
push esi
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0xffffffffffffffff
lea eax, [ebp - 0x68]
push eax
push 0x21
push 0x40d4b8
call dword [sym.imp.MSVCR80.dll_strncpy_s]
add esp, 0x10
cmp byte [0x40d4b8], bl
je 0x403f4f
movzx eax, word [ebp + 0xc]
movzx ecx, word [ebp + 0x10]
imul eax, eax, 0x64
add eax, ecx
imul eax, eax, 0x2710
add eax, dword [ebp + 0x14]
mov dword [ebp - 0x6c], ebx
mov dword [0x40d524], eax
lea eax, [ebp - 0x6c]
push eax
push 4
push ebx
push 0x403860
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
cmp esi, ebx
je 0x403f4f
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x403f52
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004069a4
leave
ret
Function at 0x4040e0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x40d01c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
push esi
push esi
push 3
push esi
push 3
push esi
push str..PhysicalDrive0
mov dword [ebp - 0x414], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4041bc
push edi
push 0xc
lea eax, [ebp - 0x410]
push esi
push eax
call sub.MSVCR80.dll_memset
mov edi, 0x400
push edi
lea eax, [ebp - 0x404]
push esi
push eax
mov dword [ebp - 0x410], esi
mov dword [ebp - 0x40c], esi
mov dword [ebp - 0x418], esi
call sub.MSVCR80.dll_memset
add esp, 0x18
push esi
lea eax, [ebp - 0x418]
push eax
push edi
lea eax, [ebp - 0x404]
push eax
push 0xc
lea eax, [ebp - 0x410]
push eax
push 0x2d1400
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
pop edi
je 0x4041b5
mov esi, dword [ebp - 0x3f4]
lea esi, [ebp + esi - 0x404]
movsx eax, byte [esi]
push eax
call dword [sym.imp.MSVCR80.dll_isalnum]
test eax, eax
pop ecx
je 0x4041b5
mov ecx, dword [ebp - 0x414]
push esi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x4041be
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004069a4
leave
ret 4

Function at 0x4048a3
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
push esi
xor esi, esi
and dword [ebp - 4], esi
push edi
lea eax, [ebp - 8]
push eax
push esi
push 0
push 0
push 2
call sub.iphlpapi.dll_GetAdaptersAddresses
mov edi, eax
cmp edi, 0x6f
jne 0x4048ee
test esi, esi
je 0x4048d6
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
pop ecx
push dword [ebp - 8]
call fcn.00406998
mov esi, eax
test esi, esi
pop ecx
je 0x404926
inc dword [ebp - 4]
cmp dword [ebp - 4], 5
jl 0x4048b4
test edi, edi
jne 0x40491b
test esi, esi
je 0x404926
push dword [ebp + 8]
mov ecx, esi
call fcn.0040492e
mov edi, eax
test edi, edi
je 0x404910
push dword [ebp + 8]
call fcn.0040528a
mov edi, eax
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
pop ecx
mov eax, edi
jmp 0x404928
test esi, esi
je 0x404926
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
pop ecx
xor eax, eax
pop edi
pop esi
leave
ret 4

Function at 0x4058b5
Capabilities:
Hash data with md5

Disassembly:
push 0x5c
push 0
push esi
call sub.MSVCR80.dll_memset
and dword [esi + 0x10], 0
and dword [esi + 0x14], 0
and dword [esi + 0x58], 0
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
ret
Function at 0x406322
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push edi
lea edi, [esi + 0xc]
and dword [edi], 0
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp dword [esi + 4], 0
mov dword [esi], eax
je 0x406365
cmp dword [esi + 8], 0
je 0x406365
push ebx
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
je 0x406365
push edi
push 0x40
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, esi
pop edi
pop ebp
ret 4
Function at 0x98a68c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x98a6b3
call fcn.0092cbf8
mov dword [eax], esi
call fcn.0092cbe5
push 0x16
pop esi
mov dword [eax], esi
call fcn.0092d83a
mov eax, esi
jmp 0x98a708
test dword [ebp + 0xc], 0xfffffff9
jne 0x98a699
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x98a6e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0092cc0b
pop ecx
call fcn.0092cbe5
mov eax, dword [eax]
jmp 0x98a708
test al, 0x10
jne 0x98a706
test al, 1
je 0x98a706
test byte [ebp + 0xc], 2
je 0x98a706
call fcn.0092cbf8
mov dword [eax], 5
call fcn.0092cbe5
mov dword [eax], 0xd
jmp 0x98a6d7
xor eax, eax
pop esi
pop ebp
ret

Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
mov ecx, 0x76510d4d
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x49be62fe
nop
nop
test eax, eax
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x401630
Capabilities:
Check if file exists
Check os version
Get common file path
Get file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2ac
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], 0x9c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0xa0], 6
je 0x4016f9
push edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x1a7]
mov byte [ebp - 0x1a8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [ebp - 0x1a8]
push 0x104
push ecx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x2ab]
mov byte [ebp - 0x2ac], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [ebp - 0x1a8]
stosb byte es:[edi], al
push edx
lea eax, [ebp - 0x2ac]
push str._sSysTEM32_sysedit.exe
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp - 0xa0]
add esp, 0xc
cmp eax, 6
pop edi
jne 0x4016f9
lea ecx, [ebp - 0x2ac]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4016f9
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
nop
nop
nop
nop
nop
lea edx, [ebp - 8]
mov byte [ebp - 8], 0x48
push edx
mov byte [ebp - 7], 0x6f
mov byte [ebp - 6], 0x73
mov byte [ebp - 5], 0x74
mov byte [ebp - 4], 0
call fcn.004015e0
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10002560
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10093940]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xorps xmm0, xmm0
mov dword [ebp - 8], 0
mov edx, ecx
movq qword [ebp - 0x10], xmm0
push esi
lea ecx, [ebp - 0x10]
xor bl, bl
call fcn.10002440
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
cmp esi, eax
je 0x100025c0
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi]
call edi
test eax, eax
movzx ebx, bl
mov eax, 1
cmovne ebx, eax
add esi, 4
cmp esi, dword [ebp - 0x14]
jne 0x100025a1
mov esi, dword [ebp - 0x10]
pop edi
test esi, esi
je 0x100025f0
mov ecx, dword [ebp - 8]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x100025e6
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002602
push ecx
push esi
call fcn.10049b55
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.10049b12
mov esp, ebp
pop ebp
ret
call fcn.10057ede
int3
Function at 0x10002a60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x10002a7e
push 0
push 0
push 0
push 0x10002a50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc
Function at 0x10013b60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
mov eax, dword [0x10093940]
xor eax, esp
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x2c]
cmp dword [ecx + 0x74], 0
je 0x10013cd7
cmp dword [ecx + 0x44], 0
movsd xmm4, qword [ecx + 0x50]
movsd xmm5, qword [ecx + 0x58]
mov edx, dword [ecx + 0x2c]
push esi
mov esi, dword [ecx + 0x30]
movsd qword [esp + 0xc], xmm4
movsd qword [esp + 4], xmm5
mov dword [esp + 0x24], 0
jle 0x10013cd6
movsd xmm6, qword [esp + 0x34]
push edi
xor edi, edi
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [ecx + 0x48]
movsd xmm3, qword [edi + eax + 0x40]
movsd xmm1, qword [edi + eax + 0x38]
movaps xmm0, xmm3
mulsd xmm0, xmm5
movaps xmm2, xmm1
movsd xmm7, qword [edi + eax + 0x10]
mulsd xmm2, xmm4
mulsd xmm3, xmm4
movsd xmm4, qword [edi + eax]
subsd xmm2, xmm0
mulsd xmm1, xmm5
movsd xmm5, qword [edi + eax + 8]
mulsd xmm2, xmm6
addsd xmm3, xmm1
movsd qword [esp + 0x20], xmm2
xorps xmm2, xmmword [0x10076ae0]
mulsd xmm3, xmm6
movaps xmm0, xmm2
mulsd xmm0, qword [edx + 0x10]
movsd xmm6, qword [edi + eax + 0x18]
add edi, 0x60
movsd qword [esp + 0x18], xmm3
xorps xmm3, xmmword [0x10076ae0]
addsd xmm0, qword [edx + 0x48]
mulsd xmm7, qword [esp + 0x18]
mov eax, dword [esp + 0x28]
mulsd xmm6, qword [esp + 0x20]
inc eax
mov dword [esp + 0x28], eax
movsd qword [edx + 0x48], xmm0
movaps xmm0, xmm3
mulsd xmm0, qword [edx + 0x10]
mulsd xmm3, xmm4
subsd xmm7, xmm6
mulsd xmm2, xmm5
addsd xmm0, qword [edx + 0x50]
movsd xmm4, qword [esp + 0x10]
movsd xmm5, qword [esp + 8]
subsd xmm3, xmm2
movsd xmm6, qword [esp + 0x38]
movsd qword [edx + 0x50], xmm0
movsd xmm0, qword [esp + 0x20]
mulsd xmm3, qword [edx + 0x20]
addsd xmm3, qword [edx + 0x70]
movsd qword [edx + 0x70], xmm3
mulsd xmm0, qword [esi + 0x10]
mulsd xmm7, qword [esi + 0x20]
addsd xmm0, qword [esi + 0x48]
addsd xmm7, qword [esi + 0x70]
movsd qword [esi + 0x48], xmm0
movsd xmm0, qword [esp + 0x18]
mulsd xmm0, qword [esi + 0x10]
movsd qword [esi + 0x70], xmm7
addsd xmm0, qword [esi + 0x50]
movsd qword [esi + 0x50], xmm0
cmp eax, dword [ecx + 0x44]
jl 0x10013bc0
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.10049b12
add esp, 0x28
ret
Function at 0x100141a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x30
mov eax, dword [0x10093940]
xor eax, esp
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x34]
push esi
mov dword [esp + 0x2c], 0
cmp dword [ecx + 0x44], 0
mov esi, dword [ecx + 0x30]
mov edx, dword [ecx + 0x2c]
movsd xmm4, qword [ecx + 0x50]
movsd xmm2, qword [ecx + 0x58]
movsd xmm0, qword [esi + 0x38]
movsd xmm1, qword [esi + 0x40]
subsd xmm0, qword [edx + 0x38]
subsd xmm1, qword [edx + 0x40]
movsd qword [esp + 0x24], xmm4
movsd qword [esp + 0x1c], xmm2
movsd qword [esp + 0xc], xmm0
movsd qword [esp + 4], xmm1
jle 0x100143dc
movaps xmm1, xmm2
xorps xmm1, xmmword [0x10076ae0]
movsd qword [esp + 0x14], xmm1
movsd xmm1, qword [esp + 0x4c]
xorps xmm1, xmmword [0x10076ae0]
push edi
movsd qword [esp + 0x50], xmm1
xor edi, edi
nop word [eax + eax]
mov eax, dword [ecx + 0x48]
movsd xmm7, qword [eax + edi]
movsd xmm6, qword [eax + edi + 8]
movaps xmm3, xmm7
movsd xmm5, qword [eax + edi + 0x18]
movaps xmm0, xmm6
mulsd xmm0, xmm4
movsd xmm4, qword [eax + edi + 0x10]
mulsd xmm3, xmm2
movaps xmm1, xmm4
mulsd xmm1, xmm2
subsd xmm3, xmm0
movaps xmm0, xmm5
mulsd xmm0, qword [esp + 0x28]
subsd xmm1, xmm0
movaps xmm0, xmm3
mulsd xmm0, qword [edx + 0x20]
movaps xmm2, xmm1
mulsd xmm2, qword [esi + 0x20]
mulsd xmm0, xmm3
movaps xmm3, xmm7
mulsd xmm3, qword [esp + 0x28]
mulsd xmm2, xmm1
movaps xmm1, xmm4
addsd xmm0, qword [edx + 0x10]
mulsd xmm1, qword [esp + 0x28]
addsd xmm2, qword [esi + 0x10]
addsd xmm2, xmm0
movsd xmm0, qword [0x10076978]
divsd xmm0, xmm2
movsd qword [eax + edi + 0x20], xmm0
movaps xmm0, xmm6
mulsd xmm0, qword [esp + 0x18]
subsd xmm3, xmm0
movaps xmm0, xmm5
mulsd xmm0, qword [esp + 0x18]
subsd xmm1, xmm0
movaps xmm0, xmm3
mulsd xmm0, qword [edx + 0x20]
movaps xmm2, xmm1
mulsd xmm2, qword [esi + 0x20]
mulsd xmm0, xmm3
mulsd xmm2, xmm1
movaps xmm1, xmm4
addsd xmm0, qword [edx + 0x10]
subsd xmm1, xmm7
addsd xmm2, qword [esi + 0x10]
addsd xmm1, qword [esp + 0x10]
addsd xmm2, xmm0
movsd xmm0, qword [0x10076978]
mulsd xmm1, qword [esp + 0x28]
divsd xmm0, xmm2
xorps xmm2, xmm2
movsd qword [eax + edi + 0x28], xmm0
movaps xmm0, xmm5
subsd xmm0, xmm6
xorps xmm5, xmmword [0x10076ae0]
xorps xmm6, xmmword [0x10076ae0]
movsd qword [eax + edi + 0x48], xmm2
addsd xmm0, qword [esp + 8]
mulsd xmm0, qword [esp + 0x20]
addsd xmm1, xmm0
xorps xmm0, xmm0
addsd xmm1, qword [esp + 0x48]
minsd xmm0, xmm1
mulsd xmm0, qword [esp + 0x50]
divsd xmm0, qword [esp + 0x40]
movsd qword [eax + edi + 0x50], xmm0
movsd xmm1, qword [edx + 0x70]
movsd xmm0, qword [esi + 0x70]
mulsd xmm5, xmm0
mulsd xmm6, xmm1
mulsd xmm0, xmm4
addsd xmm5, qword [esi + 0x48]
addsd xmm6, qword [edx + 0x48]
mulsd xmm1, xmm7
addsd xmm0, qword [esi + 0x50]
subsd xmm5, xmm6
addsd xmm1, qword [edx + 0x50]
mulsd xmm5, qword [esp + 0x28]
subsd xmm0, xmm1
movsd xmm2, qword [esp + 0x20]
movsd xmm4, qword [esp + 0x28]
mulsd xmm0, xmm2
addsd xmm5, xmm0
mulsd xmm5, qword [ecx]
movsd qword [eax + edi + 0x30], xmm5
add edi, 0x60
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x30], eax
cmp eax, dword [ecx + 0x44]
jl 0x10014230
pop edi
mov ecx, dword [esp + 0x30]
pop esi
xor ecx, esp
call fcn.10049b12
add esp, 0x30
ret
Function at 0x10015130
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebp
mov ebp, dword [esp + 0x14]
push ebp
call sym.3DGlue10_32.dll_cpBodyGetType
add esp, 4
test eax, eax
jne 0x100152b9
push edi
mov edi, dword [esp + 0x14]
cmp dword [edi + 0x8c], eax
je 0x1001517c
push ebp
push dword [edi + 0x60]
call fcn.10015ba0
add esp, 8
test al, al
jne 0x100152b3
push ebp
push dword [edi + 0x60]
call fcn.10015ce0
add esp, 8
pop edi
pop ebp
add esp, 8
ret
push esi
push ebp
push dword [edi + 0x58]
call fcn.10015ce0
mov esi, dword [ebp + 0xd4]
add esp, 8
test esi, esi
je 0x100151c4
mov ecx, dword [edi + 0x6c]
push dword [esi + 0x9c]
push esi
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 0x14]
call eax
mov eax, dword [edi + 0x70]
push dword [esi + 0x9c]
push esi
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x10]
call eax
mov esi, dword [esi + 0x94]
add esp, 0x18
test esi, esi
jne 0x10015193
mov esi, dword [ebp + 0xd8]
test esi, esi
je 0x10015271
push ebx
mov eax, dword [esi + 0x2c]
cmp ebp, eax
je 0x100151e8
push eax
call sym.3DGlue10_32.dll_cpBodyGetType
add esp, 4
cmp eax, 2
jne 0x1001525b
push dword [esp + 0x1c]
mov edi, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
call fcn.1000dac0
lea ecx, [edi + edi*2]
mov dword [esi + 0x48], eax
shl ecx, 5
push ecx
push ebx
push eax
call fcn.1004b4b0
push edi
mov edi, dword [esp + 0x30]
push edi
call fcn.1000df70
mov eax, dword [esi + 0x28]
lea ecx, [esp + 0x28]
mov edx, dword [esi + 0x24]
push esi
push 0
push ecx
imul ecx, eax, 0xc75f71e1
mov dword [esp + 0x38], eax
imul eax, edx, 0xc75f71e1
mov dword [esp + 0x34], edx
xor ecx, eax
push ecx
push dword [edi + 0x80]
call fcn.10015eb0
mov eax, dword [edi + 0x48]
mov dword [esi + 0x70], eax
push esi
push dword [edi + 0x78]
call fcn.10015ce0
push ebx
call fcn.10057b94
add esp, 0x38
cmp dword [esi + 0x2c], ebp
jne 0x10015265
mov esi, dword [esi + 0x34]
jmp 0x10015268
mov esi, dword [esi + 0x3c]
test esi, esi
jne 0x100151d3
pop ebx
mov esi, dword [ebp + 0xdc]
test esi, esi
je 0x100152b2
nop dword [eax + eax]
mov eax, dword [esi + 8]
cmp ebp, eax
je 0x10015295
push eax
call sym.3DGlue10_32.dll_cpBodyGetType
add esp, 4
cmp eax, 2
jne 0x100152a1
push esi
push dword [edi + 0x74]
call fcn.10015ce0
add esp, 8
cmp dword [esi + 8], ebp
jne 0x100152ab
mov esi, dword [esi + 0x10]
jmp 0x100152ae
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x10015280
pop esi
pop edi
pop ebp
add esp, 8
ret
push str.Internal_error:_Attempting_to_activate_a_non_dynamic_body.
push 1
push 1
push 0x1f
push str.F:_vcpkg_2024.05.24_buildtreeschipmunk_srcmunk_7.0.3_f919bfe306.clean_srccpSpaceComponent.c
push str.cpBodyGetType_body___CP_BODY_TYPE_DYNAMIC
call sym.3DGlue10_32.dll_cpMessage
add esp, 0x18
call fcn.10057f2f
int3
Function at 0x100152e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebp
mov ebp, dword [esp + 0x14]
push ebp
call sym.3DGlue10_32.dll_cpBodyGetType
add esp, 4
test eax, eax
jne 0x10015420
push ebx
mov ebx, dword [esp + 0x14]
push esi
push ebp
push dword [ebx + 0x58]
call fcn.10015bd0
mov esi, dword [ebp + 0xd4]
add esp, 8
test esi, esi
je 0x10015346
mov ecx, dword [ebx + 0x70]
push dword [esi + 0x9c]
push esi
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 0x14]
call eax
mov eax, dword [ebx + 0x6c]
push dword [esi + 0x9c]
push esi
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x10]
call eax
mov esi, dword [esi + 0x94]
add esp, 0x18
test esi, esi
jne 0x10015315
mov esi, dword [ebp + 0xd8]
test esi, esi
je 0x100153dd
push edi
mov eax, dword [esi + 0x2c]
cmp ebp, eax
je 0x1001536a
push eax
call sym.3DGlue10_32.dll_cpBodyGetType
add esp, 4
cmp eax, 2
jne 0x100153c7
mov eax, dword [esi + 0x28]
lea ecx, [esp + 0x10]
mov edx, dword [esi + 0x24]
push ecx
imul ecx, eax, 0xc75f71e1
mov dword [esp + 0x18], eax
imul eax, edx, 0xc75f71e1
mov dword [esp + 0x14], edx
xor ecx, eax
push ecx
push dword [ebx + 0x80]
call fcn.10016070
push esi
push dword [ebx + 0x78]
call fcn.10015bd0
mov eax, dword [esi + 0x44]
lea ebx, [eax + eax*2]
shl ebx, 5
push ebx
push 1
call fcn.10054dd3
push ebx
push dword [esi + 0x48]
mov edi, eax
push edi
call fcn.1004b4b0
mov ebx, dword [esp + 0x44]
add esp, 0x28
mov dword [esi + 0x48], edi
cmp dword [esi + 0x2c], ebp
jne 0x100153d1
mov esi, dword [esi + 0x34]
jmp 0x100153d4
mov esi, dword [esi + 0x3c]
test esi, esi
jne 0x10015355
pop edi
mov esi, dword [ebp + 0xdc]
test esi, esi
je 0x10015419
mov eax, dword [esi + 8]
cmp ebp, eax
je 0x100153fc
push eax
call sym.3DGlue10_32.dll_cpBodyGetType
add esp, 4
cmp eax, 2
jne 0x10015408
push esi
push dword [ebx + 0x74]
call fcn.10015bd0
add esp, 8
cmp dword [esi + 8], ebp
jne 0x10015412
mov esi, dword [esi + 0x10]
jmp 0x10015415
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x100153e7
pop esi
pop ebx
pop ebp
add esp, 8
ret
push str.Internal_error:_Attempting_to_deactivate_a_non_dynamic_body.
push 1
push 1
push 0x55
push str.F:_vcpkg_2024.05.24_buildtreeschipmunk_srcmunk_7.0.3_f919bfe306.clean_srccpSpaceComponent.c
push str.cpBodyGetType_body___CP_BODY_TYPE_DYNAMIC
call sym.3DGlue10_32.dll_cpMessage
add esp, 0x18
call fcn.10057f2f
int3
Function at 0x1001a290
Capabilities:
Read file on windows

Disassembly:
mov edx, ecx
mov eax, dword [edx + 0x18]
test eax, eax
jne 0x1001a2de
cmp dword [edx + 0x1c], eax
jne 0x1001a2a1
ret 0xc
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
imul edi, dword [esp + 0x14]
test edi, edi
je 0x1001a2d1
push ebx
mov ebx, dword [esp + 0x10]
mov ecx, dword [edx + 0x24]
cmp ecx, dword [edx + 0x20]
jae 0x1001a2d0
mov eax, dword [edx + 0x1c]
mov cl, byte [ecx + eax]
mov byte [esi + ebx], cl
inc esi
inc dword [edx + 0x24]
cmp esi, edi
jb 0x1001a2b7
pop ebx
mov eax, esi
xor edx, edx
div dword [esp + 0x10]
pop edi
pop esi
ret 0xc
push eax
push dword [esp + 0x10]
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.10059dd5
add esp, 0x10
ret 0xc
Function at 0x10026cf0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x20
mov eax, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x2c]
movsx ecx, byte [eax + 1]
movsx eax, byte [eax]
shl ecx, 8
add ecx, eax
mov dword [esp + 0x18], ecx
test cl, 3
jne 0x10026ea0
mov eax, dword [edi + 0x18]
push ebx
push ebp
push esi
test eax, eax
jne 0x10026d2c
cmp dword [edi + 0x1c], eax
jne 0x10026d28
xor ebp, ebp
jmp 0x10026d42
test eax, eax
je 0x10026d3f
push eax
call fcn.1005a957
mov ecx, dword [esp + 0x28]
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x10026d46
mov ebp, dword [edi + 0x24]
mov dword [esp + 0x14], ebp
xor eax, eax
xorps xmm0, xmm0
cmp eax, ecx
movlpd qword [esp + 0x1c], xmm0
mov ecx, dword [edi + 0x18]
sbb eax, eax
movlpd qword [esp + 0x28], xmm0
and eax, 2
test ecx, ecx
jne 0x10026d79
cmp dword [edi + 0x1c], ecx
je 0x10026d85
mov ecx, dword [edi + 0x20]
mov dword [edi + 0x24], eax
cmp eax, ecx
jbe 0x10026d85
mov dword [edi + 0x24], ecx
jmp 0x10026d85
push 0
push eax
push ecx
call fcn.1005a233
add esp, 0xc
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], 0
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], eax
nop dword [eax]
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x10026de6
cmp dword [edi + 0x1c], eax
je 0x10026e4e
mov esi, dword [edi + 0x20]
mov edx, dword [edi + 0x24]
cmp edx, esi
jae 0x10026de0
mov ecx, dword [edi + 0x1c]
mov cl, byte [edx + ecx]
mov byte [esp + eax + 0x34], cl
inc eax
lea ecx, [edx + 1]
mov dword [edi + 0x24], ecx
cmp eax, 4
jb 0x10026dc3
mov esi, dword [esp + 0x10]
jmp 0x10026df8
push eax
push 4
lea eax, [esp + 0x3c]
push 1
push eax
call fcn.10059dd5
add esp, 0x10
cmp eax, 4
jne 0x10026e4e
movzx esi, byte [esp + 0x35]
xor ecx, ecx
movzx eax, byte [esp + 0x34]
shl esi, 8
cdq
add esi, eax
movzx eax, byte [esp + 0x36]
adc ecx, edx
add ebp, esi
movzx esi, byte [esp + 0x37]
adc dword [esp + 0x18], ecx
xor ecx, ecx
shl esi, 8
cdq
add esi, eax
adc ecx, edx
add dword [esp + 0x1c], esi
mov esi, dword [esp + 0x10]
adc esi, ecx
mov ecx, dword [esp + 0x24]
inc ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x24], ecx
cmp ecx, 0x3fff
jb 0x10026db0
mov eax, dword [edi + 0x18]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x14]
test eax, eax
jne 0x10026e67
cmp dword [edi + 0x1c], 0
je 0x10026e82
test eax, eax
je 0x10026e75
push 0
push ebp
push eax
call fcn.1005a233
add esp, 0xc
jmp 0x10026e82
mov eax, dword [edi + 0x20]
mov dword [edi + 0x24], ebp
cmp ebp, eax
jbe 0x10026e82
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0x18]
cmp eax, esi
pop esi
pop ebp
pop ebx
jl 0x10026ea0
jg 0x10026e99
mov eax, dword [esp + 0x10]
cmp dword [esp + 4], eax
jbe 0x10026ea0
mov al, 1
pop edi
add esp, 0x20
ret
xor al, al
pop edi
add esp, 0x20
ret