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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f0723
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x615cbc]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor eax, eax
mov byte [esi + 4], 1
mov dword [esi + 8], eax
xorps xmm0, xmm0
mov dword [esi], vtable.CGeom_Axis3.0
mov byte [esi + 0x14], 1
mov dword [esi + 0x18], eax
mov dword [esi + 0x10], vtable.CGeom_Point.0
movsd qword [esi + 0x30], xmm0
movsd qword [esi + 0x28], xmm0
movsd qword [esi + 0x20], xmm0
mov dword [esp + 0x38], eax
mov dword [esi + 0x1c], 0xa
mov eax, dword [ebp + 8]
movsd qword [esi + 0x48], xmm0
movsd qword [esi + 0x40], xmm0
movsd qword [esi + 0x38], xmm0
movsd qword [esi + 0x60], xmm0
movsd qword [esi + 0x58], xmm0
movsd qword [esi + 0x50], xmm0
movsd qword [esi + 0x78], xmm0
movsd qword [esi + 0x70], xmm0
movsd qword [esi + 0x68], xmm0
mov cl, byte [eax + 4]
lea edi, [esi + 0x38]
mov byte [esi + 0x14], cl
mov edx, dword [eax + 8]
lea ebx, [esi + 0x50]
mov dword [esi + 0x18], edx
mov ecx, dword [eax + 0xc]
mov dword [esi + 0x1c], ecx
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x20], xmm0
movq xmm0, qword [eax + 0x18]
add eax, 0x10
movq qword [esi + 0x28], xmm0
movq xmm0, qword [eax + 0x10]
mov eax, dword [ebp + 0xc]
movq qword [esi + 0x30], xmm0
movq xmm0, qword [eax]
movq qword [edi], xmm0
movq xmm0, qword [eax + 8]
movq qword [edi + 8], xmm0
movq xmm0, qword [eax + 0x10]
mov ecx, edi
mov byte [esp + 0x38], 1
movq qword [edi + 0x10], xmm0
call fcn.004a8b50
fstp st(0)
mov eax, dword [ebp + 0x10]
movq xmm0, qword [eax]
movq qword [ebx], xmm0
movq xmm0, qword [eax + 8]
movq qword [ebx + 8], xmm0
movq xmm0, qword [eax + 0x10]
mov ecx, ebx
movq qword [ebx + 0x10], xmm0
call fcn.004a8b50
fstp st(0)
push ebx
lea edx, [esp + 0x18]
push edx
mov ecx, edi
call fcn.004a8ae0
movq xmm0, qword [esp + 0x14]
movq qword [esi + 0x68], xmm0
movq xmm0, qword [esp + 0x1c]
movq qword [esi + 0x70], xmm0
movq xmm0, qword [esp + 0x24]
movq qword [esi + 0x78], xmm0
mov dword [esi + 0xc], 0xd
mov byte [esi + 4], 1
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4ac6b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5f0753
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x615cbc]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
call fcn.004d9a70
xorps xmm0, xmm0
lea esi, [edi + 0x48]
mov dword [edi], vtable.CGeom2d_Line.0
mov dword [esi], vtable.CGeom2d_Axis1.0
xor ebx, ebx
mov dword [esi + 8], ebx
mov al, 1
mov byte [esi + 4], al
mov byte [esi + 0x14], al
mov dword [esi + 0x18], ebx
mov dword [esi + 0x10], vtable.CGeom2d_Point.0
movsd qword [esi + 0x28], xmm0
movsd qword [esi + 0x20], xmm0
mov dword [esi + 0x1c], 0xa
movsd qword [esi + 0x38], xmm0
movsd qword [esi + 0x30], xmm0
mov dword [esp + 0x5c], ebx
mov dword [esi + 0xc], 0xb
mov ecx, dword [esp + 0x64]
mov byte [esp + 0x5c], al
mov eax, dword [esp + 0x68]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00522bd0
push eax
mov ecx, esi
call fcn.004ac650
xorps xmm0, xmm0
mov dword [edi + 0xc], 0xc
movsd qword [edi + 0x28], xmm0
movsd qword [edi + 0x20], xmm0
mov byte [edi + 0x41], bl
mov eax, edi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x50
ret 8

Function at 0x4ac780
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5f0783
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x615cbc]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
call fcn.004d9a70
xorps xmm0, xmm0
lea esi, [edi + 0x48]
mov dword [edi], vtable.CGeom2d_Line.0
mov dword [esi], vtable.CGeom2d_Axis1.0
xor eax, eax
mov dword [esi + 8], eax
mov cl, 1
mov byte [esi + 4], cl
mov byte [esi + 0x14], cl
mov dword [esi + 0x18], eax
mov dword [esi + 0x10], vtable.CGeom2d_Point.0
movsd qword [esi + 0x28], xmm0
movsd qword [esi + 0x20], xmm0
mov dword [esi + 0x1c], 0xa
movsd qword [esi + 0x38], xmm0
movsd qword [esi + 0x30], xmm0
mov dword [esp + 0x70], eax
mov dword [esi + 0xc], 0xb
mov ebp, dword [esp + 0x7c]
mov ebx, dword [esp + 0x78]
push ebp
mov byte [esp + 0x74], cl
push ebx
lea ecx, [esp + 0x30]
call fcn.00522cb0
push eax
mov ecx, esi
call fcn.004ac650
xorps xmm0, xmm0
mov dword [edi + 0xc], 0xc
movsd qword [edi + 0x10], xmm0
movsd xmm0, qword [ebp + 0x10]
subsd xmm0, qword [ebx + 0x10]
movsd qword [esp + 0x18], xmm0
movsd xmm0, qword [ebp + 0x18]
subsd xmm0, qword [ebx + 0x18]
lea ecx, [esp + 0x18]
movsd qword [esp + 0x20], xmm0
call fcn.004a7500
fst qword [edi + 0x18]
fld qword [0x5ff758]
fcompi st(1)
fstp st(0)
jbe 0x4ac86b
mov byte [edi + 4], 0
xorps xmm0, xmm0
movsd qword [edi + 0x28], xmm0
movsd qword [edi + 0x20], xmm0
mov byte [edi + 0x41], 0
mov eax, edi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 8
Function at 0x4d1870
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x5f1e88
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x615cbc]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [esp + 0x40]
mov ebp, dword [eax + 0x54]
xor eax, eax
cmp ebp, 2
setg al
push 8
add eax, 2
push eax
push ebp
call fcn.004cbf70
cmp byte [ebx + 4], 0
jne 0x4d18c1
xor al, al
jmp 0x4d194e
xor esi, esi
push ebp
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], esi
call fcn.00412b00
cmp ebp, esi
mov dword [esp + 0x38], esi
jle 0x4d191b
mov edi, dword [esp + 0x14]
lea esp, [esp]
push esi
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x48]
call fcn.004a4d50
movq xmm0, qword [eax]
movq qword [edi], xmm0
movq xmm0, qword [eax + 8]
movq qword [edi + 8], xmm0
inc esi
add edi, 0x10
cmp esi, ebp
jl 0x4d18f0
xor esi, esi
mov edi, dword [esp + 0x14]
push edi
mov ecx, ebx
call fcn.004cf080
push esi
mov ecx, ebx
call fcn.004cc430
call fcn.004cba10
mov edx, dword [esp + 0x40]
fld qword [edx + 0x28]
fstp qword [ebx + 0x28]
cmp edi, esi
je 0x4d194c
push edi
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4
Function at 0x4dd470
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x5f2520
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x615cbc]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
mov ebx, 0xa
push 0x32
lea ecx, [esp + 0x20]
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebx
call fcn.00412b00
push 0x32
lea ecx, [esp + 0x2c]
mov dword [esp + 0x84], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebx
call fcn.00412880
fld qword [ebp + 0x18]
sub esp, 0x18
fstp qword [esp + 0x10]
lea eax, [esp + 0x40]
fld qword [ebp + 0x10]
lea ecx, [esp + 0x34]
fstp qword [esp + 8]
mov byte [esp + 0x98], 1
fld qword [ebp + 8]
fstp qword [esp]
push eax
push ecx
mov ecx, esi
call fcn.004dc0a0
cmp eax, 1
xorps xmm0, xmm0
movsd qword [esp + 0x14], xmm0
jle 0x4dd568
mov esi, dword [esp + 0x1c]
lea ebx, [eax - 1]
jmp 0x4dd524
xorps xmm0, xmm0
movsd qword [esp + 0x3c], xmm0
movsd qword [esp + 0x34], xmm0
movsd xmm0, qword [esi + 0x10]
subsd xmm0, qword [esi]
movsd qword [esp + 0x34], xmm0
movsd xmm0, qword [esi + 0x18]
subsd xmm0, qword [esi + 8]
lea ecx, [esp + 0x34]
movsd qword [esp + 0x3c], xmm0
call fcn.004a7500
fadd qword [esp + 0x14]
add esi, 0x10
sub ebx, 1
fstp qword [esp + 0x14]
jne 0x4dd521
mov eax, dword [esp + 0x28]
mov esi, dword [sym.imp.MSVCR90.dll_free]
cmp eax, edi
je 0x4dd57c
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x4dd58a
push eax
call esi
add esp, 4
fld qword [esp + 0x14]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4edcf0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5f2c96
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x615cbc]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
call fcn.004f0a10
xorps xmm0, xmm0
lea esi, [edi + 0x90]
mov dword [edi], vtable.CGeom_Line.0
mov dword [esi], vtable.CGeom_Axis1.0
xor ebx, ebx
mov dword [esi + 8], ebx
mov al, 1
mov byte [esi + 4], al
mov byte [esi + 0x14], al
mov dword [esi + 0x18], ebx
mov dword [esi + 0x10], vtable.CGeom_Point.0
movsd qword [esi + 0x30], xmm0
movsd qword [esi + 0x28], xmm0
movsd qword [esi + 0x20], xmm0
mov dword [esi + 0x1c], 0xa
movsd qword [esi + 0x48], xmm0
movsd qword [esi + 0x40], xmm0
movsd qword [esi + 0x38], xmm0
mov dword [esp + 0x6c], ebx
mov dword [esi + 0xc], 0xb
mov ecx, dword [esp + 0x74]
mov byte [esp + 0x6c], al
mov eax, dword [esp + 0x78]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00569ef0
push eax
mov ecx, esi
call fcn.00444db0
xorps xmm0, xmm0
mov dword [edi + 0xc], 0xc
movsd qword [edi + 0x28], xmm0
movsd qword [edi + 0x20], xmm0
mov byte [edi + 0x39], bl
mov eax, edi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x60
ret 8
Function at 0x4eddd0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f2cd6
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x615cbc]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
call fcn.004f0a10
xorps xmm0, xmm0
lea esi, [edi + 0x90]
mov dword [edi], vtable.CGeom_Line.0
mov dword [esi], vtable.CGeom_Axis1.0
xor eax, eax
mov dword [esi + 8], eax
mov cl, 1
mov byte [esi + 4], cl
mov byte [esi + 0x14], cl
mov dword [esi + 0x18], eax
mov dword [esi + 0x10], vtable.CGeom_Point.0
movsd qword [esi + 0x30], xmm0
movsd qword [esi + 0x28], xmm0
movsd qword [esi + 0x20], xmm0
mov dword [esi + 0x1c], 0xa
movsd qword [esi + 0x48], xmm0
movsd qword [esi + 0x40], xmm0
movsd qword [esi + 0x38], xmm0
mov dword [esp + 0x88], eax
mov dword [esi + 0xc], 0xb
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ebx
mov byte [esp + 0x8c], cl
push eax
lea ecx, [esp + 0x34]
call fcn.00569ff0
push eax
mov ecx, esi
call fcn.00444db0
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
mov dword [edi + 0xc], 0xc
movsd qword [edi + 0x10], xmm0
movsd xmm0, qword [ebx + 0x10]
subsd xmm0, qword [eax + 0x10]
movsd qword [esp + 0x14], xmm0
movsd xmm0, qword [ebx + 0x18]
subsd xmm0, qword [eax + 0x18]
movsd qword [esp + 0x1c], xmm0
movsd xmm0, qword [ebx + 0x20]
subsd xmm0, qword [eax + 0x20]
lea ecx, [esp + 0x14]
movsd qword [esp + 0x24], xmm0
call fcn.004a88b0
fst qword [edi + 0x18]
fld qword [0x5ff758]
fcompi st(1)
fstp st(0)
jbe 0x4edee7
mov byte [edi + 4], 0
xorps xmm0, xmm0
movsd qword [edi + 0x28], xmm0
movsd qword [edi + 0x20], xmm0
mov byte [edi + 0x39], 0
mov eax, edi
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4f75e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x5f3270
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x615cbc]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
xor esi, esi
mov ebx, 1
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], esi
fld qword [ebp + 0x1c]
sub esp, 0x18
fstp qword [esp + 0x10]
lea eax, [esp + 0x2c]
fld qword [ebp + 0x14]
lea edx, [esp + 0x38]
fstp qword [esp + 8]
mov byte [esp + 0x98], bl
fld qword [ebp + 0xc]
fstp qword [esp]
push eax
push edx
call fcn.004f2c30
cmp eax, ebx
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [esp + 0x10], eax
movsd qword [edi], xmm0
jle 0x4f76e9
lea esi, [ebx + 0x17]
lea ebx, [eax - 1]
jmp 0x4f7683
xorps xmm0, xmm0
mov eax, dword [esp + 0x20]
movsd qword [esp + 0x3c], xmm0
movsd qword [esp + 0x34], xmm0
movsd qword [esp + 0x2c], xmm0
movsd xmm0, qword [esi + eax]
subsd xmm0, qword [esi + eax - 0x18]
movsd qword [esp + 0x2c], xmm0
movsd xmm0, qword [esi + eax + 8]
subsd xmm0, qword [esi + eax - 0x10]
movsd qword [esp + 0x34], xmm0
movsd xmm0, qword [esi + eax + 0x10]
subsd xmm0, qword [esi + eax - 8]
lea ecx, [esp + 0x2c]
movsd qword [esp + 0x3c], xmm0
call fcn.004a88b0
fadd qword [edi]
add esi, 0x18
sub ebx, 1
fstp qword [edi]
jne 0x4f7680
mov eax, dword [esp + 0x10]
xor esi, esi
mov ecx, dword [esp + 0x14]
mov edi, dword [sym.imp.MSVCR90.dll_free]
cmp ecx, esi
je 0x4f7701
push ecx
call edi
mov eax, dword [esp + 0x14]
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], esi
cmp ecx, esi
je 0x4f771b
push ecx
call edi
mov eax, dword [esp + 0x14]
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x513430
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f3c4e
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x615cbc]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call fcn.004f0a10
xor eax, eax
mov dword [esi], vtable.CGeom_CNurbs.0
mov ecx, 1
mov dword [esp + 0x14], eax
mov dword [esi + 0xa0], ecx
mov dword [esi + 0xa4], eax
mov dword [esi + 0x9c], eax
mov dword [esi + 0xac], ecx
mov dword [esi + 0xb0], eax
mov dword [esi + 0xa8], eax
mov dword [esi + 0xb8], ecx
mov dword [esi + 0xbc], eax
mov dword [esi + 0xb4], eax
mov dword [esi + 0xc4], ecx
mov dword [esi + 0xc8], eax
mov dword [esi + 0xc0], eax
mov dword [esi + 0xd0], ecx
mov dword [esi + 0xd4], eax
mov dword [esi + 0xcc], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
mov ecx, esi
mov byte [esp + 0x30], 5
call fcn.00509de0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x1c
Function at 0x522bd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f49d3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x615cbc]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov cl, 1
xor eax, eax
mov byte [esi + 4], cl
mov dword [esi + 8], eax
xorps xmm0, xmm0
mov dword [esi], vtable.CGeom2d_Axis1.0
mov byte [esi + 0x14], cl
mov dword [esi + 0x18], eax
mov dword [esi + 0x10], vtable.CGeom2d_Point.0
movsd qword [esi + 0x28], xmm0
movsd qword [esi + 0x20], xmm0
mov dword [esp + 0x14], eax
mov dword [esi + 0x1c], 0xa
mov eax, dword [esp + 0x1c]
movsd qword [esi + 0x38], xmm0
movsd qword [esi + 0x30], xmm0
mov dl, byte [eax + 4]
mov byte [esi + 0x14], dl
mov edx, dword [eax + 8]
mov byte [esp + 0x14], cl
lea ecx, [esi + 0x30]
mov dword [esi + 0x18], edx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x1c], edx
movq xmm0, qword [eax + 0x10]
add eax, 0x10
movq qword [esi + 0x20], xmm0
movq xmm0, qword [eax + 8]
mov eax, dword [esp + 0x20]
movq qword [esi + 0x28], xmm0
movq xmm0, qword [eax]
movq qword [ecx], xmm0
movq xmm0, qword [eax + 8]
movq qword [ecx + 8], xmm0
call fcn.004a7bc0
fstp st(0)
mov dword [esi + 0xc], 0xb
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 8

Function at 0x522cb0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5f6083
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x615cbc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov cl, 1
xor eax, eax
mov byte [esi + 4], cl
mov dword [esi + 8], eax
xorps xmm0, xmm0
mov dword [esi], vtable.CGeom2d_Axis1.0
mov byte [esi + 0x14], cl
mov dword [esi + 0x18], eax
mov dword [esi + 0x10], vtable.CGeom2d_Point.0
movsd qword [esi + 0x28], xmm0
movsd qword [esi + 0x20], xmm0
mov dword [esp + 0x18], eax
mov dword [esi + 0x1c], 0xa
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
movsd qword [esi + 0x38], xmm0
movsd qword [esi + 0x30], xmm0
movq xmm2, qword [edi + 0x10]
movq xmm0, qword [eax + 0x10]
movq xmm3, qword [edi + 0x18]
movq xmm1, qword [eax + 0x18]
mov byte [esp + 0x18], cl
lea ecx, [esi + 0x30]
subsd xmm0, xmm2
subsd xmm1, xmm3
movq qword [ecx], xmm0
movq qword [ecx + 8], xmm1
call fcn.004a7bc0
fstp st(0)
mov al, byte [edi + 4]
mov byte [esi + 0x14], al
mov ecx, dword [edi + 8]
mov dword [esi + 0x18], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0x1c], edx
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x20], xmm0
movq xmm0, qword [edi + 0x18]
movq qword [esi + 0x28], xmm0
mov dword [esi + 0xc], 0xb
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 8
Function at 0x52ab60
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f4b59
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x615cbc]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
call fcn.004d9a70
xorps xmm0, xmm0
lea esi, [edi + 0x50]
mov dword [edi], vtable.CGeom2d_Circle.0
mov dword [esi], vtable.CGeom2d_Axis2.0
xor eax, eax
mov dword [esi + 8], eax
mov bl, 1
mov byte [esi + 4], bl
mov byte [esi + 0x14], bl
mov dword [esi + 0x18], eax
mov dword [esi + 0x10], vtable.CGeom2d_Point.0
movsd qword [esi + 0x28], xmm0
movsd qword [esi + 0x20], xmm0
mov dword [esi + 0x1c], 0xa
movsd qword [esi + 0x38], xmm0
movsd qword [esi + 0x30], xmm0
movsd qword [esi + 0x48], xmm0
movsd qword [esi + 0x40], xmm0
mov dword [esp + 0x90], eax
mov dword [esi + 0xc], 0xd
mov edx, dword [ebp + 0x10]
movsd xmm1, qword [0x5fb270]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
movsd qword [esp + 0x34], xmm0
movsd qword [esp + 0x1c], xmm0
movsd xmm0, qword [ebp + 8]
push edx
lea ecx, [esp + 0x40]
mov byte [esp + 0x9c], bl
movsd qword [esp + 0x30], xmm1
movsd qword [esp + 0x28], xmm1
movsd qword [edi + 0x48], xmm0
call fcn.0056a540
push eax
mov ecx, esi
call fcn.00446540
xorps xmm0, xmm0
mov dword [edi + 0xc], 0xe
mov byte [edi + 0x40], bl
movsd qword [edi + 0x10], xmm0
movsd xmm1, qword [0x616648]
movsd qword [edi + 0x20], xmm1
movsd xmm1, qword [0x616648]
movsd qword [edi + 0x18], xmm1
movsd qword [edi + 0x28], xmm0
mov byte [edi + 0x41], bl
mov dword [edi + 0x44], 0x20
mov eax, edi
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x52aca0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5f7233
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x615cbc]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
call fcn.004d9a70
xorps xmm0, xmm0
lea esi, [edi + 0x50]
mov dword [edi], vtable.CGeom2d_Circle.0
mov dword [esi], vtable.CGeom2d_Axis2.0
xor eax, eax
mov dword [esi + 8], eax
mov bl, 1
mov byte [esi + 4], bl
mov byte [esi + 0x14], bl
mov dword [esi + 0x18], eax
mov dword [esi + 0x10], vtable.CGeom2d_Point.0
movsd qword [esi + 0x28], xmm0
movsd qword [esi + 0x20], xmm0
mov dword [esi + 0x1c], 0xa
movsd qword [esi + 0x38], xmm0
movsd qword [esi + 0x30], xmm0
movsd qword [esi + 0x48], xmm0
movsd qword [esi + 0x40], xmm0
mov dword [esp + 0x6c], eax
mov dword [esi + 0xc], 0xd
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
movsd xmm0, qword [esp + 0x74]
push eax
push ecx
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], bl
movsd qword [edi + 0x48], xmm0
call fcn.0056a540
push eax
mov ecx, esi
call fcn.00446540
xorps xmm0, xmm0
mov dword [edi + 0xc], 0xe
mov byte [edi + 0x40], bl
movsd qword [edi + 0x10], xmm0
movsd xmm1, qword [0x616648]
movsd qword [edi + 0x20], xmm1
movsd xmm1, qword [0x616648]
movsd qword [edi + 0x18], xmm1
movsd qword [edi + 0x28], xmm0
mov byte [edi + 0x41], bl
mov dword [edi + 0x44], 0x20
mov eax, edi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x60
ret 0x14
Function at 0x52c350
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f4bd3
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push esi
push edi
mov eax, dword [0x615cbc]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x38], edi
call fcn.004d9a70
xorps xmm0, xmm0
lea esi, [edi + 0x50]
mov dword [edi], vtable.CGeom2d_Circle.0
mov byte [esi + 4], 1
mov dword [esi], vtable.CGeom2d_Axis2.0
xor eax, eax
mov dword [esi + 8], eax
mov byte [esi + 0x14], 1
mov dword [esi + 0x18], eax
mov dword [esi + 0x10], vtable.CGeom2d_Point.0
movsd qword [esi + 0x28], xmm0
movsd qword [esi + 0x20], xmm0
mov dword [esi + 0x1c], 0xa
movsd qword [esi + 0x38], xmm0
movsd qword [esi + 0x30], xmm0
movsd qword [esi + 0x48], xmm0
movsd qword [esi + 0x40], xmm0
mov dword [esp + 0xa8], eax
mov dword [esi + 0xc], 0xd
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
movsd xmm1, qword [ebx + 0x10]
subsd xmm1, qword [eax + 0x10]
movsd qword [esp + 0x14], xmm1
movsd xmm1, qword [ebx + 0x18]
subsd xmm1, qword [eax + 0x18]
movsd qword [esp + 0x1c], xmm1
movsd xmm1, qword [ebp + 0x18]
ucomisd xmm1, xmm0
lahf
mov byte [esp + 0xa8], 1
lea ecx, [esp + 0x14]
test ah, 0x44
jp 0x52c434
call fcn.004a7bc0
fstp qword [edi + 0x48]
jmp 0x52c440
movsd qword [edi + 0x48], xmm1
call fcn.004a7bc0
fstp st(0)
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
call fcn.004a7a60
cmp byte [ebp + 0x14], 0
jne 0x52c47c
movsd xmm1, qword [esp + 0x24]
movsd xmm0, qword [0x5fc740]
xorpd xmm1, xmm0
movsd qword [esp + 0x24], xmm1
movsd xmm1, qword [esp + 0x2c]
xorpd xmm1, xmm0
movsd qword [esp + 0x2c], xmm1
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x58]
call fcn.0056a540
push eax
mov ecx, esi
call fcn.00446540
mov esi, dword [ebp + 0x10]
mov dword [edi + 0xc], 0xe
movsd xmm0, qword [ebx + 0x10]
subsd xmm0, qword [esi + 0x10]
add esi, 0x10
movsd qword [esp + 0x3c], xmm0
movsd xmm0, qword [ebx + 0x18]
subsd xmm0, qword [esi + 8]
lea ecx, [esp + 0x3c]
movsd qword [esp + 0x44], xmm0
call fcn.004a7500
fld qword [0x5ff758]
fcompi st(1)
fstp st(0)
jbe 0x52c4e4
mov eax, 1
jmp 0x52c4e6
xor eax, eax
xorps xmm0, xmm0
mov byte [edi + 0x40], al
movsd qword [edi + 0x10], xmm0
movsd xmm0, qword [0x616648]
movsd qword [edi + 0x18], xmm0
test al, al
jne 0x52c52d
push esi
mov ecx, edi
call fcn.0052b940
fst qword [edi + 0x18]
fmul qword [edi + 0x48]
fld qword [0x5ff758]
fcompi st(1)
fstp st(0)
jbe 0x52c52d
movsd xmm0, qword [0x616648]
movsd qword [edi + 0x18], xmm0
mov byte [edi + 0x40], 1
movsd xmm0, qword [0x616648]
movsd qword [edi + 0x20], xmm0
xorps xmm0, xmm0
movsd qword [edi + 0x28], xmm0
movsd xmm0, qword [edi + 0x18]
subsd xmm0, qword [edi + 0x10]
mulsd xmm0, qword [0x5fd530]
mov byte [edi + 0x41], 1
divsd xmm0, qword [0x5ff700]
cvttsd2si eax, xmm0
cmp eax, 3
jge 0x52c56e
mov eax, 3
mov dword [edi + 0x44], eax
mov eax, edi
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18