Function at 0x412f00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46a83c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
push esi
mov dword [ebp - 0x10], ecx
push edi
mov dword [ecx + 4], 0xffffffff
mov dword [ecx], vtable.SearchData::CSDBuilding.0
xor eax, eax
mov dword [ebp - 4], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 7
mov word [ecx + 8], ax
xor edx, edx
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], 7
mov word [ecx + 0x20], dx
lea edi, [ecx + 0x38]
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], 7
mov word [edi], ax
lea esi, [ecx + 0x58]
mov byte [ebp - 4], 3
mov dword [ebp - 0x14], esi
push 0x50
mov dword [esi], edx
mov dword [esi + 4], edx
call fcn.0043feef
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov esi, dword [ebp + 8]
mov ecx, esi
mov byte [ebp - 4], 4
mov eax, dword [esi]
mov eax, dword [eax + 8]
call eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x44]
mov eax, dword [esi]
push ecx
mov ecx, esi
mov eax, dword [eax + 0xc]
call eax
mov esi, dword [ebp - 0x10]
add esi, 8
mov dword [ebp - 0x14], eax
cmp esi, eax
je 0x41302d
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x412ffd
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x412ff0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413390
mov eax, edx
push ecx
push eax
call fcn.0043febe
mov eax, dword [ebp - 0x14]
add esp, 8
mov dword [esi + 0x10], 0
xor ecx, ecx
mov dword [esi + 0x14], 7
mov word [esi], cx
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x413067
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41305d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413390
push edx
push ecx
call fcn.0043febe
add esp, 8
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x44]
lea eax, [esi + 0x12c]
push eax
call fcn.004069a0
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x44]
add ecx, 0x20
mov byte [ebp - 4], 5
cmp ecx, edx
je 0x41309d
cmp dword [ebp - 0x30], 8
mov eax, edx
push dword [ebp - 0x34]
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.00406bc0
mov edx, dword [ebp - 0x30]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x4130db
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4130d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413395
push edx
push ecx
call fcn.0043febe
add esp, 8
mov eax, dword [esi]
lea ecx, [ebp - 0x44]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x10]
call eax
mov esi, eax
cmp edi, esi
je 0x413157
mov ecx, dword [edi + 0x14]
cmp ecx, 8
jb 0x413127
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x41311d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41339a
mov eax, edx
push ecx
push eax
call fcn.0043febe
add esp, 8
mov dword [edi + 0x10], 0
xor eax, eax
mov dword [edi + 0x14], 7
mov word [edi], ax
movups xmm0, xmmword [esi]
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x413191
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x413187
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41339a
push edx
push ecx
call fcn.0043febe
add esp, 8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x178]
mov dword [edx + 0x50], eax
mov al, byte [ecx + 0x19c]
mov byte [edx + 0x54], al
mov edi, dword [ecx + 0x1a4]
mov esi, dword [edi]
cmp esi, edi
je 0x413377
nop dword [eax]
mov ecx, dword [edx + 0x58]
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x38]
mov eax, dword [eax + 0x12c]
push ecx
lea ecx, [edx + 0x58]
mov dword [ebp + 8], eax
call fcn.00412b10
mov eax, dword [ebp - 0x30]
mov edx, dword [esi + 0x14]
cmp byte [eax + 0xd], 0
jne 0x413202
mov ecx, dword [edx + 0x12c]
cmp ecx, dword [eax + 0x10]
jl 0x413202
cmp eax, dword [ebp - 0x14]
jne 0x413327
push edx
lea ecx, [ebp - 0x80]
call fcn.00412b60
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ecx + 0x58]
call fcn.00412b10
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x14], edx
cmp byte [edx + 0xd], 0
jne 0x41323a
mov eax, dword [ebp + 8]
cmp eax, dword [edx + 0x10]
jge 0x4132d3
mov ecx, dword [ebp - 0x10]
add ecx, 0x58
cmp dword [ecx + 4], 0x3333333
je 0x41338b
mov eax, dword [ecx]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], ecx
push 0x50
mov byte [ebp - 4], 7
mov dword [ebp - 0x1c], 0
call fcn.0043feef
mov ecx, dword [ebp + 8]
add esp, 4
mov byte [ebp - 4], 6
mov dword [ebp - 0x1c], 0
mov dword [eax + 0x10], ecx
xor ecx, ecx
mov word [eax + 0x1c], cx
mov dword [eax + 0x44], ecx
mov word [eax + 0x34], cx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x18], 0xffffffff
mov dword [eax + 0x14], vtable.SearchData::CSDFloor.0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 7
mov dword [eax + 0x48], 7
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x10]
push eax
push dword [ebp - 0x28]
mov word [eax + 0xc], 0
push dword [ebp - 0x2c]
lea ecx, [ecx + 0x58]
call fcn.00407d10
mov edx, eax
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
mov dword [edx + 0x18], ecx
lea ecx, [edx + 0x1c]
cmp ecx, eax
je 0x4132f7
cmp dword [ebp - 0x64], 8
push dword [ebp - 0x68]
cmovae eax, dword [ebp - 0x78]
push eax
call fcn.00406bc0
mov edx, dword [ebp - 0x14]
lea ecx, [edx + 0x34]
lea eax, [ebp - 0x60]
cmp ecx, eax
je 0x413315
cmp dword [ebp - 0x4c], 8
push dword [ebp - 0x50]
cmovae eax, dword [ebp - 0x60]
push eax
call fcn.00406bc0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x80]
mov dword [edx + 0x4c], eax
mov byte [ebp - 4], 4
call fcn.00412dc0
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x413354
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x413350
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x413350
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x413340
mov esi, eax
jmp 0x41336c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x41336c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x413360
mov edx, dword [ebp - 0x10]
cmp esi, edi
jne 0x4131c0
mov ecx, dword [ebp - 0xc]
mov eax, edx
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.00407580
call fcn.004453c3
call fcn.004453c3
call fcn.004453c3
int3