Function at 0x526280
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b9906
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x6a12a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 4], 0
jne 0x5262bd
xor eax, eax
jmp 0x526ae5
cmp dword [edi + 8], 0
je 0x5262b6
cmp dword [edi + 0x100], 0
lea ebx, [edi + 0x34]
mov esi, dword [0x5bf07c]
je 0x52632c
mov ecx, dword [edi + 0x10]
mov esi, ebx
add ecx, dword [ebp + 8]
mov edx, dword [edi + 0xc]
add edx, dword [ebp + 0xc]
lea eax, [esi + 1]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 1
mov dword [ebp - 0xd4], eax
mov al, byte [esi]
inc esi
test al, al
jne 0x526300
mov eax, dword [edi + 0x104]
sub esi, dword [ebp - 0xd4]
add esi, 2
mov dword [eax + 0x42], ecx
mov dword [eax + 0x46], edx
mov ecx, dword [edi + 0x104]
call fcn.004b3fc0
jmp 0x52654c
cmp byte [ebx], 0
je 0x52658a
cmp word [edi + 0xf2], 1
jne 0x526516
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x526348
sub ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xd4], eax
call esi
cmp eax, dword [edi + 0xf6]
jb 0x5263d4
mov eax, dword [edi + 0xfa]
mov eax, dword [eax*4 + 0x60335c]
mov dword [edi + 0x7a], eax
call esi
add eax, 0x12c
mov dword [edi + 0xf6], eax
mov al, byte [edi + 0xfe]
test al, al
jne 0x526393
inc dword [edi + 0xfa]
jmp 0x526399
dec dword [edi + 0xfa]
mov ecx, dword [edi + 0xfa]
cmp ecx, 0xe
jl 0x5263bb
test al, al
jne 0x5263bb
mov byte [edi + 0xfe], 1
mov dword [edi + 0xfa], 0xd
jmp 0x5263d4
test ecx, ecx
jg 0x5263d4
cmp al, 1
jne 0x5263d4
mov byte [edi + 0xfe], 0
mov dword [edi + 0xfa], 0
mov ecx, dword [ebp + 8]
add ecx, dword [edi + 0x10]
mov eax, dword [edi + 0xc]
mov esi, dword [ebp + 0xc]
add eax, esi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x40], ecx
mov ecx, ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x2c], eax
lea edx, [ecx + 1]
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 1
mov al, byte [ecx]
inc ecx
test al, al
jne 0x526437
sub ecx, edx
push ecx
push ebx
push 9
mov ecx, 0x5fb850
call fcn.004ad170
inc dword [ebp - 0x14]
mov ecx, 0x5fb850
inc dword [ebp - 0x18]
inc dword [ebp - 0x20]
cdq
sub eax, edx
sar eax, 1
neg eax
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0x7a]
or eax, 0xff000000
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0xd4]
push ebx
push 9
call fcn.004ad210
mov eax, dword [edi + 0x7a]
mov ecx, 0x5fb850
inc dword [ebp - 0x1c]
or eax, 0xff000000
dec dword [ebp - 0x34]
dec dword [ebp - 0x38]
dec dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0xd4]
push ebx
push 9
call fcn.004ad210
mov eax, dword [edi + 0x7a]
mov ecx, 0x5fb850
inc dword [ebp - 0x3c]
or eax, 0xff000000
dec dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0xd4]
push ebx
push 9
call fcn.004ad210
mov eax, dword [edi + 0x7a]
mov ecx, 0x5fb850
add dword [ebp - 0x24], 2
or eax, 0xff000000
add dword [ebp - 0x2c], 2
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0xd4]
push ebx
push 9
call fcn.004ad210
push 0xffffffffffffffff
lea eax, [ebp - 0x70]
mov ecx, 0x5fb850
push eax
push dword [ebp - 0xd4]
push ebx
push 9
call fcn.004ad210
jmp 0x52658d
mov eax, dword [edi + 0x10]
mov esi, ebx
add eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0xc]
add eax, dword [ebp + 0xc]
lea ecx, [esi + 1]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 1
jmp 0x526540
mov al, byte [esi]
inc esi
test al, al
jne 0x526540
sub esi, ecx
add esi, 2
push 0xb4464646
lea eax, [ebp - 0x20]
mov ecx, 0x5fb850
push eax
movzx eax, word [edi + 0x72]
push esi
push ebx
push eax
call fcn.004ad210
mov eax, dword [edi + 0x76]
mov ecx, 0x5fb850
dec dword [ebp - 0x20]
or eax, 0xff000000
dec dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
movzx eax, word [edi + 0x72]
push esi
push ebx
push eax
call fcn.004ad210
mov esi, dword [ebp + 0xc]
cmp byte [ebx], 0
je 0x5267f9
cmp word [edi + 0xf4], 1
jne 0x5267f9
mov ecx, ebx
mov dword [ebp - 0x18], 0x3f800000
mov dword [ebp - 0x14], 0x3f800000
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5265b7
mov eax, dword [edi + 0x10]
sub ecx, edx
add eax, dword [ebp + 8]
add ecx, 2
movzx esi, word [0x5fb8b4]
push ecx
push ebx
push 9
mov ecx, 0x5fb850
mov dword [ebp - 0xd4], eax
call fcn.004ad170
mov ebx, dword [ebp - 0xd4]
mov ecx, eax
mov eax, esi
add ecx, ebx
mov esi, dword [ebp + 0xc]
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, ecx
mov ecx, esi
sub ecx, dword [edi + 0xc]
sub ecx, 0xc
mov dword [ebp - 0xd4], eax
movd xmm0, ecx
lea ecx, [ebp - 0xd0]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x24], xmm0
call fcn.004b0110
push 0
lea eax, [ebp - 0xd0]
mov dword [ebp - 4], 0
push eax
push 0x191
mov ecx, 0x6d5390
call fcn.004ba1e0
mov ecx, dword [ebp - 0xd4]
mov eax, ecx
sub eax, ebx
cmp eax, 0x46
lea eax, [ecx - 0x1e]
jg 0x526657
lea eax, [ecx - 0x19]
movd xmm0, eax
lea eax, [ebp - 0x28]
push 0xf0ffffff
push eax
push ecx
cvtdq2ps xmm0, xmm0
mov dword [esp], 0
lea eax, [ebp - 0x18]
push 0
push eax
lea ecx, [ebp - 0xd0]
movss dword [ebp - 0x28], xmm0
call fcn.004b0160
lea ecx, [ebp - 0x80]
call fcn.004b0110
push 0
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 1
push eax
push 0x18f
mov ecx, 0x6d5390
call fcn.004ba1e0
lea eax, [ebx - 0xa]
movd xmm0, eax
lea eax, [ebp - 0x28]
push 0xf0ffffff
push eax
push ecx
cvtdq2ps xmm0, xmm0
mov dword [esp], 0
lea eax, [ebp - 0x18]
push 0
push eax
lea ecx, [ebp - 0x80]
movss dword [ebp - 0x28], xmm0
call fcn.004b0160
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0xd4]
add eax, 0xfffffff6
add ecx, 0xffffffe7
add eax, ebx
sub ecx, eax
mov dword [ebp - 0xd4], ecx
lea ecx, [ebp - 0xb0]
call fcn.004b0110
movd xmm0, dword [ebp - 0xd4]
lea eax, [ebp - 0xb0]
cvtdq2pd xmm0, xmm0
push 0
push eax
push 0x190
mov ecx, 0x6d5390
mov byte [ebp - 4], 2
mov dword [ebp - 0x34], 0x3f800000
mulsd xmm0, qword [0x5cf208]
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x38], xmm0
call fcn.004ba1e0
mov eax, dword [ebp - 0xd4]
cmp eax, 0xa
jge 0x52674b
lea eax, [ebx + 2]
jmp 0x52679e
cmp eax, 0x14
jge 0x526756
movd xmm0, ebx
jmp 0x5267a2
cmp eax, 0x1e
jge 0x526760
lea eax, [ebx - 2]
jmp 0x52679e
movss xmm0, dword [ebp - 0x38]
cvtps2pd xmm0, xmm0
cmp eax, 0x28
jge 0x526777
mulsd xmm0, qword [str.333333]
jmp 0x52678e
cmp eax, 0x46
jge 0x526786
mulsd xmm0, qword [str.ffffff]
jmp 0x52678e
mulsd xmm0, qword [0x5cf200]
movd xmm1, ebx
cvtdq2pd xmm1, xmm1
out 0xc9, al
subsd xmm1, xmm0
cvttsd2si eax, xmm1
movd xmm0, eax
push 0xf0ffffff
lea eax, [ebp - 0x28]
push eax
push ecx
cvtdq2ps xmm0, xmm0
mov dword [esp], 0
lea eax, [ebp - 0x38]
push 0
push eax
lea ecx, [ebp - 0xb0]
movss dword [ebp - 0x28], xmm0
call fcn.004b0160
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 1
call fcn.004b0120
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0
call fcn.004b0120
lea ecx, [ebp - 0xd0]
mov dword [ebp - 4], 0xffffffff
call fcn.004b0120
cmp word [edi + 0x108], 0
je 0x526927
mov eax, dword [0x6d8b54]
mov al, byte [eax + 0x4e1]
test al, al
jne 0x526927
mov eax, dword [edi + 0x116]
test eax, eax
je 0x526927
cmp dword [eax + 2], 0
je 0x526897
mov esi, dword [0x5bf07c]
call esi
cmp eax, dword [edi + 0x10e]
jb 0x526897
call esi
add eax, 0x50
cmp dword [edi + 0x112], 0
mov dword [edi + 0x10e], eax
jne 0x52685a
inc dword [edi + 0x10a]
jmp 0x526871
movzx eax, word [edi + 0x108]
mov dword [edi + 0x10a], eax
mov dword [edi + 0x112], 0
mov eax, dword [edi + 0x116]
movzx ecx, word [eax + 6]
movzx eax, word [edi + 0x108]
dec eax
add eax, ecx
cmp dword [edi + 0x10a], eax
jl 0x526897
mov dword [edi + 0x112], 1
lea ecx, [ebp - 0x80]
call fcn.004b0110
push 7
lea eax, [ebp - 0x80]
mov dword [ebp - 4], 3
push eax
push dword [edi + 0x10a]
mov ecx, 0x6d5390
call fcn.004ba1e0
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0x78]
mov esi, dword [edi + 0x116]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [esi + 0x12]
sub ecx, eax
add ecx, dword [ebp + 8]
push 0xffffffffffffffff
movd xmm0, ecx
mov ecx, dword [ebp + 0xc]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x18], xmm0
movzx eax, word [esi + 8]
sub ecx, eax
lea eax, [ebp - 0x18]
sub ecx, 5
push eax
push ecx
mov dword [esp], 0
lea eax, [esi + 0xa]
movd xmm0, ecx
lea ecx, [ebp - 0x80]
cvtdq2ps xmm0, xmm0
push 0
push eax
movss dword [ebp - 0x14], xmm0
call fcn.004b0160
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 0xffffffff
call fcn.004b0120
mov esi, dword [ebp + 0xc]
cmp byte [edi + 0x7e], 0
lea ebx, [edi + 0x7e]
je 0x5269cc
mov eax, dword [edi + 0x18]
add eax, dword [ebp + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [edi + 0x14]
add eax, 0xfffffff0
mov dword [ebp - 0x48], 1
add eax, esi
mov dword [ebp - 0x44], 1
mov esi, ebx
mov dword [ebp - 0x4c], eax
lea ecx, [esi + 1]
jmp 0x526960
mov al, byte [esi]
inc esi
test al, al
jne 0x526960
push 0xb4464646
sub esi, ecx
lea eax, [ebp - 0x50]
push eax
movzx eax, word [edi + 0x72]
add esi, 2
push esi
push ebx
push eax
mov ecx, 0x5fb850
call fcn.004ad210
mov eax, dword [edi + 0x76]
mov ecx, 0x5fb850
dec dword [ebp - 0x50]
or eax, 0xff000000
dec dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
push eax
movzx eax, word [edi + 0x72]
push esi
push ebx
push eax
call fcn.004ad210
cmp byte [ebx], 0
je 0x5269cc
cmp byte [edi + 0x8f], 0
je 0x5269cc
push 0
push 0x14f
push str.OBalloonName.cpp
call fcn.0040f8c0
add esp, 0xc
mov eax, dword [edi + 0x30]
lea ecx, [edi + 0x8f]
add eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x60], eax
mov eax, dword [edi + 0x2c]
add eax, ebx
mov dword [ebp - 0x58], 1
cmp byte [ecx], 0
mov dword [ebp - 0x54], 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm0, dword [0x5cf210]
cvttss2si eax, xmm0
mov dword [ebp - 0x5c], eax
je 0x526a61
mov esi, ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x526a11
push 0xb4464646
sub esi, edx
lea eax, [ebp - 0x60]
push eax
movzx eax, word [edi + 0x72]
add esi, 2
push esi
push ecx
push eax
mov ecx, 0x5fb850
call fcn.004ad210
mov eax, dword [edi + 0x76]
mov ecx, 0x5fb850
dec dword [ebp - 0x60]
or eax, 0xff000000
dec dword [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
push eax
push esi
lea eax, [edi + 0x8f]
push eax
movzx eax, word [edi + 0x72]
push eax
call fcn.004ad210
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 0x130]
dec ecx
add eax, ecx
mov dword [ebp - 0x8c], ebx
cmp dword [edi + 0x11a], 0
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x88], 1
mov dword [ebp - 0x84], 1
jle 0x526ae0
cmp byte [edi + 0x11e], 0
lea ecx, [edi + 0x11e]
je 0x526ae0
cmp dword [edi + 0x134], 0
lea eax, [ebx - 0x38]
jne 0x526ab4
lea eax, [ebx - 0x1a]
mov edx, ecx
mov dword [ebp - 0x8c], eax
lea esi, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x526ac0
push 0xffffffffffffffff
lea eax, [ebp - 0x90]
sub edx, esi
push eax
push edx
push ecx
push 0
mov ecx, 0x5fb850
call fcn.004ad210
mov eax, 1
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.0058e944
mov esp, ebp
pop ebp
ret 8