Function at 0x1000aa00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101aaa78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xd68
push esi
mov esi, ecx
lea ecx, [ebp - 0x2b0]
push edi
call sub.HgBaseConc.dll_public:_void___thiscall_CRebarPlacing::constructor_void_
mov eax, dword [esi + 0x48]
lea ecx, [ebp - 0x190]
mov dword [ebp - 4], 0
mov eax, dword [eax + 0x7bd630]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x2a8], eax
call sub.HgBaseConc.dll_public:_void___thiscall_CTwinVectorArray::constructor_void_
movsd xmm0, qword [ebx + 0x10]
lea ecx, [ebp - 0x190]
sub esp, 0x20
mov byte [ebp - 4], 1
mov eax, esp
movsd qword [eax], xmm0
movsd xmm0, qword [ebx + 0x18]
movsd qword [eax + 8], xmm0
movsd xmm0, qword [ebx + 0x20]
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [ebx + 0x28]
movsd qword [eax + 0x18], xmm0
call sub.HgBaseConc.dll_public:_void___thiscall_CTwinVectorArray::SetFromRect_class_CDRect_
mov esi, dword [ebx + 0xc]
lea eax, [ebp - 0x138]
push eax
mov ecx, esi
xor edi, edi
call sub.HgBaseConc.dll_public:_class_CDRect___thiscall_CTwinVectorArray::GetRect_void_
movsd xmm0, qword [ebx + 0x10]
mov ecx, 1
comisd xmm0, xmmword [ebp - 0x138]
mov eax, 0
movsd xmm0, qword [ebp - 0x128]
cmovae edi, ecx
comisd xmm0, xmmword [ebx + 0x20]
mov dword [ebp - 0x6c], edi
movsd xmm0, qword [ebp - 0x130]
cmovae eax, ecx
comisd xmm0, xmmword [ebx + 0x18]
mov dword [ebp - 0x70], eax
mov eax, 0
movsd xmm0, qword [ebx + 0x28]
cmovae eax, ecx
comisd xmm0, xmmword [ebp - 0x120]
mov dword [ebp - 0x74], eax
mov eax, 0
cmovae eax, ecx
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x44], eax
call sub.HgBaseConc.dll_public:_void___thiscall_CTwinVectorArray::constructor_void_
push esi
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call sym.AAbutPierDBDraw.dll_public:_class_CSimpleTypedArray_class_CTwinVector_____thiscall_CSimpleTypedArray_class_CTwinVector_::operator_class_CSimpleTypedArray_class_CTwinVector__const__
mov eax, dword [esi + 0x14]
movups xmm0, xmmword [esi + 0x30]
mov dword [ebp - 0x104], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x100], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0xfc], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0xf8], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0xf4], eax
mov eax, dword [esi + 0x28]
mov dword [ebp - 0xf0], eax
mov eax, dword [esi + 0x2c]
movups xmmword [ebp - 0xe8], xmm0
mov dword [ebp - 0xec], eax
movups xmm0, xmmword [esi + 0x40]
mov eax, dword [esi + 0x50]
mov dword [ebp - 0xc8], eax
lea eax, [esi + 0x54]
movups xmmword [ebp - 0xd8], xmm0
push eax
lea ecx, [ebp - 0xc4]
call dword [sym.imp.mfc140.dll_Ordinal_1526]
push 0
push 0
push 0
push 1
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x2b0]
call sub.HgBaseConc.dll_public:_void___thiscall_CRebarPlacing::GetTvArrayByCrossTvArrayArea_class_CTwinVectorArray___class_CTwinVectorArray___int__int__int__int_
push dword [ebx + 8]
lea ecx, [ebp - 0xd78]
call sub.Domyun.dll_public:_void___thiscall_CDomyun::constructor_class_CDomyun__
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 3
call sub.HgBaseDraw.dll_public:_void___thiscall_CHgBaseDrawStd::constructor_void_
push 0
push 0
push 0
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0xd78]
push eax
lea ecx, [ebp - 0xb8]
call sub.HgBaseDraw.dll_public_virtual:_void___thiscall_CHgBaseDrawStd::DrawTvArray_class_CDomyun___class_CTwinVectorArray___int__int__unsigned_int_
cmp dword [ebp - 0x110], 0
jle 0x1000b02c
cmp dword [ebx + 0x30], 0
je 0x1000b02c
mov ecx, dword [sym.AAbutPierDBDraw.dll_class_CARoadOptionStd__CAAbutPierDBStandard::m_pARoadOptionStd]
lea edx, [ebp - 0xd78]
push 0xffffffffffffffff
push 0
push 0x26
mov eax, dword [ecx]
push edx
call dword [eax + 0x18]
movsd xmm0, qword [ebp - 0x480]
lea ecx, [ebp - 0x9c]
mulsd xmm0, qword [0x101cc230]
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
movsd qword [ebp - 0xc0], xmm0
call sub.mfc140.dll_Ordinal_928
push 0x10
push edi
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 5
mov dword [ebp - 0x9c], vtable.CSimpleTypedArray_class_CDPoint_.0
call sub.mfc140.dll_Ordinal_13882
mov dword [ebp - 0x9c], vtable.CDPointArray.0
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 6
call sub.mfc140.dll_Ordinal_928
push 0x10
push edi
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 7
mov dword [ebp - 0x88], vtable.CSimpleTypedArray_class_CDPoint_.0
call sub.mfc140.dll_Ordinal_13882
mov dword [ebp - 0x88], vtable.CDPointArray.0
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x118]
call sub.HgBaseConc.dll_public:_void___thiscall_CTwinVectorArray::GetToPointArray_class_CDPointArray__
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x118]
call sub.HgBaseConc.dll_public:_void___thiscall_CTwinVectorArray::GetToPointArray_class_CDPointArray__
xor esi, esi
nop
cmp esi, 3
ja case.default.0x1000ace5
jmp dword [esi*4 + 0x1000b088]
mov edi, dword [ebp - 0x6c]
mov eax, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x1c], 1
jmp 0x1000ad5b
mov edi, dword [ebp - 0x70]
mov eax, 8
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x1c], 1
jmp 0x1000ad5b
mov edi, dword [ebp - 0x74]
mov eax, 0x20
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0x10
mov dword [ebp - 0x1c], 0
jmp 0x1000ad5b
mov edi, dword [ebp - 0x44]
mov eax, 0x40
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0x80
mov dword [ebp - 0x1c], 0
jmp 0x1000ad5b
mov eax, dword [ebp - 0x14]
test edi, edi
je 0x1000afd6
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x2b0]
call sub.HgBaseConc.dll_public:_class_CDPoint___thiscall_CRebarPlacing::GetXyEdgePoint_class_CDPointArray___unsigned_long_int_
push dword [ebp - 0x18]
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x2b0]
call sub.HgBaseConc.dll_public:_class_CDPoint___thiscall_CRebarPlacing::GetXyEdgePoint_class_CDPointArray___unsigned_long_int_
push 0x101cbe3c
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc140.dll_Ordinal_310]
movsd xmm0, qword [0x101cc190]
lea eax, [ebp - 0x20]
sub esp, 8
movsd qword [esp], xmm0
movsd xmm0, qword [ebp - 0x58]
push eax
sub esp, 0x10
movsd qword [esp + 8], xmm0
movsd xmm0, qword [ebp - 0x68]
movsd qword [esp], xmm0
call fcn.10002ee0
add esp, 0x1c
test eax, eax
je 0x1000aeb5
movsd xmm0, qword [0x101cc190]
lea eax, [ebp - 0x20]
sub esp, 8
movsd qword [esp], xmm0
movsd xmm0, qword [ebp - 0x50]
push eax
sub esp, 0x10
movsd qword [esp + 8], xmm0
movsd xmm0, qword [ebp - 0x60]
movsd qword [esp], xmm0
call fcn.10002ee0
add esp, 0x1c
test eax, eax
je 0x1000aeb5
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
cmp esi, 3
ja case.default.0x1000ae2b
jmp dword [esi*4 + 0x1000b098]
movsd xmm1, qword [ebx + 0x28]
movsd xmm2, qword [ebx + 0x10]
movsd qword [ebp - 0x30], xmm1
movsd xmm1, qword [ebx + 0x18]
movsd qword [ebp - 0x28], xmm2
movsd qword [ebp - 0x40], xmm1
jmp 0x1000aee4
movsd xmm1, qword [ebx + 0x28]
movsd xmm2, qword [ebx + 0x20]
movsd qword [ebp - 0x30], xmm1
movsd xmm1, qword [ebx + 0x18]
movsd qword [ebp - 0x28], xmm2
movsd qword [ebp - 0x40], xmm1
jmp 0x1000aee4
movsd xmm2, qword [ebx + 0x10]
movsd xmm1, qword [ebx + 0x18]
movsd qword [ebp - 0x28], xmm2
movsd xmm2, qword [ebx + 0x20]
movsd qword [ebp - 0x30], xmm1
movsd qword [ebp - 0x40], xmm1
jmp 0x1000aee4
movsd xmm2, qword [ebx + 0x10]
movsd xmm1, qword [ebx + 0x28]
movsd qword [ebp - 0x28], xmm2
movsd xmm2, qword [ebx + 0x20]
movsd qword [ebp - 0x30], xmm1
movsd qword [ebp - 0x40], xmm1
jmp 0x1000aee4
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
movsd xmm2, qword [ebp - 0x68]
movsd xmm1, qword [ebp - 0x60]
movsd qword [ebp - 0x28], xmm2
movsd xmm2, qword [ebp - 0x50]
movsd qword [ebp - 0x30], xmm1
movaps xmm1, xmm2
movsd qword [ebp - 0x40], xmm2
movsd xmm2, qword [ebp - 0x58]
subsd xmm1, qword [ebp - 0x30]
movsd qword [ebp - 0x38], xmm2
subsd xmm2, qword [ebp - 0x28]
movaps xmm0, xmm1
movsd qword [ebp - 0xb0], xmm1
mulsd xmm0, xmm1
movaps xmm1, xmm2
movsd qword [ebp - 0xa8], xmm2
mulsd xmm1, xmm2
addsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1000af24
sqrtsd xmm0, xmm0
jmp 0x1000af29
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
movsd xmm3, qword [ebp - 0xa8]
xorps xmm1, xmm1
movsd xmm4, qword [ebp - 0xb0]
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1000af4e
divsd xmm3, xmm0
divsd xmm4, xmm0
movsd xmm5, qword [ebp - 0xc0]
lea ecx, [ebp - 0xd78]
movaps xmm0, xmm5
movaps xmm2, xmm3
xorps xmm0, xmmword [0x101cc380]
movaps xmm1, xmm4
sub esp, 8
mulsd xmm2, xmm0
mulsd xmm1, xmm0
movsd xmm0, qword [0x101cc1f0]
addsd xmm2, qword [ebp - 0x28]
movsd qword [esp], xmm0
push dword [ebp - 0x1c]
addsd xmm1, qword [ebp - 0x30]
mulsd xmm4, xmm5
sub esp, 0x20
mulsd xmm3, xmm5
movsd qword [ebp - 0x68], xmm2
addsd xmm4, qword [ebp - 0x40]
movsd qword [ebp - 0x60], xmm1
addsd xmm3, qword [ebp - 0x38]
movsd qword [esp + 0x18], xmm4
movsd qword [ebp - 0x50], xmm4
movsd qword [esp + 0x10], xmm3
movsd qword [esp + 8], xmm1
movsd qword [ebp - 0x58], xmm3
movsd qword [esp], xmm2
call sub.Domyun.dll_public:_void___thiscall_CDomyun::CutLightning_double__double__double__double__int__double_
inc esi
cmp esi, 4
jl 0x1000ace0
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 9
mov dword [ebp - 0x88], vtable.CSimpleTypedArray_class_CDPoint_.0
call fcn.10014100
lea ecx, [ebp - 0x88]
call sub.mfc140.dll_Ordinal_1410
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x9c], vtable.CSimpleTypedArray_class_CDPoint_.0
call fcn.10014100
lea ecx, [ebp - 0x9c]
call sub.mfc140.dll_Ordinal_1410
mov byte [ebp - 4], 4
mov ecx, dword [ebx + 8]
lea eax, [ebp - 0xd78]
push eax
call sub.Domyun.dll_public:_void___thiscall_CDomyunBase::operator___class_CDomyunBase__
lea ecx, [ebp - 0xb8]
call sub.HgBaseDraw.dll_public_virtual:_void___thiscall_CHgBaseDrawStd::destructor_void_
lea ecx, [ebp - 0xd78]
call sub.Domyun.dll_public_virtual:_void___thiscall_CDomyun::destructor_void_
lea ecx, [ebp - 0x118]
call sub.HgBaseConc.dll_public_virtual:_void___thiscall_CTwinVectorArray::destructor_void_
lea ecx, [ebp - 0x190]
call sub.HgBaseConc.dll_public_virtual:_void___thiscall_CTwinVectorArray::destructor_void_
lea ecx, [ebp - 0x2b0]
call sub.HgBaseConc.dll_public_virtual:_void___thiscall_CRebarPlacing::destructor_void_
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x2c