Function at 0x4da510
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60c000
mov eax, dword fs:[0]
push eax
sub esp, 0x490
push ebx
push esi
push edi
lea edi, [ebp - 0x31c]
mov ecx, 0xc4
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x6d3c04]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x6e0049
call fcn.004afaed
mov eax, dword [0x6d4574]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add eax, 0x5ea0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x30], 0
jle 0x4da5a0
mov ecx, dword [ebp + 0x10]
call fcn.004b03ee
cmp dword [eax + 0x1c], 0
jne 0x4da5a0
mov ecx, dword [ebp + 0x10]
call fcn.004b03ee
cmp dword [eax + 0x20], 0
jne 0x4da5a0
mov eax, dword [ebp - 0x30]
sub eax, 1
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x474], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x478], eax
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 0x30], 0
je 0x4da5cf
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x47c], eax
jmp 0x4da5d9
mov dword [ebp - 0x47c], 0x615348
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x474]
push edx
mov eax, dword [ebp - 0x478]
push eax
mov ecx, dword [ebp - 0x47c]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push str._s:__s__d_vtx___d_indices___d_cmds
mov eax, dword [ebp + 0x10]
push eax
call fcn.004af6bf
add esp, 0x1c
mov byte [ebp - 0x39], al
call fcn.004af453
cmp dword [ebp + 0x10], eax
jne 0x4da69a
push ecx
movss xmm0, dword [0x620530]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
call fcn.004ae97c
add esp, 8
push str.CURRENTLY_APPENDING
push ecx
movss xmm0, dword [0x6132c8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x62045c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x62045c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x6132c8]
movss dword [esp], xmm0
lea ecx, [ebp - 0x43c]
call fcn.004af205
push eax
call fcn.004af4df
add esp, 8
movzx eax, byte [ebp - 0x39]
test eax, eax
je 0x4da695
call fcn.004afca0
jmp 0x4dade0
mov eax, dword [ebp + 8]
push eax
call fcn.004adf4f
add esp, 4
mov dword [ebp - 0x48], eax
cmp dword [ebp + 8], 0
je 0x4da711
push 0
call fcn.004adf22
add esp, 4
movzx eax, al
test eax, eax
je 0x4da711
cmp dword [ebp - 0x48], 0
je 0x4da711
push ecx
movss xmm0, dword [0x6132c8]
movss dword [esp], xmm0
push 0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push 0xff00ffff
mov eax, dword [ebp + 8]
add eax, 0x20
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x18
push ecx
lea edx, [ebp - 0x44c]
push edx
call fcn.004c9660
add esp, 0xc
push eax
mov eax, dword [ebp + 8]
add eax, 0x18
push eax
mov ecx, dword [ebp - 0x48]
call fcn.004aca96
movzx eax, byte [ebp - 0x39]
test eax, eax
jne 0x4da71e
jmp 0x4dade0
cmp dword [ebp + 8], 0
je 0x4da73f
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0xaf]
test ecx, ecx
jne 0x4da73f
push str.Warning:_owning_Window_is_inactive._This_DrawList_is_not_being_rendered_
call fcn.004b034e
add esp, 4
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x54], ecx
jmp 0x4da753
mov eax, dword [ebp - 0x54]
add eax, 0x28
mov dword [ebp - 0x54], eax
imul eax, dword [ebp - 0x30], 0x28
mov ecx, dword [ebp + 0x10]
add eax, dword [ecx + 8]
cmp dword [ebp - 0x54], eax
jae 0x4daddb
mov eax, dword [ebp - 0x54]
cmp dword [eax + 0x20], 0
je 0x4da78c
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x24]
push ecx
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0x20]
push eax
push str.Callback__p__user_data__p
call fcn.004ad73e
add esp, 0xc
jmp 0x4da74a
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x10]
push ecx
push 0x14
lea edx, [ebp - 0x70]
push edx
call fcn.004e48a0
add esp, 0xc
mov eax, dword [ebp - 0x54]
cvtss2sd xmm0, dword [eax + 0xc]
sub esp, 8
movsd qword [esp], xmm0
mov ecx, dword [ebp - 0x54]
cvtss2sd xmm0, dword [ecx + 8]
sub esp, 8
movsd qword [esp], xmm0
mov edx, dword [ebp - 0x54]
cvtss2sd xmm0, dword [edx + 4]
sub esp, 8
movsd qword [esp], xmm0
mov eax, dword [ebp - 0x54]
cvtss2sd xmm0, dword [eax]
sub esp, 8
movsd qword [esp], xmm0
lea ecx, [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0x1c]
xor edx, edx
mov ecx, 3
div ecx
push eax
push str.DrawCmd:_5d_tris__Tex__s__ClipRect___4.0f__4.0f____4.0f__4.0f_
push 0x12c
lea edx, [ebp - 0x1a4]
push edx
call fcn.004aea67
add esp, 0x34
lea eax, [ebp - 0x1a4]
push eax
push 0x61f194
mov ecx, dword [ebp + 0x10]
call fcn.004ad540
mov ecx, dword [ebp - 0x54]
sub ecx, eax
mov eax, ecx
cdq
mov ecx, 0x28
idiv ecx
push eax
call fcn.004af6bf
add esp, 0xc
mov byte [ebp - 0x1ad], al
push 0
call fcn.004adf22
add esp, 4
movzx eax, al
test eax, eax
je 0x4da890
mov eax, dword [ebp - 0x24]
movzx ecx, byte [eax + 5]
test ecx, ecx
jne 0x4da866
mov eax, dword [ebp - 0x24]
movzx ecx, byte [eax + 6]
test ecx, ecx
je 0x4da890
cmp dword [ebp - 0x48], 0
je 0x4da890
mov eax, dword [ebp - 0x24]
movzx ecx, byte [eax + 6]
push ecx
mov edx, dword [ebp - 0x24]
movzx eax, byte [edx + 5]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x48]
push eax
call fcn.004af3d1
add esp, 0x14
movzx eax, byte [ebp - 0x1ad]
test eax, eax
jne 0x4da8a0
jmp 0x4da74a
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0xc], 0
jle 0x4da8b7
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x474], edx
jmp 0x4da8c1
mov dword [ebp - 0x474], 0
mov eax, dword [ebp - 0x474]
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x54]
imul ecx, dword [eax + 0x14], 0x14
mov edx, dword [ebp + 0x10]
add ecx, dword [edx + 0x20]
mov dword [ebp - 0x1c8], ecx
xorps xmm0, xmm0
movss dword [ebp - 0x1d4], xmm0
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x1e0], ecx
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x18]
mov edx, dword [ebp - 0x54]
add ecx, dword [edx + 0x1c]
cmp dword [ebp - 0x1e0], ecx
jae 0x4daa17
push fcn.004ac811
push 3
push 8
lea eax, [ebp - 0x200]
push eax
call fcn.004ac6b3
mov dword [ebp - 0x20c], 0
jmp 0x4da94e
mov eax, dword [ebp - 0x20c]
add eax, 1
mov dword [ebp - 0x20c], eax
mov ecx, dword [ebp - 0x1e0]
add ecx, 1
mov dword [ebp - 0x1e0], ecx
cmp dword [ebp - 0x20c], 3
jge 0x4da9bd
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x474], eax
cmp dword [ebp - 0x1bc], 0
je 0x4da984
mov ecx, dword [ebp - 0x1e0]
mov edx, dword [ebp - 0x1bc]
movzx eax, word [edx + ecx*2]
mov dword [ebp - 0x478], eax
jmp 0x4da990
mov ecx, dword [ebp - 0x1e0]
mov dword [ebp - 0x478], ecx
imul edx, dword [ebp - 0x478], 0x14
mov eax, dword [ebp - 0x474]
mov ecx, dword [eax + edx]
mov edx, dword [eax + edx + 4]
mov eax, dword [ebp - 0x20c]
mov dword [ebp + eax*8 - 0x200], ecx
mov dword [ebp + eax*8 - 0x1fc], edx
jmp 0x4da930
mov eax, 8
shl eax, 1
lea ecx, [ebp + eax - 0x200]
push ecx
mov edx, 8
shl edx, 0
lea eax, [ebp + edx - 0x200]
push eax
mov ecx, 8
imul edx, ecx, 0
lea eax, [ebp + edx - 0x200]
push eax
call fcn.004ae977
add esp, 0xc
fstp dword [ebp - 0x474]
movss xmm0, dword [ebp - 0x474]
addss xmm0, dword [ebp - 0x1d4]
movss dword [ebp - 0x1d4], xmm0
jmp 0x4da8f7
cvtss2sd xmm0, dword [ebp - 0x1d4]
sub esp, 8
movsd qword [esp], xmm0
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x1c]
push edx
push str.Mesh:_ElemCount:__d__VtxOffset:__d__IdxOffset:__d__Area:__0.f_px
push 0x12c
lea eax, [ebp - 0x1a4]
push eax
call fcn.004aea67
add esp, 0x20
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0x45c]
call fcn.004ae4ae
push eax
push 0
push 0
lea eax, [ebp - 0x1a4]
push eax
call fcn.004ae733
add esp, 0x10
push 0
call fcn.004adf22
add esp, 4
movzx eax, al
test eax, eax
je 0x4daab5
cmp dword [ebp - 0x48], 0
je 0x4daab5
push 0
push 1
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x48]
push edx
call fcn.004af3d1
add esp, 0x14
lea ecx, [ebp - 0x230]
call fcn.004adb12
mov dword [ebp - 4], 0
push ecx
movss xmm0, dword [0x620530]
movss dword [esp], xmm0
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x1c]
xor edx, edx
mov ecx, 3
div ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.004af868
lea ecx, [ebp - 0x230]
call fcn.004acd66
movzx eax, al
test eax, eax
je 0x4dadbf
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x23c], eax
imul eax, dword [ebp - 0x22c], 3
mov ecx, dword [ebp - 0x54]
add eax, dword [ecx + 0x18]
mov dword [ebp - 0x248], eax
jmp 0x4dab36
mov eax, dword [ebp - 0x23c]
add eax, 1
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x23c]
cmp eax, dword [ebp - 0x228]
jge 0x4dadba
lea eax, [ebp - 0x1a4]
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x260], eax
push fcn.004ac811
push 3
push 8
lea eax, [ebp - 0x280]
push eax
call fcn.004ac6b3
mov dword [ebp - 0x28c], 0
jmp 0x4dab9c
mov eax, dword [ebp - 0x28c]
add eax, 1
mov dword [ebp - 0x28c], eax
mov ecx, dword [ebp - 0x248]
add ecx, 1
mov dword [ebp - 0x248], ecx
cmp dword [ebp - 0x28c], 3
jge 0x4dad20
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x474], eax
cmp dword [ebp - 0x1bc], 0
je 0x4dabd6
mov ecx, dword [ebp - 0x248]
mov edx, dword [ebp - 0x1bc]
movzx eax, word [edx + ecx*2]
mov dword [ebp - 0x478], eax
jmp 0x4dabe2
mov ecx, dword [ebp - 0x248]
mov dword [ebp - 0x478], ecx
imul edx, dword [ebp - 0x478], 0x14
add edx, dword [ebp - 0x474]
mov dword [ebp - 0x298], edx
mov eax, dword [ebp - 0x298]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x28c]
mov dword [ebp + eax*8 - 0x280], ecx
mov dword [ebp + eax*8 - 0x27c], edx
mov eax, dword [ebp - 0x298]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x474], ecx
mov edx, dword [ebp - 0x298]
cvtss2sd xmm0, dword [edx + 0xc]
movsd qword [ebp - 0x47c], xmm0
mov eax, dword [ebp - 0x298]
cvtss2sd xmm0, dword [eax + 8]
movsd qword [ebp - 0x484], xmm0
mov ecx, dword [ebp - 0x298]
cvtss2sd xmm0, dword [ecx + 4]
movsd qword [ebp - 0x48c], xmm0
mov edx, dword [ebp - 0x298]
cvtss2sd xmm0, dword [edx]
movsd qword [ebp - 0x494], xmm0
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x498], eax
cmp dword [ebp - 0x28c], 0
jne 0x4dac8f
mov dword [ebp - 0x49c], str.Vert:
jmp 0x4dac99
mov dword [ebp - 0x49c], 0x61f1f4
mov ecx, dword [ebp - 0x260]
sub ecx, dword [ebp - 0x254]
mov edx, dword [ebp - 0x474]
push edx
sub esp, 8
movsd xmm0, qword [ebp - 0x47c]
movsd qword [esp], xmm0
sub esp, 8
movsd xmm0, qword [ebp - 0x484]
movsd qword [esp], xmm0
sub esp, 8
movsd xmm0, qword [ebp - 0x48c]
movsd qword [esp], xmm0
sub esp, 8
movsd xmm0, qword [ebp - 0x494]
movsd qword [esp], xmm0
mov eax, dword [ebp - 0x498]
push eax
mov edx, dword [ebp - 0x49c]
push edx
push str._s__04d:_pos___8.2f__8.2f___uv___.6f__.6f___col__08X_n
push ecx
mov eax, dword [ebp - 0x254]
push eax
call fcn.004aea67
add esp, 0x38
add eax, dword [ebp - 0x254]
mov dword [ebp - 0x254], eax
jmp 0x4dab7e
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0x46c]
call fcn.004ae4ae
push eax
push 0
push 0
lea eax, [ebp - 0x1a4]
push eax
call fcn.004ae733
add esp, 0x10
cmp dword [ebp - 0x48], 0
je 0x4dadb5
push 0
call fcn.004adf22
add esp, 4
movzx eax, al
test eax, eax
je 0x4dadb5
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x2a4], ecx
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x24]
and ecx, 0xfffffffe
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x24], ecx
push ecx
movss xmm0, dword [0x6132c8]
movss dword [esp], xmm0
push 1
push 0xff00ffff
push 3
lea eax, [ebp - 0x280]
push eax
mov ecx, dword [ebp - 0x48]
call fcn.004ad1d0
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x2a4]
mov dword [eax + 0x24], ecx
jmp 0x4dab27
jmp 0x4daaf0
call fcn.004afca0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.004aeaee
jmp 0x4da74a
call fcn.004afca0
push edx
mov ecx, ebp
push eax
lea edx, [0x4dae1c]
call fcn.004ae2ce
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ad99b
add esp, 0x49c
cmp ebp, esp
call fcn.004ae9bd
mov esp, ebp
pop ebp
ret