Function at 0x4d9560
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x609b70
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 [0x64aa40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x6573ab
call fcn.004aeb11
nop
mov eax, dword [0x64afac]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add eax, 0x5ec0
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 0x4d95f1
mov ecx, dword [ebp + 0x10]
call fcn.004af1ce
cmp dword [eax + 0x1c], 0
jne 0x4d95f1
mov ecx, dword [ebp + 0x10]
call fcn.004af1ce
cmp dword [eax + 0x20], 0
jne 0x4d95f1
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 + 0x8c], 0
je 0x4d9626
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x8c]
mov dword [ebp - 0x47c], eax
jmp 0x4d9630
mov dword [ebp - 0x47c], 0x610dd4
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.004ae7fb
add esp, 0x1c
mov byte [ebp - 0x39], al
call fcn.004ae5fd
cmp dword [ebp + 0x10], eax
jne 0x4d96f2
push ecx
movss xmm0, dword [0x61c1b4]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
call fcn.004adda6
add esp, 8
push str.CURRENTLY_APPENDING
push ecx
movss xmm0, dword [0x61c118]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x61c0d8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x61c0d8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x61c118]
movss dword [esp], xmm0
lea ecx, [ebp - 0x43c]
call fcn.004ae440
push eax
call fcn.004ae64d
add esp, 8
movzx eax, byte [ebp - 0x39]
test eax, eax
je 0x4d96ed
call fcn.004aec4c
nop
jmp 0x4d9e40
mov eax, dword [ebp + 8]
push eax
call fcn.004ad6c1
add esp, 4
mov dword [ebp - 0x48], eax
cmp dword [ebp + 8], 0
je 0x4d976a
push 0
call fcn.004ad699
add esp, 4
movzx eax, al
test eax, eax
je 0x4d976a
cmp dword [ebp - 0x48], 0
je 0x4d976a
push ecx
movss xmm0, dword [0x61c118]
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.004c8050
add esp, 0xc
push eax
mov eax, dword [ebp + 8]
add eax, 0x18
push eax
mov ecx, dword [ebp - 0x48]
call fcn.004ac780
nop
movzx eax, byte [ebp - 0x39]
test eax, eax
jne 0x4d9777
jmp 0x4d9e40
cmp dword [ebp + 8], 0
je 0x4d9798
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0xbb]
test ecx, ecx
jne 0x4d9798
push str.Warning:_owning_Window_is_inactive._This_DrawList_is_not_being_rendered_
call fcn.004af16f
add esp, 4
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x54], ecx
jmp 0x4d97ac
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 0x4d9e3a
mov eax, dword [ebp - 0x54]
cmp dword [eax + 0x20], 0
je 0x4d97e5
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.004ad0ef
add esp, 0xc
jmp 0x4d97a3
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x10]
push ecx
push 0x14
lea edx, [ebp - 0x70]
push edx
call fcn.004e3e10
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.004ade41
add esp, 0x34
lea eax, [ebp - 0x1a4]
push eax
push 0x60ebb8
mov ecx, dword [ebp + 0x10]
call fcn.004acf8c
mov ecx, dword [ebp - 0x54]
sub ecx, eax
mov eax, ecx
cdq
mov ecx, 0x28
idiv ecx
push eax
call fcn.004ae7fb
add esp, 0xc
mov byte [ebp - 0x1ad], al
push 0
call fcn.004ad699
add esp, 4
movzx eax, al
test eax, eax
je 0x4d98e9
mov eax, dword [ebp - 0x24]
movzx ecx, byte [eax + 5]
test ecx, ecx
jne 0x4d98bf
mov eax, dword [ebp - 0x24]
movzx ecx, byte [eax + 6]
test ecx, ecx
je 0x4d98e9
cmp dword [ebp - 0x48], 0
je 0x4d98e9
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.004ae59e
add esp, 0x14
movzx eax, byte [ebp - 0x1ad]
test eax, eax
jne 0x4d98f9
jmp 0x4d97a3
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0xc], 0
jle 0x4d9910
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x474], edx
jmp 0x4d991a
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 0x4d9a71
push fcn.004ac5c3
push 3
push 8
lea eax, [ebp - 0x200]
push eax
call fcn.004ac4ec
nop
mov dword [ebp - 0x20c], 0
jmp 0x4d99a8
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 0x4d9a17
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x474], eax
cmp dword [ebp - 0x1bc], 0
je 0x4d99de
mov ecx, dword [ebp - 0x1e0]
mov edx, dword [ebp - 0x1bc]
movzx eax, word [edx + ecx*2]
mov dword [ebp - 0x478], eax
jmp 0x4d99ea
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 0x4d998a
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.004adda1
add esp, 0xc
fstp dword [ebp - 0x474]
movss xmm0, dword [ebp - 0x474]
addss xmm0, dword [ebp - 0x1d4]
movss dword [ebp - 0x1d4], xmm0
jmp 0x4d9950
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.004ade41
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.004ada18
push eax
push 0
push 0
lea eax, [ebp - 0x1a4]
push eax
call fcn.004adbf3
add esp, 0x10
push 0
call fcn.004ad699
add esp, 4
movzx eax, al
test eax, eax
je 0x4d9b0f
cmp dword [ebp - 0x48], 0
je 0x4d9b0f
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.004ae59e
add esp, 0x14
lea ecx, [ebp - 0x230]
call fcn.004ad3ab
mov dword [ebp - 4], 0
push ecx
movss xmm0, dword [0x61c1b4]
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.004ae936
nop
lea ecx, [ebp - 0x230]
call fcn.004ac997
movzx eax, al
test eax, eax
je 0x4d9e1c
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 0x4d9b91
mov eax, dword [ebp - 0x23c]
add eax, 1
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x23c]
cmp eax, dword [ebp - 0x228]
jge 0x4d9e17
lea eax, [ebp - 0x1a4]
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x260], eax
push fcn.004ac5c3
push 3
push 8
lea eax, [ebp - 0x280]
push eax
call fcn.004ac4ec
nop
mov dword [ebp - 0x28c], 0
jmp 0x4d9bf8
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 0x4d9d7c
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x474], eax
cmp dword [ebp - 0x1bc], 0
je 0x4d9c32
mov ecx, dword [ebp - 0x248]
mov edx, dword [ebp - 0x1bc]
movzx eax, word [edx + ecx*2]
mov dword [ebp - 0x478], eax
jmp 0x4d9c3e
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 0x4d9ceb
mov dword [ebp - 0x49c], str.Vert:
jmp 0x4d9cf5
mov dword [ebp - 0x49c], str.
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.004ade41
add esp, 0x38
add eax, dword [ebp - 0x254]
mov dword [ebp - 0x254], eax
jmp 0x4d9bda
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0x46c]
call fcn.004ada18
push eax
push 0
push 0
lea eax, [ebp - 0x1a4]
push eax
call fcn.004adbf3
add esp, 0x10
cmp dword [ebp - 0x48], 0
je 0x4d9e12
push 0
call fcn.004ad699
add esp, 4
movzx eax, al
test eax, eax
je 0x4d9e12
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 [0x61c118]
movss dword [esp], xmm0
push 1
push 0xff00ffff
push 3
lea eax, [ebp - 0x280]
push eax
mov ecx, dword [ebp - 0x48]
call fcn.004acd11
nop
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x2a4]
mov dword [eax + 0x24], ecx
jmp 0x4d9b82
jmp 0x4d9b4b
call fcn.004aec4c
nop
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.004adea5
nop
jmp 0x4d97a3
call fcn.004aec4c
nop
push edx
mov ecx, ebp
push eax
lea edx, [0x4d9e7c]
call fcn.004ad8e7
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.004ad28e
add esp, 0x49c
cmp ebp, esp
call fcn.004addce
mov esp, ebp
pop ebp
ret